aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems
Commit message (Collapse)AuthorAgeFilesLines
* require 'pp' before use PPKazuhiro NISHIYAMA2019-08-301-1/+4
| | | | | | | `Kernel#pp` has wrapper, but `PP` does not. https://github.com/ruby/ruby/runs/207405029#step:10:141 `NameError: uninitialized constant Bundler::Molinillo::Resolver::Resolution::PP`
* [rubygems/rubygems] Use `RbConfig::CONFIG['rubylibprefix']`Nobuyoshi Nakada2019-08-201-8/+1
| | | | | | It is defined since ruby 1.9.2. https://github.com/rubygems/rubygems/commit/84981ca908
* $LOAD_PATH elements should be real pathsNobuyoshi Nakada2019-08-181-1/+1
| | | | Installed path may contain symbolic links.
* Support the current stable version of Ruby like 2.5 and 2.6.Hiroshi SHIBATA2019-08-171-2/+2
|
* Revert "`Gem.load_path_insert_index always returns non-nil index after Ruby 1.9"Hiroshi SHIBATA2019-08-171-1/+1
| | | | | | This reverts commit 260ef51a73c067599826c8ab110c53994c1b6226. This broke the stable versions of Ruby like 2.4 and 2.5
* Added comments for extended require by RubyGemsHiroshi SHIBATA2019-08-171-1/+3
|
* `Gem.load_path_insert_index always returns non-nil index after Ruby 1.9Hiroshi SHIBATA2019-08-171-1/+1
|
* Try to continue on LoadError with gem_original_requireHiroshi SHIBATA2019-08-171-2/+6
|
* Keep the existance behavior with symlink pathHiroshi SHIBATA2019-08-171-1/+3
|
* Revert "Revert "[rubygems/rubygems] [Require] Ensure -I beats a default gem""Hiroshi SHIBATA2019-08-172-0/+21
| | | | This reverts commit 75d29db8f965893bb6ab38b9008abc80cdda246e.
* Revert "[rubygems/rubygems] [Require] Ensure -I beats a default gem"Hiroshi SHIBATA2019-08-172-21/+0
| | | | This reverts commit 00cd5d74cecb6aa4a184e57e2b8246ef6e45d458.
* Fixed Insecure Operation in requireHiroshi SHIBATA2019-08-171-1/+1
| | | | Caused by 00cd5d74ce
* [rubygems/rubygems] Fixup #2844Hiroshi SHIBATA2019-08-171-1/+1
| | | | https://github.com/rubygems/rubygems/commit/5924286ae2
* [rubygems/rubygems] installer.rb - fix #windows_stub_scriptMSP-Greg2019-08-171-3/+3
| | | | | | use ruby_exe in heredocs instead of ruby.exe https://github.com/rubygems/rubygems/commit/9f1b7d6590
* [rubygems/rubygems] Do not mutate uri.query during s3 signature creationAlexander Pakulov2019-08-171-7/+7
| | | | https://github.com/rubygems/rubygems/commit/c0275ee537
* [rubygems/rubygems] Make deprecate Gem::RubyGemsVersion and Gem::ConfigMap.Hiroshi SHIBATA2019-08-171-0/+2
| | | | https://github.com/rubygems/rubygems/commit/1133c2f700
* [rubygems/rubygems] Return `nil` to clarify return value is ignoredDavid Rodríguez2019-08-171-1/+1
| | | | https://github.com/rubygems/rubygems/commit/8702f59d32
* [rubygems/rubygems] Autoswitch to exact bundler version if presentDavid Rodríguez2019-08-171-0/+5
| | | | https://github.com/rubygems/rubygems/commit/bb02953a97
* [rubygems/rubygems] Don't unregister default specificationsDavid Rodríguez2019-08-171-1/+0
| | | | | | I think this should be more efficient? https://github.com/rubygems/rubygems/commit/a1de78104f
* [rubygems/rubygems] Replace domain parameter in ↵bronzdoc2019-08-172-5/+5
| | | | | | Gem::Command#show_lookup_failure with a parameter to suppress suggestions https://github.com/rubygems/rubygems/commit/760b7d834f
* [rubygems/rubygems] Fix jruby issueDavid Rodríguez2019-08-171-2/+2
| | | | https://github.com/rubygems/rubygems/commit/fc3f722164
* [rubygems/rubygems] Fix old rubies compatDavid Rodríguez2019-08-171-1/+1
| | | | https://github.com/rubygems/rubygems/commit/41e60cdb6b
* [rubygems/rubygems] [Require] Ensure -I beats a default gemSamuel Giddins2019-08-172-0/+21
| | | | https://github.com/rubygems/rubygems/commit/6fbda98eb3
* fix last commit.Koichi Sasada2019-08-141-1/+1
|
* change Proc#to_s format ('@...' -> ' ...') (#2362)Koichi Sasada2019-08-141-1/+1
| | | | | | | | Now Proc#to_s returns "#<Proc:0x00000237a0f5f170@t.rb:1>". However, it is convenient to select a file name by (double-)clicking on some terminals by separating ' ' instead of '@' like "#<Proc:0x00000237a0f5f170 t.rb:1>" [Feature #16101]
* Fixed deprecation messageNobuyoshi Nakada2019-08-071-1/+1
|
* [rubygems/rubygems] Use the standard RUBY_ENGINE_VERSION instead of ↵Benoit Daloze2019-08-053-14/+5
| | | | | | | | | JRUBY_VERSION * RUBY_ENGINE and RUBY_ENGINE_VERSION are defined on every modern Ruby. * There is no such constant as TRUFFLERUBY_VERSION or RBX_VERSION. https://github.com/rubygems/rubygems/commit/431d0aefdd
* [rubygems/rubygems] Use gsub with HashKazuhiro NISHIYAMA2019-08-051-2/+2
| | | | https://github.com/rubygems/rubygems/commit/83eced0b39
* [rubygems/rubygems] Revert cadb66037d9b58c80fc795f39384d533229a1f73bronzdoc2019-08-052-0/+11
| | | | https://github.com/rubygems/rubygems/commit/5c3158d975
* [rubygems/rubygems] Fixed to warn with shadowing outer local variable.Hiroshi SHIBATA2019-08-051-4/+4
| | | | https://github.com/rubygems/rubygems/commit/b0588a87b1
* [rubygems/rubygems] Partly reverted be962ca0c411f3b4bcfebfb6e714c78cbad12775Hiroshi SHIBATA2019-07-311-0/+38
| | | | | | | * `Gem::ConfigMap` is still used by Bundler. * `Gem::RubyGemsVersion` is also still referred by the old gems. https://github.com/rubygems/rubygems/commit/249c3ff44f
* [rubygems/rubygems] Initialize '@ran_rake' correctly, so we don't have to ↵bronzdoc2019-07-311-4/+1
| | | | | | set it up later and cause confusion https://github.com/rubygems/rubygems/commit/6ec3ba983c
* [rubygems/rubygems] Remove extension 'double pipe equals' assigment since is ↵bronzdoc2019-07-311-13/+0
| | | | | | not needed anymore https://github.com/rubygems/rubygems/commit/930de86a24
* [rubygems/rubygems] Move 'build_for' to handle extension type before the ↵bronzdoc2019-07-311-2/+2
| | | | | | extension is used https://github.com/rubygems/rubygems/commit/2a32c5ef0a
* [rubygems/rubygems] Do not pass +build_dir+ argument to build_errorbronzdoc2019-07-311-5/+2
| | | | https://github.com/rubygems/rubygems/commit/107fea3432
* [rubygems/rubygems] Remove useless param +build_dir+bronzdoc2019-07-311-2/+2
| | | | https://github.com/rubygems/rubygems/commit/0402974149
* [rubygems/rubygems] Drop support for 'gem env packageversion'bronzdoc2019-07-312-43/+0
| | | | https://github.com/rubygems/rubygems/commit/be962ca0c4
* [rubygems/rubygems] Generate a licenses.rb file with correct styleDavid Rodríguez2019-07-311-396/+396
| | | | https://github.com/rubygems/rubygems/commit/469fceeb2f
* [rubygems/rubygems] Enable `Layout/AlignArray` copDavid Rodríguez2019-07-312-4/+4
| | | | https://github.com/rubygems/rubygems/commit/1ea674d8f7
* [rubygems/rubygems] Enable `Layout/EmptyLinesAroundAccessModifier`David Rodríguez2019-07-313-0/+3
| | | | https://github.com/rubygems/rubygems/commit/41b1cebc33
* [rubygems/rubygems] Make error code a constant and remove TODO commentbronzdoc2019-07-311-3/+5
| | | | https://github.com/rubygems/rubygems/commit/3d6c7c92e4
* [rubygems/rubygems] Move default specifications dir definition out of ↵Vít Ondruch2019-07-316-7/+21
| | | | | | | | | | | | 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. https://github.com/rubygems/rubygems/commit/0c0dd9458a
* [rubygems/rubygems] There is no usage of @orig_env_* variables in test suite.Hiroshi SHIBATA2019-07-311-2/+0
| | | | https://github.com/rubygems/rubygems/commit/2adef51dc9
* [rubygems/rubygems] Ignore GEMRC variable for test suite. It affects with ↵Hiroshi SHIBATA2019-07-311-0/+1
| | | | | | some test case. https://github.com/rubygems/rubygems/commit/4a0ca2583a
* [rubygems/rubygems] Use File#open instead of Kernel#openbronzdoc2019-07-311-2/+1
| | | | https://github.com/rubygems/rubygems/commit/bfb3f67494
* [rubygems/rubygems] Deprecate Gem::RemoteFetcher#fetch_sizebronzdoc2019-07-311-1/+5
| | | | https://github.com/rubygems/rubygems/commit/c2049c3276
* [rubygems/rubygems] Autorequire was used by old RubyGems, it is neither ↵bronzdoc2019-07-312-11/+0
| | | | | | supported nor functional. https://github.com/rubygems/rubygems/commit/cadb66037d
* [rubygems/rubygems] Simplify #to_ruby codeNobuyoshi Nakada2019-07-311-11/+3
| | | | | | | | | | Separate #add_runtime_dependency and #add_development_dependency availability condition from #specification_version availability, which is not related to directly. Also check if the former method is available, instead of comparing the version. https://github.com/rubygems/rubygems/commit/5cccc2b836
* [rubygems/rubygems] Making Gem::S3URISigner.sign method smaller with helper ↵Alexander Pakulov2019-07-311-17/+28
| | | | | | methods https://github.com/rubygems/rubygems/commit/2a96494d91
* [rubygems/rubygems] Use default value for expiration in the method signatureAlexander Pakulov2019-07-311-3/+1
| | | | https://github.com/rubygems/rubygems/commit/1372e50c17