Hiroshi SHIBATA
7e084ed707
Merge RubyGems and Bundler master
...
Merge from 793ad95ecb
2021-12-15 18:05:18 +09:00
David Rodríguez
a72aecac3a
[rubygems/rubygems] Don't write outside of destdir when regenerating plugins
...
141ef4cb9a
2021-12-05 05:47:46 +09:00
David Rodríguez
9dc76e102e
[rubygems/rubygems] Don't write outside of destdir when installing default bundler
...
a62d00c5e8
2021-12-05 05:47:45 +09:00
David Rodríguez
ec28771fde
[rubygems/rubygems] Fold a line that got out of hand
...
49317d8beb
2021-12-05 05:47:45 +09:00
David Rodríguez
ed7a50015a
[rubygems/rubygems] Fix binstubs and plugins regeneration with --destdir
is used
...
7079de16fa
2021-12-05 05:47:44 +09:00
Hiroshi SHIBATA
f3bda8987e
Merge the master branch of rubygems repo
...
Picked from 4b498709a0
2021-11-16 20:19:13 +09:00
David Rodríguez
907aa47527
[rubygems/rubygems] Fix ruby setup.rb
command when --prefix
is passed
...
8d04092f6e
2021-11-05 23:20:50 +09:00
David Rodríguez
f5a4fdae25
[rubygems/rubygems] Remove unnecessarily changing GEM_HOME
...
At this point gem paths are already loaded and memoize. Changing
`GEM_HOME` has no effect.
a1f62f0939
2021-11-05 23:20:48 +09:00
David Rodríguez
5b941ec90d
[rubygems/rubygems] Remove unnecessary loop
...
Rubygems installs a single executable. Make that explicit.
2839d15521
2021-11-05 23:20:47 +09:00
Alyssa Ross
1506c8228b
[rubygems/rubygems] Don't apply --destdir
twice when running setup.rb
...
Prior to this patch, if I ran:
ruby setup.rb --destdir /foo
Then Bundler files would be written into /foo/foo, because destdir was
being prepended, even though `bundler_spec.bin_dir` already included
destdir.
9e857ffb52
2021-11-05 07:23:36 +09:00
David Rodríguez
9503dd91a5
[rubygems/rubygems] Fix --destdir
handling on Windows
...
Driver letters were not accounted for in one place.
fbe42460d7
2021-11-05 07:23:36 +09:00
David Rodríguez
5e855be86b
[rubygems/rubygems] More refactoring of --destdir
handling
...
f42c2025ed
2021-11-05 07:23:35 +09:00
David Rodríguez
70cbca48b8
[rubygems/rubygems] Refactor --destdir
handling
...
8aab3d11b0
2021-11-05 07:23:35 +09:00
David Rodriguez
e0c20485db
[ruby/rubygems] Prefer require_relative
for internal requires
...
51796f257a
2021-10-11 01:12:50 +09:00
David Rodríguez
54ae3f587e
[rubygems/rubygems] Prefer require_relative
to require
for internal requires
...
c74fc58695
2021-08-31 19:06:14 +09:00
David Rodríguez
d01c3111c2
[rubygems/rubygems] Remove MacOS specific extra GEM_PATH
...
They should properly configure `GEM_PATH` instead.
3bd9ae33ca
2021-08-31 19:06:14 +09:00
Hiroshi SHIBATA
5537adf719
Track RubyGems master(3.3.0.dev) branch at 55634a8af18a52df86c4275d70fa1179118bcc20
2021-01-04 13:14:43 +09:00
Hiroshi SHIBATA
4aca77edde
Merge prepare version of RubyGems 3.2.0
2020-12-08 17:30:02 +09:00
Hiroshi SHIBATA
ab6c4f8be3
Merge rubygems-3.2.0.rc.2
2020-10-15 14:12:02 +09:00
Hiroshi SHIBATA
b717f73402
Revert "Manually merged from https://github.com/rubygems/rubygems/pull/2636 "
...
31a6eaabc1
is obsoleted with
https://github.com/rubygems/rubygems/pull/3820
2020-09-23 22:01:44 +09:00
Hiroshi SHIBATA
31a6eaabc1
Manually merged from https://github.com/rubygems/rubygems/pull/2636
...
Enable Style/EmptyLinesAroundClassBody rubocop cop.
2020-09-23 21:02:56 +09:00
David Rodríguez
b7e88e3c2f
[rubygems/rubygems] Don't format executables on gem update --system
...
This restores 3.0 behavior and goes back to not formatting executables
by default on `gem update --system`. This is friendlier for jruby and
doesn't really affect OS packagers.
1a504b651d
2020-07-31 21:07:19 +09:00
David Rodríguez
a89665b7b1
Enforce no empty lines around class body in rubygems
...
To normalize the code style with `bundler`.
2020-07-31 21:07:19 +09:00
David Rodríguez
955f1837a1
Use space inside block braces everywhere
...
To make rubygems code style consistent with bundler.
2020-06-15 21:20:37 +09:00
David Rodríguez
dd5b918cbe
[rubygems/rubygems] Fix template cleanup as well
...
10cc79ee21
2020-06-05 07:32:42 +09:00
David Rodríguez
e4d0cca24a
[rubygems/rubygems] Fix installing template files with dots
...
a82a77251d
2020-06-05 07:32:42 +09:00
David Rodríguez
1f9e684c77
[rubygems/rubygems] Remove unnecessary parenthesis
...
97772bb066
2020-06-05 07:32:42 +09:00
David Rodríguez
0e195c82c1
[rubygems/rubygems] Remove old gauntlet_rubygems
file on rubygems upgrade
...
The file was removed at
65b709b095
,
shipped with rubygems 2.6.5.
739159a120
2020-05-08 14:13:29 +09:00
David Rodríguez
ece1690105
[rubygems/rubygems] Install man files when bundler installed as a default gem
...
28d6d77d81
2020-05-08 14:13:29 +09:00
David Rodríguez
64e89713da
[rubygems/rubygems] Extract a remove_file_list
helper
...
8cc6087590
2020-05-08 14:13:29 +09:00
David Rodríguez
c74d306b22
[rubygems/rubygems] Only need to call helper once
...
6ddbf5bcab
2020-05-08 14:13:29 +09:00
David Rodríguez
d2087f1cde
[rubygems/rubygems] Extract an install_file_list
helper
...
5106ea4582
2020-05-08 14:13:29 +09:00
David Rodríguez
41b288476e
[rubygems/rubygems] Move helper to private section
...
fb824b7a81
2020-05-08 14:13:29 +09:00
David Rodríguez
d59b92221d
[rubygems/rubygems] Rename method to clarify
...
6dc76146ad
2020-05-08 14:13:29 +09:00
David Rodríguez
ba9dcdab36
[rubygems/rubygems] Enable Style/PercentLiteralDelimiters cop in rubygems
...
So it matches the style used by bundler.
ab0580fd65
2020-03-30 12:42:10 +09:00
Hiroshi SHIBATA
600a715c9b
Merge the current master branch of rubygems/rubygems.
...
Just started to develop RubyGems 3.2.0.
2020-02-01 11:14:57 +09:00
Hiroshi SHIBATA
e672494cd7
Merge RubyGems 3.1.2
2019-12-20 11:50:32 +09:00
Hiroshi SHIBATA
82cc2843a9
Prepare to release RubyGems 3.1.0 final version.
2019-12-13 20:19:33 +09:00
Jeremy Evans
d08e1004e0
Fix keyword argument separation issues in lib
...
Mostly requires adding ** in either calls or method definitions.
2019-08-30 12:39:31 -07:00
Vít Ondruch
a3b784b3a0
[rubygems/rubygems] Move default specifications dir definition out of BasicSpecification.
...
This was never the right place. The method got there just by evolution,
not by design. Move it within default methods, where it suits better.
Since this method is presumably used just internally, it should be safe
to deprecate it and remove later.
0c0dd9458a
2019-07-31 07:47:02 +08:00
Hiroshi SHIBATA
56660de3c6
Merge rubygems master from upstream.
...
I picked the commit from 3c469e0da538428a0ddd94f99aa73c32da22e8ba
2019-06-01 13:50:41 +03:00
David Rodríguez
d0a5467320
Update rubygems with latest upstream changes
...
Closes: https://github.com/ruby/ruby/pull/2154
2019-04-28 11:07:45 +09:00
hsbt
f28be7e02d
Merge rubygems/rubygems from upstream.
...
The current master branch is
97b264f0fa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-04-02 11:48:18 +00:00
hsbt
4ae3df42f7
Merge RubyGems master@9be7858f7f17eae3058204f3c03e4b798ba18b9c
...
This version contains the some style changes by RuboCop.
* 9d810be0ed
* 61ea98a727
* 795893dce3
* 9be7858f7f
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2019-02-14 12:59:03 +00:00
hsbt
ae19a18996
Merge RubyGems 3.0.1 from rubygems/rubygems.
...
It fixed the issues of RubyGems 3.0.0.
https://blog.rubygems.org/2018/12/23/3.0.1-released.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-12-23 00:20:49 +00:00
hsbt
5335ce0e06
Merge master branch from rubygems/rubygems upstream.
...
* Enable Style/MethodDefParentheses in Rubocop
https://github.com/rubygems/rubygems/pull/2478
* Enable Style/MultilineIfThen in Rubocop
https://github.com/rubygems/rubygems/pull/2479
* Fix required_ruby_version with prereleases and improve error message
https://github.com/rubygems/rubygems/pull/2344
* Fix bundler rubygems binstub not properly looking for bundler
https://github.com/rubygems/rubygems/pull/2426
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-21 10:20:47 +00:00
hsbt
615ac35934
Merge rubygems master branch from github.com/rubygems/rubygems.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-22 00:27:02 +00:00
hsbt
85d461456c
Merge master branch from rubygems upstream.
...
* It's preparation to release RubyGems 3.0.0.beta2 and Ruby 2.6.0
preview 3.
* https://github.com/rubygems/rubygems/compare/v3.0.0.beta1...fad2eb15a282b19dfcb4b48bc95b8b39ebb4511f
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-08-27 10:05:04 +00:00
hsbt
8da8d4b043
Merge RubyGems 3.0.0.beta1.
...
* It drop to support < Ruby 2.2
* Cleanup deprecated methods and classes.
* Mark obsoleted methods to deprecate.
* and other enhancements.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-05-30 13:01:35 +00:00
hsbt
c6da9cadb3
Merge RubyGems 2.7.7
...
see release details here: https://blog.rubygems.org/2018/05/18/2.7.7-released.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-05-18 01:39:13 +00:00