rubygems-update 3.1.0.pre3 → 3.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (171) hide show
  1. checksums.yaml +4 -4
  2. data/.bundle/config +2 -0
  3. data/CONTRIBUTING.md +1 -1
  4. data/Gemfile +8 -0
  5. data/Gemfile.lock +43 -0
  6. data/History.txt +97 -2
  7. data/Manifest.txt +21 -3
  8. data/README.md +4 -4
  9. data/Rakefile +11 -10
  10. data/bin/update_rubygems +1 -1
  11. data/bundler/CHANGELOG.md +56 -3
  12. data/bundler/lib/bundler.rb +0 -1
  13. data/bundler/lib/bundler/build_metadata.rb +2 -0
  14. data/bundler/lib/bundler/cli.rb +1 -1
  15. data/bundler/lib/bundler/cli/config.rb +1 -1
  16. data/bundler/lib/bundler/cli/install.rb +3 -2
  17. data/bundler/lib/bundler/cli/update.rb +1 -1
  18. data/bundler/lib/bundler/feature_flag.rb +1 -1
  19. data/bundler/lib/bundler/fetcher.rb +2 -2
  20. data/bundler/lib/bundler/fetcher/downloader.rb +1 -1
  21. data/bundler/lib/bundler/fetcher/index.rb +1 -1
  22. data/bundler/lib/bundler/friendly_errors.rb +1 -1
  23. data/bundler/lib/bundler/gem_helper.rb +13 -12
  24. data/bundler/lib/bundler/inline.rb +36 -31
  25. data/bundler/lib/bundler/lazy_specification.rb +0 -1
  26. data/bundler/lib/bundler/mirror.rb +3 -3
  27. data/bundler/lib/bundler/plugin/api/source.rb +2 -4
  28. data/bundler/lib/bundler/remote_specification.rb +0 -2
  29. data/bundler/lib/bundler/rubygems_integration.rb +15 -13
  30. data/bundler/lib/bundler/settings.rb +7 -4
  31. data/bundler/lib/bundler/setup.rb +5 -0
  32. data/bundler/lib/bundler/source/git.rb +5 -5
  33. data/bundler/lib/bundler/source/git/git_proxy.rb +3 -2
  34. data/bundler/lib/bundler/source/rubygems.rb +3 -3
  35. data/bundler/lib/bundler/source/rubygems/remote.rb +1 -1
  36. data/bundler/lib/bundler/uri_credentials_filter.rb +7 -3
  37. data/bundler/lib/bundler/vendor/fileutils/lib/fileutils.rb +3 -3
  38. data/bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +26 -48
  39. data/bundler/lib/bundler/vendor/thor/lib/thor.rb +7 -0
  40. data/bundler/lib/bundler/vendor/thor/lib/thor/actions.rb +10 -6
  41. data/bundler/lib/bundler/vendor/thor/lib/thor/base.rb +29 -19
  42. data/bundler/lib/bundler/vendor/thor/lib/thor/nested_context.rb +29 -0
  43. data/bundler/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +1 -1
  44. data/bundler/lib/bundler/vendor/thor/lib/thor/parser/option.rb +13 -2
  45. data/bundler/lib/bundler/vendor/thor/lib/thor/runner.rb +8 -9
  46. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +10 -1
  47. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/html.rb +2 -2
  48. data/bundler/lib/bundler/vendor/thor/lib/thor/util.rb +17 -1
  49. data/bundler/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
  50. data/bundler/lib/bundler/vendor/uri/lib/uri.rb +104 -0
  51. data/bundler/lib/bundler/vendor/uri/lib/uri/common.rb +744 -0
  52. data/bundler/lib/bundler/vendor/uri/lib/uri/file.rb +94 -0
  53. data/bundler/lib/bundler/vendor/uri/lib/uri/ftp.rb +267 -0
  54. data/bundler/lib/bundler/vendor/uri/lib/uri/generic.rb +1568 -0
  55. data/bundler/lib/bundler/vendor/uri/lib/uri/http.rb +88 -0
  56. data/bundler/lib/bundler/vendor/uri/lib/uri/https.rb +23 -0
  57. data/bundler/lib/bundler/vendor/uri/lib/uri/ldap.rb +261 -0
  58. data/bundler/lib/bundler/vendor/uri/lib/uri/ldaps.rb +21 -0
  59. data/bundler/lib/bundler/vendor/uri/lib/uri/mailto.rb +294 -0
  60. data/bundler/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +546 -0
  61. data/bundler/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +125 -0
  62. data/bundler/lib/bundler/vendor/uri/lib/uri/version.rb +6 -0
  63. data/bundler/lib/bundler/vendored_uri.rb +4 -0
  64. data/bundler/lib/bundler/version.rb +1 -1
  65. data/bundler/man/bundle-add.1 +1 -1
  66. data/bundler/man/bundle-add.1.txt +1 -1
  67. data/bundler/man/bundle-binstubs.1 +1 -1
  68. data/bundler/man/bundle-binstubs.1.txt +1 -1
  69. data/bundler/man/bundle-cache.1 +1 -1
  70. data/bundler/man/bundle-cache.1.txt +1 -1
  71. data/bundler/man/bundle-check.1 +1 -1
  72. data/bundler/man/bundle-check.1.txt +1 -1
  73. data/bundler/man/bundle-clean.1 +1 -1
  74. data/bundler/man/bundle-clean.1.txt +1 -1
  75. data/bundler/man/bundle-config.1 +1 -1
  76. data/bundler/man/bundle-config.1.txt +1 -1
  77. data/bundler/man/bundle-doctor.1 +1 -1
  78. data/bundler/man/bundle-doctor.1.txt +1 -1
  79. data/bundler/man/bundle-exec.1 +1 -1
  80. data/bundler/man/bundle-exec.1.txt +1 -1
  81. data/bundler/man/bundle-gem.1 +1 -1
  82. data/bundler/man/bundle-gem.1.txt +1 -1
  83. data/bundler/man/bundle-info.1 +1 -1
  84. data/bundler/man/bundle-info.1.txt +1 -1
  85. data/bundler/man/bundle-init.1 +1 -1
  86. data/bundler/man/bundle-init.1.txt +1 -1
  87. data/bundler/man/bundle-inject.1 +1 -1
  88. data/bundler/man/bundle-inject.1.txt +1 -1
  89. data/bundler/man/bundle-install.1 +1 -1
  90. data/bundler/man/bundle-install.1.txt +1 -1
  91. data/bundler/man/bundle-list.1 +1 -1
  92. data/bundler/man/bundle-list.1.txt +1 -1
  93. data/bundler/man/bundle-lock.1 +1 -1
  94. data/bundler/man/bundle-lock.1.txt +1 -1
  95. data/bundler/man/bundle-open.1 +1 -1
  96. data/bundler/man/bundle-open.1.txt +1 -1
  97. data/bundler/man/bundle-outdated.1 +1 -1
  98. data/bundler/man/bundle-outdated.1.txt +1 -1
  99. data/bundler/man/bundle-platform.1 +1 -1
  100. data/bundler/man/bundle-platform.1.txt +1 -1
  101. data/bundler/man/bundle-pristine.1 +1 -1
  102. data/bundler/man/bundle-pristine.1.txt +1 -1
  103. data/bundler/man/bundle-remove.1 +1 -1
  104. data/bundler/man/bundle-remove.1.txt +1 -1
  105. data/bundler/man/bundle-show.1 +1 -1
  106. data/bundler/man/bundle-show.1.txt +1 -1
  107. data/bundler/man/bundle-update.1 +1 -1
  108. data/bundler/man/bundle-update.1.txt +1 -1
  109. data/bundler/man/bundle-viz.1 +1 -1
  110. data/bundler/man/bundle-viz.1.txt +1 -1
  111. data/bundler/man/bundle.1 +1 -1
  112. data/bundler/man/bundle.1.txt +1 -1
  113. data/bundler/man/gemfile.5 +1 -1
  114. data/bundler/man/gemfile.5.txt +1 -1
  115. data/lib/rubygems.rb +64 -47
  116. data/lib/rubygems/basic_specification.rb +1 -1
  117. data/lib/rubygems/command.rb +29 -7
  118. data/lib/rubygems/commands/generate_index_command.rb +3 -0
  119. data/lib/rubygems/commands/help_command.rb +1 -1
  120. data/lib/rubygems/commands/setup_command.rb +30 -15
  121. data/lib/rubygems/commands/sources_command.rb +17 -3
  122. data/lib/rubygems/commands/uninstall_command.rb +1 -1
  123. data/lib/rubygems/core_ext/kernel_require.rb +1 -1
  124. data/lib/rubygems/core_ext/kernel_warn.rb +8 -4
  125. data/lib/rubygems/ext/builder.rb +4 -2
  126. data/lib/rubygems/remote_fetcher.rb +20 -31
  127. data/lib/rubygems/request.rb +2 -0
  128. data/lib/rubygems/request_set/gem_dependency_api.rb +1 -1
  129. data/lib/rubygems/resolver/api_set.rb +1 -1
  130. data/lib/rubygems/resolver/api_specification.rb +1 -1
  131. data/lib/rubygems/server.rb +1 -1
  132. data/lib/rubygems/source.rb +7 -1
  133. data/lib/rubygems/source_list.rb +2 -0
  134. data/lib/rubygems/specification.rb +12 -8
  135. data/lib/rubygems/specification_policy.rb +53 -30
  136. data/lib/rubygems/test_case.rb +60 -0
  137. data/lib/rubygems/uri_formatter.rb +0 -1
  138. data/lib/rubygems/uri_parser.rb +36 -0
  139. data/lib/rubygems/uri_parsing.rb +23 -0
  140. data/lib/rubygems/util.rb +7 -1
  141. data/lib/rubygems/version.rb +1 -1
  142. data/rubygems-update.gemspec +1 -8
  143. data/test/rubygems/specifications/rubyforge-0.0.1.gemspec +14 -0
  144. data/test/rubygems/test_gem.rb +90 -46
  145. data/test/rubygems/test_gem_command.rb +38 -9
  146. data/test/rubygems/test_gem_commands_build_command.rb +18 -1
  147. data/test/rubygems/test_gem_commands_generate_index_command.rb +37 -1
  148. data/test/rubygems/test_gem_commands_help_command.rb +1 -6
  149. data/test/rubygems/test_gem_commands_server_command.rb +6 -2
  150. data/test/rubygems/test_gem_commands_setup_command.rb +56 -10
  151. data/test/rubygems/test_gem_commands_sources_command.rb +113 -1
  152. data/test/rubygems/test_gem_commands_uninstall_command.rb +1 -0
  153. data/test/rubygems/test_gem_gem_runner.rb +3 -1
  154. data/test/rubygems/test_gem_indexer.rb +1 -1
  155. data/test/rubygems/test_gem_installer.rb +10 -23
  156. data/test/rubygems/test_gem_package.rb +3 -8
  157. data/test/rubygems/test_gem_package_tar_writer.rb +5 -0
  158. data/test/rubygems/test_gem_request_set.rb +52 -0
  159. data/test/rubygems/test_gem_source.rb +14 -0
  160. data/test/rubygems/test_gem_specification.rb +74 -54
  161. data/test/rubygems/test_gem_stub_specification.rb +0 -1
  162. data/test/rubygems/test_project_sanity.rb +0 -43
  163. data/test/rubygems/test_remote_fetch_error.rb +1 -1
  164. data/test/rubygems/test_require.rb +41 -42
  165. data/util/bisect +0 -21
  166. data/util/ci.sh +1 -1
  167. data/util/update_changelog.rb +7 -10
  168. metadata +27 -93
  169. data/bundler/lib/bundler/gem_remote_fetcher.rb +0 -43
  170. data/bundler/lib/bundler/vendor/fileutils/lib/fileutils/version.rb +0 -5
  171. data/bundler/lib/bundler/vendor/thor/lib/thor/core_ext/io_binary_read.rb +0 -12
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 885ce9aa3a1ce8a73c527c618dcc435c8dce91f9d7108c192449704e9c4d5f19
4
- data.tar.gz: c2d2369619e4933747732d5895594c5c4413ca8e98db51fc1bd277a7a51f400b
3
+ metadata.gz: 4182b07cf1a7f54ac5ac57eb202fb98aeeec4cc8069e549a5f966f8496ff7e73
4
+ data.tar.gz: 7784e28ab8b43c6199702d49d531484304e4e0af5bbe3e35bb7626a93d704e64
5
5
  SHA512:
6
- metadata.gz: 68dcc17b3a24684351615370e30d772fa847126e71e7e3b27982f5a81d287fe9b3b80d2982302aa37c9956de18375791c0e397329863910d8db42b5421fcfe09
7
- data.tar.gz: 62834f1044ea634ea0cf952abb117023c01745b367a4746075e13b98d37059854849dafdf63efea93ee51a00d644d008e6e6c34b34917f907dc359ddd03838b0
6
+ metadata.gz: 2cea3e83459b735337d934e1086cabf75979e6018edcb73fa1334b4ebbd107a7b8b316b9456b46f4d85b9a39d3988b77f32f4e87a6aa8cecbd3e6036cf2ee870
7
+ data.tar.gz: b0d7b6ac35d9c6bae856c2323bf48175945ff423302db5db729d07a5554df373de77489f4fbe23e442289646f51a9166c66a253be9132a0fbedb1a54e03b1d49
@@ -0,0 +1,2 @@
1
+ ---
2
+ BUNDLE_PATH__SYSTEM: "true"
@@ -26,7 +26,7 @@ contributors to follow to reduce the time it takes to get changes merged in.
26
26
 
27
27
 
28
28
  For more information and ideas on how to contribute to RubyGems ecosystem, see
29
- here: http://guides.rubygems.org/contributing/
29
+ here: https://guides.rubygems.org/contributing/
30
30
 
31
31
  ## Getting Started
32
32
 
data/Gemfile ADDED
@@ -0,0 +1,8 @@
1
+ source "https://rubygems.org"
2
+
3
+ gem "builder", "~> 3.0"
4
+ gem "rdoc", "~> 6.0"
5
+ gem "rake", "~> 12.0"
6
+ gem "minitest", "~> 5.0"
7
+ gem "simplecov", "~> 0"
8
+ gem "rubocop", "~> 0.74.0"
@@ -0,0 +1,43 @@
1
+ GEM
2
+ remote: https://rubygems.org/
3
+ specs:
4
+ ast (2.4.0)
5
+ builder (3.2.3)
6
+ docile (1.3.2)
7
+ jaro_winkler (1.5.4)
8
+ json (2.2.0)
9
+ minitest (5.13.0)
10
+ parallel (1.19.1)
11
+ parser (2.6.5.0)
12
+ ast (~> 2.4.0)
13
+ rainbow (3.0.0)
14
+ rake (12.3.3)
15
+ rdoc (6.2.0)
16
+ rubocop (0.74.0)
17
+ jaro_winkler (~> 1.5.1)
18
+ parallel (~> 1.10)
19
+ parser (>= 2.6)
20
+ rainbow (>= 2.2.2, < 4.0)
21
+ ruby-progressbar (~> 1.7)
22
+ unicode-display_width (>= 1.4.0, < 1.7)
23
+ ruby-progressbar (1.10.1)
24
+ simplecov (0.17.1)
25
+ docile (~> 1.1)
26
+ json (>= 1.8, < 3)
27
+ simplecov-html (~> 0.10.0)
28
+ simplecov-html (0.10.2)
29
+ unicode-display_width (1.6.0)
30
+
31
+ PLATFORMS
32
+ ruby
33
+
34
+ DEPENDENCIES
35
+ builder (~> 3.0)
36
+ minitest (~> 5.0)
37
+ rake (~> 12.0)
38
+ rdoc (~> 6.0)
39
+ rubocop (~> 0.74.0)
40
+ simplecov (~> 0)
41
+
42
+ BUNDLED WITH
43
+ 2.0.2
@@ -1,5 +1,100 @@
1
1
  # coding: UTF-8
2
2
 
3
+ === 3.1.4 / 2020-06-03
4
+
5
+ Minor enhancements:
6
+
7
+ * Deprecate rubyforge_project attribute only during build
8
+ time. Pull request #3609 by Josef Šimánek.
9
+ * Update links. Pull request #3610 by Josef Šimánek.
10
+ * Run CI at 3.1 branch head as well. Pull request #3677 by Josef Šimánek.
11
+ * Remove failing ubuntu-rvm CI flow. Pull request #3611 by
12
+ Josef Šimánek.
13
+
14
+ === 3.1.3 / 2020-05-05
15
+
16
+ Minor enhancements:
17
+
18
+ * Resolver: require NameTuple before use. Pull request #3171 by Olle
19
+ Jonsson.
20
+ * Use absolute paths with autoload. Pull request #3100 by David Rodríguez.
21
+ * Avoid changing $SOURCE_DATE_EPOCH. Pull request #3088 by Ellen Marie
22
+ Dash.
23
+ * Use Bundler 2.1.4. Pull request #3072 by Hiroshi SHIBATA.
24
+ * Add tests to check if Gem.ruby_version works with ruby git master.
25
+ Pull request #3049 by Yusuke Endoh.
26
+
27
+ Bug fixes:
28
+
29
+ * Fix platform comparison check in #contains_requirable_file?. Pull
30
+ request #3495 by Benoit Daloze.
31
+ * Improve gzip errors logging. Pull request #3485 by David Rodríguez.
32
+ * Fix incorrect `gem uninstall --all` message. Pull request #3483 by David
33
+ Rodríguez.
34
+ * Fix incorrect bundler version being required. Pull request #3458 by
35
+ David Rodríguez.
36
+ * Fix gem install from a gemdeps file with complex dependencies.
37
+ Pull request #3054 by Luis Sagastume.
38
+
39
+ === 3.1.2 / 2019-12-20
40
+
41
+ Minor enhancements:
42
+
43
+ * Restore non prompting `gem update --system` behavior. Pull request #3040
44
+ by David Rodríguez.
45
+ * Show only release notes for new code installed. Pull request #3041 by
46
+ David Rodríguez.
47
+ * Inform about installed `bundle` executable after `gem update --system`.
48
+ Pull request #3042 by David Rodríguez.
49
+ * Use Bundler 2.1.2. Pull request #3043 by SHIBATA Hiroshi.
50
+
51
+ Bug fixes:
52
+
53
+ * Require `uri` in source.rb. Pull request #3034 by mihaibuzgau.
54
+ * Fix `gem update --system --force`. Pull request #3035 by David
55
+ Rodríguez.
56
+ * Move `require uri` to source_list. Pull request #3038 by mihaibuzgau.
57
+
58
+ === 3.1.1 / 2019-12-16
59
+
60
+ Bug fixes:
61
+
62
+ * Vendor Bundler 2.1.0 again. The version of Bundler with
63
+ RubyGems 3.1.0 was Bundler 2.1.0.pre.3. Pull request #3029 by
64
+ SHIBATA Hiroshi.
65
+
66
+ === 3.1.0 / 2019-12-16
67
+
68
+ Major enhancements:
69
+
70
+ * Vendor bundler 2.1. Pull request #3028 by David Rodríguez.
71
+
72
+ Minor enhancements:
73
+
74
+ * Check for rubygems.org typo squatting sources. Pull request #2999 by
75
+ Luis Sagastume.
76
+ * Refactor remote fetcher. Pull request #3017 by David Rodríguez.
77
+ * Lazily load `open3`. Pull request #3001 by David Rodríguez.
78
+ * Remove `delegate` dependency. Pull request #3002 by David Rodríguez.
79
+ * Lazily load `uri`. Pull request #3005 by David Rodríguez.
80
+ * Lazily load `rubygems/gem_runner` during tests. Pull request #3009 by
81
+ David Rodríguez.
82
+ * Use bundler to manage development dependencies. Pull request #3012 by
83
+ David Rodríguez.
84
+
85
+ Bug fixes:
86
+
87
+ * Remove unnecessary executable flags. Pull request #2982 by David
88
+ Rodríguez.
89
+ * Remove configuration that contained a typo. Pull request #2989 by David
90
+ Rodríguez.
91
+
92
+ Compatibility changes:
93
+
94
+ * Remove 1.8.7 leftovers. Pull request #2972 by David Rodríguez.
95
+ * Deprecate `gem generate_index --modern` and `gem generate_index
96
+ --no-modern`. Pull request #2992 by David Rodríguez.
97
+
3
98
  === 3.1.0.pre3 / 2019-11-11
4
99
 
5
100
  Minor enhancements:
@@ -3477,10 +3572,10 @@ Bug fixes:
3477
3572
 
3478
3573
  NOTE:
3479
3574
 
3480
- http://rubygems.org is now the default source for downloading gems.
3575
+ https://rubygems.org/ is now the default source for downloading gems.
3481
3576
 
3482
3577
  You may have sources set via ~/.gemrc, so you should replace
3483
- http://gems.rubyforge.org with http://rubygems.org
3578
+ http://gems.rubyforge.org with https://rubygems.org/
3484
3579
 
3485
3580
  http://gems.rubyforge.org will continue to work for the foreseeable future.
3486
3581
 
@@ -1,6 +1,9 @@
1
+ .bundle/config
1
2
  .rubocop.yml
2
3
  CODE_OF_CONDUCT.md
3
4
  CONTRIBUTING.md
5
+ Gemfile
6
+ Gemfile.lock
4
7
  History.txt
5
8
  LICENSE.txt
6
9
  MAINTAINERS.txt
@@ -76,7 +79,6 @@ bundler/lib/bundler/fetcher/index.rb
76
79
  bundler/lib/bundler/friendly_errors.rb
77
80
  bundler/lib/bundler/gem_helper.rb
78
81
  bundler/lib/bundler/gem_helpers.rb
79
- bundler/lib/bundler/gem_remote_fetcher.rb
80
82
  bundler/lib/bundler/gem_tasks.rb
81
83
  bundler/lib/bundler/gem_version_promoter.rb
82
84
  bundler/lib/bundler/gemdeps.rb
@@ -169,7 +171,6 @@ bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/monotonic_time.rb
169
171
  bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb
170
172
  bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb
171
173
  bundler/lib/bundler/vendor/fileutils/lib/fileutils.rb
172
- bundler/lib/bundler/vendor/fileutils/lib/fileutils/version.rb
173
174
  bundler/lib/bundler/vendor/molinillo/lib/molinillo.rb
174
175
  bundler/lib/bundler/vendor/molinillo/lib/molinillo/compatibility.rb
175
176
  bundler/lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb
@@ -206,13 +207,13 @@ bundler/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb
206
207
  bundler/lib/bundler/vendor/thor/lib/thor/base.rb
207
208
  bundler/lib/bundler/vendor/thor/lib/thor/command.rb
208
209
  bundler/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb
209
- bundler/lib/bundler/vendor/thor/lib/thor/core_ext/io_binary_read.rb
210
210
  bundler/lib/bundler/vendor/thor/lib/thor/error.rb
211
211
  bundler/lib/bundler/vendor/thor/lib/thor/group.rb
212
212
  bundler/lib/bundler/vendor/thor/lib/thor/invocation.rb
213
213
  bundler/lib/bundler/vendor/thor/lib/thor/line_editor.rb
214
214
  bundler/lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb
215
215
  bundler/lib/bundler/vendor/thor/lib/thor/line_editor/readline.rb
216
+ bundler/lib/bundler/vendor/thor/lib/thor/nested_context.rb
216
217
  bundler/lib/bundler/vendor/thor/lib/thor/parser.rb
217
218
  bundler/lib/bundler/vendor/thor/lib/thor/parser/argument.rb
218
219
  bundler/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb
@@ -226,10 +227,24 @@ bundler/lib/bundler/vendor/thor/lib/thor/shell/color.rb
226
227
  bundler/lib/bundler/vendor/thor/lib/thor/shell/html.rb
227
228
  bundler/lib/bundler/vendor/thor/lib/thor/util.rb
228
229
  bundler/lib/bundler/vendor/thor/lib/thor/version.rb
230
+ bundler/lib/bundler/vendor/uri/lib/uri.rb
231
+ bundler/lib/bundler/vendor/uri/lib/uri/common.rb
232
+ bundler/lib/bundler/vendor/uri/lib/uri/file.rb
233
+ bundler/lib/bundler/vendor/uri/lib/uri/ftp.rb
234
+ bundler/lib/bundler/vendor/uri/lib/uri/generic.rb
235
+ bundler/lib/bundler/vendor/uri/lib/uri/http.rb
236
+ bundler/lib/bundler/vendor/uri/lib/uri/https.rb
237
+ bundler/lib/bundler/vendor/uri/lib/uri/ldap.rb
238
+ bundler/lib/bundler/vendor/uri/lib/uri/ldaps.rb
239
+ bundler/lib/bundler/vendor/uri/lib/uri/mailto.rb
240
+ bundler/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb
241
+ bundler/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb
242
+ bundler/lib/bundler/vendor/uri/lib/uri/version.rb
229
243
  bundler/lib/bundler/vendored_fileutils.rb
230
244
  bundler/lib/bundler/vendored_molinillo.rb
231
245
  bundler/lib/bundler/vendored_persistent.rb
232
246
  bundler/lib/bundler/vendored_thor.rb
247
+ bundler/lib/bundler/vendored_uri.rb
233
248
  bundler/lib/bundler/version.rb
234
249
  bundler/lib/bundler/version_ranges.rb
235
250
  bundler/lib/bundler/vlad.rb
@@ -492,6 +507,8 @@ lib/rubygems/test_utilities.rb
492
507
  lib/rubygems/text.rb
493
508
  lib/rubygems/uninstaller.rb
494
509
  lib/rubygems/uri_formatter.rb
510
+ lib/rubygems/uri_parser.rb
511
+ lib/rubygems/uri_parsing.rb
495
512
  lib/rubygems/user_interaction.rb
496
513
  lib/rubygems/util.rb
497
514
  lib/rubygems/util/licenses.rb
@@ -549,6 +566,7 @@ test/rubygems/sff/discover.rb
549
566
  test/rubygems/simple_gem.rb
550
567
  test/rubygems/specifications/bar-0.0.2.gemspec
551
568
  test/rubygems/specifications/foo-0.0.1-x86-mswin32.gemspec
569
+ test/rubygems/specifications/rubyforge-0.0.1.gemspec
552
570
  test/rubygems/ssl_cert.pem
553
571
  test/rubygems/ssl_key.pem
554
572
  test/rubygems/test_bundled_ca.rb
data/README.md CHANGED
@@ -6,7 +6,7 @@ A package (also known as a library) contains a set of functionality that can be
6
6
  We call these packages "gems" and RubyGems is a tool to install, create, manage and load these packages in your Ruby environment.
7
7
 
8
8
  RubyGems is also a client for [RubyGems.org](https://rubygems.org), a public repository of Gems that allows you to publish a Gem
9
- that can be shared and used by other developers. See our guide on publishing a Gem at [guides.rubygems.org](http://guides.rubygems.org/publishing/)
9
+ that can be shared and used by other developers. See our guide on publishing a Gem at [guides.rubygems.org](https://guides.rubygems.org/publishing/)
10
10
 
11
11
  ## Getting Started
12
12
 
@@ -23,7 +23,7 @@ Finally, inside your Ruby program, load the Nokogiri gem and start parsing your
23
23
 
24
24
  Nokogiri.XML('<h1>Hello World</h1>')
25
25
 
26
- For more information about how to use RubyGems, see our RubyGems basics guide at [guides.rubygems.org](http://guides.rubygems.org/rubygems-basics/)
26
+ For more information about how to use RubyGems, see our RubyGems basics guide at [guides.rubygems.org](https://guides.rubygems.org/rubygems-basics/)
27
27
 
28
28
  ## Requirements
29
29
 
@@ -65,10 +65,10 @@ See [UPGRADING](UPGRADING.md) for more details and alternative instructions.
65
65
  ## Documentation
66
66
 
67
67
  RubyGems uses [rdoc](https://github.com/rdoc/rdoc) for documentation. A compiled set of the docs
68
- can be viewed online at [rubydoc](http://www.rubydoc.info/github/rubygems/rubygems).
68
+ can be viewed online at [rubydoc](https://www.rubydoc.info/github/rubygems/rubygems).
69
69
 
70
70
  RubyGems also provides a comprehensive set of guides which covers numerous topics such as
71
- creating a new gem, security practices and other resources at http://guides.rubygems.org
71
+ creating a new gem, security practices and other resources at https://guides.rubygems.org
72
72
 
73
73
  ## Getting Help
74
74
 
data/Rakefile CHANGED
@@ -7,11 +7,8 @@ require 'psych'
7
7
 
8
8
  desc "Setup Rubygems dev environment"
9
9
  task :setup => ["bundler:checkout"] do
10
- gemspec = Gem::Specification.load(File.expand_path("../rubygems-update.gemspec", __FILE__))
11
-
12
- gemspec.dependencies.each do |dep|
13
- sh "gem install '#{dep.name}:#{dep.requirement.to_s}' --conservative --no-document --force"
14
- end
10
+ sh "gem install bundler:2.0.2"
11
+ sh "bundle install"
15
12
  end
16
13
 
17
14
  desc "Setup git hooks"
@@ -23,7 +20,6 @@ Rake::TestTask.new do |t|
23
20
  t.ruby_opts = %w[-w]
24
21
  t.ruby_opts << '-rdevkit' if Gem.win_platform?
25
22
 
26
- t.libs << "libs"
27
23
  t.libs << "test"
28
24
  t.libs << "bundler/lib"
29
25
 
@@ -100,8 +96,13 @@ task :check_deprecations do
100
96
  end
101
97
 
102
98
  desc "Install rubygems to local system"
103
- task :install => :package do
104
- sh "gem install pkg/rubygems-update-#{v}.gem && update_rubygems"
99
+ task :install => [:clear_package, :package] do
100
+ sh "ruby -Ilib bin/gem install pkg/rubygems-update-#{v}.gem && update_rubygems"
101
+ end
102
+
103
+ desc "Clears previously built package"
104
+ task :clear_package do
105
+ rm_rf "pkg"
105
106
  end
106
107
 
107
108
  desc "Release rubygems-#{v}"
@@ -166,7 +167,7 @@ task :upload_to_s3 do
166
167
  s3 = Aws::S3::Resource.new(region:'us-west-2')
167
168
  %w[zip tgz].each do |ext|
168
169
  obj = s3.bucket('oregon.production.s3.rubygems.org').object("rubygems/rubygems-#{v}.#{ext}")
169
- obj.upload_file("pkg/rubygems-#{v}.#{ext}")
170
+ obj.upload_file("pkg/rubygems-#{v}.#{ext}", acl: 'public-read')
170
171
  end
171
172
  end
172
173
 
@@ -339,7 +340,7 @@ SHA256 Checksums:
339
340
 
340
341
  #{checksums}
341
342
 
342
- [download]: http://rubygems.org/pages/download
343
+ [download]: https://rubygems.org/pages/download
343
344
  [upgrading]: http://docs.seattlerb.org/rubygems/UPGRADING_rdoc.html
344
345
 
345
346
  ANNOUNCEMENT
@@ -32,5 +32,5 @@ else
32
32
  update_dir = File.dirname(update_dir)
33
33
  Dir.chdir update_dir
34
34
  ENV["GEM_PREV_VER"] = Gem::VERSION
35
- system(Gem.ruby, 'setup.rb', *ARGV)
35
+ abort unless system(Gem.ruby, 'setup.rb', *ARGV)
36
36
  end
@@ -1,3 +1,56 @@
1
+ ## 2.1.4 (January 5, 2020)
2
+
3
+ Bugfixes:
4
+
5
+ - Fix `net-http-pipeline` no longer being allowed in Gemfiles if already installed in the system due to our vendored version of `net-http-persistent` optionally requiring it [#7529](https://github.com/bundler/bundler/pull/7529)
6
+ - Fix inline gems no longer being requirable if no Gemfile is present in the directory hierarchy [#7537](https://github.com/bundler/bundler/pull/7537)
7
+
8
+ ## 2.1.3 (January 2, 2020)
9
+
10
+ Bugfixes:
11
+
12
+ - Fix `rake build` when path has spaces on it [#7514](https://github.com/bundler/bundler/pull/7514)
13
+ - Fix `rake release` git push tasks when the running shell has `git` as an alias of another command (like `hub`) [#7510](https://github.com/bundler/bundler/pull/7510)
14
+ - Fix some circular require warnings [#7520](https://github.com/bundler/bundler/pull/7520)
15
+ - Fix `bundle config set deployment true` recommended alternative to `bundle config --deployment` to behave in the same way as the `--deployment` flag [#7519](https://github.com/bundler/bundler/pull/7519)
16
+
17
+ ## 2.1.2 (December 20, 2019)
18
+
19
+ Bugfixes:
20
+
21
+ - Restore an explicit `require "rubygems"` on top `rubygems_integration.rb` to avoid some missing constant errors under some convoluted setups [#7505](https://github.com/bundler/bundler/pull/7505)
22
+
23
+ ## 2.1.1 (December 17, 2019)
24
+
25
+ Bugfixes:
26
+
27
+ - Fix some cases of shelling out to `rubygems` still being silent [#7493](https://github.com/bundler/bundler/pull/7493)
28
+ - Restore compatibility with `rubygems-bundler` so that binstubs work under `RVM` [#7498](https://github.com/bundler/bundler/pull/7498)
29
+
30
+ ## 2.1.0 (December 15, 2019)
31
+
32
+ Features:
33
+
34
+ - Add support for new default gems. In particular,
35
+
36
+ * `open3` [#7455](https://github.com/bundler/bundler/pull/7455)
37
+ * `cgi`: [#7456](https://github.com/bundler/bundler/pull/7456)
38
+ * `uri` [#7460](https://github.com/bundler/bundler/pull/7460)
39
+
40
+ plus other PRs removing or lazily loading usages of these gems from other places to not interfere with user's choice, such as [#7471](https://github.com/bundler/bundler/pull/7471) or [#7473](https://github.com/bundler/bundler/pull/7473)
41
+
42
+ Bugfixes:
43
+
44
+ - Fix `bundle exec rake install` failing [#7474](https://github.com/bundler/bundler/pull/7474)
45
+ - Fix `bundle exec`'ing to rubygems being silent [#7442](https://github.com/bundler/bundler/pull/7442)
46
+ - Restore previous `BUNDLE_GEMFILE` in `bundler/inline` [#7418](https://github.com/bundler/bundler/pull/7418)
47
+ - Fix error when using `gem` DSL's `:glob` option for selecting gemspecs from a specific source [#7419](https://github.com/bundler/bundler/pull/7419)
48
+
49
+ Changes:
50
+
51
+ - `bundle config` no longer warns when using "old interface" (might be deprecated again in the future) [#7475](https://github.com/bundler/bundler/pull/7475)
52
+ - `bundle update` no longer warns when used without arguments (might be deprecated again in the future) [#7475](https://github.com/bundler/bundler/pull/7475)
53
+
1
54
  ## 2.1.0.pre.3 (November 12, 2019)
2
55
 
3
56
  Features:
@@ -20,13 +73,13 @@ Bugfixes:
20
73
  Bugfixes:
21
74
 
22
75
  - Fix `bundle clean` trying to delete non-existent directory ([#7340](https://github.com/bundler/bundler/pull/7340))
23
- - Fix warnings about keywork argument separation on ruby 2.7 ([#7337](https://github.com/bundler/bundler/pull/7337))
76
+ - Fix warnings about keyword argument separation on ruby 2.7 ([#7337](https://github.com/bundler/bundler/pull/7337))
24
77
 
25
78
  ## 2.1.0.pre.1 (August 28, 2019)
26
79
 
27
80
  One of the biggest changes in bundler 2.1.0 is that deprecations for upcoming
28
81
  breaking changes in bundler 3 will be turned on by default. We do this to grab
29
- feedback and comunicate early to our users the kind of changes we're intending
82
+ feedback and communicate early to our users the kind of changes we're intending
30
83
  to ship with bundler 3. See
31
84
  [#6965](https://github.com/bundler/bundler/pull/6965).
32
85
 
@@ -89,7 +142,7 @@ Bugfixes:
89
142
  - Warn about situations where multiple gems provide the same executable ([#7075](https://github.com/bundler/bundler/pull/7075))
90
143
  - Ignore `frozen` setting in inline mode ([#7125](https://github.com/bundler/bundler/pull/7125))
91
144
  - Fix incorrect "bundler attempted to update GEM but version stayed the same" message when updating git sourced gems ([#6325](https://github.com/bundler/bundler/pull/6325))
92
- - Don't check for existance of a writable home directory if `BUNDLE_USER_HOME` is set ([#6885](https://github.com/bundler/bundler/pull/6885))
145
+ - Don't check for existence of a writable home directory if `BUNDLE_USER_HOME` is set ([#6885](https://github.com/bundler/bundler/pull/6885))
93
146
  - Fix error message when server would respond to a bad username/password requiest with a 401 ([#6928](https://github.com/bundler/bundler/pull/6928))
94
147
  - Fix `bundle outdated` pluralization when multiple groups are requested ([#7063](https://github.com/bundler/bundler/pull/7063))
95
148
  - Fix `bundle install` not updating conservatively when gemspec is changed ([#7143](https://github.com/bundler/bundler/pull/7143))