aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rubygems
Commit message (Collapse)AuthorAgeFilesLines
* [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
* [rubygems/rubygems] Moving rubygems/request dependencies into ec2_metadataAlexander Pakulov2019-07-311-2/+2
| | | | https://github.com/rubygems/rubygems/commit/6a1856517f
* [rubygems/rubygems] Extracting sign_s3_url & s3_source_auth into a separate ↵Alexander Pakulov2019-07-312-104/+178
| | | | | | S3URISigner class https://github.com/rubygems/rubygems/commit/c30d21ec7a
* [rubygems/rubygems] Move TODO comment to an information commentbronzdoc2019-07-311-2/+1
| | | | https://github.com/rubygems/rubygems/commit/853ecdd417
* [rubygems/rubygems] Remove unused 'raise' from test_casebronzdoc2019-07-311-3/+0
| | | | https://github.com/rubygems/rubygems/commit/2481efcb37
* [rubygems/rubygems] Remove TODO comment, there's no Gem::Dirs constantbronzdoc2019-07-311-1/+1
| | | | https://github.com/rubygems/rubygems/commit/4bacf577f1
* [rubygems/rubygems] Remove useless TODO commentbronzdoc2019-07-311-1/+1
| | | | https://github.com/rubygems/rubygems/commit/44bc809dc8
* [rubygems/rubygems] Addressing PR commentsAlexander Pakulov2019-07-311-5/+5
| | | | https://github.com/rubygems/rubygems/commit/fb62d3043c
* [rubygems/rubygems] check_version_conflict don't have a 'dep' variable ↵bronzdoc2019-07-311-1/+0
| | | | | | available for use https://github.com/rubygems/rubygems/commit/1783cf0fd3
* [rubygems/rubygems] Remove useless comment in exceptions.rbbronzdoc2019-07-311-4/+0
| | | | https://github.com/rubygems/rubygems/commit/d7ad696fa2
* [rubygems/rubygems] Rename Gem::Package.metadata to Gem::Package.raw_specbronzdoc2019-07-312-2/+4
| | | | https://github.com/rubygems/rubygems/commit/a76f25dff0
* [rubygems/rubygems] Upgrading S3 source signature to AWS SigV4Alexander Pakulov2019-07-311-18/+78
| | | | https://github.com/rubygems/rubygems/commit/f289788ca5
* [rubygems/rubygems] Move metadata method to Gem::Packagebronzdoc2019-07-312-30/+27
| | | | https://github.com/rubygems/rubygems/commit/2c9cfcb666
* [rubygems/rubygems] Add a package attr_reader to Gem::Installer.Daniel Berger2019-07-311-0/+5
| | | | | | Add some basic specs for the package attr_reader. https://github.com/rubygems/rubygems/commit/68af2a0ee3
* [rubygems/rubygems] Remove missleading TODO comment. Can't use ↵bronzdoc2019-07-311-1/+0
| | | | | | | | @parser.accept since not every class where this is used has a parser available. i.e lib/rubygems/install_update_options.rb https://github.com/rubygems/rubygems/commit/519fd4dcc0
* [rubygems/rubygems] Move gemcutter utilities code to Gem::Commandbronzdoc2019-07-312-5/+4
| | | | https://github.com/rubygems/rubygems/commit/f296645033
* [rubygems/rubygems] Remove conflict.rb code that was supposed to be removed ↵bronzdoc2019-07-311-5/+0
| | | | | | in Rubygems 3 https://github.com/rubygems/rubygems/commit/6d5f743a89
* [rubygems/rubygems] Remove unnecessary &&= operatorbronzdoc2019-07-311-2/+1
| | | | https://github.com/rubygems/rubygems/commit/a10b5265d7
* [rubygems/rubygems] Remove unnecessary TODO commentbronzdoc2019-07-311-1/+0
| | | | https://github.com/rubygems/rubygems/commit/ad7e379f79
* [rubygems/rubygems] Explicitly deprecate `rubyforge_project`David Rodríguez2019-07-311-0/+1
| | | | https://github.com/rubygems/rubygems/commit/9094740109
* [rubygems/rubygems] Do not replace the cache entry if there is already oneBenoit Daloze2019-07-311-1/+6
| | | | | | * That way, multiple lookups for the same file always return the same object. https://github.com/rubygems/rubygems/commit/50a431b6db
* [rubygems/rubygems] Synchronize access to the Gem::Specification::LOAD_CACHE ↵Benoit Daloze2019-07-311-3/+8
| | | | | | | | Hash * It's accessed concurrently, notably when installing a gem with a C extension. https://github.com/rubygems/rubygems/commit/543294d7dd
* [rubygems/rubygems] Add a blank line after private to be consistent with the ↵bronzdoc2019-07-311-0/+1
| | | | | | current style https://github.com/rubygems/rubygems/commit/df7c0e4223
* [rubygems/rubygems] Return early if filename is emptybronzdoc2019-07-311-1/+1
| | | | https://github.com/rubygems/rubygems/commit/1b9ab33083
* [rubygems/rubygems] Simplify config_file_name assigmentbronzdoc2019-07-311-1/+1
| | | | https://github.com/rubygems/rubygems/commit/1b3154f905
* [rubygems/rubygems] Lazy require stringiobronzdoc2019-07-312-2/+2
| | | | https://github.com/rubygems/rubygems/commit/82f0d4ca69
* [rubygems/rubygems] Set config_file_name to the value of ENV["GEMRC"] if ↵bronzdoc2019-07-311-1/+1
| | | | | | available https://github.com/rubygems/rubygems/commit/471239f1fa
* [rubygems/rubygems] Move config_file_name logic to its own methodbronzdoc2019-07-311-19/+21
| | | | https://github.com/rubygems/rubygems/commit/ac4596aace
* [rubygems/rubygems] Migrate extension builder to use Open3David Rodríguez2019-07-312-20/+23
| | | | | | Since it works on jruby. https://github.com/rubygems/rubygems/commit/5229e00df4
* [rubygems/rubygems] Remove unused methodDavid Rodríguez2019-07-311-5/+0
| | | | https://github.com/rubygems/rubygems/commit/f2dbf242ea
* [rubygems/rubygems] Resolve `@@project_dir` from test file pathsNobuyoshi Nakada2019-07-241-2/+0
| | | | | | | `Dir.pwd` may differ from the source path. Test directories and files should be resolved from test file paths. https://github.com/rubygems/rubygems/commit/e18e7c81b4