Hiroshi SHIBATA
69dc2ea465
Merge RubyGems-3.3.0 and Bundler-2.3.0
2021-12-21 15:27:05 +09:00
Vyacheslav Alexeev
1a62a50c4f
[rubygems/rubygems] Add github
and ref
options to bundle add
...
c3e54acab0
2021-12-11 00:13:25 +09:00
Simon Fish
1b12ebb94e
[rubygems/rubygems] Add require parameter to bundle add
`
...
Test and ensure "false" is handled
Don't use yield_self to operate on autorequire
Remove duplicate autorequire
Add banner to require option
Don't use json to break down require params
Pass linter
a4f2f8ac17
2021-12-08 01:49:20 +09:00
Josef Šimánek
25423f0918
[rubygems/rubygems] Add --version parameter to bundle info command.
...
7d9fdd908d
2021-12-06 18:03:54 +09:00
David Rodríguez
997adfd410
[rubygems/rubygems] Clarify bundle viz
deprecation
...
7f22fe56b3
2021-11-22 09:29:13 +09:00
Hiroshi SHIBATA
bd2674ad33
[rubygems/rubygems] Use bundler-graph instead of bundler-viz
...
a54cca13db
2021-11-08 22:15:21 +09:00
haruuzion
82ae9b092c
[rubygems/rubygems] Fix url
...
6a5a80eff7
2021-11-06 01:39:24 +09:00
Jose Galisteo
b45fe48fbb
[rubygems/rubygems] Trigger install command by default on remove
...
Closes https://github.com/rubygems/rubygems/issues/4889
2b1754479c
2021-09-17 20:46:18 +09:00
David Rodríguez
5aee962fe3
[rubygems/rubygems] Remove RUBYGEMS_GEMDEPS
warning
...
When setting the `RUBYGEMS_GEMDEPS` environment variable to allow
skipping `bundle exec`, `bundler` will print a warning about potential
incompatibility.
Initially the `RUBYGEMS_GEMDEPS` variable used a completely different
(re)implementation of `bundler` functionality. That implementation was
not battle tested and could potentially differ in behaviour from what
`bundler` does. That's why print a warning.
However, these days, all `rubygems` does when `RUBYGEMS_GEMDEPS` is set
is to require `bundler/setup`, so there's no risk of any
incompatibility, since that's just plain `bundler`.
bbddc27016
2021-08-31 19:06:14 +09:00
David Rodríguez
10dcd0eb5b
[rubygems/rubygems] Deprecate bundle exec --no-keep-file-descriptors
...
591466d512
2021-08-31 19:06:14 +09:00
David Rodríguez
58635d4ff7
[rubygems/rubygems] Keep file descriptors by default
...
88b7a3e7e2
2021-08-31 19:06:14 +09:00
David Rodríguez
71d3c9bbfa
[rubygems/rubygems] Fix bundle plugin install --help
showing bundle install
's help
...
b7b7d16aa8
2021-07-16 15:40:08 +09:00
David Rodríguez
6e2240a2f9
Sync latest bundler & rubygems development version
2021-07-07 13:30:20 +09:00
David Rodríguez
5b0abba931
Sync bundler & rubygems
2021-05-11 11:29:41 +09:00
Hiroshi SHIBATA
ed149dbf46
Merge the master branch of Bundler
2021-04-15 15:36:15 +09:00
David Rodríguez
53468cc111
Sync latest development version of bundler & rubygems
2021-03-08 13:47:35 +09:00
Hiroshi SHIBATA
69ed64949b
Track Bundler master(2.3.0.dev) branch at 55634a8af18a52df86c4275d70fa1179118bcc20
2021-01-04 13:14:43 +09:00
Hiroshi SHIBATA
2fa9f3c032
Prepare to release rubygems-3.2.1 and bundler-2.2.1
2020-12-15 10:54:09 +09:00
Hiroshi SHIBATA
473f9d2df0
Merge prepare version of Bundler 2.2.0
2020-12-08 17:30:02 +09:00
Hiroshi SHIBATA
d386a58f6f
Merge bundler-2.2.0.rc.2
2020-10-15 17:19:02 +09:00
David Rodríguez
30f9fbdce8
Undeprecate the --no-cache
flag
...
This is not a remembered option, so it shouldn't have been deprecated.
At least not for that reason.
2020-06-18 19:14:15 +09:00
Frank Lam
8e3136a03b
[rubygems/rubygems] Make test framework/CI configuration for bundle gem consistent
...
* Add hints for --ci option
5f779f45b0
2020-06-18 19:14:15 +09:00
Frank Lam
a80a5706b1
[rubygems/rubygems] Remove extra whitespace
...
9986cd01fc
2020-06-18 19:14:15 +09:00
Frank Lam
52a900773e
[rubygems/rubygems] Incorporate naming/grammar suggestions from olleolleolle
...
80571452ca
2020-06-18 19:14:15 +09:00
Hiroshi SHIBATA
cc059b16b2
Manually cherry-picked at 80260b3496
2020-06-18 19:14:15 +09:00
Frank Lam
f75bd9bb8b
[rubygems/rubygems] Fix bundle gem ignoring global gem.test config
...
* bundle gem previously ignored gem.test when passed empty -t flag,
defaulting to RSpec
* bundle gem will now ask user for test framework when passed empty -t
flag and gem.test is set to false, but will not overwrite gem.test
* thor option parsing for String types falls back to human name for nil,
so setting lazy_default to nil won't work
* c5161501e0/lib/thor/parser/options.rb (L224)
Default to Bundler.settings["gem.test"] for empty --test
Add shared examples for test framework to newgem spec
Add examples for empty --test flag to newgem spec
Simplify conditional for prompting test framework
Follow naming conventions for bundler settings
Add more descriptive test framework help text for bundle gem
Update man pages for bundler
ab0785a09f
2020-06-05 07:32:42 +09:00
David Rodríguez
d52b1b0705
[rubygems/rubygems] Deprecate the --no-deployment
flag
...
And never recommend it inside CLI messages.
This flag represents the default behaviour of `bundle install`, and the
only reason it exists is to "override" previous `--deployment` flag
usages which were silently remembered. So it should be deprecated just
like all the other flags the rely on remembering their values across
invocations.
40e50b7190
2020-06-05 07:32:42 +09:00
Hiroshi SHIBATA
1d889c9656
Sync Bundler PR #3624 with HEAD commits
2020-05-22 20:32:30 +09:00
Hiroshi SHIBATA
0e60b59d58
Update the bundler version with master branch
2020-05-13 07:54:37 +09:00
David Rodríguez
241950b1c5
[rubygems/rubygems] Properly look for man pages
...
When bundler is installed as a default gem (either by ruby's or by
rubygems' installer), bundler man pages wouldn't be properly found.
0831b40492
2020-05-08 14:13:29 +09:00
David Rodríguez
a453f26b0d
[rubygems/rubygems] Extract a local variable
...
445c9da2ac
2020-05-08 14:13:29 +09:00
Hiroshi SHIBATA
442866c2d4
[rubygems/rubygems] Pass the rubocop lint
...
d4486ca061
2020-04-28 11:13:06 +09:00
Hiroshi SHIBATA
b9962f0e89
Fixed incorrect man path with ruby installation path
...
[Bug #15359 ][ruby-core:90164]
2020-04-21 06:53:29 +09:00
Hiroshi SHIBATA
38002a8adb
Prepare to release bundler-2.1.0
2019-12-15 16:41:10 +09:00
Hiroshi SHIBATA
7585bc3187
Merge Bundler 2.1.0.pre.3
...
Features:
- Add caller information to some deprecation messages to make them easier to fix [#7361 ](https://github.com/bundler/bundler/pull/7361 )
- Reconcile `bundle cache` vs `bundle package` everywhere. Now in docs, CLI help and everywhere else `bundle cache` is the preferred version and `bundle package` remains as an alias [#7389 ](https://github.com/bundler/bundler/pull/7389 )
- Display some basic `bundler` documentation together with ruby's RDoc based documentation [#7394 ](https://github.com/bundler/bundler/pull/7394 )
Bugfixes:
- Fix typos deprecation message and upgrading docs [#7374 ](https://github.com/bundler/bundler/pull/7374 )
- Deprecation warnings about `taint` usage on ruby 2.7 [#7385 ](https://github.com/bundler/bundler/pull/7385 )
- Fix `--help` flag not correctly delegating to `man` when used with command aliases [#7388 ](https://github.com/bundler/bundler/pull/7388 )
- `bundle add` should cache newly added gems if an application cache exists [#7393 ](https://github.com/bundler/bundler/pull/7393 )
- Stop using an insecure folder as a "fallback home" when user home is not defined [#7416 ](https://github.com/bundler/bundler/pull/7416 )
- Fix `bundler/inline` warning about `Bundler.root` redefinition [#7417 ](https://github.com/bundler/bundler/pull/7417 )
2019-11-11 18:56:25 +09:00
David Rodríguez
e6ad9452b6
[bundler/bundler] Fix remembered flag deprecation message
...
It was suggested a deprecated command as a fix.
e330a9a34f
2019-09-18 18:26:33 +09:00
David Rodríguez
c92e098781
[bundler/bundler] Fix --path option descriptions
...
To not mention that the flag is remembered when it's not.
82f0b95854
2019-09-18 18:26:32 +09:00
David Rodríguez
a29ead52e1
[bundler/bundler] Deprecate --path
flag to bundle check
...
0a0e7cf5ec
2019-09-18 18:26:32 +09:00
Kazuhiro NISHIYAMA
ccbfb054b1
Fix typos
2019-08-17 13:57:12 +09:00
David Rodríguez
b587e8c7f1
[bundler/bundler] Add --[no-]git
option to bundle gem
...
I think using `--no-git` can be useful when creating gems inside
monorepos.
154c687310
2019-08-16 14:30:23 +09:00
David Rodríguez
76d205c840
[bundler/bundler] Restore cache_all
flag removal
...
04a04719f0
2019-08-03 09:29:59 +09:00
David Rodríguez
a1549fba83
[bundler/bundler] Alias cache
to package
now
...
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.
69497adf90
2019-08-03 09:29:58 +09:00
David Rodríguez
4f5e1b6ebf
[bundler/bundler] Remove cache_command_is_package
feature flag
...
So that we handle the removal of `bundle cache` just like we'll handle
the removal of `bundle show` and `bundle console`.
ff1a669efb
2019-08-03 09:29:58 +09:00
David Rodríguez
f73020d493
[bundler/bundler] Always keep bundle package --all
option
...
Just change the default. The reason to do this is that the deprecation
message talks about the default being changed, not the option being
removed.
eca1757792
2019-08-03 09:29:58 +09:00
David Rodríguez
33ce42dd5d
[bundler/bundler] Fix incorrect flag usage
...
4df9edef95
2019-08-03 09:29:58 +09:00
David Rodríguez
ad3cba02cf
[bundler/bundler] Remove redundant condition
...
This is inside a code branch where the condition is already met.
8cdd6c37e6
2019-08-03 09:29:58 +09:00
Hiroshi SHIBATA
8f37629519
Merge bundler master from upstream.
...
Pick from 8dd59e3ba97eb80a599f8149f31bf40773b69dc0
2019-06-09 12:44:10 +09:00
hsbt
68ddd4d300
Merge Bundler 2.1.0.pre.1 as developed version from upstream.
...
a53709556b
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-14 06:01:35 +00:00
hsbt
e97741e12a
Merge Bundler 2.0.1 from upstream.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-01-04 13:10:58 +00:00
hsbt
91533d9ab1
Downgrade Bundler 1.17.x from 2.0.0.
...
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
2018-12-11 03:07:37 +00:00