aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [rubygems/rubygems] Enable `Layout/EmptyLinesAroundAccessModifier`David Rodríguez2019-07-313-0/+3
| | | | https://github.com/rubygems/rubygems/commit/41b1cebc33
* [rubygems/rubygems] Remove warning: shadowing outer local variable - specbronzdoc2019-07-311-2/+2
| | | | https://github.com/rubygems/rubygems/commit/70c5c17a5f
* [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-318-13/+27
| | | | | | | | | | | | 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-313-29/+0
| | | | | | supported nor functional. https://github.com/rubygems/rubygems/commit/cadb66037d
* [rubygems/rubygems] Simplify #to_ruby codeNobuyoshi Nakada2019-07-312-30/+14
| | | | | | | | | | 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] Missing dependencyAlexander Pakulov2019-07-311-0/+1
| | | | https://github.com/rubygems/rubygems/commit/79b62c233a
* [rubygems/rubygems] Making Gem::S3URISigner.sign method smaller with helper ↵Alexander Pakulov2019-07-312-19/+30
| | | | | | 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-313-110/+187
| | | | | | 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-312-16/+16
| | | | 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 missleading comment, no reason to move Gem.host ↵bronzdoc2019-07-311-2/+0
| | | | | | to Gem::Util https://github.com/rubygems/rubygems/commit/e12c98aa72
* [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-313-4/+6
| | | | https://github.com/rubygems/rubygems/commit/a76f25dff0
* [rubygems/rubygems] Upgrading S3 source signature to AWS SigV4Alexander Pakulov2019-07-312-27/+207
| | | | https://github.com/rubygems/rubygems/commit/f289788ca5
* [rubygems/rubygems] Move metadata method to Gem::Packagebronzdoc2019-07-313-30/+54
| | | | https://github.com/rubygems/rubygems/commit/2c9cfcb666
* [rubygems/rubygems] Add a package attr_reader to Gem::Installer.Daniel Berger2019-07-312-0/+15
| | | | | | 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-312-9/+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] Silence deprecations when gemdeps is used in testsDavid Rodríguez2019-07-311-2/+4
| | | | | | | Because we can't control 3rd party gems using deprecated rubygems behavior, and thus outputting warnings to the screen. https://github.com/rubygems/rubygems/commit/6912ebf20a
* [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-312-2/+2
| | | | 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-312-2/+8
| | | | | | 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
* * expand tabs.git2019-07-311-2/+2
|
* Do not change IO.pipe encodings if encodings explicitly givenJeremy Evans2019-07-302-29/+45
| | | | | | | | This commit makes it so that if the binmode option is given with any encoding arguments, the reader and writer IO objects are not set to binary encoding. Fixes [Bug #12989]
* Passing `binmode: true` to `IO.pipe` should behave like `binmode`Aaron Patterson2019-07-302-0/+38
| | | | | | | | | | | When passing `binmode: true` to `IO.pipe`, it should behave the same way as calling `binmode` on each of the file handles. It should set the file to binmode *and* set the encoding to binary on the file. Before this commit, passing `binmode: true` to `IO.pipe` would make `binmode?` return `true`, but the file's encoding would remain the same as the default encoding. Passing `binmode: true` should make `binmode?` return `true` *and* set the encoding to binary.
* * 2019-07-31git2019-07-311-1/+1
|
* Do not always taint the result of File#pathJeremy Evans2019-07-303-1/+23
| | | | | | | | | | | | | | | | | | The result should only be tainted if the path given to the method was tainted. The code to always taint the result was added in a4934a42cbb84b6679912226581c71b435671f55 (svn revision 4892) in 2003 by matz. However, the change wasn't mentioned in the commit message, and it may have been committed by accident. Skip part of a readline test that uses Reline. Reline in general would pass the test, but Reline's test mode doesn't raise a SecurityError if passing a tainted prompt and $SAFE >= 1. This was hidden earlier because File#path was always returning a tainted string. Fixes [Bug #14485]
* Shorten dependency hint [ci skip]Nobuyoshi Nakada2019-07-301-1/+1
|