rubygems-update 2.7.3 → 2.7.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (179) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +6 -30
  3. data/History.txt +146 -0
  4. data/Manifest.txt +5 -4
  5. data/Rakefile +19 -2
  6. data/bundler/CHANGELOG.md +143 -0
  7. data/bundler/README.md +5 -1
  8. data/bundler/bundler.gemspec +4 -1
  9. data/bundler/lib/bundler.rb +12 -8
  10. data/bundler/lib/bundler/build_metadata.rb +19 -2
  11. data/bundler/lib/bundler/cli.rb +3 -1
  12. data/bundler/lib/bundler/cli/check.rb +1 -1
  13. data/bundler/lib/bundler/cli/exec.rb +4 -4
  14. data/bundler/lib/bundler/cli/gem.rb +6 -3
  15. data/bundler/lib/bundler/cli/init.rb +6 -5
  16. data/bundler/lib/bundler/cli/install.rb +2 -2
  17. data/bundler/lib/bundler/cli/outdated.rb +1 -1
  18. data/bundler/lib/bundler/cli/update.rb +6 -4
  19. data/bundler/lib/bundler/compact_index_client/updater.rb +10 -1
  20. data/bundler/lib/bundler/current_ruby.rb +8 -1
  21. data/bundler/lib/bundler/definition.rb +34 -24
  22. data/bundler/lib/bundler/dep_proxy.rb +2 -2
  23. data/bundler/lib/bundler/dependency.rb +1 -0
  24. data/bundler/lib/bundler/deprecate.rb +2 -1
  25. data/bundler/lib/bundler/endpoint_specification.rb +1 -1
  26. data/bundler/lib/bundler/env.rb +10 -8
  27. data/bundler/lib/bundler/fetcher.rb +3 -3
  28. data/bundler/lib/bundler/fetcher/downloader.rb +10 -5
  29. data/bundler/lib/bundler/fetcher/index.rb +2 -2
  30. data/bundler/lib/bundler/friendly_errors.rb +2 -0
  31. data/bundler/lib/bundler/gem_helper.rb +1 -1
  32. data/bundler/lib/bundler/gem_version_promoter.rb +12 -0
  33. data/bundler/lib/bundler/injector.rb +5 -5
  34. data/bundler/lib/bundler/installer.rb +12 -4
  35. data/bundler/lib/bundler/installer/gem_installer.rb +9 -2
  36. data/bundler/lib/bundler/installer/parallel_installer.rb +1 -1
  37. data/bundler/lib/bundler/lazy_specification.rb +1 -1
  38. data/bundler/lib/bundler/mirror.rb +2 -2
  39. data/bundler/lib/bundler/plugin.rb +2 -2
  40. data/bundler/lib/bundler/plugin/index.rb +7 -2
  41. data/bundler/lib/bundler/process_lock.rb +1 -1
  42. data/bundler/lib/bundler/resolver.rb +14 -10
  43. data/bundler/lib/bundler/resolver/spec_group.rb +0 -5
  44. data/bundler/lib/bundler/ruby_version.rb +1 -1
  45. data/bundler/lib/bundler/rubygems_integration.rb +9 -3
  46. data/bundler/lib/bundler/runtime.rb +2 -2
  47. data/bundler/lib/bundler/shared_helpers.rb +15 -3
  48. data/bundler/lib/bundler/source/git.rb +2 -1
  49. data/bundler/lib/bundler/source/git/git_proxy.rb +6 -1
  50. data/bundler/lib/bundler/source/metadata.rb +1 -1
  51. data/bundler/lib/bundler/source/rubygems.rb +13 -6
  52. data/bundler/lib/bundler/source/rubygems/remote.rb +4 -1
  53. data/bundler/lib/bundler/spec_set.rb +4 -1
  54. data/bundler/lib/bundler/templates/.document +1 -0
  55. data/bundler/lib/bundler/templates/Executable +11 -3
  56. data/bundler/lib/bundler/templates/newgem/newgem.gemspec.tt +8 -2
  57. data/bundler/lib/bundler/templates/newgem/{.travis.yml.tt → travis.yml.tt} +2 -0
  58. data/bundler/lib/bundler/ui/shell.rb +3 -1
  59. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +11 -1
  60. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +7 -2
  61. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata.rb +1 -1
  62. data/bundler/lib/bundler/version.rb +1 -1
  63. data/bundler/man/bundle-binstubs.ronn +3 -3
  64. data/bundler/man/bundle-check.ronn +3 -3
  65. data/bundler/man/bundle-config.ronn +13 -9
  66. data/bundler/man/bundle-doctor.ronn +33 -0
  67. data/bundler/man/bundle-exec.ronn +3 -3
  68. data/bundler/man/bundle-gem.ronn +1 -1
  69. data/bundler/man/bundle-init.ronn +15 -4
  70. data/bundler/man/bundle-inject.ronn +3 -3
  71. data/bundler/man/bundle-install.ronn +12 -3
  72. data/bundler/man/bundle-lock.ronn +1 -1
  73. data/bundler/man/bundle-outdated.ronn +1 -1
  74. data/bundler/man/bundle-package.ronn +3 -3
  75. data/bundler/man/bundle-show.ronn +3 -2
  76. data/bundler/man/bundle-update.ronn +18 -14
  77. data/bundler/man/bundle-viz.ronn +1 -1
  78. data/bundler/man/bundle.ronn +27 -27
  79. data/bundler/man/gemfile.5.ronn +24 -9
  80. data/lib/rubygems.rb +30 -17
  81. data/lib/rubygems/bundler_version_finder.rb +9 -22
  82. data/lib/rubygems/command.rb +9 -1
  83. data/lib/rubygems/command_manager.rb +6 -4
  84. data/lib/rubygems/commands/generate_index_command.rb +1 -1
  85. data/lib/rubygems/commands/install_command.rb +7 -0
  86. data/lib/rubygems/commands/owner_command.rb +4 -1
  87. data/lib/rubygems/commands/push_command.rb +37 -4
  88. data/lib/rubygems/commands/setup_command.rb +22 -7
  89. data/lib/rubygems/commands/uninstall_command.rb +1 -1
  90. data/lib/rubygems/commands/unpack_command.rb +3 -3
  91. data/lib/rubygems/config_file.rb +1 -1
  92. data/lib/rubygems/core_ext/kernel_require.rb +2 -7
  93. data/lib/rubygems/dependency.rb +1 -0
  94. data/lib/rubygems/dependency_installer.rb +4 -2
  95. data/lib/rubygems/exceptions.rb +5 -1
  96. data/lib/rubygems/ext/builder.rb +1 -1
  97. data/lib/rubygems/gemcutter_utilities.rb +5 -2
  98. data/lib/rubygems/indexer.rb +6 -5
  99. data/lib/rubygems/install_update_options.rb +1 -1
  100. data/lib/rubygems/installer.rb +38 -10
  101. data/lib/rubygems/package.rb +54 -7
  102. data/lib/rubygems/package/file_source.rb +2 -2
  103. data/lib/rubygems/package/old.rb +1 -1
  104. data/lib/rubygems/package/tar_header.rb +17 -10
  105. data/lib/rubygems/package/tar_writer.rb +4 -3
  106. data/lib/rubygems/remote_fetcher.rb +1 -1
  107. data/lib/rubygems/request_set.rb +28 -17
  108. data/lib/rubygems/request_set/lockfile.rb +1 -1
  109. data/lib/rubygems/requirement.rb +14 -3
  110. data/lib/rubygems/resolver/api_specification.rb +5 -0
  111. data/lib/rubygems/security.rb +7 -2
  112. data/lib/rubygems/security/trust_dir.rb +1 -1
  113. data/lib/rubygems/server.rb +16 -4
  114. data/lib/rubygems/source.rb +2 -2
  115. data/lib/rubygems/specification.rb +22 -14
  116. data/lib/rubygems/ssl_certs/{index.rubygems.org → rubygems.org}/GlobalSignRootCA.pem +0 -0
  117. data/lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem +21 -0
  118. data/lib/rubygems/stub_specification.rb +2 -0
  119. data/lib/rubygems/test_case.rb +36 -12
  120. data/lib/rubygems/test_utilities.rb +2 -2
  121. data/lib/rubygems/user_interaction.rb +9 -2
  122. data/lib/rubygems/util.rb +2 -1
  123. data/lib/rubygems/util/licenses.rb +35 -4
  124. data/lib/rubygems/validator.rb +3 -3
  125. data/lib/rubygems/version.rb +7 -1
  126. data/lib/ubygems.rb +3 -0
  127. data/test/rubygems/test_bundled_ca.rb +7 -4
  128. data/test/rubygems/test_gem.rb +62 -24
  129. data/test/rubygems/test_gem_bundler_version_finder.rb +8 -7
  130. data/test/rubygems/test_gem_command_manager.rb +2 -2
  131. data/test/rubygems/test_gem_commands_build_command.rb +2 -0
  132. data/test/rubygems/test_gem_commands_cleanup_command.rb +1 -1
  133. data/test/rubygems/test_gem_commands_install_command.rb +38 -0
  134. data/test/rubygems/test_gem_commands_owner_command.rb +25 -0
  135. data/test/rubygems/test_gem_commands_push_command.rb +25 -5
  136. data/test/rubygems/test_gem_commands_setup_command.rb +46 -21
  137. data/test/rubygems/test_gem_commands_signin_command.rb +1 -1
  138. data/test/rubygems/test_gem_commands_uninstall_command.rb +3 -3
  139. data/test/rubygems/test_gem_dependency.rb +1 -1
  140. data/test/rubygems/test_gem_dependency_installer.rb +1 -1
  141. data/test/rubygems/test_gem_doctor.rb +2 -2
  142. data/test/rubygems/test_gem_ext_builder.rb +6 -6
  143. data/test/rubygems/test_gem_ext_rake_builder.rb +0 -4
  144. data/test/rubygems/test_gem_gemcutter_utilities.rb +4 -4
  145. data/test/rubygems/test_gem_indexer.rb +1 -2
  146. data/test/rubygems/test_gem_install_update_options.rb +4 -0
  147. data/test/rubygems/test_gem_installer.rb +114 -4
  148. data/test/rubygems/test_gem_package.rb +178 -21
  149. data/test/rubygems/test_gem_package_old.rb +1 -1
  150. data/test/rubygems/test_gem_package_tar_header.rb +21 -0
  151. data/test/rubygems/test_gem_rdoc.rb +2 -0
  152. data/test/rubygems/test_gem_remote_fetcher.rb +7 -3
  153. data/test/rubygems/test_gem_request.rb +5 -2
  154. data/test/rubygems/test_gem_request_connection_pools.rb +6 -7
  155. data/test/rubygems/test_gem_request_set.rb +7 -7
  156. data/test/rubygems/test_gem_request_set_lockfile.rb +4 -4
  157. data/test/rubygems/test_gem_request_set_lockfile_parser.rb +1 -1
  158. data/test/rubygems/test_gem_request_set_lockfile_tokenizer.rb +1 -1
  159. data/test/rubygems/test_gem_requirement.rb +6 -0
  160. data/test/rubygems/test_gem_resolver_api_specification.rb +24 -0
  161. data/test/rubygems/test_gem_resolver_git_specification.rb +1 -1
  162. data/test/rubygems/test_gem_resolver_installer_set.rb +1 -1
  163. data/test/rubygems/test_gem_security_policy.rb +3 -3
  164. data/test/rubygems/test_gem_server.rb +177 -12
  165. data/test/rubygems/test_gem_source.rb +3 -3
  166. data/test/rubygems/test_gem_source_git.rb +1 -1
  167. data/test/rubygems/test_gem_specification.rb +64 -31
  168. data/test/rubygems/test_gem_stream_ui.rb +2 -2
  169. data/test/rubygems/test_gem_stub_specification.rb +7 -7
  170. data/test/rubygems/test_gem_text.rb +5 -0
  171. data/test/rubygems/test_gem_util.rb +25 -0
  172. data/test/rubygems/test_gem_version.rb +40 -2
  173. data/test/rubygems/test_require.rb +15 -21
  174. data/util/ci +1 -0
  175. data/util/generate_spdx_license_list.rb +15 -6
  176. data/util/update_bundled_ca_certificates.rb +1 -3
  177. metadata +14 -13
  178. data/lib/rubygems/ssl_certs/rubygems.global.ssl.fastly.net/DigiCertHighAssuranceEVRootCA.pem +0 -23
  179. data/lib/rubygems/ssl_certs/rubygems.org/AddTrustExternalCARoot.pem +0 -25
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cc0054d823436dc260e3e3365622dc5bc173ed4855a2f22fdcaac219929b080e
4
- data.tar.gz: 6257d0503e5ca25f0601bec2600de2599c1815014fd866ae040313ded19be794
3
+ metadata.gz: 05af8c86d4ea15a0d09d4d8611a6aca36d75dc741cdd8e5d86076475ebe8a7de
4
+ data.tar.gz: a8dfa7a91b938c27adb2227e99bb3160384e5bfe4b0701f54bdda00039f5bedb
5
5
  SHA512:
6
- metadata.gz: 0041f39fec2a3abb43bf7eca6d3c82f883ca760fb2b4d9b4cc0539d9fa6f3a0f1d80bca636f49ab2960478c921d4b8513e135ae62893c592aa5760d8a2b9226d
7
- data.tar.gz: 5a2e0146149449fd9bb43e57efc2d0835e36fddff60a07ff5714d1f9737efe087505ba9fc40d256d155621c131a94f8e487255e17d67c105b46ac86eb6276d2a
6
+ metadata.gz: 7c7a3afc31fb6b849ad66759acb0df2444867bf0db3f64ec05f7484689cb47bac289429d5a350fa7949a5d2a94090c14fd7eec552b8ea3678e71f4a65bdd11ba
7
+ data.tar.gz: 77a27d60b8709a0b26872bf616eeb4161cf9c847b0770e74976d631934b4ef88c2d5d2406c36846104361acea894e1b4104921fd286a6540adf17402d85dcecb
data/.travis.yml CHANGED
@@ -18,41 +18,17 @@ rvm:
18
18
  - 1.9.3
19
19
  - 2.0.0
20
20
  - 2.1.10
21
- - 2.2.8
22
- - 2.3.5
23
- - 2.4.2
21
+ - 2.2.9
22
+ - 2.3.6
23
+ - 2.4.3
24
+ - 2.5.0
24
25
  - ruby-head
25
26
  env:
26
27
  - "TEST_TOOL=rubygems YAML=syck"
27
28
  - "TEST_TOOL=rubygems YAML=psych"
28
29
  - "TEST_TOOL=bundler RGV=master"
29
30
  script:
30
- - util/ci script
31
+ - util/ci script
31
32
  matrix:
32
- exclude:
33
- - rvm: 1.8.7
34
- env: "TEST_TOOL=rubygems YAML=psych"
35
- - rvm: 1.9.2
36
- env: "TEST_TOOL=bundler RGV=master"
37
- - rvm: 2.0.0
38
- env: "TEST_TOOL=rubygems YAML=syck"
39
- - rvm: 2.1.10
40
- env: "TEST_TOOL=rubygems YAML=syck"
41
- - rvm: 2.2.7
42
- env: "TEST_TOOL=rubygems YAML=syck"
43
- - rvm: 2.3.4
44
- env: "TEST_TOOL=rubygems YAML=syck"
45
- - rvm: 2.4.1
46
- env: "TEST_TOOL=rubygems YAML=syck"
47
- - rvm: ruby-head
48
- env: "TEST_TOOL=rubygems YAML=syck"
49
33
  allow_failures:
50
- - rvm: 1.8.7
51
- env: "TEST_TOOL=bundler RGV=master"
52
- - rvm: 1.9.3
53
- env: "TEST_TOOL=bundler RGV=master"
54
- - rvm: 2.0.0
55
- env: "TEST_TOOL=bundler RGV=master"
56
- - rvm: 2.1.10
57
- env: "TEST_TOOL=bundler RGV=master"
58
- - rvm: ruby-head
34
+ - env: "TEST_TOOL=bundler RGV=master"
data/History.txt CHANGED
@@ -1,5 +1,151 @@
1
1
  # coding: UTF-8
2
2
 
3
+ === 2.7.11 / 2020-12-08
4
+
5
+ Minor enhancements:
6
+
7
+ * Add GlobalSign Root CA - R3 cert and remove outdated certs. Pull request #4100
8
+ by Aditya Prakash.
9
+
10
+ === 2.7.10 / 2019-06-14
11
+
12
+ Minor enhancements:
13
+
14
+ * Fix bundler rubygems binstub not properly looking for bundler. Pull request #2426
15
+ by David Rodríguez.
16
+ * [BudlerVersionFinder] set .filter! and .compatible? to match only on major versions.
17
+ Pull request #2515 by Colby Swandale.
18
+ + Update for compatibilty with new minitest. Pull request #2118 by MSP-Greg.
19
+
20
+ === 2.7.9 / 2019-03-05
21
+
22
+ Security fixes:
23
+
24
+ * Fixed following vulnerabilities:
25
+ * CVE-2019-8320: Delete directory using symlink when decompressing tar
26
+ * CVE-2019-8321: Escape sequence injection vulnerability in `verbose`
27
+ * CVE-2019-8322: Escape sequence injection vulnerability in `gem owner`
28
+ * CVE-2019-8323: Escape sequence injection vulnerability in API response handling
29
+ * CVE-2019-8324: Installing a malicious gem may lead to arbitrary code execution
30
+ * CVE-2019-8325: Escape sequence injection vulnerability in errors
31
+
32
+ === 2.7.8 / 2018-11-02
33
+
34
+ Minor enhancements:
35
+
36
+ * [Requirement] Treat requirements with == versions as equal. Pull
37
+ request #2230 by Samuel Giddins.
38
+ * Fix exec_name documentation. Pull request #2239 by Luis Sagastume.
39
+ * [TarHeader] Extract the empty header into a constant. Pull request #2247
40
+ by Samuel Giddins.
41
+ * Simplify the code that lets us call the original, non-monkeypatched
42
+ Kernel#require. Pull request #2267 by Leon Miller-Out.
43
+ * Add install alias documentation. Pull request #2320 by ota42y.
44
+ * [Rakefile] Set bundler build metadata when doing a release. Pull request
45
+ #2335 by Samuel Giddins.
46
+ * Backport commits from ruby core . Pull request #2347 by SHIBATA Hiroshi.
47
+ * Sign in to the correct host before push. Pull request #2366 by Luis
48
+ Sagastume.
49
+ * Bump bundler-1.16.4. Pull request #2381 by SHIBATA Hiroshi.
50
+ * Improve bindir flag description. Pull request #2383 by Luis Sagastume.
51
+ * Update bundler-1.16.6. Pull request #2423 by SHIBATA Hiroshi.
52
+
53
+ Bug fixes:
54
+
55
+ * Fix #1470: generate documentation when --install-dir is present. Pull
56
+ request #2229 by Elias Hernandis.
57
+ * Fix no proxy checking. Pull request #2249 by Luis Sagastume.
58
+ * Validate SPDX license exceptions. Pull request #2257 by Mikit.
59
+ * Retry api specification spec with original platform. Pull request #2275
60
+ by Luis Sagastume.
61
+ * Fix approximate recommendation with prereleases. Pull request #2345 by
62
+ David Rodríguez.
63
+ * Gem::Version should handle nil like it used to before. Pull request
64
+ #2363 by Luis Sagastume.
65
+
66
+ === 2.7.7 / 2018-05-08
67
+
68
+ Minor enhancements:
69
+
70
+ * [RequestSet] Only suggest a gem version with an installable platform.
71
+ Pull request #2175 by Samuel Giddins.
72
+ * Fixed no assignment variables about default gems installation. Pull
73
+ request #2181 by SHIBATA Hiroshi.
74
+ * Backport improvements for test-case from Ruby core. Pull request #2189
75
+ by SHIBATA Hiroshi.
76
+ * Fix ruby warnings in test suite. Pull request #2205 by Colby Swandale.
77
+ * To use Gem::Specification#bindir of bundler instead of hard coded path.
78
+ Pull request #2208 by SHIBATA Hiroshi.
79
+ * Update gem push --help description. Pull request #2215 by Luis
80
+ Sagastume.
81
+ * Backport ruby core commits. Pull request #2264 by SHIBATA Hiroshi.
82
+
83
+ Bug fixes:
84
+
85
+ * Frozen string fix - lib/rubygems/bundler_version_finder.rb. Pull request
86
+ #2115 by MSP-Greg.
87
+ * Fixed tempfile leak for RubyGems 2.7.6. Pull request #2194 by SHIBATA
88
+ Hiroshi.
89
+ * Add missing requires. Pull request #2196 by David Rodríguez.
90
+ * Fix Gem::Version.correct?. Pull request #2203 by Masato Nakamura.
91
+ * Fix verify_entry regex for metadata. Pull request #2212 by Luis
92
+ Sagastume.
93
+ * Fix path checks for case insensitive filesystem. Pull request #2211 by
94
+ Lars Kanis.
95
+
96
+ Compatibility changes:
97
+
98
+ * Deprecate unused code before removing them at #1524. Pull request #2197
99
+ by SHIBATA Hiroshi.
100
+ * Deprecate for rubygems 3. Pull request #2214 by SHIBATA Hiroshi.
101
+ * Mark deprecation to `ubygems.rb` for RubyGems 4. Pull request #2269 by
102
+ SHIBATA Hiroshi.
103
+ * Update bundler-1.16.2. Pull request #2291 by SHIBATA Hiroshi.
104
+
105
+ === 2.7.6 / 2018-02-16
106
+
107
+ Security fixes:
108
+
109
+ * Prevent path traversal when writing to a symlinked basedir outside of the root.
110
+ Discovered by nmalkin, fixed by Jonathan Claudius and Samuel Giddins.
111
+ * Fix possible Unsafe Object Deserialization Vulnerability in gem owner.
112
+ Fixed by Jonathan Claudius.
113
+ * Strictly interpret octal fields in tar headers.
114
+ Discoved by plover, fixed by Samuel Giddins.
115
+ * Raise a security error when there are duplicate files in a package.
116
+ Discovered by plover, fixed by Samuel Giddins.
117
+ * Enforce URL validation on spec homepage attribute.
118
+ Discovered by Yasin Soliman, fixed by Jonathan Claudius.
119
+ * Mitigate XSS vulnerability in homepage attribute when displayed via `gem server`.
120
+ Discovered by Yasin Soliman, fixed by Jonathan Claudius.
121
+ * Prevent Path Traversal issue during gem installation.
122
+ Discovered by nmalkin.
123
+
124
+ === 2.7.5
125
+
126
+ Bug fixes:
127
+
128
+ * To use bundler-1.16.1 #2121 by SHIBATA Hiroshi.
129
+ * Fixed leaked FDs. Pull request #2127 by Nobuyoshi Nakada.
130
+ * Support option for `--destdir` with upgrade installer. #2169 by Thibault Jouan.
131
+ * Remove PID from gem index directory. #2155 by SHIBATA Hiroshi.
132
+ * Avoid a #mkdir race condition #2148 by Samuel Giddins.
133
+ * Gem::Util.traverse_parents should not crash on permissions error #2147 by Robert Ulejczyk.
134
+ * Use `File.open` instead of `open`. #2142 by SHIBATA Hiroshi.
135
+ * Set whether bundler is used for gemdeps with an environmental variable #2126 by SHIBATA Hiroshi.
136
+ * Fix undefined method error when printing alert #1884 by Robert Ross.
137
+
138
+ === 2.7.4
139
+
140
+ Bug fixes:
141
+
142
+ * Fixed leaked FDs. Pull request #2127 by Nobuyoshi Nakada.
143
+ * Avoid to warnings about gemspec loadings in rubygems tests. Pull request
144
+ #2125 by SHIBATA Hiroshi.
145
+ * Fix updater with rubygems-2.7.3 Pull request #2124 by SHIBATA Hiroshi.
146
+ * Handle environment that does not have `flock` system call. Pull request
147
+ #2107 by SHIBATA Hiroshi.
148
+
3
149
  === 2.7.3
4
150
 
5
151
  Minor enhancements:
data/Manifest.txt CHANGED
@@ -144,12 +144,12 @@ bundler/lib/bundler/ssl_certs/index.rubygems.org/GlobalSignRootCA.pem
144
144
  bundler/lib/bundler/ssl_certs/rubygems.global.ssl.fastly.net/DigiCertHighAssuranceEVRootCA.pem
145
145
  bundler/lib/bundler/ssl_certs/rubygems.org/AddTrustExternalCARoot.pem
146
146
  bundler/lib/bundler/stub_specification.rb
147
+ bundler/lib/bundler/templates/.document
147
148
  bundler/lib/bundler/templates/Executable
148
149
  bundler/lib/bundler/templates/Executable.bundler
149
150
  bundler/lib/bundler/templates/Executable.standalone
150
151
  bundler/lib/bundler/templates/Gemfile
151
152
  bundler/lib/bundler/templates/gems.rb
152
- bundler/lib/bundler/templates/newgem/.travis.yml.tt
153
153
  bundler/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt
154
154
  bundler/lib/bundler/templates/newgem/Gemfile.tt
155
155
  bundler/lib/bundler/templates/newgem/LICENSE.txt.tt
@@ -170,6 +170,7 @@ bundler/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt
170
170
  bundler/lib/bundler/templates/newgem/spec/spec_helper.rb.tt
171
171
  bundler/lib/bundler/templates/newgem/test/newgem_test.rb.tt
172
172
  bundler/lib/bundler/templates/newgem/test/test_helper.rb.tt
173
+ bundler/lib/bundler/templates/newgem/travis.yml.tt
173
174
  bundler/lib/bundler/ui.rb
174
175
  bundler/lib/bundler/ui/rg_proxy.rb
175
176
  bundler/lib/bundler/ui/shell.rb
@@ -246,6 +247,7 @@ bundler/man/bundle-binstubs.ronn
246
247
  bundler/man/bundle-check.ronn
247
248
  bundler/man/bundle-clean.ronn
248
249
  bundler/man/bundle-config.ronn
250
+ bundler/man/bundle-doctor.ronn
249
251
  bundler/man/bundle-exec.ronn
250
252
  bundler/man/bundle-gem.ronn
251
253
  bundler/man/bundle-info.ronn
@@ -431,9 +433,8 @@ lib/rubygems/source_specific_file.rb
431
433
  lib/rubygems/spec_fetcher.rb
432
434
  lib/rubygems/specification.rb
433
435
  lib/rubygems/ssl_certs/.document
434
- lib/rubygems/ssl_certs/index.rubygems.org/GlobalSignRootCA.pem
435
- lib/rubygems/ssl_certs/rubygems.global.ssl.fastly.net/DigiCertHighAssuranceEVRootCA.pem
436
- lib/rubygems/ssl_certs/rubygems.org/AddTrustExternalCARoot.pem
436
+ lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem
437
+ lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem
437
438
  lib/rubygems/stub_specification.rb
438
439
  lib/rubygems/syck_hack.rb
439
440
  lib/rubygems/test_case.rb
data/Rakefile CHANGED
@@ -103,6 +103,13 @@ hoe.testlib = :minitest
103
103
  hoe.test_prelude = <<-RUBY.gsub("\n", ";")
104
104
  gem "minitest", "~> 4.0"
105
105
  $:.unshift #{File.expand_path("../bundler/lib", __FILE__).dump}
106
+ if "1.8" < RUBY_VERSION && RUBY_VERSION < "2.2"
107
+ module Gem
108
+ @path_to_default_spec_map.delete_if do |_path, spec|
109
+ spec.name == "bundler"
110
+ end
111
+ end
112
+ end
106
113
  RUBY
107
114
 
108
115
  Rake::Task['docs'].clear
@@ -166,9 +173,9 @@ end
166
173
  # --------------------------------------------------------------------
167
174
  # Creating a release
168
175
 
169
- task :prerelease => [:clobber, :check_manifest, :test]
176
+ task :prerelease => %w[clobber check_manifest test bundler:build_metadata]
170
177
 
171
- task :postrelease => %w[upload guides:publish blog:publish]
178
+ task :postrelease => %w[bundler:build_metadata:clean upload guides:publish blog:publish]
172
179
 
173
180
  file "pkg/rubygems-#{v}" => "pkg/rubygems-update-#{v}" do |t|
174
181
  require 'find'
@@ -506,4 +513,14 @@ namespace :bundler do
506
513
  task :checkout do
507
514
  sh "git submodule update --init"
508
515
  end
516
+
517
+ task :build_metadata do
518
+ chdir('bundler') { sh "rake build_metadata" }
519
+ end
520
+
521
+ namespace :build_metadata do
522
+ task :clean do
523
+ chdir('bundler') { sh "rake build_metadata:clean" }
524
+ end
525
+ end
509
526
  end
data/bundler/CHANGELOG.md CHANGED
@@ -1,3 +1,146 @@
1
+ ## 1.16.6 (2018-10-05)
2
+
3
+ Changes:
4
+
5
+ - Add an error message when adding a gem with `bundle add` that's already in the bundle ([#6341](https://github.com/bundler/bundler/issues/6341), @agrim123)
6
+ - Add Homepage, Source Code and Chanagelog URI metadata fields to the `bundle gem` gemspec template (@walf443)
7
+
8
+ Bugfixes:
9
+
10
+ - Fix issue where updating a gem resulted in the gem's version being downgraded when `BUNDLE_ONLY_UPDATE_TO_NEWER_VERSIONS` was set ([#6529](https://github.com/bundler/bundler/issues/6529), @theflow)
11
+ - Fix some rescue calls that don't specifiy error type (@utilum)
12
+ - Fix an issue when the Lockfile would contain platform-specific gems that it didn't need ([#6491](https://github.com/bundler/bundler/issues/6491), @segiddins)
13
+ - Improve handlding of adding new gems with only a single group to the Gemfile in `bundle add` (@agrim123)
14
+ - Refactor check for OpenSSL in `bundle env` (@voxik)
15
+ - Remove an unnecessary assignment in Metadata (@voxik)
16
+
17
+ Documentation:
18
+
19
+ - Update docs to reflect revised guidance to check in Gemfile.lock into version control for gems ([#5879](https://github.com/bundler/bundler/issues/5879), @arbonap)
20
+ - Add documentation for the `--all` flag in `bundle update` (@agrim123)
21
+ - Update README to use `bundle add` in usage examples (@hdf1986)
22
+
23
+ ## 1.16.5 (2018-09-18)
24
+
25
+ Changes:
26
+
27
+ - Add support for TruffleRuby (@eregon)
28
+
29
+ Bugfixes:
30
+
31
+ - Avoid printing git errors when checking the version on incorrectly packaged versions of Bundler ([#6453](https://github.com/bundler/bundler/issues/6453), @greysteil)
32
+ - Fix issue where Bundler does not check the given class when comparing equality in DepProxy (@ChrisBr)
33
+ - Handle `RangeNotSatisfiable` error in Compact Index (@MaxLap)
34
+ - Check for initialized `search` variable in `LazySpecification` (@voxik)
35
+ - Fix LoadError occurring in nested bundle exec calls ([#6537](https://github.com/bundler/bundler/issues/6537), @colby-swandale)
36
+ - Check that Bundler::Deprecate is not an autoload constant ([#6163](https://github.com/bundler/bundler/issues/6163), @eregon)
37
+ - Prefer non-pre-release versions when performing a `bundle update --patch` ([#6684](https://github.com/bundler/bundler/issues/6684), @segiddins)
38
+
39
+ ## 1.16.4 (2018-08-17)
40
+
41
+ Changes:
42
+
43
+ - Welcome new members to the Bundler core team (@indirect)
44
+ - Don't mutate original error trees when determining version_conflict_message (@greysteil)
45
+ - Update vendored Molinillo to 0.6.6 (@segiddins)
46
+
47
+ Bugfixes:
48
+
49
+ - Reword bundle update regression message to be more clear to the user when a gem's version is downgraded ([#6584](https://github.com/bundler/bundler/issues/6584), @ralphbolo)
50
+ - Respect --conservative flag when updating a dependency group ([#6560](https://github.com/bundler/bundler/issues/6560), @greysteil)
51
+ - Fix issue where a pre-release version was not being selected when it's specified in the Gemfile ([#6449](https://github.com/bundler/bundler/issues/6449), @akihiro17)
52
+ - Fix issue where `Etc` was not loaded when getting the user's home dir ([#6640](https://github.com/bundler/bundler/issues/6640), @colby-swandale)
53
+ - Use UTF-8 for reading files including Gemfile ([#6660](https://github.com/bundler/bundler/issues/6660), @eregon)
54
+ - Remove unnecessary `while` loop in path resolver helper (@ojab)
55
+
56
+ Documentation:
57
+
58
+ - Document that `bundle show [--paths]` sorts results by name (@kemitchell)
59
+
60
+ ## 1.16.3 (2018-07-17)
61
+
62
+ Features:
63
+
64
+ - Support URI::File of Ruby 2.6 (@hsbt)
65
+
66
+ Bugfixes:
67
+
68
+ - Expand symlinks during setup to allow Bundler to load correctly when using symlinks in $GEM_HOME ([#6465](https://github.com/bundler/bundler/issues/6465), @ojab, @indirect)
69
+ - Dont let Bundler create temporary folders for gem installs which are owned by root ([#6258](https://github.com/bundler/bundler/issues/6258), @colby-swandale)
70
+ - Don't fallback to using temporary directories when needed directories already exist ([#6546](https://github.com/bundler/bundler/issues/6546), @brodock)
71
+ - Use SharedHelpers.filesystem_access when reading a Gemfile so friendly error messages can be given to the user ([#6541](https://github.com/bundler/bundler/issues/6541), @segiddins)
72
+ - Check if source responds to `#remotes` before printing gem install error message ([#6211](https://github.com/bundler/bundler/issues/6211), @colby-swandale)
73
+ - Handle Errno::ENOTSUP in the Bundler Process Lock to prevent exceptions when using NFS mounts ([#6566](https://github.com/bundler/bundler/issues/6566), @colby-swandale)
74
+ - Respect encodings when reading gemspecs ([#6598](https://github.com/bundler/bundler/issues/6598), @deivid-rodriguez)
75
+
76
+ Documentation:
77
+
78
+ - Fix links between manual pages (@BanzaiMan)
79
+ - Add warning to Gemfile documentation for the use of the `source` option when declaring gems ([#6280](https://github.com/bundler/bundler/issues/6280), @forestgagnon)
80
+
81
+ ## 1.16.2 (2018-04-20)
82
+
83
+ Changes:
84
+
85
+ - Include the gem's source in the gem install error message when available (@papanikge)
86
+ - Remove unnecessary executable bit from gem template (@voxik)
87
+ - Dont add the timestamp comment with gems added to the Gemfile via `bundle add` ([#6193](https://github.com/bundler/bundler/issues/6193), @cpgo)
88
+ - Improve yanked gem error message (@alyssais)
89
+ - Use `Bundler.rubygems.inflate` instead of the Gem::Util method directly (@segiddins)
90
+ - Remove unused instance variable (@segiddins)
91
+
92
+ Bugfixes:
93
+
94
+ - Only trap INT signal and have Ruby's signal default handler be invoked (@shayonj)
95
+ - Fix warning about the use of `__FILE__` in RubyGems integration testing (@MSP-Greg)
96
+ - Skip the outdated bundler check when MD5 is not available ([#6032](https://github.com/bundler/bundler/issues/6032), @segiddins)
97
+ - Fallback to the original error if the friendly message raises (@segiddins)
98
+ - Rename Bundler.frozen? to avoid Object method conflict ([#6252](https://github.com/bundler/bundler/issues/6252), @segiddins)
99
+ - Ensure the bindir exists before installing gems (@segiddins)
100
+ - Handle gzip corruption errors in the compact index client ([#6261](https://github.com/bundler/bundler/issues/6261), @colby-swandale)
101
+ - Check if the current directory is writeable when writing files in `bundle gem` ([#6219](https://github.com/bundler/bundler/issues/6219), @nilsding)
102
+ - Fix hang when gemspec has incompatible encoding (@deivid-rodriguez)
103
+ - Gracefully handle when the lockfile is missing spec entries for the current platform ([#6079](https://github.com/bundler/bundler/issues/6079), @segiddins)
104
+ - Use Gem::Util.inflate instead of Gem.inflate (@hsbt)
105
+ - Update binstub generator to use new ERB.new arity in Ruby 2.6 (@koic)
106
+ - Fix `source_location` call in rubygems integration (@MSP-Greg)
107
+ - Use `filesystem_access` when copying files in Compact Index Updater ([#6289](https://github.com/bundler/bundler/issues/6289), @segiddins)
108
+ - Fail gracefully when resetting git gems to the given revision fails ([#6324](https://github.com/bundler/bundler/issues/6324), @segiddins)
109
+ - Handle exceptions that do not have a backtrace ([#6342](https://github.com/bundler/bundler/issues/6342), @nesaulov)
110
+ - Check if stderr was closed before writing to it (@shime)
111
+ - Handle updating a specific gem for a non-local platform ([#6350](https://github.com/bundler/bundler/issues/6350), @greysteil)
112
+ - Bump the `bundle_binstub` check-length to 300 characters (@tduffield)
113
+ - Fix specifying alterntive Lockfile with `bundle lock` when default gemfile is present ([#6460](https://github.com/bundler/bundler/issues/6460), @agrim123)
114
+ - Allow installing dependencies when the path is set to `.` ([#6475](https://github.com/bundler/bundler/issues/6475), @segiddins)
115
+ - Support Bundler installing on a readonly filesystem without a home directory ([#6461](https://github.com/bundler/bundler/issues/6461), @grosser)
116
+ - Filter git uri credentials in source description (@segiddins)
117
+
118
+ Documentation:
119
+
120
+ - Correct typos in `bundle binstubs` man page (@erikj, @samueloph)
121
+ - Update links in `bundle gem` command documentation to use https (@KrauseFx)
122
+ - Fix broken links between bundler man pages (@segiddins)
123
+ - Add man page for the `bundle doctor` command ([#6243](https://github.com/bundler/bundler/issues/6243), @nholden)
124
+ - Document `# frozen_string_literal` in `bundle init` Gemfile (@315tky)
125
+ - Explain the gemspec files attribute in `bundle gem` template and print a link to bundler.io guides when running `bundle gem` ([#6246](https://github.com/bundler/bundler/issues/6246), @nesaulov)
126
+ - Small copy tweaks & removed redundant phrasing in the bundler man page (@rubymorillo)
127
+ - Improve the documentation of the settings load order in Bundler (@rubymorillo)
128
+ - Added license info to main README (@rubymorillo)
129
+ - Document parameters and return value of Injector#inject (@tobias-grasse)
130
+
131
+ ## 1.16.1 (2017-12-12)
132
+
133
+ Bugfixes:
134
+
135
+ - avoid hanging on complex resolver errors ([#6114](https://github.com/bundler/bundler/issues/6114), @halfbyte)
136
+ - avoid an error when running `bundle update --group` ([#6156](https://github.com/bundler/bundler/issues/6156), @mattbrictson)
137
+ - ensure the resolver prefers non-pre-release gems when possible ([#6181](https://github.com/bundler/bundler/issues/6181), @greysteil)
138
+ - include bundler's gemspec in the built gem ([#6165](https://github.com/bundler/bundler/issues/6165), @dr-itz)
139
+ - ensure locally installed specs are not overriden by those in remote sources during dependency resolution ([#6072](https://github.com/bundler/bundler/issues/6072), @indirect)
140
+ - ensure custom gemfiles are respected in generated binstubs (@pftg)
141
+ - fail gracefully when loading a bundler-generated binstub when `bin/bundle` was not generated by bundler ([#6149](https://github.com/bundler/bundler/issues/6149), @hsbt)
142
+ - allow `bundle init` to be run even when a parent directory contains a gemfile ([#6205](https://github.com/bundler/bundler/issues/6205), @colby-swandale)
143
+
1
144
  ## 1.16.0 (2017-10-31)
2
145
 
3
146
  Bugfixes:
data/bundler/README.md CHANGED
@@ -24,7 +24,7 @@ Bundler is most commonly used to manage your application's dependencies. For exa
24
24
 
25
25
  ```
26
26
  bundle init
27
- echo 'gem "rspec"' >> Gemfile
27
+ bundle add rspec
28
28
  bundle install
29
29
  bundle exec rspec
30
30
  ```
@@ -57,3 +57,7 @@ While some Bundler contributors are compensated by Ruby Together, the project ma
57
57
  ### Code of Conduct
58
58
 
59
59
  Everyone interacting in the Bundler project’s codebases, issue trackers, chat rooms, and mailing lists is expected to follow the [Bundler code of conduct](https://github.com/bundler/bundler/blob/master/CODE_OF_CONDUCT.md).
60
+
61
+ ### License
62
+
63
+ [MIT License](https://github.com/bundler/bundler/blob/master/LICENSE.md)