Hiroshi SHIBATA
b7ad60a794
Merge RubyGems/Bundler master
...
from 72fd3dd209
2022-12-26 15:09:21 +09:00
Hiroshi SHIBATA
f6620037ba
Merge RubyGems-3.4.0 and Bundler-2.4.0
2022-12-24 16:57:07 +09:00
Josef Šimánek
f270aa3eda
[rubygems/rubygems] Use safe Marshal deserialization for dependency API response. - adds Bundler#safe_load_marshal and Bundler::SAFE_MARSHAL_CLASSES listing safe classes to deserialize
...
e947c608cc
2022-12-20 13:15:02 +09:00
Nobuyoshi Nakada
e1f42844a0
[rubygems/rubygems] Prefer RbConfig::CONFIG['EXEEXT'] over hardcorded '.exe'
...
bc84b2d262
2022-12-12 06:00:41 +00:00
Hiroshi SHIBATA
0a9d51ee9d
Migrate our resolver engine to PubGrub
...
https://github.com/rubygems/rubygems/pull/5960
Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
2022-11-12 07:40:31 +09:00
Hiroshi SHIBATA
f5df47d1f3
Merge RubyGems/Bundler master
...
6214d00b23
2022-10-18 16:33:15 +09:00
Hiroshi SHIBATA
3eca1e438d
Merge 16c3535413
2022-09-05 14:37:12 +09:00
Takuya Noguchi
22a416a3bb
[rubygems/rubygems] Bundler: update the link suggested on error with the new one
...
Also typo is fixed.
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
9c1ea52ddf
2022-08-23 14:28:47 +09:00
Hiroshi SHIBATA
f69244cee8
Merge rubygems/bundler HEAD
...
Pick from 6b3a5a9ab0
2022-08-23 10:45:57 +09:00
David Rodríguez
b30fc03e92
[rubygems/rubygems] Centralize loading Bundler::MatchPlatform
mixin
...
It's explicitly loaded when monkeypatching RubyGems, which we do very
early. So neither autoloading it, nor explicitly loading it anywhere
else is necessary.
fbc7a57161
2022-08-23 10:45:57 +09:00
Hiroshi SHIBATA
9e6d07f346
Merge rubygems/bundler HEAD
...
Merge from 2af2520b4a
2022-07-26 14:38:17 +09:00
Hiroshi SHIBATA
437a5ae9d6
Merge RubyGems and Bundler master
2022-07-13 14:11:55 +09:00
David Rodríguez
ea31c5bcd1
[rubygems/rubygems] Fix crash when installing gems with symlinks
...
If BUNDLE_PATH is configured to a symlinked path, installing gems with
symlinks would crash with an error like this:
```
Gem::Package::SymlinkError: installing symlink 'man/man0/README.markdown' pointing to parent path /usr/home/stevewi/srv/mail/lib/tools/.vendor/ruby/3.1.0/gems/binman-5.1.0/README.markdown of /srv/mail/lib/tools/.vendor/ruby/3.1.0/gems/binman-5.1.0 is not allowed
```
This commit fixes the problem by changing the bundle path to be the
realpath of the configured value, right after we're sure the path has
been created.
3cd3dd142a
2022-05-30 17:42:39 +09:00
Dominik Bauernfeind
d79e0832a5
[rubygems/rubygems] Fix typo in documentation
...
800a973e00
2022-05-06 18:03:00 +09:00
Hiroshi SHIBATA
678d58c850
Merge rubygems master 1e4eda741d732ca1bd7031aef0a16c7348adf7a5
2022-04-28 19:08:49 +09:00
David Rodríguez
d32fa986c3
[rubygems/rubygems] Make rescue
clause more specific
...
This is hiding a real bundler issue as a "network error". It's more
helpful to get a proper bug report, with stack trace and so on.
So stop re-raising errors when evaluating unmarshaled responses as
network errors, and only raise Marshal errors when the Marshal format is
invalid, not whenever marshalled gemspecs can't be loaded because that
may hide actual client errors, like missing `YAML` constants.
05ea907e1c
2022-03-23 23:31:05 +09:00
Hiroshi SHIBATA
ff3d7b720e
Merge RubyGems and Bundler master
2022-02-28 11:39:20 +09:00
Hiroshi SHIBATA
69dc2ea465
Merge RubyGems-3.3.0 and Bundler-2.3.0
2021-12-21 15:27:05 +09:00
Jean Boussier
5af3f7f357
[rubygems/rubygems] Vendor a pure ruby implementation of SHA1
...
This allows `Source::Git` to no longer load the `digest` gem as it is causing
issues on Ruby 3.1.
c19a9f2ff7
2021-10-25 20:24:32 +09:00
David Rodríguez
4bc87cb1fb
[rubygems/rubygems] Remove syck
traces from bundler
...
Same reason as in the previous commit.
f00a6c8516
2021-08-31 19:06:14 +09:00
David Rodríguez
c119dd2b5a
[rubygems/rubygems] Fix bundle plugin install
misdetection of installed versions
...
9c88db949d
2021-08-31 19:06:14 +09:00
David Rodríguez
c044f818ca
[rubygems/rubygems] Move Bundler.rubygems.clear_paths
to a better place
...
Since it clears both home and path.
fadf5e03ea
2021-08-31 19:06:14 +09:00
David Rodríguez
8c79486e7e
[rubygems/rubygems] Bundle path is already expanded
...
a296052670
2021-08-31 19:06:14 +09:00
David Rodríguez
71b937d3d7
[rubygems/rubygems] Normalize setting GEM_PATH
...
4188ebd568
2021-08-31 19:06:14 +09:00
David Rodríguez
d0da3a2a7f
[rubygems/rubygems] Remove more unused code
...
986e889a79
2021-08-31 19:06:14 +09:00
David Rodríguez
8d32f46d04
[rubygems/rubygems] Remove unnecessary line
...
a7023c6c21
2021-08-31 19:06:14 +09:00
Daniel Niknam
90899c50c2
[rubygems/rubygems] Remove LoadError message in regards to requiring a relative file
...
Ruby 1.9.2 removed "." from LOAD_PATH for robustness and security reasons.
This code was introduced by 56fc830e19
commit
to helping users understand the issue and had a guard condition to include the message for `RUBY_VERSION >= "1.9"`.
However, the guard condition was removed as part of the "Ruby version leftover" cleanup by
8c9cf76e41
Ruby 1.9 development was ended a long time ago and this message is not useful anymore.
a23609b15a
2021-07-27 09:25:55 +09:00
Hiroshi SHIBATA
896bbb9fad
Merge RubyGems/Bundler master from 8459ebd6ad65ce3397233416dc64083ae7572bb9
2021-07-14 10:48:07 +09:00
Hiroshi SHIBATA
c082c6eb7c
Sync RubyGems and Bundler with upstream
2021-07-07 15:31:52 +09:00
David Rodríguez
6e2240a2f9
Sync latest bundler & rubygems development version
2021-07-07 13:30:20 +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
339227363c
Merge RubyGems 3.2.3 and Bundler 2.2.3
2020-12-23 10:17:41 +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
Hiroshi SHIBATA
0e60b59d58
Update the bundler version with master branch
2020-05-13 07:54:37 +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
Takayuki Nakata
c27aaf1a8f
[bundler/bundler] Fix comments and messages to refer to https url
...
a86b49f1b9
2019-09-18 18:26:32 +09:00
Hiroshi SHIBATA
0bd1cd677f
[bundler/bundler] Remove Bundler.rubygems.config_map because it was deprecated.
...
5215ae7fa3
2019-08-03 09:41:17 +09:00
David Rodríguez
6fb73e6043
[bundler/bundler] Fully remove compatibility guard
...
2a7a5daba0
2019-08-03 09:30:00 +09:00
David Rodríguez
9596f43250
[bundler/bundler] Migrate two more requires to be relative
...
80217bfe0b
2019-08-03 09:29:55 +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
hsbt
8f4aa4fd2a
Merge Bundler-2.0.0.pre1 from upstream.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-12 00:53:15 +00:00
hsbt
59c8d50653
Added bundler as default gems. Revisit [Feature #12733 ]
...
* 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
2018-11-02 23:07:56 +00:00
hsbt
7825e8363d
Postponing the Bundler merge.
...
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
2017-12-22 23:08:05 +00:00