Граф коммитов

7290 Коммитов

Автор SHA1 Сообщение Дата
Yusuke Endoh 4562c13093 lib/bundler/shared_helpers.rb: remove require "rubygems"
Because it causes circular require.
2019-07-31 19:51:58 +09:00
Hiroshi SHIBATA 77c0e23b0c
[rubygems/rubygems] Partly reverted be962ca0c411f3b4bcfebfb6e714c78cbad12775
* `Gem::ConfigMap` is still used by Bundler.
  * `Gem::RubyGemsVersion` is also still referred by the old gems.

https://github.com/rubygems/rubygems/commit/249c3ff44f
2019-07-31 07:47:02 +08:00
bronzdoc ab8d9a5325
[rubygems/rubygems] Initialize '@ran_rake' correctly, so we don't have to set it up later and cause confusion
https://github.com/rubygems/rubygems/commit/6ec3ba983c
2019-07-31 07:47:02 +08:00
bronzdoc 5824981d98
[rubygems/rubygems] Remove extension 'double pipe equals' assigment since is not needed anymore
https://github.com/rubygems/rubygems/commit/930de86a24
2019-07-31 07:47:02 +08:00
bronzdoc b73ad4999a
[rubygems/rubygems] Move 'build_for' to handle extension type before the extension is used
https://github.com/rubygems/rubygems/commit/2a32c5ef0a
2019-07-31 07:47:02 +08:00
bronzdoc 9dc0f39de5
[rubygems/rubygems] Do not pass +build_dir+ argument to build_error
https://github.com/rubygems/rubygems/commit/107fea3432
2019-07-31 07:47:02 +08:00
bronzdoc d97fc48e92
[rubygems/rubygems] Remove useless param +build_dir+
https://github.com/rubygems/rubygems/commit/0402974149
2019-07-31 07:47:02 +08:00
bronzdoc a51661d378
[rubygems/rubygems] Drop support for 'gem env packageversion'
https://github.com/rubygems/rubygems/commit/be962ca0c4
2019-07-31 07:47:02 +08:00
David Rodríguez bb6bd7e985
[rubygems/rubygems] Generate a licenses.rb file with correct style
https://github.com/rubygems/rubygems/commit/469fceeb2f
2019-07-31 07:47:02 +08:00
David Rodríguez 497efa0ec9
[rubygems/rubygems] Enable `Layout/AlignArray` cop
https://github.com/rubygems/rubygems/commit/1ea674d8f7
2019-07-31 07:47:02 +08:00
David Rodríguez 0817d95714
[rubygems/rubygems] Enable `Layout/EmptyLinesAroundAccessModifier`
https://github.com/rubygems/rubygems/commit/41b1cebc33
2019-07-31 07:47:02 +08:00
bronzdoc 33025d9768
[rubygems/rubygems] Make error code a constant and remove TODO comment
https://github.com/rubygems/rubygems/commit/3d6c7c92e4
2019-07-31 07:47:02 +08:00
Vít Ondruch a3b784b3a0
[rubygems/rubygems] Move default specifications dir definition out of 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
2019-07-31 07:47:02 +08:00
Hiroshi SHIBATA d1806bd8da
[rubygems/rubygems] There is no usage of @orig_env_* variables in test suite.
https://github.com/rubygems/rubygems/commit/2adef51dc9
2019-07-31 07:47:02 +08:00
Hiroshi SHIBATA a3c0ea55f8
[rubygems/rubygems] Ignore GEMRC variable for test suite. It affects with some test case.
https://github.com/rubygems/rubygems/commit/4a0ca2583a
2019-07-31 07:47:02 +08:00
bronzdoc 1eaacb1ef5
[rubygems/rubygems] Use File#open instead of Kernel#open
https://github.com/rubygems/rubygems/commit/bfb3f67494
2019-07-31 07:47:02 +08:00
bronzdoc 41dd9f7e67
[rubygems/rubygems] Deprecate Gem::RemoteFetcher#fetch_size
https://github.com/rubygems/rubygems/commit/c2049c3276
2019-07-31 07:47:02 +08:00
bronzdoc a34168f2ac
[rubygems/rubygems] Autorequire was used by old RubyGems, it is neither supported nor functional.
https://github.com/rubygems/rubygems/commit/cadb66037d
2019-07-31 07:47:02 +08:00
Nobuyoshi Nakada a2f0331c4e
[rubygems/rubygems] Simplify #to_ruby code
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
2019-07-31 07:47:02 +08:00
Alexander Pakulov 0d596c1ab2
[rubygems/rubygems] Making Gem::S3URISigner.sign method smaller with helper methods
https://github.com/rubygems/rubygems/commit/2a96494d91
2019-07-31 07:47:01 +08:00
Alexander Pakulov 74419711ad
[rubygems/rubygems] Use default value for expiration in the method signature
https://github.com/rubygems/rubygems/commit/1372e50c17
2019-07-31 07:47:01 +08:00
Alexander Pakulov aa9015dd84
[rubygems/rubygems] Moving rubygems/request dependencies into ec2_metadata
https://github.com/rubygems/rubygems/commit/6a1856517f
2019-07-31 07:47:01 +08:00
Alexander Pakulov 4a8c2dd419
[rubygems/rubygems] Extracting sign_s3_url & s3_source_auth into a separate S3URISigner class
https://github.com/rubygems/rubygems/commit/c30d21ec7a
2019-07-31 07:47:01 +08:00
bronzdoc 1dfe132aa5
[rubygems/rubygems] Move TODO comment to an information comment
https://github.com/rubygems/rubygems/commit/853ecdd417
2019-07-31 07:47:01 +08:00
bronzdoc 7081185664
[rubygems/rubygems] Remove unused 'raise' from test_case
https://github.com/rubygems/rubygems/commit/2481efcb37
2019-07-31 07:47:01 +08:00
bronzdoc eb35124cca
[rubygems/rubygems] Remove TODO comment, there's no Gem::Dirs constant
https://github.com/rubygems/rubygems/commit/4bacf577f1
2019-07-31 07:47:01 +08:00
bronzdoc 60d3f9ef9f
[rubygems/rubygems] Remove useless TODO comment
https://github.com/rubygems/rubygems/commit/44bc809dc8
2019-07-31 07:47:01 +08:00
Alexander Pakulov bd78eabcf3
[rubygems/rubygems] Addressing PR comments
https://github.com/rubygems/rubygems/commit/fb62d3043c
2019-07-31 07:47:01 +08:00
bronzdoc b2a54744f2
[rubygems/rubygems] check_version_conflict don't have a 'dep' variable available for use
https://github.com/rubygems/rubygems/commit/1783cf0fd3
2019-07-31 07:47:01 +08:00
bronzdoc 56801d4532
[rubygems/rubygems] Remove missleading comment, no reason to move Gem.host to Gem::Util
https://github.com/rubygems/rubygems/commit/e12c98aa72
2019-07-31 07:47:01 +08:00
bronzdoc ff214e9232
[rubygems/rubygems] Remove useless comment in exceptions.rb
https://github.com/rubygems/rubygems/commit/d7ad696fa2
2019-07-31 07:47:01 +08:00
bronzdoc 6bd7772361
[rubygems/rubygems] Rename Gem::Package.metadata to Gem::Package.raw_spec
https://github.com/rubygems/rubygems/commit/a76f25dff0
2019-07-31 07:47:01 +08:00
Alexander Pakulov 38daeded66
[rubygems/rubygems] Upgrading S3 source signature to AWS SigV4
https://github.com/rubygems/rubygems/commit/f289788ca5
2019-07-31 07:47:01 +08:00
bronzdoc 688ccc9602
[rubygems/rubygems] Move metadata method to Gem::Package
https://github.com/rubygems/rubygems/commit/2c9cfcb666
2019-07-31 07:47:01 +08:00
Daniel Berger 8103d46a4d
[rubygems/rubygems] Add a package attr_reader to Gem::Installer.
Add some basic specs for the package attr_reader.

https://github.com/rubygems/rubygems/commit/68af2a0ee3
2019-07-31 07:47:01 +08:00
bronzdoc 6be927ff4a
[rubygems/rubygems] Remove missleading TODO comment. Can't use @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
2019-07-31 07:47:01 +08:00
bronzdoc c421ef1142
[rubygems/rubygems] Move gemcutter utilities code to Gem::Command
https://github.com/rubygems/rubygems/commit/f296645033
2019-07-31 07:47:01 +08:00
bronzdoc 5eacb4c52e
[rubygems/rubygems] Remove conflict.rb code that was supposed to be removed in Rubygems 3
https://github.com/rubygems/rubygems/commit/6d5f743a89
2019-07-31 07:47:01 +08:00
bronzdoc a7bce01175
[rubygems/rubygems] Remove unnecessary &&= operator
https://github.com/rubygems/rubygems/commit/a10b5265d7
2019-07-31 07:47:01 +08:00
bronzdoc 8b91a6d0a0
[rubygems/rubygems] Remove unnecessary TODO comment
https://github.com/rubygems/rubygems/commit/ad7e379f79
2019-07-31 07:47:01 +08:00
David Rodríguez df0b41fc72
[rubygems/rubygems] Explicitly deprecate `rubyforge_project`
https://github.com/rubygems/rubygems/commit/9094740109
2019-07-31 07:47:01 +08:00
Benoit Daloze 05ae2c11fa
[rubygems/rubygems] Do not replace the cache entry if there is already one
* That way, multiple lookups for the same file always return the same object.

https://github.com/rubygems/rubygems/commit/50a431b6db
2019-07-31 07:47:00 +08:00
Benoit Daloze 2453d16f5e
[rubygems/rubygems] Synchronize access to the Gem::Specification::LOAD_CACHE Hash
* It's accessed concurrently, notably when installing a gem with a C extension.

https://github.com/rubygems/rubygems/commit/543294d7dd
2019-07-31 07:47:00 +08:00
bronzdoc 89bd1df895
[rubygems/rubygems] Add a blank line after private to be consistent with the current style
https://github.com/rubygems/rubygems/commit/df7c0e4223
2019-07-31 07:47:00 +08:00
bronzdoc 673ef894ac
[rubygems/rubygems] Return early if filename is empty
https://github.com/rubygems/rubygems/commit/1b9ab33083
2019-07-31 07:47:00 +08:00
bronzdoc d74ea2eeb2
[rubygems/rubygems] Simplify config_file_name assigment
https://github.com/rubygems/rubygems/commit/1b3154f905
2019-07-31 07:47:00 +08:00
bronzdoc 6c5170634a
[rubygems/rubygems] Lazy require stringio
https://github.com/rubygems/rubygems/commit/82f0d4ca69
2019-07-31 07:47:00 +08:00
bronzdoc 7990d8dc50
[rubygems/rubygems] Set config_file_name to the value of ENV["GEMRC"] if available
https://github.com/rubygems/rubygems/commit/471239f1fa
2019-07-31 07:47:00 +08:00
bronzdoc 6f60ead756
[rubygems/rubygems] Move config_file_name logic to its own method
https://github.com/rubygems/rubygems/commit/ac4596aace
2019-07-31 07:47:00 +08:00
David Rodríguez d64cc80b66
[rubygems/rubygems] Migrate extension builder to use Open3
Since it works on jruby.

https://github.com/rubygems/rubygems/commit/5229e00df4
2019-07-31 07:47:00 +08:00