aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler/cli
Commit message (Collapse)AuthorAgeFilesLines
* [bundler/bundler] Move local variable to only branch where it's usedDavid Rodríguez2019-08-181-1/+1
| | | | https://github.com/bundler/bundler/commit/3995b3345d
* [bundler/bundler] Fix open default gem errorZehan Zhao2019-08-181-5/+9
| | | | https://github.com/bundler/bundler/commit/792d724752
* [bundler/bundler] Fix `bundle doctor` commandDavid Rodríguez2019-08-181-1/+1
| | | | | | | | | | | | | | Previously `bundle doctor` would fail on any bundle that does not include git gems or plugins. This is because the previously used `Bundler.home` does not exist unless the bundle includes git gems or plugins. For example, with `bundle config set path .bundle`, it points to which does not exist unless this kind of gems exist in the Gemfile. The name `Bundler.home` is really unfortunate, it should probably be have more descriptive name, and be private. But for now I just want to make `bundle doctor` usable. https://github.com/bundler/bundler/commit/5531a18c1e
* [bundler/bundler] Add `--[no-]git` option to `bundle gem`David Rodríguez2019-08-161-1/+1
| | | | | | | I think using `--no-git` can be useful when creating gems inside monorepos. https://github.com/bundler/bundler/commit/154c687310
* [bundler/bundler] Enable `Style/UnneededInterpolation` copDavid Rodríguez2019-08-031-1/+1
| | | | https://github.com/bundler/bundler/commit/4c6a3c3cf7
* [bundler/bundler] Add exclamation mark to methodDavid Rodríguez2019-08-031-2/+2
| | | | | | | | | To indicate that it can raise. Co-authored-by: Guillermo Guerrero <wolf.fox1985@gmail.com> Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net> https://github.com/bundler/bundler/commit/584e841624
* [bundler/bundler] Move `strict` to an attributeDavid Rodríguez2019-08-031-8/+8
| | | | | | | Co-authored-by: Guillermo Guerrero <wolf.fox1985@gmail.com> Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net> https://github.com/bundler/bundler/commit/7b68d86bdd
* [bundler/bundler] Extract some methodsDavid Rodríguez2019-08-031-19/+31
| | | | | | | Co-authored-by: Guillermo Guerrero <wolf.fox1985@gmail.com> Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net> https://github.com/bundler/bundler/commit/027aba0cff
* [bundler/bundler] Unfold message to single line for readabilityDavid Rodríguez2019-08-031-2/+1
| | | | https://github.com/bundler/bundler/commit/d845a213ca
* [bundler/bundler] Extract a `print_gems` methodGuillermo Guerrero2019-08-031-16/+13
| | | | https://github.com/bundler/bundler/commit/0d8c8d207e
* [bundler/bundler] Less complexityGuillermo Guerrero2019-08-031-15/+8
| | | | https://github.com/bundler/bundler/commit/be9d6e7cfc
* [bundler/bundler] Move more locals to attributesDavid Rodríguez2019-08-031-10/+11
| | | | | | | Co-authored-by: Guillermo Guerrero <wolf.fox1985@gmail.com> Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net> https://github.com/bundler/bundler/commit/4335df3e4c
* [bundler/bundler] Move `any?` logic to the attributeDavid Rodríguez2019-08-031-5/+3
| | | | | | | | | | It's the only usage of the `options_include_groups` attribute and its name suggests a boolean, so it fits better now. Co-authored-by: Guillermo Guerrero <wolf.fox1985@gmail.com> Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net> https://github.com/bundler/bundler/commit/53c0fae760
* [bundler/bundler] Move `options_include_groups` to an attributeDavid Rodríguez2019-08-031-5/+5
| | | | | | | Co-authored-by: Guillermo Guerrero <wolf.fox1985@gmail.com> Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net> https://github.com/bundler/bundler/commit/832fb900f0
* [bundler/bundler] Prefer feature flag to harcoded checkDavid Rodríguez2019-08-031-1/+1
| | | | https://github.com/bundler/bundler/commit/8c83921d08
* [bundler/bundler] Alias `cache` to `package` nowDavid Rodríguez2019-08-031-36/+0
| | | | | | | | | The additions of the `package` command are not actually backwards incompatible, so we can do this transition without further care. All existing specs of `bundle cache` pass when using the `bundle package` implementation for it. https://github.com/bundler/bundler/commit/69497adf90
* [bundler/bundler] Remove `cache_command_is_package` feature flagDavid Rodríguez2019-08-031-1/+1
| | | | | | | So that we handle the removal of `bundle cache` just like we'll handle the removal of `bundle show` and `bundle console`. https://github.com/bundler/bundler/commit/ff1a669efb
* [bundler/bundler] Add all platforms to lockfile by defaultDavid Rodríguez2019-08-031-0/+2
| | | | https://github.com/bundler/bundler/commit/3dc509e645
* [bundler/bundler] Don't persist the cache_all_platforms settingDavid Rodríguez2019-08-031-2/+4
| | | | | | We only want it temporarily during the duration of the cache saving. https://github.com/bundler/bundler/commit/1e9818c0da
* [bundler/bundler] [Package] Dont always update on --all-platformsSamuel Giddins2019-08-031-4/+1
| | | | https://github.com/bundler/bundler/commit/723611f6ee
* Merge bundler master from upstream.Hiroshi SHIBATA2019-06-0910-48/+79
| | | | Pick from 8dd59e3ba97eb80a599f8149f31bf40773b69dc0
* Merge Bundler 2.1.0.pre.1 as developed version from upstream.hsbt2019-04-1416-127/+220
| | | | | | https://github.com/bundler/bundler/commit/a53709556b95a914e874b22ed2116a46b0528852 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge Bundler 2.0.1 from upstream.hsbt2019-01-043-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Downgrade Bundler 1.17.x from 2.0.0.hsbt2018-12-113-3/+3
| | | | | | | | We have the platform issue on heroku: * https://gist.github.com/schneems/26452540f6e2bbbcf2ea144f45f6b305 * https://github.com/heroku/heroku-buildpack-ruby/issues/833 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge Bundler-2.0.0.pre1 from upstream.hsbt2018-11-123-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added bundler as default gems. Revisit [Feature #12733]hsbt2018-11-0228-0/+2152
| | | | | | | | | | | * bin/*, lib/bundler/*, lib/bundler.rb, spec/bundler, man/*: Merge from latest stable branch of bundler/bundler repository and added workaround patches. I will backport them into upstream. * common.mk, defs/gmake.mk: Added `test-bundler` task for test suite of bundler. * tool/sync_default_gems.rb: Added sync task for bundler. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Postponing the Bundler merge.hsbt2017-12-2227-2015/+0
| | | | | | | I faced a big issue about Bundler with ruby core. I have no time to resolve it issue before 2.5 final release. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge 1-16-stable branch of bundler.hsbt2017-12-122-6/+4
| | | | | | | It's rc version for bundler-1.16.1. I'm going to update it version after official release from bundler team. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update bundled bundler to 1.16.0.hsbt2017-11-0127-125/+213
| | | | | | | * lib/bundler, spec/bundler: Merge bundler-1.16.0. * common.mk: rspec examples of bundler-1.16.0 needs require option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed broken `bundle gem` command.hsbt2017-10-051-1/+1
| | | | | | | | | | | This patch is provided by @gyugyu (Yusuke Yagyu) * Remove README* entry from no_install that there is no README* files except README.md.tt * Rename .travis.yml.tt to travis.yml.tt like gitignore.tt [Bug #13975][ruby-dev:50278][fix GH-1710] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merge bundler to standard libraries.hsbt2017-09-0826-0/+1929
rubygems 2.7.x depends bundler-1.15.x. This is preparation for rubygems and bundler migration. * lib/bundler.rb, lib/bundler/*: files of bundler-1.15.4 * spec/bundler/*: rspec examples of bundler-1.15.4. I applied patches. * https://github.com/bundler/bundler/pull/6007 * Exclude not working examples on ruby repository. * Fake ruby interpriter instead of installed ruby. * Makefile.in: Added test task named `test-bundler`. This task is only working macOS/linux yet. I'm going to support Windows environment later. * tool/sync_default_gems.rb: Added sync task for bundler. [Feature #12733][ruby-core:77172] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e