aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems/commands
Commit message (Collapse)AuthorAgeFilesLines
* Track RubyGems master(3.3.0.dev) branch at ↵Hiroshi SHIBATA2021-01-043-68/+30
| | | | 55634a8af18a52df86c4275d70fa1179118bcc20
* Merge RubyGems 3.2.2 and Bundler 2.2.2Hiroshi SHIBATA2020-12-183-3/+0
|
* Merge prepare version of RubyGems 3.2.0Hiroshi SHIBATA2020-12-0812-78/+120
|
* Merge rubygems-3.2.0.rc.2Hiroshi SHIBATA2020-10-151-10/+9
|
* [rubygems/rubygems] Remove last remaining line of output from `gem update ↵Ellen Marie Dash2020-09-281-1/+1
| | | | | | --system --silent` https://github.com/rubygems/rubygems/commit/038203aaf8
* [rubygems/rubygems] Add test for "gem update --system --silent"Ellen Marie Dash2020-09-281-2/+2
| | | | https://github.com/rubygems/rubygems/commit/c3fb0db930
* [rubygems/rubygems] Have "gem update --system" pass through the --silent flag.Ellen Marie Dash2020-09-281-0/+1
| | | | https://github.com/rubygems/rubygems/commit/5a1e56e892
* [rubygems/rubygems] Added Ruby version for oldest supported version of rubygemsHiroshi SHIBATA2020-09-281-0/+1
| | | | https://github.com/rubygems/rubygems/commit/dd87d70f51
* Disallow downgrades to too old versionsDavid Rodríguez2020-09-281-1/+16
| | | | | Consider the version original included with each ruby as the minimum supported version.
* [rubygems/rubygems] Add --dryrun to the deprecated options when showing the ↵bronzdoc2020-09-281-1/+1
| | | | | | help message https://github.com/rubygems/rubygems/commit/38230a77c1
* [rubygems/rubygems] We don't need shortucts for a deprecated flagbronzdoc2020-09-281-1/+1
| | | | https://github.com/rubygems/rubygems/commit/087a1f9720
* [rubygems/rubygems] Deprecate --dryrunbronzdoc2020-09-281-1/+7
| | | | https://github.com/rubygems/rubygems/commit/1715610648
* [rubygems/rubygems] Make --dry-run flag consistent across rubygems commandsbronzdoc2020-09-281-1/+1
| | | | https://github.com/rubygems/rubygems/commit/addc644cad
* Added `--platform` option to `build` commandNobuyoshi Nakada2020-09-281-0/+5
|
* Revert "Manually merged from https://github.com/rubygems/rubygems/pull/2636"Hiroshi SHIBATA2020-09-2335-70/+0
| | | | | 31a6eaabc165d8a222e176f2c809d90622d88ec2 is obsoleted with https://github.com/rubygems/rubygems/pull/3820
* Manually merged from https://github.com/rubygems/rubygems/pull/2636Hiroshi SHIBATA2020-09-2335-0/+70
| | | | Enable Style/EmptyLinesAroundClassBody rubocop cop.
* [rubygems/rubygems] Don't format executables on `gem update --system`David Rodríguez2020-07-311-1/+1
| | | | | | | | 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. https://github.com/rubygems/rubygems/commit/1a504b651d
* [rubygems/rubygems] Remove more unnecessary requiresDavid Rodríguez2020-07-311-1/+0
| | | | | | Since `rubygems/util` is autoloaded. https://github.com/rubygems/rubygems/commit/52a9f88b99
* [rubygems/rubygems] Remove unnecessary stuffDavid Rodríguez2020-07-311-6/+0
| | | | | | The `rubygems/security` require already does this. https://github.com/rubygems/rubygems/commit/bbb444b6f1
* [rubygems/rubygems] fix missing identationColby Swandale2020-07-311-1/+1
| | | | https://github.com/rubygems/rubygems/commit/2cca6714f3
* Enforce no empty lines around class body in rubygemsDavid Rodríguez2020-07-3135-70/+0
| | | | To normalize the code style with `bundler`.
* Exit with non-zero status on disabled gem system update.Josef Šimánek2020-06-151-1/+1
|
* Add Gem.disable_system_update_message to disable gem update --system if needed.Josef Šimánek2020-06-151-0/+5
|
* Use space inside block braces everywhereDavid Rodríguez2020-06-1513-27/+27
| | | | To make rubygems code style consistent with bundler.
* [rubygems/rubygems] Fix template cleanup as wellDavid Rodríguez2020-06-051-1/+1
| | | | https://github.com/rubygems/rubygems/commit/10cc79ee21
* [rubygems/rubygems] Fix installing template files with dotsDavid Rodríguez2020-06-051-1/+1
| | | | https://github.com/rubygems/rubygems/commit/a82a77251d
* [rubygems/rubygems] Remove unnecessary parenthesisDavid Rodríguez2020-06-051-2/+2
| | | | https://github.com/rubygems/rubygems/commit/97772bb066
* [rubygems/rubygems] Remove old `gauntlet_rubygems` file on rubygems upgradeDavid Rodríguez2020-05-081-0/+3
| | | | | | | | The file was removed at https://github.com/rubygems/rubygems/commit/65b709b095b8354ac2620d1a5d7d537e539f6498, shipped with rubygems 2.6.5. https://github.com/rubygems/rubygems/commit/739159a120
* [rubygems/rubygems] Install man files when bundler installed as a default gemDavid Rodríguez2020-05-081-0/+73
| | | | https://github.com/rubygems/rubygems/commit/28d6d77d81
* [rubygems/rubygems] Extract a `remove_file_list` helperDavid Rodríguez2020-05-081-8/+12
| | | | https://github.com/rubygems/rubygems/commit/8cc6087590
* [rubygems/rubygems] Only need to call helper onceDavid Rodríguez2020-05-081-3/+1
| | | | https://github.com/rubygems/rubygems/commit/6ddbf5bcab
* [rubygems/rubygems] Extract an `install_file_list` helperDavid Rodríguez2020-05-081-6/+8
| | | | https://github.com/rubygems/rubygems/commit/5106ea4582
* [rubygems/rubygems] Move helper to private sectionDavid Rodríguez2020-05-081-10/+10
| | | | https://github.com/rubygems/rubygems/commit/fb824b7a81
* [rubygems/rubygems] Rename method to clarifyDavid Rodríguez2020-05-081-3/+2
| | | | https://github.com/rubygems/rubygems/commit/6dc76146ad
* [rubygems/rubygems] Fix incorrect `gem uninstall --all` messageDavid Rodríguez2020-05-081-1/+1
| | | | | | | | | | | | | | | | | 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 ``` https://github.com/rubygems/rubygems/commit/8fa05e8f8c
* [rubygems/rubygems] Refactor duplicate metadata logicThomas McDonald2020-05-081-7/+1
| | | | https://github.com/rubygems/rubygems/commit/1e5ef177ac
* [rubygems/rubygems] Remove unnecessary codeThomas McDonald2020-05-081-4/+0
| | | | | | | | | | `@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. https://github.com/rubygems/rubygems/commit/e3ccff3c5c
* [rubygems/rubygems] Simplify host switching logicThomas McDonald2020-05-081-12/+3
| | | | | | | | | 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 https://github.com/rubygems/rubygems/commit/42dbb71cfa
* [rubygems/rubygems] Rename version horizon deprecation methodsbronzdoc2020-05-081-1/+1
| | | | https://github.com/rubygems/rubygems/commit/6afd914fda
* [rubygems/rubygems] Modify files to use new version horizon deprecationsbronzdoc2020-05-081-1/+1
| | | | https://github.com/rubygems/rubygems/commit/4fe5bb5bf3
* [rubygems/rubygems] Removed the depdendency of English libraryHiroshi SHIBATA2020-04-282-3/+2
| | | | | | | English.rb is extracted to the default gems at https://github.com/ruby/ruby/commit/2c5764ec223d976e0d0da1494596a1519104be3e https://github.com/rubygems/rubygems/commit/532f488c0b
* [rubygems/rubygems] Enable Style/PercentLiteralDelimiters cop in rubygemsDavid Rodríguez2020-03-301-1/+1
| | | | | | So it matches the style used by bundler. https://github.com/rubygems/rubygems/commit/ab0580fd65
* Sync rubygems with current master (#2889)David Rodríguez2020-03-242-3/+3
|
* Revert to remove the query command of rubygems.Hiroshi SHIBATA2020-02-061-352/+7
| | | | The original commit was https://github.com/rubygems/rubygems/pull/3119
* [rubygems/rubygems] Allow releasing with a rubygems pre versionDavid Rodríguez2020-02-061-19/+0
| | | | | | | | | | | | 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. https://github.com/rubygems/rubygems/commit/7f77a77620
* Merge the current master branch of rubygems/rubygems.Hiroshi SHIBATA2020-02-019-32/+92
| | | | Just started to develop RubyGems 3.2.0.
* Merge RubyGems 3.1.2Hiroshi SHIBATA2019-12-201-14/+29
|
* Prepare to release RubyGems 3.1.0 final version.Hiroshi SHIBATA2019-12-133-1/+18
|
* Merge RubyGems 3.1.0.pre3Hiroshi SHIBATA2019-11-111-5/+0
| | | | | | | | | | | | | | | | | | | * 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.
* [rubygems/rubygems] Add missing parenthesesbronzdoc2019-09-051-1/+1
| | | | https://github.com/rubygems/rubygems/commit/f5972338e0