rubygems-update 3.1.0.pre3 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.bundle/config +2 -0
- data/CONTRIBUTING.md +1 -1
- data/Gemfile +8 -0
- data/Gemfile.lock +43 -0
- data/History.txt +97 -2
- data/Manifest.txt +21 -3
- data/README.md +4 -4
- data/Rakefile +11 -10
- data/bin/update_rubygems +1 -1
- data/bundler/CHANGELOG.md +56 -3
- data/bundler/lib/bundler.rb +0 -1
- data/bundler/lib/bundler/build_metadata.rb +2 -0
- data/bundler/lib/bundler/cli.rb +1 -1
- data/bundler/lib/bundler/cli/config.rb +1 -1
- data/bundler/lib/bundler/cli/install.rb +3 -2
- data/bundler/lib/bundler/cli/update.rb +1 -1
- data/bundler/lib/bundler/feature_flag.rb +1 -1
- data/bundler/lib/bundler/fetcher.rb +2 -2
- data/bundler/lib/bundler/fetcher/downloader.rb +1 -1
- data/bundler/lib/bundler/fetcher/index.rb +1 -1
- data/bundler/lib/bundler/friendly_errors.rb +1 -1
- data/bundler/lib/bundler/gem_helper.rb +13 -12
- data/bundler/lib/bundler/inline.rb +36 -31
- data/bundler/lib/bundler/lazy_specification.rb +0 -1
- data/bundler/lib/bundler/mirror.rb +3 -3
- data/bundler/lib/bundler/plugin/api/source.rb +2 -4
- data/bundler/lib/bundler/remote_specification.rb +0 -2
- data/bundler/lib/bundler/rubygems_integration.rb +15 -13
- data/bundler/lib/bundler/settings.rb +7 -4
- data/bundler/lib/bundler/setup.rb +5 -0
- data/bundler/lib/bundler/source/git.rb +5 -5
- data/bundler/lib/bundler/source/git/git_proxy.rb +3 -2
- data/bundler/lib/bundler/source/rubygems.rb +3 -3
- data/bundler/lib/bundler/source/rubygems/remote.rb +1 -1
- data/bundler/lib/bundler/uri_credentials_filter.rb +7 -3
- data/bundler/lib/bundler/vendor/fileutils/lib/fileutils.rb +3 -3
- data/bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +26 -48
- data/bundler/lib/bundler/vendor/thor/lib/thor.rb +7 -0
- data/bundler/lib/bundler/vendor/thor/lib/thor/actions.rb +10 -6
- data/bundler/lib/bundler/vendor/thor/lib/thor/base.rb +29 -19
- data/bundler/lib/bundler/vendor/thor/lib/thor/nested_context.rb +29 -0
- data/bundler/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +1 -1
- data/bundler/lib/bundler/vendor/thor/lib/thor/parser/option.rb +13 -2
- data/bundler/lib/bundler/vendor/thor/lib/thor/runner.rb +8 -9
- data/bundler/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +10 -1
- data/bundler/lib/bundler/vendor/thor/lib/thor/shell/html.rb +2 -2
- data/bundler/lib/bundler/vendor/thor/lib/thor/util.rb +17 -1
- data/bundler/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
- data/bundler/lib/bundler/vendor/uri/lib/uri.rb +104 -0
- data/bundler/lib/bundler/vendor/uri/lib/uri/common.rb +744 -0
- data/bundler/lib/bundler/vendor/uri/lib/uri/file.rb +94 -0
- data/bundler/lib/bundler/vendor/uri/lib/uri/ftp.rb +267 -0
- data/bundler/lib/bundler/vendor/uri/lib/uri/generic.rb +1568 -0
- data/bundler/lib/bundler/vendor/uri/lib/uri/http.rb +88 -0
- data/bundler/lib/bundler/vendor/uri/lib/uri/https.rb +23 -0
- data/bundler/lib/bundler/vendor/uri/lib/uri/ldap.rb +261 -0
- data/bundler/lib/bundler/vendor/uri/lib/uri/ldaps.rb +21 -0
- data/bundler/lib/bundler/vendor/uri/lib/uri/mailto.rb +294 -0
- data/bundler/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +546 -0
- data/bundler/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +125 -0
- data/bundler/lib/bundler/vendor/uri/lib/uri/version.rb +6 -0
- data/bundler/lib/bundler/vendored_uri.rb +4 -0
- data/bundler/lib/bundler/version.rb +1 -1
- data/bundler/man/bundle-add.1 +1 -1
- data/bundler/man/bundle-add.1.txt +1 -1
- data/bundler/man/bundle-binstubs.1 +1 -1
- data/bundler/man/bundle-binstubs.1.txt +1 -1
- data/bundler/man/bundle-cache.1 +1 -1
- data/bundler/man/bundle-cache.1.txt +1 -1
- data/bundler/man/bundle-check.1 +1 -1
- data/bundler/man/bundle-check.1.txt +1 -1
- data/bundler/man/bundle-clean.1 +1 -1
- data/bundler/man/bundle-clean.1.txt +1 -1
- data/bundler/man/bundle-config.1 +1 -1
- data/bundler/man/bundle-config.1.txt +1 -1
- data/bundler/man/bundle-doctor.1 +1 -1
- data/bundler/man/bundle-doctor.1.txt +1 -1
- data/bundler/man/bundle-exec.1 +1 -1
- data/bundler/man/bundle-exec.1.txt +1 -1
- data/bundler/man/bundle-gem.1 +1 -1
- data/bundler/man/bundle-gem.1.txt +1 -1
- data/bundler/man/bundle-info.1 +1 -1
- data/bundler/man/bundle-info.1.txt +1 -1
- data/bundler/man/bundle-init.1 +1 -1
- data/bundler/man/bundle-init.1.txt +1 -1
- data/bundler/man/bundle-inject.1 +1 -1
- data/bundler/man/bundle-inject.1.txt +1 -1
- data/bundler/man/bundle-install.1 +1 -1
- data/bundler/man/bundle-install.1.txt +1 -1
- data/bundler/man/bundle-list.1 +1 -1
- data/bundler/man/bundle-list.1.txt +1 -1
- data/bundler/man/bundle-lock.1 +1 -1
- data/bundler/man/bundle-lock.1.txt +1 -1
- data/bundler/man/bundle-open.1 +1 -1
- data/bundler/man/bundle-open.1.txt +1 -1
- data/bundler/man/bundle-outdated.1 +1 -1
- data/bundler/man/bundle-outdated.1.txt +1 -1
- data/bundler/man/bundle-platform.1 +1 -1
- data/bundler/man/bundle-platform.1.txt +1 -1
- data/bundler/man/bundle-pristine.1 +1 -1
- data/bundler/man/bundle-pristine.1.txt +1 -1
- data/bundler/man/bundle-remove.1 +1 -1
- data/bundler/man/bundle-remove.1.txt +1 -1
- data/bundler/man/bundle-show.1 +1 -1
- data/bundler/man/bundle-show.1.txt +1 -1
- data/bundler/man/bundle-update.1 +1 -1
- data/bundler/man/bundle-update.1.txt +1 -1
- data/bundler/man/bundle-viz.1 +1 -1
- data/bundler/man/bundle-viz.1.txt +1 -1
- data/bundler/man/bundle.1 +1 -1
- data/bundler/man/bundle.1.txt +1 -1
- data/bundler/man/gemfile.5 +1 -1
- data/bundler/man/gemfile.5.txt +1 -1
- data/lib/rubygems.rb +64 -47
- data/lib/rubygems/basic_specification.rb +1 -1
- data/lib/rubygems/command.rb +29 -7
- data/lib/rubygems/commands/generate_index_command.rb +3 -0
- data/lib/rubygems/commands/help_command.rb +1 -1
- data/lib/rubygems/commands/setup_command.rb +30 -15
- data/lib/rubygems/commands/sources_command.rb +17 -3
- data/lib/rubygems/commands/uninstall_command.rb +1 -1
- data/lib/rubygems/core_ext/kernel_require.rb +1 -1
- data/lib/rubygems/core_ext/kernel_warn.rb +8 -4
- data/lib/rubygems/ext/builder.rb +4 -2
- data/lib/rubygems/remote_fetcher.rb +20 -31
- data/lib/rubygems/request.rb +2 -0
- data/lib/rubygems/request_set/gem_dependency_api.rb +1 -1
- data/lib/rubygems/resolver/api_set.rb +1 -1
- data/lib/rubygems/resolver/api_specification.rb +1 -1
- data/lib/rubygems/server.rb +1 -1
- data/lib/rubygems/source.rb +7 -1
- data/lib/rubygems/source_list.rb +2 -0
- data/lib/rubygems/specification.rb +12 -8
- data/lib/rubygems/specification_policy.rb +53 -30
- data/lib/rubygems/test_case.rb +60 -0
- data/lib/rubygems/uri_formatter.rb +0 -1
- data/lib/rubygems/uri_parser.rb +36 -0
- data/lib/rubygems/uri_parsing.rb +23 -0
- data/lib/rubygems/util.rb +7 -1
- data/lib/rubygems/version.rb +1 -1
- data/rubygems-update.gemspec +1 -8
- data/test/rubygems/specifications/rubyforge-0.0.1.gemspec +14 -0
- data/test/rubygems/test_gem.rb +90 -46
- data/test/rubygems/test_gem_command.rb +38 -9
- data/test/rubygems/test_gem_commands_build_command.rb +18 -1
- data/test/rubygems/test_gem_commands_generate_index_command.rb +37 -1
- data/test/rubygems/test_gem_commands_help_command.rb +1 -6
- data/test/rubygems/test_gem_commands_server_command.rb +6 -2
- data/test/rubygems/test_gem_commands_setup_command.rb +56 -10
- data/test/rubygems/test_gem_commands_sources_command.rb +113 -1
- data/test/rubygems/test_gem_commands_uninstall_command.rb +1 -0
- data/test/rubygems/test_gem_gem_runner.rb +3 -1
- data/test/rubygems/test_gem_indexer.rb +1 -1
- data/test/rubygems/test_gem_installer.rb +10 -23
- data/test/rubygems/test_gem_package.rb +3 -8
- data/test/rubygems/test_gem_package_tar_writer.rb +5 -0
- data/test/rubygems/test_gem_request_set.rb +52 -0
- data/test/rubygems/test_gem_source.rb +14 -0
- data/test/rubygems/test_gem_specification.rb +74 -54
- data/test/rubygems/test_gem_stub_specification.rb +0 -1
- data/test/rubygems/test_project_sanity.rb +0 -43
- data/test/rubygems/test_remote_fetch_error.rb +1 -1
- data/test/rubygems/test_require.rb +41 -42
- data/util/bisect +0 -21
- data/util/ci.sh +1 -1
- data/util/update_changelog.rb +7 -10
- metadata +27 -93
- data/bundler/lib/bundler/gem_remote_fetcher.rb +0 -43
- data/bundler/lib/bundler/vendor/fileutils/lib/fileutils/version.rb +0 -5
- data/bundler/lib/bundler/vendor/thor/lib/thor/core_ext/io_binary_read.rb +0 -12
@@ -1,28 +1,9 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require "rubygems/test_case"
|
4
3
|
require "open3"
|
5
4
|
|
6
5
|
class TestProjectSanity < Minitest::Test
|
7
6
|
|
8
|
-
def test_rake_package_builds_ok
|
9
|
-
skip unless File.exist?(File.expand_path("../../../Rakefile", __FILE__))
|
10
|
-
|
11
|
-
with_empty_pkg_folder do
|
12
|
-
output, status = Open3.capture2e("rake package")
|
13
|
-
|
14
|
-
assert_equal true, status.success?, <<~MSG.chomp
|
15
|
-
Expected `rake package` to work, but got errors:
|
16
|
-
|
17
|
-
```
|
18
|
-
#{output}
|
19
|
-
```
|
20
|
-
|
21
|
-
If you have added or removed files, make sure you run `rake update_manifest` to update the `Manifest.txt` accordingly
|
22
|
-
MSG
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
7
|
def test_manifest_is_up_to_date
|
27
8
|
skip unless File.exist?(File.expand_path("../../../Rakefile", __FILE__))
|
28
9
|
|
@@ -31,28 +12,4 @@ class TestProjectSanity < Minitest::Test
|
|
31
12
|
assert status.success?, "Expected Manifest.txt to be up to date, but it's not. Run `rake update_manifest` to sync it."
|
32
13
|
end
|
33
14
|
|
34
|
-
private
|
35
|
-
|
36
|
-
def with_empty_pkg_folder
|
37
|
-
if File.exist?("pkg")
|
38
|
-
FileUtils.cp_r("pkg", "tmp")
|
39
|
-
|
40
|
-
begin
|
41
|
-
FileUtils.rm_rf("pkg")
|
42
|
-
yield
|
43
|
-
ensure
|
44
|
-
FileUtils.rm_rf("pkg")
|
45
|
-
FileUtils.cp_r("tmp/pkg", ".")
|
46
|
-
end
|
47
|
-
else
|
48
|
-
Dir.mkdir("pkg")
|
49
|
-
|
50
|
-
begin
|
51
|
-
yield
|
52
|
-
ensure
|
53
|
-
FileUtils.rm_rf("pkg")
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
15
|
end
|
@@ -5,7 +5,7 @@ class TestRemoteFetchError < Gem::TestCase
|
|
5
5
|
|
6
6
|
def test_password_redacted
|
7
7
|
error = Gem::RemoteFetcher::FetchError.new('There was an error fetching', 'https://user:secret@gemsource.org')
|
8
|
-
refute_match error.to_s
|
8
|
+
refute_match 'secret', error.to_s
|
9
9
|
end
|
10
10
|
|
11
11
|
def test_invalid_url
|
@@ -124,13 +124,13 @@ class TestGemRequire < Gem::TestCase
|
|
124
124
|
Object.const_set :FILE_ENTERED_LATCH, Latch.new(2)
|
125
125
|
Object.const_set :FILE_EXIT_LATCH, Latch.new(1)
|
126
126
|
|
127
|
-
a1 = util_spec "a", "1", nil, "lib/a.rb"
|
128
|
-
b1 = util_spec "b", "1", nil, "lib/b.rb"
|
127
|
+
a1 = util_spec "a#{$$}", "1", nil, "lib/a#{$$}.rb"
|
128
|
+
b1 = util_spec "b#{$$}", "1", nil, "lib/b#{$$}.rb"
|
129
129
|
|
130
130
|
install_specs a1, b1
|
131
131
|
|
132
|
-
t1 = create_sync_thread{ assert_require
|
133
|
-
t2 = create_sync_thread{ assert_require
|
132
|
+
t1 = create_sync_thread{ assert_require "a#{$$}" }
|
133
|
+
t2 = create_sync_thread{ assert_require "b#{$$}" }
|
134
134
|
|
135
135
|
# wait until both files are waiting on the exit latch
|
136
136
|
FILE_ENTERED_LATCH.await
|
@@ -326,7 +326,7 @@ class TestGemRequire < Gem::TestCase
|
|
326
326
|
end
|
327
327
|
|
328
328
|
def test_require_doesnt_traverse_development_dependencies
|
329
|
-
a = util_spec("a", "1", nil, "lib/a.rb")
|
329
|
+
a = util_spec("a#{$$}", "1", nil, "lib/a#{$$}.rb")
|
330
330
|
z = util_spec("z", "1", "w" => "> 0")
|
331
331
|
w1 = util_spec("w", "1") { |s| s.add_development_dependency "non-existent" }
|
332
332
|
w2 = util_spec("w", "2") { |s| s.add_development_dependency "non-existent" }
|
@@ -337,7 +337,7 @@ class TestGemRequire < Gem::TestCase
|
|
337
337
|
assert_equal %w(z-1), loaded_spec_names
|
338
338
|
assert_equal ["w (> 0)"], unresolved_names
|
339
339
|
|
340
|
-
assert require("a")
|
340
|
+
assert require("a#{$$}")
|
341
341
|
end
|
342
342
|
|
343
343
|
def test_default_gem_only
|
@@ -365,19 +365,16 @@ class TestGemRequire < Gem::TestCase
|
|
365
365
|
end
|
366
366
|
|
367
367
|
def test_realworld_default_gem
|
368
|
-
|
369
|
-
|
370
|
-
rescue Gem::MissingSpecError
|
371
|
-
skip "default gems are only available after ruby installation"
|
372
|
-
end
|
368
|
+
testing_ruby_repo = !ENV["GEM_COMMAND"].nil?
|
369
|
+
skip "this test can't work under ruby-core setup" if testing_ruby_repo || java_platform?
|
373
370
|
|
374
371
|
cmd = <<-RUBY
|
375
372
|
$stderr = $stdout
|
376
373
|
require "json"
|
377
|
-
puts Gem.loaded_specs["json"]
|
374
|
+
puts Gem.loaded_specs["json"]
|
378
375
|
RUBY
|
379
376
|
output = Gem::Util.popen(Gem.ruby, "-e", cmd).strip
|
380
|
-
|
377
|
+
refute_empty output
|
381
378
|
end
|
382
379
|
|
383
380
|
def test_default_gem_and_normal_gem
|
@@ -451,15 +448,15 @@ class TestGemRequire < Gem::TestCase
|
|
451
448
|
end
|
452
449
|
|
453
450
|
def test_require_default_when_gem_defined
|
454
|
-
a = util_spec("a", "1", nil, "lib/a.rb")
|
451
|
+
a = util_spec("a#{$$}", "1", nil, "lib/a#{$$}.rb")
|
455
452
|
install_specs a
|
456
453
|
c = Class.new do
|
457
454
|
def self.gem(*args)
|
458
455
|
raise "received #gem with #{args.inspect}"
|
459
456
|
end
|
460
457
|
end
|
461
|
-
assert c.send(:require, "a")
|
462
|
-
assert_equal %
|
458
|
+
assert c.send(:require, "a#{$$}")
|
459
|
+
assert_equal %W(a#{$$}-1), loaded_spec_names
|
463
460
|
end
|
464
461
|
|
465
462
|
def test_require_bundler
|
@@ -499,36 +496,38 @@ class TestGemRequire < Gem::TestCase
|
|
499
496
|
end
|
500
497
|
end
|
501
498
|
|
502
|
-
# uplevel is 2.5+ only
|
503
|
-
if RUBY_VERSION >= "2.5"
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
|
508
|
-
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
499
|
+
# uplevel is 2.5+ only
|
500
|
+
if RUBY_VERSION >= "2.5"
|
501
|
+
["", "Kernel."].each do |prefix|
|
502
|
+
define_method "test_no_kernel_require_in_#{prefix.tr(".", "_")}warn_with_uplevel" do
|
503
|
+
lib = File.realpath("../../../lib", __FILE__)
|
504
|
+
Dir.mktmpdir("warn_test") do |dir|
|
505
|
+
File.write(dir + "/sub.rb", "#{prefix}warn 'uplevel', 'test', uplevel: 1\n")
|
506
|
+
File.write(dir + "/main.rb", "require 'sub'\n")
|
507
|
+
_, err = capture_subprocess_io do
|
508
|
+
system(@@ruby, "-w", "--disable=gems", "-I", lib, "-C", dir, "-I.", "main.rb")
|
509
|
+
end
|
510
|
+
assert_match(/main\.rb:1: warning: uplevel\ntest\n$/, err)
|
511
|
+
_, err = capture_subprocess_io do
|
512
|
+
system(@@ruby, "-w", "--enable=gems", "-I", lib, "-C", dir, "-I.", "main.rb")
|
513
|
+
end
|
514
|
+
assert_match(/main\.rb:1: warning: uplevel\ntest\n$/, err)
|
515
515
|
end
|
516
|
-
assert_equal "main.rb:1: warning: uplevel\ntest\n", err
|
517
516
|
end
|
518
|
-
end
|
519
517
|
|
520
|
-
|
521
|
-
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
|
518
|
+
define_method "test_no_other_behavioral_changes_with_#{prefix.tr(".", "_")}warn" do
|
519
|
+
lib = File.realpath("../../../lib", __FILE__)
|
520
|
+
Dir.mktmpdir("warn_test") do |dir|
|
521
|
+
File.write(dir + "/main.rb", "#{prefix}warn({x:1}, {y:2}, [])\n")
|
522
|
+
_, err = capture_subprocess_io do
|
523
|
+
system(@@ruby, "-w", "--disable=gems", "-I", lib, "-C", dir, "main.rb")
|
524
|
+
end
|
525
|
+
assert_match(/{:x=>1}\n{:y=>2}\n$/, err)
|
526
|
+
_, err = capture_subprocess_io do
|
527
|
+
system(@@ruby, "-w", "--enable=gems", "-I", lib, "-C", dir, "main.rb")
|
528
|
+
end
|
529
|
+
assert_match(/{:x=>1}\n{:y=>2}\n$/, err)
|
530
530
|
end
|
531
|
-
assert_equal "{:x=>1}\n{:y=>2}\n", err
|
532
531
|
end
|
533
532
|
end
|
534
533
|
end
|
data/util/bisect
CHANGED
@@ -7,25 +7,4 @@ rescue Gem::GemNotFoundException
|
|
7
7
|
abort "Install minitest-bisect gem to run a rubygems test suite bisection"
|
8
8
|
end
|
9
9
|
|
10
|
-
#
|
11
|
-
# Need to monkeypatch the `path_expander` gem to make sure it uses the same
|
12
|
-
# sorted set of files as `rake`. Otherwise `rake test` failures are
|
13
|
-
# irreproducible. Can be removed once
|
14
|
-
# https://github.com/seattlerb/path_expander/pull/4 is released.
|
15
|
-
#
|
16
|
-
|
17
|
-
module RefinedPathExpander
|
18
|
-
def expand_dirs_to_files(*dirs)
|
19
|
-
super.sort
|
20
|
-
end
|
21
|
-
end
|
22
|
-
|
23
|
-
require 'path_expander'
|
24
|
-
|
25
|
-
class PathExpander
|
26
|
-
|
27
|
-
prepend RefinedPathExpander
|
28
|
-
|
29
|
-
end
|
30
|
-
|
31
10
|
load minitest_bisect
|
data/util/ci.sh
CHANGED
data/util/update_changelog.rb
CHANGED
@@ -3,19 +3,15 @@
|
|
3
3
|
require 'json'
|
4
4
|
require 'net/http'
|
5
5
|
|
6
|
-
def access_token_query_string
|
7
|
-
@access_token_query_string ||= begin
|
8
|
-
token = ENV['GITHUB_API_TOKEN']
|
9
|
-
token ? "?access_token=#{token.strip}" : ''
|
10
|
-
end
|
11
|
-
end
|
12
|
-
|
13
6
|
def github_api(path)
|
14
7
|
base = 'https://api.github.com'
|
15
8
|
url = path.start_with?(base) ? path : base + path
|
16
|
-
url += access_token_query_string
|
17
9
|
uri = URI.parse(url)
|
18
|
-
|
10
|
+
http = Net::HTTP.new(uri.host, uri.port)
|
11
|
+
http.use_ssl = true
|
12
|
+
req = Net::HTTP::Get.new(uri.request_uri)
|
13
|
+
req["authorization"] = "token #{ENV['GITHUB_API_TOKEN']}" if ENV['GITHUB_API_TOKEN']
|
14
|
+
response = http.request(req)
|
19
15
|
JSON.load(response.body)
|
20
16
|
end
|
21
17
|
|
@@ -46,12 +42,13 @@ def sentence(text)
|
|
46
42
|
text.end_with?('.') ? text : text << '.'
|
47
43
|
end
|
48
44
|
|
45
|
+
from = ARGV.shift || Gem::VERSION
|
49
46
|
branch = ARGV.shift || "HEAD"
|
50
47
|
|
51
48
|
history = File.read(File.expand_path('../../History.txt', __FILE__))
|
52
49
|
|
53
50
|
File.open(File.expand_path('../../ChangeLog', __FILE__), 'w') do |changelog|
|
54
|
-
commits = `git log --oneline v#{
|
51
|
+
commits = `git log --oneline v#{from}..#{branch}`.split("\n")
|
55
52
|
prs = commits.reverse_each.map { |c| c =~ /(Auto merge of|Merge pull request|Merge) #(\d+)/ && $2 }.compact.uniq.sort!
|
56
53
|
prs.each do |pr|
|
57
54
|
next if history =~ /Pull\srequest\s##{pr}/m
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubygems-update
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Weirich
|
@@ -13,95 +13,11 @@ authors:
|
|
13
13
|
- André Arko
|
14
14
|
- Evan Phoenix
|
15
15
|
- Hiroshi SHIBATA
|
16
|
-
autorequire:
|
16
|
+
autorequire:
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
|
-
date:
|
20
|
-
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
name: builder
|
23
|
-
requirement: !ruby/object:Gem::Requirement
|
24
|
-
requirements:
|
25
|
-
- - "~>"
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
version: '3.0'
|
28
|
-
type: :development
|
29
|
-
prerelease: false
|
30
|
-
version_requirements: !ruby/object:Gem::Requirement
|
31
|
-
requirements:
|
32
|
-
- - "~>"
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: '3.0'
|
35
|
-
- !ruby/object:Gem::Dependency
|
36
|
-
name: rdoc
|
37
|
-
requirement: !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- - "~>"
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: '6.0'
|
42
|
-
type: :development
|
43
|
-
prerelease: false
|
44
|
-
version_requirements: !ruby/object:Gem::Requirement
|
45
|
-
requirements:
|
46
|
-
- - "~>"
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version: '6.0'
|
49
|
-
- !ruby/object:Gem::Dependency
|
50
|
-
name: rake
|
51
|
-
requirement: !ruby/object:Gem::Requirement
|
52
|
-
requirements:
|
53
|
-
- - "~>"
|
54
|
-
- !ruby/object:Gem::Version
|
55
|
-
version: '12.0'
|
56
|
-
type: :development
|
57
|
-
prerelease: false
|
58
|
-
version_requirements: !ruby/object:Gem::Requirement
|
59
|
-
requirements:
|
60
|
-
- - "~>"
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '12.0'
|
63
|
-
- !ruby/object:Gem::Dependency
|
64
|
-
name: minitest
|
65
|
-
requirement: !ruby/object:Gem::Requirement
|
66
|
-
requirements:
|
67
|
-
- - "~>"
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '5.0'
|
70
|
-
type: :development
|
71
|
-
prerelease: false
|
72
|
-
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
requirements:
|
74
|
-
- - "~>"
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: '5.0'
|
77
|
-
- !ruby/object:Gem::Dependency
|
78
|
-
name: simplecov
|
79
|
-
requirement: !ruby/object:Gem::Requirement
|
80
|
-
requirements:
|
81
|
-
- - "~>"
|
82
|
-
- !ruby/object:Gem::Version
|
83
|
-
version: '0'
|
84
|
-
type: :development
|
85
|
-
prerelease: false
|
86
|
-
version_requirements: !ruby/object:Gem::Requirement
|
87
|
-
requirements:
|
88
|
-
- - "~>"
|
89
|
-
- !ruby/object:Gem::Version
|
90
|
-
version: '0'
|
91
|
-
- !ruby/object:Gem::Dependency
|
92
|
-
name: rubocop
|
93
|
-
requirement: !ruby/object:Gem::Requirement
|
94
|
-
requirements:
|
95
|
-
- - "~>"
|
96
|
-
- !ruby/object:Gem::Version
|
97
|
-
version: 0.74.0
|
98
|
-
type: :development
|
99
|
-
prerelease: false
|
100
|
-
version_requirements: !ruby/object:Gem::Requirement
|
101
|
-
requirements:
|
102
|
-
- - "~>"
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
version: 0.74.0
|
19
|
+
date: 2020-06-03 00:00:00.000000000 Z
|
20
|
+
dependencies: []
|
105
21
|
description: |-
|
106
22
|
A package (also known as a library) contains a set of functionality
|
107
23
|
that can be invoked by a Ruby program, such as reading and parsing an XML file. We call
|
@@ -163,9 +79,12 @@ extra_rdoc_files:
|
|
163
79
|
- bundler/man/bundle-clean.1
|
164
80
|
- bundler/man/bundle-inject.1
|
165
81
|
files:
|
82
|
+
- ".bundle/config"
|
166
83
|
- ".rubocop.yml"
|
167
84
|
- CODE_OF_CONDUCT.md
|
168
85
|
- CONTRIBUTING.md
|
86
|
+
- Gemfile
|
87
|
+
- Gemfile.lock
|
169
88
|
- History.txt
|
170
89
|
- LICENSE.txt
|
171
90
|
- MAINTAINERS.txt
|
@@ -241,7 +160,6 @@ files:
|
|
241
160
|
- bundler/lib/bundler/friendly_errors.rb
|
242
161
|
- bundler/lib/bundler/gem_helper.rb
|
243
162
|
- bundler/lib/bundler/gem_helpers.rb
|
244
|
-
- bundler/lib/bundler/gem_remote_fetcher.rb
|
245
163
|
- bundler/lib/bundler/gem_tasks.rb
|
246
164
|
- bundler/lib/bundler/gem_version_promoter.rb
|
247
165
|
- bundler/lib/bundler/gemdeps.rb
|
@@ -334,7 +252,6 @@ files:
|
|
334
252
|
- bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb
|
335
253
|
- bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb
|
336
254
|
- bundler/lib/bundler/vendor/fileutils/lib/fileutils.rb
|
337
|
-
- bundler/lib/bundler/vendor/fileutils/lib/fileutils/version.rb
|
338
255
|
- bundler/lib/bundler/vendor/molinillo/lib/molinillo.rb
|
339
256
|
- bundler/lib/bundler/vendor/molinillo/lib/molinillo/compatibility.rb
|
340
257
|
- bundler/lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb
|
@@ -371,13 +288,13 @@ files:
|
|
371
288
|
- bundler/lib/bundler/vendor/thor/lib/thor/base.rb
|
372
289
|
- bundler/lib/bundler/vendor/thor/lib/thor/command.rb
|
373
290
|
- bundler/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb
|
374
|
-
- bundler/lib/bundler/vendor/thor/lib/thor/core_ext/io_binary_read.rb
|
375
291
|
- bundler/lib/bundler/vendor/thor/lib/thor/error.rb
|
376
292
|
- bundler/lib/bundler/vendor/thor/lib/thor/group.rb
|
377
293
|
- bundler/lib/bundler/vendor/thor/lib/thor/invocation.rb
|
378
294
|
- bundler/lib/bundler/vendor/thor/lib/thor/line_editor.rb
|
379
295
|
- bundler/lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb
|
380
296
|
- bundler/lib/bundler/vendor/thor/lib/thor/line_editor/readline.rb
|
297
|
+
- bundler/lib/bundler/vendor/thor/lib/thor/nested_context.rb
|
381
298
|
- bundler/lib/bundler/vendor/thor/lib/thor/parser.rb
|
382
299
|
- bundler/lib/bundler/vendor/thor/lib/thor/parser/argument.rb
|
383
300
|
- bundler/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb
|
@@ -391,10 +308,24 @@ files:
|
|
391
308
|
- bundler/lib/bundler/vendor/thor/lib/thor/shell/html.rb
|
392
309
|
- bundler/lib/bundler/vendor/thor/lib/thor/util.rb
|
393
310
|
- bundler/lib/bundler/vendor/thor/lib/thor/version.rb
|
311
|
+
- bundler/lib/bundler/vendor/uri/lib/uri.rb
|
312
|
+
- bundler/lib/bundler/vendor/uri/lib/uri/common.rb
|
313
|
+
- bundler/lib/bundler/vendor/uri/lib/uri/file.rb
|
314
|
+
- bundler/lib/bundler/vendor/uri/lib/uri/ftp.rb
|
315
|
+
- bundler/lib/bundler/vendor/uri/lib/uri/generic.rb
|
316
|
+
- bundler/lib/bundler/vendor/uri/lib/uri/http.rb
|
317
|
+
- bundler/lib/bundler/vendor/uri/lib/uri/https.rb
|
318
|
+
- bundler/lib/bundler/vendor/uri/lib/uri/ldap.rb
|
319
|
+
- bundler/lib/bundler/vendor/uri/lib/uri/ldaps.rb
|
320
|
+
- bundler/lib/bundler/vendor/uri/lib/uri/mailto.rb
|
321
|
+
- bundler/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb
|
322
|
+
- bundler/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb
|
323
|
+
- bundler/lib/bundler/vendor/uri/lib/uri/version.rb
|
394
324
|
- bundler/lib/bundler/vendored_fileutils.rb
|
395
325
|
- bundler/lib/bundler/vendored_molinillo.rb
|
396
326
|
- bundler/lib/bundler/vendored_persistent.rb
|
397
327
|
- bundler/lib/bundler/vendored_thor.rb
|
328
|
+
- bundler/lib/bundler/vendored_uri.rb
|
398
329
|
- bundler/lib/bundler/version.rb
|
399
330
|
- bundler/lib/bundler/version_ranges.rb
|
400
331
|
- bundler/lib/bundler/vlad.rb
|
@@ -657,6 +588,8 @@ files:
|
|
657
588
|
- lib/rubygems/text.rb
|
658
589
|
- lib/rubygems/uninstaller.rb
|
659
590
|
- lib/rubygems/uri_formatter.rb
|
591
|
+
- lib/rubygems/uri_parser.rb
|
592
|
+
- lib/rubygems/uri_parsing.rb
|
660
593
|
- lib/rubygems/user_interaction.rb
|
661
594
|
- lib/rubygems/util.rb
|
662
595
|
- lib/rubygems/util/licenses.rb
|
@@ -714,6 +647,7 @@ files:
|
|
714
647
|
- test/rubygems/simple_gem.rb
|
715
648
|
- test/rubygems/specifications/bar-0.0.2.gemspec
|
716
649
|
- test/rubygems/specifications/foo-0.0.1-x86-mswin32.gemspec
|
650
|
+
- test/rubygems/specifications/rubyforge-0.0.1.gemspec
|
717
651
|
- test/rubygems/ssl_cert.pem
|
718
652
|
- test/rubygems/ssl_key.pem
|
719
653
|
- test/rubygems/test_bundled_ca.rb
|
@@ -868,7 +802,7 @@ licenses:
|
|
868
802
|
- Ruby
|
869
803
|
- MIT
|
870
804
|
metadata: {}
|
871
|
-
post_install_message:
|
805
|
+
post_install_message:
|
872
806
|
rdoc_options:
|
873
807
|
- "--main"
|
874
808
|
- README.md
|
@@ -887,7 +821,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
887
821
|
version: '0'
|
888
822
|
requirements: []
|
889
823
|
rubygems_version: 3.0.3
|
890
|
-
signing_key:
|
824
|
+
signing_key:
|
891
825
|
specification_version: 4
|
892
826
|
summary: RubyGems is a package management framework for Ruby.
|
893
827
|
test_files: []
|