Ellen Marie Dash
9bbca93aa8
[rubygems/rubygems] Remove last remaining line of output from gem update --system --silent
...
038203aaf8
2020-09-28 14:54:22 +09:00
Ellen Marie Dash
e8274a7683
[rubygems/rubygems] Add test for "gem update --system --silent"
...
c3fb0db930
2020-09-28 14:54:22 +09:00
Ellen Marie Dash
7fc8f83edb
[rubygems/rubygems] Have "gem update --system" pass through the --silent flag.
...
5a1e56e892
2020-09-28 14:54:22 +09:00
Hiroshi SHIBATA
ab5e9516b7
[rubygems/rubygems] Added Ruby version for oldest supported version of rubygems
...
dd87d70f51
2020-09-28 14:54:22 +09:00
David Rodríguez
c6bdf75049
Disallow downgrades to too old versions
...
Consider the version original included with each ruby as the minimum
supported version.
2020-09-28 14:54:22 +09:00
bronzdoc
828cefd629
[rubygems/rubygems] Add --dryrun to the deprecated options when showing the help message
...
38230a77c1
2020-09-28 14:54:22 +09:00
bronzdoc
777840a16a
[rubygems/rubygems] We don't need shortucts for a deprecated flag
...
087a1f9720
2020-09-28 14:54:22 +09:00
bronzdoc
be980dd9fa
[rubygems/rubygems] Deprecate --dryrun
...
1715610648
2020-09-28 14:54:22 +09:00
bronzdoc
b83787b1ce
[rubygems/rubygems] Make --dry-run flag consistent across rubygems commands
...
addc644cad
2020-09-28 14:54:22 +09:00
Nobuyoshi Nakada
0629e695e3
Added --platform
option to build
command
2020-09-28 14:54:22 +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
6c71033ac3
[rubygems/rubygems] Remove more unnecessary requires
...
Since `rubygems/util` is autoloaded.
52a9f88b99
2020-07-31 21:07:19 +09:00
David Rodríguez
b84b4e8bfa
[rubygems/rubygems] Remove unnecessary stuff
...
The `rubygems/security` require already does this.
bbb444b6f1
2020-07-31 21:07:19 +09:00
Colby Swandale
65a4b03781
[rubygems/rubygems] fix missing identation
...
2cca6714f3
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
Josef Šimánek
7a571103f2
Exit with non-zero status on disabled gem system update.
2020-06-15 21:20:37 +09:00
Josef Šimánek
3ab1cfc325
Add Gem.disable_system_update_message to disable gem update --system if needed.
2020-06-15 21:20:37 +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
b1541606a2
[rubygems/rubygems] Fix incorrect gem uninstall --all
message
...
Currently `gem uninstall --all` shows the following incorrect message
after completion:
```
INFO: Uninstalled all gems in
```
Now it shows something that actually makes sense like:
```
INFO: Uninstalled all gems in /home/deivid/Code/rubygems/tmp/test_rubygems_6986/gemhome
```
8fa05e8f8c
2020-05-08 14:13:29 +09:00
Thomas McDonald
22030fe508
[rubygems/rubygems] Refactor duplicate metadata logic
...
1e5ef177ac
2020-05-08 14:13:29 +09:00
Thomas McDonald
856f2f31ff
[rubygems/rubygems] Remove unnecessary code
...
`@host` _could_ be `nil` at this point, but only if all the conditions
above for setting `@host` were `nil`. In that case, it is guaranteed
to `default_gem_server` metadata is `nil` since it's one of the
branches in that condition. So this code would just be setting an
already `nil` variable to `nil`. Hence, not needed.
e3ccff3c5c
2020-05-08 14:13:29 +09:00
Thomas McDonald
12ac0fa939
[rubygems/rubygems] Simplify host switching logic
...
This block was a branch and variable heavy way of saying use the
user-provided host if available, or fall-back to the default host if
none of the other options match. IMO the resultant single-if condition
is clearer in intentions
42dbb71cfa
2020-05-08 14:13:29 +09:00
bronzdoc
7db538a7c9
[rubygems/rubygems] Rename version horizon deprecation methods
...
6afd914fda
2020-05-08 07:38:50 +09:00
bronzdoc
ff37dd7e9e
[rubygems/rubygems] Modify files to use new version horizon deprecations
...
4fe5bb5bf3
2020-05-08 07:38:50 +09:00
Hiroshi SHIBATA
de58dfc911
[rubygems/rubygems] Removed the depdendency of English library
...
English.rb is extracted to the default gems at
2c5764ec22
532f488c0b
2020-04-28 10:56:14 +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
David Rodríguez
96064e6f1c
Sync rubygems with current master ( #2889 )
2020-03-24 15:39:24 +09:00
Hiroshi SHIBATA
bd0a02d143
Revert to remove the query command of rubygems.
...
The original commit was https://github.com/rubygems/rubygems/pull/3119
2020-02-06 21:57:18 +09:00
David Rodríguez
054d99d95b
[rubygems/rubygems] Allow releasing with a rubygems pre version
...
This condition is too restrictive in my opinion. If a user has a pre
version of rubygems installed, she should be fully responsible for it,
and we shouldn't restrict any functionality.
Also, why is a new prerelease disallowed but an old prelease allowed, or
why is 2.0.0.rc2 explictly whitelisted? I believe this kind of
exceptions are one more reason to actually permit this.
7f77a77620
2020-02-06 21:57:17 +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
Hiroshi SHIBATA
7d463e360b
Merge RubyGems 3.1.0.pre3
...
* Fix gem pristine not accounting for user installed gems. Pull request
#2914 by Luis Sagastume.
* Refactor keyword argument test for Ruby 2.7. Pull request #2947 by
SHIBATA Hiroshi.
* Fix errors at frozen Gem::Version. Pull request #2949 by Nobuyoshi
Nakada.
* Remove taint usage on Ruby 2.7+. Pull request #2951 by Jeremy Evans.
* Check Manifest.txt is up to date. Pull request #2953 by David Rodríguez.
* Clarify symlink conditionals in tests. Pull request #2962 by David
Rodríguez.
* Update command line parsing to work under ps. Pull request #2966 by
David Rodríguez.
* Properly test `Gem::Specifications.stub_for`. Pull request #2970 by
David Rodríguez.
* Fix Gem::LOADED_SPECS_MUTEX handling for recursive locking. Pull request
#2985 by MSP-Greg.
2019-11-11 16:59:49 +09:00
bronzdoc
73574756f9
[rubygems/rubygems] Add missing parentheses
...
f5972338e0
2019-09-05 18:43:37 +09:00
bronzdoc
92be07b1e1
[rubygems/rubygems] Remove unnecessary gem_name method
...
d1bb122651
2019-09-05 18:43:29 +09:00
bronzdoc
b11cfed4c4
[rubygems/rubygems] Error out if there are multiple gemspecs and no gemspec is specified
...
547947bbf0
2019-09-05 18:43:21 +09:00
bronzdoc
a02da1012b
[rubygems/rubygems] Build the first gemspec we found if no gemspec is specified
...
ab186266b7
2019-09-05 18:42:56 +09:00
bronzdoc
bcf51dd763
[rubygems/rubygems] Improve gemspec assignment and error message
...
dc70c5a192
2019-09-05 18:42:49 +09:00