rubygems-update 2.6.14 → 2.7.0

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rubygems-update might be problematic. Click here for more details.

Files changed (347) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +10 -7
  3. data/CONTRIBUTING.rdoc +53 -54
  4. data/History.txt +173 -9
  5. data/Manifest.txt +39 -11
  6. data/POLICIES.rdoc +3 -3
  7. data/README.md +72 -0
  8. data/Rakefile +30 -5
  9. data/appveyor.yml +29 -1
  10. data/bin/gem +1 -1
  11. data/bin/update_rubygems +2 -2
  12. data/bundler/CHANGELOG.md +269 -9
  13. data/bundler/CODE_OF_CONDUCT.md +1 -1
  14. data/bundler/CONTRIBUTING.md +10 -29
  15. data/bundler/README.md +22 -10
  16. data/bundler/exe/bundle +5 -7
  17. data/bundler/exe/bundle_ruby +4 -3
  18. data/bundler/lib/bundler.rb +94 -74
  19. data/bundler/lib/bundler/build_metadata.rb +36 -0
  20. data/bundler/lib/bundler/capistrano.rb +5 -0
  21. data/bundler/lib/bundler/cli.rb +229 -66
  22. data/bundler/lib/bundler/cli/add.rb +25 -0
  23. data/bundler/lib/bundler/cli/binstubs.rb +9 -7
  24. data/bundler/lib/bundler/cli/cache.rb +5 -4
  25. data/bundler/lib/bundler/cli/check.rb +3 -5
  26. data/bundler/lib/bundler/cli/clean.rb +5 -6
  27. data/bundler/lib/bundler/cli/common.rb +18 -2
  28. data/bundler/lib/bundler/cli/config.rb +26 -7
  29. data/bundler/lib/bundler/cli/console.rb +2 -1
  30. data/bundler/lib/bundler/cli/doctor.rb +1 -0
  31. data/bundler/lib/bundler/cli/exec.rb +3 -2
  32. data/bundler/lib/bundler/cli/gem.rb +36 -15
  33. data/bundler/lib/bundler/cli/info.rb +50 -0
  34. data/bundler/lib/bundler/cli/init.rb +20 -7
  35. data/bundler/lib/bundler/cli/inject.rb +13 -4
  36. data/bundler/lib/bundler/cli/install.rb +61 -77
  37. data/bundler/lib/bundler/cli/issue.rb +40 -0
  38. data/bundler/lib/bundler/cli/list.rb +22 -0
  39. data/bundler/lib/bundler/cli/lock.rb +4 -2
  40. data/bundler/lib/bundler/cli/open.rb +2 -2
  41. data/bundler/lib/bundler/cli/outdated.rb +30 -28
  42. data/bundler/lib/bundler/cli/package.rb +9 -6
  43. data/bundler/lib/bundler/cli/platform.rb +1 -0
  44. data/bundler/lib/bundler/cli/plugin.rb +1 -0
  45. data/bundler/lib/bundler/cli/pristine.rb +43 -0
  46. data/bundler/lib/bundler/cli/show.rb +1 -1
  47. data/bundler/lib/bundler/cli/update.rb +32 -11
  48. data/bundler/lib/bundler/cli/viz.rb +5 -1
  49. data/bundler/lib/bundler/compact_index_client.rb +1 -0
  50. data/bundler/lib/bundler/compact_index_client/cache.rb +1 -2
  51. data/bundler/lib/bundler/compact_index_client/updater.rb +26 -7
  52. data/bundler/lib/bundler/compatibility_guard.rb +14 -0
  53. data/bundler/lib/bundler/constants.rb +1 -0
  54. data/bundler/lib/bundler/current_ruby.rb +8 -7
  55. data/bundler/lib/bundler/definition.rb +231 -159
  56. data/bundler/lib/bundler/dep_proxy.rb +2 -0
  57. data/bundler/lib/bundler/dependency.rb +6 -7
  58. data/bundler/lib/bundler/deployment.rb +1 -1
  59. data/bundler/lib/bundler/deprecate.rb +14 -3
  60. data/bundler/lib/bundler/dsl.rb +103 -62
  61. data/bundler/lib/bundler/endpoint_specification.rb +12 -2
  62. data/bundler/lib/bundler/env.rb +97 -36
  63. data/bundler/lib/bundler/environment_preserver.rb +27 -6
  64. data/bundler/lib/bundler/errors.rb +3 -1
  65. data/bundler/lib/bundler/feature_flag.rb +39 -4
  66. data/bundler/lib/bundler/fetcher.rb +15 -8
  67. data/bundler/lib/bundler/fetcher/base.rb +1 -0
  68. data/bundler/lib/bundler/fetcher/compact_index.rb +2 -12
  69. data/bundler/lib/bundler/fetcher/dependency.rb +2 -1
  70. data/bundler/lib/bundler/fetcher/downloader.rb +4 -2
  71. data/bundler/lib/bundler/fetcher/index.rb +1 -0
  72. data/bundler/lib/bundler/friendly_errors.rb +5 -2
  73. data/bundler/lib/bundler/gem_helper.rb +23 -9
  74. data/bundler/lib/bundler/gem_helpers.rb +1 -0
  75. data/bundler/lib/bundler/gem_remote_fetcher.rb +1 -0
  76. data/bundler/lib/bundler/gem_tasks.rb +1 -0
  77. data/bundler/lib/bundler/gem_version_promoter.rb +1 -0
  78. data/bundler/lib/bundler/gemdeps.rb +1 -0
  79. data/bundler/lib/bundler/graph.rb +1 -0
  80. data/bundler/lib/bundler/index.rb +19 -11
  81. data/bundler/lib/bundler/injector.rb +51 -27
  82. data/bundler/lib/bundler/inline.rb +10 -10
  83. data/bundler/lib/bundler/installer.rb +104 -50
  84. data/bundler/lib/bundler/installer/gem_installer.rb +5 -2
  85. data/bundler/lib/bundler/installer/parallel_installer.rb +91 -42
  86. data/bundler/lib/bundler/installer/standalone.rb +1 -0
  87. data/bundler/lib/bundler/lazy_specification.rb +17 -4
  88. data/bundler/lib/bundler/lockfile_generator.rb +95 -0
  89. data/bundler/lib/bundler/lockfile_parser.rb +49 -35
  90. data/bundler/lib/bundler/match_platform.rb +1 -0
  91. data/bundler/lib/bundler/mirror.rb +8 -3
  92. data/bundler/lib/bundler/plugin.rb +6 -1
  93. data/bundler/lib/bundler/plugin/api/source.rb +16 -3
  94. data/bundler/lib/bundler/plugin/index.rb +2 -0
  95. data/bundler/lib/bundler/plugin/installer.rb +7 -6
  96. data/bundler/lib/bundler/plugin/source_list.rb +7 -8
  97. data/bundler/lib/bundler/process_lock.rb +24 -0
  98. data/bundler/lib/bundler/psyched_yaml.rb +10 -0
  99. data/bundler/lib/bundler/remote_specification.rb +25 -1
  100. data/bundler/lib/bundler/resolver.rb +171 -192
  101. data/bundler/lib/bundler/resolver/spec_group.rb +111 -0
  102. data/bundler/lib/bundler/retry.rb +1 -0
  103. data/bundler/lib/bundler/ruby_dsl.rb +1 -0
  104. data/bundler/lib/bundler/ruby_version.rb +6 -1
  105. data/bundler/lib/bundler/rubygems_ext.rb +18 -8
  106. data/bundler/lib/bundler/rubygems_gem_installer.rb +25 -2
  107. data/bundler/lib/bundler/rubygems_integration.rb +157 -66
  108. data/bundler/lib/bundler/runtime.rb +28 -18
  109. data/bundler/lib/bundler/settings.rb +202 -87
  110. data/bundler/lib/bundler/settings/validator.rb +79 -0
  111. data/bundler/lib/bundler/setup.rb +4 -7
  112. data/bundler/lib/bundler/shared_helpers.rb +129 -25
  113. data/bundler/lib/bundler/similarity_detector.rb +1 -0
  114. data/bundler/lib/bundler/source.rb +53 -1
  115. data/bundler/lib/bundler/source/gemspec.rb +1 -0
  116. data/bundler/lib/bundler/source/git.rb +49 -21
  117. data/bundler/lib/bundler/source/git/git_proxy.rb +17 -12
  118. data/bundler/lib/bundler/source/metadata.rb +63 -0
  119. data/bundler/lib/bundler/source/path.rb +38 -17
  120. data/bundler/lib/bundler/source/path/installer.rb +4 -2
  121. data/bundler/lib/bundler/source/rubygems.rb +154 -82
  122. data/bundler/lib/bundler/source/rubygems/remote.rb +8 -1
  123. data/bundler/lib/bundler/source_list.rb +75 -15
  124. data/bundler/lib/bundler/spec_set.rb +34 -21
  125. data/bundler/lib/bundler/ssl_certs/certificate_manager.rb +2 -1
  126. data/bundler/lib/bundler/stub_specification.rb +86 -2
  127. data/bundler/lib/bundler/templates/Executable +5 -1
  128. data/bundler/lib/bundler/templates/Executable.bundler +105 -0
  129. data/bundler/lib/bundler/templates/Executable.standalone +5 -5
  130. data/bundler/lib/bundler/templates/Gemfile +3 -0
  131. data/bundler/lib/bundler/templates/gems.rb +8 -0
  132. data/bundler/lib/bundler/templates/newgem/Gemfile.tt +4 -2
  133. data/bundler/lib/bundler/templates/newgem/LICENSE.txt.tt +1 -1
  134. data/bundler/lib/bundler/templates/newgem/README.md.tt +14 -8
  135. data/bundler/lib/bundler/templates/newgem/Rakefile.tt +5 -5
  136. data/bundler/lib/bundler/templates/newgem/ext/newgem/newgem.c.tt +4 -4
  137. data/bundler/lib/bundler/templates/newgem/ext/newgem/newgem.h.tt +3 -3
  138. data/bundler/lib/bundler/templates/newgem/gitignore.tt +0 -1
  139. data/bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt +6 -6
  140. data/bundler/lib/bundler/templates/newgem/lib/newgem/version.rb.tt +4 -4
  141. data/bundler/lib/bundler/templates/newgem/newgem.gemspec.tt +13 -10
  142. data/bundler/lib/bundler/templates/newgem/rspec.tt +1 -0
  143. data/bundler/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt +0 -2
  144. data/bundler/lib/bundler/templates/newgem/spec/spec_helper.rb.tt +3 -0
  145. data/bundler/lib/bundler/templates/newgem/test/newgem_test.rb.tt +1 -1
  146. data/bundler/lib/bundler/templates/newgem/test/test_helper.rb.tt +3 -3
  147. data/bundler/lib/bundler/ui.rb +1 -0
  148. data/bundler/lib/bundler/ui/rg_proxy.rb +1 -0
  149. data/bundler/lib/bundler/ui/shell.rb +24 -10
  150. data/bundler/lib/bundler/ui/silent.rb +12 -1
  151. data/bundler/lib/bundler/uri_credentials_filter.rb +1 -0
  152. data/bundler/lib/bundler/vendor/fileutils/lib/fileutils.rb +1638 -0
  153. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo.rb +2 -0
  154. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/compatibility.rb +26 -0
  155. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb +7 -0
  156. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb +1 -0
  157. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +16 -5
  158. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/action.rb +1 -0
  159. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +10 -2
  160. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +1 -0
  161. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +1 -0
  162. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +1 -0
  163. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +1 -0
  164. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +1 -0
  165. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +1 -0
  166. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +5 -4
  167. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +69 -6
  168. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata.rb +2 -1
  169. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +1 -0
  170. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/modules/ui.rb +3 -1
  171. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb +501 -138
  172. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/resolver.rb +1 -0
  173. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/state.rb +8 -4
  174. data/bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +3 -1
  175. data/bundler/lib/bundler/vendor/thor/lib/thor.rb +46 -21
  176. data/bundler/lib/bundler/vendor/thor/lib/thor/actions.rb +24 -22
  177. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/create_file.rb +2 -1
  178. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +2 -1
  179. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/directory.rb +2 -2
  180. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +16 -8
  181. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +66 -18
  182. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +17 -15
  183. data/bundler/lib/bundler/vendor/thor/lib/thor/base.rb +55 -32
  184. data/bundler/lib/bundler/vendor/thor/lib/thor/command.rb +13 -11
  185. data/bundler/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +21 -1
  186. data/bundler/lib/bundler/vendor/thor/lib/thor/core_ext/io_binary_read.rb +7 -5
  187. data/bundler/lib/bundler/vendor/thor/lib/thor/core_ext/ordered_hash.rb +94 -63
  188. data/bundler/lib/bundler/vendor/thor/lib/thor/error.rb +3 -3
  189. data/bundler/lib/bundler/vendor/thor/lib/thor/group.rb +13 -13
  190. data/bundler/lib/bundler/vendor/thor/lib/thor/invocation.rb +4 -5
  191. data/bundler/lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb +2 -0
  192. data/bundler/lib/bundler/vendor/thor/lib/thor/parser/argument.rb +4 -7
  193. data/bundler/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +16 -16
  194. data/bundler/lib/bundler/vendor/thor/lib/thor/parser/option.rb +42 -21
  195. data/bundler/lib/bundler/vendor/thor/lib/thor/parser/options.rb +13 -10
  196. data/bundler/lib/bundler/vendor/thor/lib/thor/runner.rb +31 -29
  197. data/bundler/lib/bundler/vendor/thor/lib/thor/shell.rb +1 -1
  198. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +49 -33
  199. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/color.rb +1 -1
  200. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/html.rb +4 -4
  201. data/bundler/lib/bundler/vendor/thor/lib/thor/util.rb +8 -7
  202. data/bundler/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
  203. data/bundler/lib/bundler/vendored_fileutils.rb +9 -0
  204. data/bundler/lib/bundler/vendored_molinillo.rb +1 -0
  205. data/bundler/lib/bundler/vendored_persistent.rb +35 -0
  206. data/bundler/lib/bundler/vendored_thor.rb +6 -2
  207. data/bundler/lib/bundler/version.rb +19 -2
  208. data/bundler/lib/bundler/version_ranges.rb +76 -0
  209. data/bundler/lib/bundler/vlad.rb +5 -0
  210. data/bundler/lib/bundler/worker.rb +3 -1
  211. data/bundler/lib/bundler/yaml_serializer.rb +3 -3
  212. data/bundler/man/bundle-add.ronn +29 -0
  213. data/bundler/man/bundle-binstubs.ronn +14 -0
  214. data/bundler/man/bundle-check.ronn +26 -0
  215. data/bundler/man/bundle-clean.ronn +18 -0
  216. data/bundler/man/bundle-config.ronn +180 -60
  217. data/bundler/man/bundle-exec.ronn +7 -0
  218. data/bundler/man/bundle-gem.ronn +3 -2
  219. data/bundler/man/bundle-info.ronn +17 -0
  220. data/bundler/man/bundle-init.ronn +18 -0
  221. data/bundler/man/bundle-inject.ronn +22 -0
  222. data/bundler/man/bundle-install.ronn +32 -32
  223. data/bundler/man/bundle-list.ronn +15 -0
  224. data/bundler/man/bundle-open.ronn +19 -0
  225. data/bundler/man/bundle-outdated.ronn +1 -1
  226. data/bundler/man/bundle-package.ronn +5 -0
  227. data/bundler/man/bundle-pristine.ronn +34 -0
  228. data/bundler/man/bundle-show.ronn +20 -0
  229. data/bundler/man/bundle-update.ronn +6 -3
  230. data/bundler/man/bundle-viz.ronn +30 -0
  231. data/bundler/man/bundle.ronn +11 -20
  232. data/bundler/man/gemfile.5.ronn +55 -64
  233. data/lib/rubygems.rb +79 -36
  234. data/lib/rubygems/basic_specification.rb +8 -4
  235. data/lib/rubygems/bundler_version_finder.rb +112 -0
  236. data/lib/rubygems/command.rb +1 -1
  237. data/lib/rubygems/command_manager.rb +3 -1
  238. data/lib/rubygems/commands/cert_command.rb +31 -6
  239. data/lib/rubygems/commands/cleanup_command.rb +1 -1
  240. data/lib/rubygems/commands/help_command.rb +1 -1
  241. data/lib/rubygems/commands/owner_command.rb +3 -1
  242. data/lib/rubygems/commands/pristine_command.rb +11 -8
  243. data/lib/rubygems/commands/push_command.rb +2 -1
  244. data/lib/rubygems/commands/query_command.rb +13 -14
  245. data/lib/rubygems/commands/setup_command.rb +124 -69
  246. data/lib/rubygems/commands/signin_command.rb +33 -0
  247. data/lib/rubygems/commands/signout_command.rb +33 -0
  248. data/lib/rubygems/commands/uninstall_command.rb +4 -3
  249. data/lib/rubygems/commands/unpack_command.rb +16 -4
  250. data/lib/rubygems/commands/update_command.rb +1 -1
  251. data/lib/rubygems/commands/which_command.rb +1 -1
  252. data/lib/rubygems/commands/yank_command.rb +4 -11
  253. data/lib/rubygems/config_file.rb +13 -24
  254. data/lib/rubygems/core_ext/kernel_require.rb +10 -9
  255. data/lib/rubygems/dependency.rb +2 -0
  256. data/lib/rubygems/dependency_installer.rb +4 -0
  257. data/lib/rubygems/errors.rb +3 -0
  258. data/lib/rubygems/exceptions.rb +6 -0
  259. data/lib/rubygems/ext/builder.rb +1 -1
  260. data/lib/rubygems/ext/ext_conf_builder.rb +2 -4
  261. data/lib/rubygems/ext/rake_builder.rb +1 -1
  262. data/lib/rubygems/gem_runner.rb +5 -1
  263. data/lib/rubygems/install_update_options.rb +5 -28
  264. data/lib/rubygems/installer.rb +12 -7
  265. data/lib/rubygems/installer_test_case.rb +6 -3
  266. data/lib/rubygems/package/old.rb +1 -1
  267. data/lib/rubygems/request.rb +1 -1
  268. data/lib/rubygems/request_set.rb +20 -3
  269. data/lib/rubygems/request_set/gem_dependency_api.rb +3 -3
  270. data/lib/rubygems/requirement.rb +5 -1
  271. data/lib/rubygems/resolver.rb +24 -3
  272. data/lib/rubygems/resolver/installer_set.rb +4 -6
  273. data/lib/rubygems/safe_yaml.rb +4 -1
  274. data/lib/rubygems/security.rb +10 -3
  275. data/lib/rubygems/security_option.rb +43 -0
  276. data/lib/rubygems/server.rb +4 -12
  277. data/lib/rubygems/source.rb +7 -4
  278. data/lib/rubygems/source/git.rb +2 -1
  279. data/lib/rubygems/source/local.rb +38 -35
  280. data/lib/rubygems/source/lock.rb +4 -1
  281. data/lib/rubygems/source_local.rb +3 -1
  282. data/lib/rubygems/source_specific_file.rb +3 -2
  283. data/lib/rubygems/spec_fetcher.rb +7 -3
  284. data/lib/rubygems/specification.rb +281 -231
  285. data/lib/rubygems/stub_specification.rb +2 -3
  286. data/lib/rubygems/test_case.rb +14 -1
  287. data/lib/rubygems/user_interaction.rb +15 -13
  288. data/lib/rubygems/util.rb +6 -17
  289. data/lib/rubygems/version.rb +17 -3
  290. data/lib/rubygems/version_option.rb +6 -1
  291. data/setup.rb +1 -1
  292. data/test/rubygems/private3072_key.pem +40 -0
  293. data/test/rubygems/public3072_cert.pem +25 -0
  294. data/test/rubygems/test_config.rb +1 -1
  295. data/test/rubygems/test_gem.rb +72 -14
  296. data/test/rubygems/test_gem_bundler_version_finder.rb +125 -0
  297. data/test/rubygems/test_gem_command.rb +1 -1
  298. data/test/rubygems/test_gem_commands_build_command.rb +27 -1
  299. data/test/rubygems/test_gem_commands_cert_command.rb +64 -0
  300. data/test/rubygems/test_gem_commands_install_command.rb +35 -2
  301. data/test/rubygems/test_gem_commands_pristine_command.rb +1 -1
  302. data/test/rubygems/test_gem_commands_query_command.rb +19 -0
  303. data/test/rubygems/test_gem_commands_setup_command.rb +17 -0
  304. data/test/rubygems/test_gem_commands_signin_command.rb +95 -0
  305. data/test/rubygems/test_gem_commands_signout_command.rb +37 -0
  306. data/test/rubygems/test_gem_commands_sources_command.rb +1 -1
  307. data/test/rubygems/test_gem_commands_uninstall_command.rb +12 -0
  308. data/test/rubygems/test_gem_commands_update_command.rb +1 -1
  309. data/test/rubygems/test_gem_commands_which_command.rb +3 -3
  310. data/test/rubygems/test_gem_dependency.rb +28 -0
  311. data/test/rubygems/test_gem_ext_builder.rb +2 -2
  312. data/test/rubygems/test_gem_ext_rake_builder.rb +2 -2
  313. data/test/rubygems/test_gem_install_update_options.rb +2 -1
  314. data/test/rubygems/test_gem_installer.rb +29 -27
  315. data/test/rubygems/test_gem_package.rb +5 -5
  316. data/test/rubygems/test_gem_remote_fetcher.rb +2 -2
  317. data/test/rubygems/test_gem_request_set_gem_dependency_api.rb +3 -3
  318. data/test/rubygems/test_gem_requirement.rb +6 -0
  319. data/test/rubygems/test_gem_resolver.rb +26 -0
  320. data/test/rubygems/test_gem_resolver_conflict.rb +1 -1
  321. data/test/rubygems/test_gem_security.rb +5 -0
  322. data/test/rubygems/test_gem_security_policy.rb +24 -24
  323. data/test/rubygems/test_gem_security_signer.rb +6 -6
  324. data/test/rubygems/test_gem_security_trust_dir.rb +2 -2
  325. data/test/rubygems/test_gem_server.rb +18 -1
  326. data/test/rubygems/test_gem_source.rb +9 -0
  327. data/test/rubygems/test_gem_spec_fetcher.rb +20 -0
  328. data/test/rubygems/test_gem_specification.rb +85 -10
  329. data/test/rubygems/test_gem_stream_ui.rb +6 -6
  330. data/test/rubygems/test_gem_stub_specification.rb +19 -1
  331. data/test/rubygems/test_gem_util.rb +1 -0
  332. data/test/rubygems/test_gem_version.rb +28 -7
  333. data/test/rubygems/test_gem_version_option.rb +15 -0
  334. data/test/rubygems/test_kernel.rb +30 -0
  335. data/test/rubygems/test_require.rb +44 -0
  336. metadata +47 -46
  337. data/README.rdoc +0 -54
  338. data/bundler/DEVELOPMENT.md +0 -150
  339. data/bundler/ISSUES.md +0 -117
  340. data/bundler/lib/bundler/postit_trampoline.rb +0 -73
  341. data/bundler/lib/bundler/vendor/postit/lib/postit.rb +0 -15
  342. data/bundler/lib/bundler/vendor/postit/lib/postit/environment.rb +0 -44
  343. data/bundler/lib/bundler/vendor/postit/lib/postit/installer.rb +0 -28
  344. data/bundler/lib/bundler/vendor/postit/lib/postit/parser.rb +0 -21
  345. data/bundler/lib/bundler/vendor/postit/lib/postit/setup.rb +0 -12
  346. data/bundler/lib/bundler/vendor/postit/lib/postit/version.rb +0 -3
  347. data/bundler/man/index.txt +0 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 57912bb77dd87dcd42c101212129e693553e4d31b01e3475f423d69606d054f2
4
- data.tar.gz: 6c57e3463ebe2e2dec90d8c99ba48212622faac0cdfc7bb90ab91d1299a2af97
3
+ metadata.gz: 7cfc650367babd92f318c0d6e2c28c5191321f47e915378fc8f3d38825bfe039
4
+ data.tar.gz: 284877616f4b433bb0446b2289ce18786298a72a711bfa8757829597b5525cfa
5
5
  SHA512:
6
- metadata.gz: ea7514aa2ffa01b8d84c0834933fdd8f8682bbbb272faaf8980c398e0fdce05131225132449ae51aab1852905a82bab8cf2e88a94f7fef83c442791735e37c4e
7
- data.tar.gz: c2b993fac57b622ad7f95622e5724c79f0c82f612c88d7f94c2db7be01d9eb2c93bdcaabc59b3adbd4cb530e4ccc4ebdcacc31e97ce2b2d4cf65af6c3d54c79d
6
+ metadata.gz: a3df6032df505ddea140d9eff508898f094f8edf56355bccc47825845642682969804347ac7545d9f7bd0117636c324f08eea7e217bcbcfb192d1e97c6ce3bea
7
+ data.tar.gz: ff7e4362be2e5d103f4f75c9dcf6960069de644314cfddfb41fc4dc2336b1ce71e89b97a8f30c7c44d1554b064b397fb49a083d0996f9e314bbe87c55d6f67b5
data/.travis.yml CHANGED
@@ -4,6 +4,8 @@ after_script:
4
4
  before_script:
5
5
  - util/ci before_script
6
6
  language: ruby
7
+ dist: trusty
8
+ sudo: required
7
9
  branches:
8
10
  only:
9
11
  - master
@@ -16,9 +18,9 @@ rvm:
16
18
  - 1.9.3
17
19
  - 2.0.0
18
20
  - 2.1.10
19
- - 2.2.6
20
- - 2.3.3
21
- - 2.4.0
21
+ - 2.2.8
22
+ - 2.3.5
23
+ - 2.4.2
22
24
  - ruby-head
23
25
  env:
24
26
  - "TEST_TOOL=rubygems YAML=syck"
@@ -34,15 +36,16 @@ matrix:
34
36
  env: "TEST_TOOL=bundler RGV=master"
35
37
  - rvm: 2.0.0
36
38
  env: "TEST_TOOL=rubygems YAML=syck"
37
- - rvm: 2.1.7
39
+ - rvm: 2.1.10
38
40
  env: "TEST_TOOL=rubygems YAML=syck"
39
- - rvm: 2.2.6
41
+ - rvm: 2.2.7
40
42
  env: "TEST_TOOL=rubygems YAML=syck"
41
- - rvm: 2.3.3
43
+ - rvm: 2.3.4
42
44
  env: "TEST_TOOL=rubygems YAML=syck"
43
- - rvm: 2.4.0
45
+ - rvm: 2.4.1
44
46
  env: "TEST_TOOL=rubygems YAML=syck"
45
47
  - rvm: ruby-head
46
48
  env: "TEST_TOOL=rubygems YAML=syck"
47
49
  allow_failures:
48
50
  - rvm: ruby-head
51
+
data/CONTRIBUTING.rdoc CHANGED
@@ -1,7 +1,7 @@
1
1
  = How to contribute
2
2
 
3
- Community involvement is essential to RubyGems. We want to keep it easy as
4
- possible to contribute changes. There are a few guidelines that we need
3
+ Community involvement is essential to RubyGems. We want to keep it as easy
4
+ as possible to contribute changes. There are a few guidelines that we need
5
5
  contributors to follow to reduce the time it takes to get changes merged in.
6
6
 
7
7
  == Guidelines
@@ -11,9 +11,9 @@ contributors to follow to reduce the time it takes to get changes merged in.
11
11
  2. Ensure that your code blends well with ours:
12
12
  * No trailing whitespace
13
13
  * Match indentation (two spaces)
14
- * Match coding style (`if`, `elsif`, `when` need trailing `then`)
14
+ * Match coding style (+if+, +elsif+, +when+ need trailing +then+)
15
15
 
16
- 3. If any new files are added or existing files removed in a commit or PR, please update the `Manifest.txt` accordingly.
16
+ 3. If any new files are added or existing files removed in a commit or PR, please update the +Manifest.txt+ accordingly.
17
17
 
18
18
  4. Don't modify the history file or version number.
19
19
 
@@ -28,7 +28,7 @@ here: http://guides.rubygems.org/contributing/
28
28
  $ gem install hoe
29
29
  $ rake newb
30
30
 
31
- To run commands like `gem install` from the repo:
31
+ To run commands like <tt>gem install</tt> from the repo:
32
32
 
33
33
  $ ruby -Ilib bin/gem install
34
34
 
@@ -38,59 +38,65 @@ RubyGems uses labels to track all issues and pull requests. In order to provide
38
38
  guidance to the community this is documentation of how labels are used in the
39
39
  rubygems repository.
40
40
 
41
+ === Contribution
42
+
43
+ These labels are made to guide contributors to issue/pull requests that they
44
+ can help with. That are marked with a light gray <tt>contribution: *</tt>
45
+
46
+ * *small* - The issue described here will take a small amount of work to resolve,
47
+ and is a good option for a new contributor
48
+ * *unclaimed* - The issue has not been claimed for work, and is awaiting willing
49
+ volunteers!
50
+
41
51
  === Type
42
52
 
43
- Most Issues or pull requests will have one of these labels, which describes the
44
- type of the issue or pull request.
53
+ Most Issues or pull requests will have a light green <tt>type: *</tt> label,
54
+ which describes the type of the issue or pull request.
45
55
 
46
56
  * <b>bug report</b> - An issue describing a bug in rubygems. This would be something
47
57
  that is broken, confusing, unexpected behavior etc.
48
- * <b>bugfix</b> - A pull request that fixes a bug report.
58
+ * <b>bug fix</b> - A pull request that fixes a bug report.
49
59
  * <b>feature request</b> - An issue describing a request for a new feature or
50
60
  enhancement.
51
61
  * <b>feature implementation</b> - A pull request implementing a feature request.
52
- * <b>question</b> - An issue that is a more of a question than a call for specific
62
+ * *question* - An issue that is a more of a question than a call for specific
53
63
  changes in the codebase.
54
- * <b>cleanup</b> - Generally for a pull request that improves the code base without
64
+ * *cleanup* - Generally for a pull request that improves the code base without
55
65
  fixing a bug or implementing a feature.
56
66
  * <b>major bump</b> - This issue or pull request requires a major version bump
57
- * <b>administrative</b> - This issue relates to administrative tasks that need to
67
+ * *administrative* - This issue relates to administrative tasks that need to
58
68
  take place as it relates to rubygems
69
+ * *documentation* - This issue relates to improving the documentation for
70
+ in this repo. Note that much of the rubygems documentation is here:
71
+ https://github.com/rubygems/guides
59
72
 
60
- Bug report and Bugfix have the same color. And feature implementation and
61
- feature request have the same color since they are related labels.
73
+ === Workflow / Status
62
74
 
63
- === Workflow
75
+ The light yellow <tt>status: *</tt> labels that indicate the state of an
76
+ issue, where it is in the process from being submitted to being closed.
77
+ These are listed in rough progression order from submitted to closed.
64
78
 
65
- These are labels that indicate the state of an issue, where it is in the process
66
- from being submitted to being closed. These are listed in rough progression
67
- order from submitted to closed.
68
-
69
- * <b>triage</b> - This is an issue or pull request that needs to be properly
79
+ * *triage* - This is an issue or pull request that needs to be properly
70
80
  labeled by by a maintainer.
71
- * <b>accepted</b> - This issue / pull request has been accepted as valid and
72
- will be worked on by someone.
73
- * <b>ready for work</b> - An issue that is available for collaboration. This issue
81
+ * *confirmed* - This issue/pull request has been accepted as valid, but
82
+ is not yet immediately ready for work.
83
+ * <b>ready</b> - An issue that is available for collaboration. This issue
74
84
  should have existing discussion on the problem, and a description of how to go
75
- about solving it. This label should be removed once someone has said they are
76
- going to work on it.
77
- * <b>claimed</b> - An issue that is claimed by a member of the community and is
78
- working on it. If the member can be assigned to the issue, they should be.
79
- * <b>feedback</b>- This issue/pull request is waiting on feedback from
80
- one ore more of the folks involved in the issue. Generally their should be an
81
- <tt>@username/team</tt> in the issue indicating who should respond.
82
- * <b>blocked</b> - the issue/pull request is currently unable to move forward because
83
- of some specific reason, generally this will be a reason that is outside
85
+ about solving it.
86
+ * <b>working</b> - An issue that has a specific invidual assigned to and planning
87
+ to do work on it.
88
+ * <b>user feedback required</b> - The issue/pull request is blocked pending more
89
+ feedback from an end user
90
+ * <b>blocked / backlog</b> - the issue/pull request is currently unable to move forward
91
+ because of some specific reason, generally this will be a reason that is outside
84
92
  RubyGems or needs feedback from some specific individual or group, and it may
85
93
  be a while before something it is resolved.
86
94
 
87
- Feedback and blocked all have the same color since they are all waiting on
88
- someone in particular to do something.
89
-
90
- === Inactive Reason
95
+ === Closed Reason
91
96
 
92
97
  Reasons are why an issue / pull request was closed without being worked on or
93
- accepted. There should also be more detailed information in the comments.
98
+ accepted. There should also be more detailed information in the comments. The
99
+ closed reason labels are maroon <tt>closed: *</tt>.
94
100
 
95
101
  * *duplicate* - This is a duplicate of an existing bug. The comments must
96
102
  reference the existing issue.
@@ -100,32 +106,25 @@ accepted. There should also be more detailed information in the comments.
100
106
  is not accepted.
101
107
  * *deprecated* - An issue/pull request that no longer applies to the actively
102
108
  maintained codebase.
103
-
104
- All the reason labels are the same maroon color.
109
+ * *discussion* - An issue/pull that is no longer about a concrete change, and
110
+ is instead being used for discussion.
105
111
 
106
112
  === Categories
107
113
 
108
114
  These are aspects of the codebase, or what general area the issue or pull
109
- request pertains too. Not all issues will have a category.
115
+ request pertains too. Not all issues will have a category. All categorized
116
+ issues have a blue <tt>category: *</tt> label.
110
117
 
111
- * <b>gemspec</b> - related to the gem specification itself
112
- * <b>API</b> - related to the public supported rubygems API. This is the code api,
118
+ * *gemspec* - related to the gem specification itself
119
+ * *API* - related to the public supported rubygems API. This is the code API,
113
120
  not a network related API.
114
- * <b>command</b> - related to something in <tt>Gem::Commands</tt>
115
- * <b>install</b> - related to gem installations
116
- * <b>documentation</b> - related to updating / fixing / clarifying documentation or
121
+ * *command* - related to something in <tt>Gem::Commands</tt>
122
+ * *install* - related to gem installations
123
+ * *documentation* - related to updating / fixing / clarifying documentation or
117
124
  guides
118
125
 
119
- All category labels are the same blue color.
120
-
121
126
  === Platforms
122
127
 
123
128
  If an issue or pull request pertains to only one platform, then it should have
124
- an appropriate platform tag.
125
-
126
- * *windows*
127
- * *java*
128
- * *osx*
129
- * *linux*
130
-
131
- All platform tags are the same purple color.
129
+ an appropriate purple <tt>platform: *</tt> label. Current platform labels:
130
+ *windows*, *java*, *osx*, *linux*
data/History.txt CHANGED
@@ -1,5 +1,169 @@
1
1
  # coding: UTF-8
2
2
 
3
+ === 2.7.0 (2017-11-02)
4
+
5
+ Major enhancements:
6
+
7
+ * Update vendored bundler-1.16.0. Pull request #2051 by Samuel Giddins.
8
+ * Use Bundler for Gem.use_gemdeps. Pull request #1674 by Samuel Giddins.
9
+ * Add command `signin` to `gem` CLI. Pull request #1944 by Shiva Bhusal.
10
+ * Add Logout feature to CLI. Pull request #1938 by Shiva Bhusal.
11
+
12
+ Minor enhancements:
13
+
14
+ * Added message to uninstall command for gem that is not installed. Pull
15
+ request #1979 by anant anil kolvankar.
16
+ * Add --trust-policy option to unpack command. Pull request #1718 by
17
+ Nobuyoshi Nakada.
18
+ * Show default gems for all platforms. Pull request #1685 by Konstantin
19
+ Shabanov.
20
+ * Add Travis and Appveyor build status to README. Pull request #1918 by
21
+ Jun Aruga.
22
+ * Remove warning `no email specified` when no email. Pull request #1675 by
23
+ Leigh McCulloch.
24
+ * Improve -rubygems performance. Pull request #1801 by Samuel Giddins.
25
+ * Improve the performance of Kernel#require. Pull request #1678 by Samuel
26
+ Giddins.
27
+ * Improve user-facing messages by consistent casing of Ruby/RubyGems. Pull
28
+ request #1771 by John Labovitz.
29
+ * Improve error message when Gem::RuntimeRequirementNotMetError is raised.
30
+ Pull request #1789 by Luis Sagastume.
31
+ * Code Improvement: Inheritance corrected. Pull request #1942 by Shiva
32
+ Bhusal.
33
+ * [Source] Autoload fileutils. Pull request #1906 by Samuel Giddins.
34
+ * Use Hash#fetch instead of if/else in Gem::ConfigFile. Pull request #1824
35
+ by Daniel Berger.
36
+ * Require digest when it is used. Pull request #2006 by Samuel Giddins.
37
+ * Do not index the doc folder in the `update_manifest` task. Pull request
38
+ #2031 by Colby Swandale.
39
+ * Don't use two postfix conditionals on one line. Pull request #2038 by
40
+ Ellen Marie Dash.
41
+ * [SafeYAML] Avoid warning when Gem::Deprecate.skip is set. Pull request
42
+ #2034 by Samuel Giddins.
43
+ * Update gem yank description. Pull request #2009 by David Radcliffe.
44
+ * Fix formatting of installation instructions in README. Pull request
45
+ #2018 by Jordan Danford.
46
+ * Do not use #quick_spec internally. Pull request #1733 by Jon Moss.
47
+ * Switch from docs to guides reference. Pull request #1886 by Jonathan
48
+ Claudius.
49
+ * Happier message when latest version is already installed. Pull request
50
+ #1956 by Jared Beck.
51
+ * Update specification reference docs. Pull request #1960 by Grey Baker.
52
+ * Allow Gem.finish_resolve to respect already-activated specs. Pull
53
+ request #1910 by Samuel Giddins.
54
+ * Update cryptography for Gem::Security. Pull request #1691 by Sylvain
55
+ Daubert.
56
+ * Don't output mkmf.log message if compilation didn't fail. Pull request
57
+ #1808 by Jeremy Evans.
58
+ * Matches_for_glob - remove root path. Pull request #2010 by ahorek.
59
+ * Gem::Resolver#search_for update for reliable searching/sorting. Pull
60
+ request #1993 by MSP-Greg.
61
+ * Allow local installs with transitive prerelease requirements. Pull
62
+ request #1990 by Samuel Giddins.
63
+ * Small style fixes to Installer Set. Pull request #1985 by Arthur
64
+ Marzinkovskiy.
65
+ * Setup cmd: Avoid terminating option string w/ dot. Pull request #1825 by
66
+ Olle Jonsson.
67
+ * Warn when no files are set. Pull request #1773 by Aidan Coyle.
68
+ * Ensure `to_spec` falls back on prerelease specs. Pull request #1755 by
69
+ André Arko.
70
+ * [Specification] Eval setting default attributes in #initialize. Pull
71
+ request #1739 by Samuel Giddins.
72
+ * Sort ordering of sources is preserved. Pull request #1633 by Nathan
73
+ Ladd.
74
+ * Retry with :prerelease when no suggestions are found. Pull request #1696
75
+ by Aditya Prakash.
76
+ * [Rakefile] Run `git submodule update --init` in `rake newb`. Pull
77
+ request #1694 by Samuel Giddins.
78
+ * [TestCase] Address comments around ui changes. Pull request #1677 by
79
+ Samuel Giddins.
80
+ * Eagerly resolve in activate_bin_path. Pull request #1666 by Samuel
81
+ Giddins.
82
+ * [Version] Make hash based upon canonical segments. Pull request #1659 by
83
+ Samuel Giddins.
84
+
85
+ Compatibility changes:
86
+
87
+ * Use `-rrubygems` instead of `-rubygems.rb`. Because ubygems.rb is
88
+ unavailable on Ruby 2.5. Pull request #2028 #2027 #2029
89
+ by SHIBATA Hiroshi.
90
+ * Deprecate Gem::InstallerTestCase#util_gem_bindir and
91
+ Gem::InstallerTestCase#util_gem_dir. Pull request #1729 by Jon Moss.
92
+ * Deprecate passing options to Gem::GemRunner. Pull request #1730 by Jon
93
+ Moss.
94
+ * Add deprecation for Gem#datadir. Pull request #1732 by Jon Moss.
95
+ * Add deprecation warning for Gem::DependencyInstaller#gems_to_install.
96
+ Pull request #1731 by Jon Moss.
97
+ * Update Code of Conduct to Contributor Covenant v1.4.0. Pull request
98
+ #1796 by Matej.
99
+ * Add Ruby Together CTA, rearrange README a bit. Pull request #1775 by
100
+ Michael Bernstein.
101
+ * Update Contributing.rdoc with new label usage. Pull request #1716 by
102
+ Lynn Cyrin.
103
+ * Add --host sample to help. Pull request #1709 by Code Ahss.
104
+ * Add a helpful suggestion when `gem install` fails due to required_rub….
105
+ Pull request #1697 by Samuel Giddins.
106
+ * Add cert expiration length flag. Pull request #1725 by Luis Sagastume.
107
+ * Add submodule instructions to manual install. Pull request #1727 by
108
+ Joseph Frazier.
109
+ * Allow usage of multiple `--version` operators. Pull request #1546 by
110
+ James Wen.
111
+ * Warn when requiring deprecated files. Pull request #1939 by Ellen Marie
112
+ Dash.
113
+
114
+ Bug fixes:
115
+
116
+ * Fix issue for MinGW / MSYS2 builds and testing. Pull request #1876 by
117
+ MSP-Greg.
118
+ * Fixed broken links and overzealous URL encoding in gem server. Pull
119
+ request #1809 by Nicole Orchard.
120
+ * Fix a typo. Pull request #1722 by Koichi ITO.
121
+ * Fix error message Gem::Security::Policy. Pull request #1724 by Nobuyoshi
122
+ Nakada.
123
+ * Fixing links markdown formatting in README. Pull request #1791 by Piotr
124
+ Kuczynski.
125
+ * Fix failing Bundler 1.8.7 CI builds. Pull request #1820 by Samuel
126
+ Giddins.
127
+ * Fixed test broken on ruby-head . Pull request #1842 by SHIBATA Hiroshi.
128
+ * Fix typos with misspell. Pull request #1846 by SHIBATA Hiroshi.
129
+ * Fix gem open to open highest version number rather than lowest. Pull
130
+ request #1877 by Tim Pope.
131
+ * Fix test_self_find_files_with_gemfile to sort expected files. Pull
132
+ request #1878 by Kazuaki Matsuo.
133
+ * Fix typos in CONTRIBUTING.rdoc. Pull request #1909 by Mark Sayson.
134
+ * Fix some small documentation issues in installer. Pull request #1972 by
135
+ Colby Swandale.
136
+ * Fix links in Policies document. Pull request #1964 by Alyssa Ross.
137
+ * Fix NoMethodError on bundler/inline environment. Pull request #2042 by
138
+ SHIBATA Hiroshi.
139
+ * Correct comments for Gem::InstallerTestCase#setup. Pull request #1741 by
140
+ MSP-Greg.
141
+ * Use File.expand_path for certification and key location. Pull request
142
+ #1987 by SHIBATA Hiroshi.
143
+ * Rescue EROFS. Pull request #1417 by Nobuyoshi Nakada.
144
+ * Fix spelling of 'vulnerability'. Pull request #2022 by Philip Arndt.
145
+ * Fix metadata link key names. Pull request #1896 by Aditya Prakash.
146
+ * Fix a typo in uninstall_command.rb. Pull request #1934 by Yasuhiro
147
+ Horimoto.
148
+ * Gem::Requirement.create treat arguments as variable-length. Pull request
149
+ #1830 by Toru YAGI.
150
+ * Display an explanation when rake encounters an ontological problem. Pull
151
+ request #1982 by Wilson Bilkovich.
152
+ * [Server] Handle gems with names ending in `-\d`. Pull request #1926 by
153
+ Samuel Giddins.
154
+ * [InstallerSet] Avoid reloading _all_ local gems multiple times during
155
+ dependency resolution. Pull request #1925 by Samuel Giddins.
156
+ * Modify the return value of Gem::Version.correct?. Pull request #1916 by
157
+ Tsukuru Tanimichi.
158
+ * Validate metadata link keys. Pull request #1834 by Aditya Prakash.
159
+ * Add changelog to metadata validation. Pull request #1885 by Aditya
160
+ Prakash.
161
+ * Replace socket error text message. Pull request #1823 by Daniel Berger.
162
+ * Raise error if the email is invalid when building cert. Pull request
163
+ #1779 by Luis Sagastume.
164
+ * [StubSpecification] Don’t iterate through all loaded specs in #to_spec.
165
+ Pull request #1738 by Samuel Giddins.
166
+
3
167
  === 2.6.14 / 2017-10-09
4
168
 
5
169
  Security fixes:
@@ -12,15 +176,15 @@ Security fixes:
12
176
 
13
177
  Security fixes:
14
178
 
15
- * Fix a DNS request hijacking vulnerability.
16
- Fix by Samuel Giddins.
17
- * Fix an ANSI escape sequence vulnerability.
18
- Fix by Evan Phoenix.
19
- * Fix a DOS vulernerability in the `query` command.
20
- Fix by Samuel Giddins.
21
- * Fix a vulnerability in the gem installer that allowed
22
- a malicious gem to overwrite arbitrary files.
23
- Fix by Samuel Giddins.
179
+ * Fix a DNS request hijacking vulnerability. (CVE-2017-0902)
180
+ Discovered by Jonathan Claudius, fix by Samuel Giddins.
181
+ * Fix an ANSI escape sequence vulnerability. (CVE-2017-0899)
182
+ Discovered by Yusuke Endoh, fix by Evan Phoenix.
183
+ * Fix a DOS vulnerability in the `query` command. (CVE-2017-0900)
184
+ Discovered by Yusuke Endoh, fix by Samuel Giddins.
185
+ * Fix a vulnerability in the gem installer that allowed a malicious gem
186
+ to overwrite arbitrary files. (CVE-2017-0901)
187
+ Discovered by Yusuke Endoh, fix by Samuel Giddins.
24
188
 
25
189
  === 2.6.12 / 2017-04-30
26
190
 
data/Manifest.txt CHANGED
@@ -12,7 +12,7 @@ MAINTAINERS.txt
12
12
  MIT.txt
13
13
  Manifest.txt
14
14
  POLICIES.rdoc
15
- README.rdoc
15
+ README.md
16
16
  Rakefile
17
17
  UPGRADING.rdoc
18
18
  appveyor.yml
@@ -21,16 +21,16 @@ bin/update_rubygems
21
21
  bundler/CHANGELOG.md
22
22
  bundler/CODE_OF_CONDUCT.md
23
23
  bundler/CONTRIBUTING.md
24
- bundler/DEVELOPMENT.md
25
- bundler/ISSUES.md
26
24
  bundler/LICENSE.md
27
25
  bundler/README.md
28
26
  bundler/exe/bundle
29
27
  bundler/exe/bundle_ruby
30
28
  bundler/exe/bundler
31
29
  bundler/lib/bundler.rb
30
+ bundler/lib/bundler/build_metadata.rb
32
31
  bundler/lib/bundler/capistrano.rb
33
32
  bundler/lib/bundler/cli.rb
33
+ bundler/lib/bundler/cli/add.rb
34
34
  bundler/lib/bundler/cli/binstubs.rb
35
35
  bundler/lib/bundler/cli/cache.rb
36
36
  bundler/lib/bundler/cli/check.rb
@@ -41,21 +41,26 @@ bundler/lib/bundler/cli/console.rb
41
41
  bundler/lib/bundler/cli/doctor.rb
42
42
  bundler/lib/bundler/cli/exec.rb
43
43
  bundler/lib/bundler/cli/gem.rb
44
+ bundler/lib/bundler/cli/info.rb
44
45
  bundler/lib/bundler/cli/init.rb
45
46
  bundler/lib/bundler/cli/inject.rb
46
47
  bundler/lib/bundler/cli/install.rb
48
+ bundler/lib/bundler/cli/issue.rb
49
+ bundler/lib/bundler/cli/list.rb
47
50
  bundler/lib/bundler/cli/lock.rb
48
51
  bundler/lib/bundler/cli/open.rb
49
52
  bundler/lib/bundler/cli/outdated.rb
50
53
  bundler/lib/bundler/cli/package.rb
51
54
  bundler/lib/bundler/cli/platform.rb
52
55
  bundler/lib/bundler/cli/plugin.rb
56
+ bundler/lib/bundler/cli/pristine.rb
53
57
  bundler/lib/bundler/cli/show.rb
54
58
  bundler/lib/bundler/cli/update.rb
55
59
  bundler/lib/bundler/cli/viz.rb
56
60
  bundler/lib/bundler/compact_index_client.rb
57
61
  bundler/lib/bundler/compact_index_client/cache.rb
58
62
  bundler/lib/bundler/compact_index_client/updater.rb
63
+ bundler/lib/bundler/compatibility_guard.rb
59
64
  bundler/lib/bundler/constants.rb
60
65
  bundler/lib/bundler/current_ruby.rb
61
66
  bundler/lib/bundler/definition.rb
@@ -91,6 +96,7 @@ bundler/lib/bundler/installer/gem_installer.rb
91
96
  bundler/lib/bundler/installer/parallel_installer.rb
92
97
  bundler/lib/bundler/installer/standalone.rb
93
98
  bundler/lib/bundler/lazy_specification.rb
99
+ bundler/lib/bundler/lockfile_generator.rb
94
100
  bundler/lib/bundler/lockfile_parser.rb
95
101
  bundler/lib/bundler/match_platform.rb
96
102
  bundler/lib/bundler/mirror.rb
@@ -103,10 +109,11 @@ bundler/lib/bundler/plugin/installer.rb
103
109
  bundler/lib/bundler/plugin/installer/git.rb
104
110
  bundler/lib/bundler/plugin/installer/rubygems.rb
105
111
  bundler/lib/bundler/plugin/source_list.rb
106
- bundler/lib/bundler/postit_trampoline.rb
112
+ bundler/lib/bundler/process_lock.rb
107
113
  bundler/lib/bundler/psyched_yaml.rb
108
114
  bundler/lib/bundler/remote_specification.rb
109
115
  bundler/lib/bundler/resolver.rb
116
+ bundler/lib/bundler/resolver/spec_group.rb
110
117
  bundler/lib/bundler/retry.rb
111
118
  bundler/lib/bundler/ruby_dsl.rb
112
119
  bundler/lib/bundler/ruby_version.rb
@@ -115,6 +122,7 @@ bundler/lib/bundler/rubygems_gem_installer.rb
115
122
  bundler/lib/bundler/rubygems_integration.rb
116
123
  bundler/lib/bundler/runtime.rb
117
124
  bundler/lib/bundler/settings.rb
125
+ bundler/lib/bundler/settings/validator.rb
118
126
  bundler/lib/bundler/setup.rb
119
127
  bundler/lib/bundler/shared_helpers.rb
120
128
  bundler/lib/bundler/similarity_detector.rb
@@ -122,6 +130,7 @@ bundler/lib/bundler/source.rb
122
130
  bundler/lib/bundler/source/gemspec.rb
123
131
  bundler/lib/bundler/source/git.rb
124
132
  bundler/lib/bundler/source/git/git_proxy.rb
133
+ bundler/lib/bundler/source/metadata.rb
125
134
  bundler/lib/bundler/source/path.rb
126
135
  bundler/lib/bundler/source/path/installer.rb
127
136
  bundler/lib/bundler/source/rubygems.rb
@@ -135,8 +144,10 @@ bundler/lib/bundler/ssl_certs/rubygems.global.ssl.fastly.net/DigiCertHighAssuran
135
144
  bundler/lib/bundler/ssl_certs/rubygems.org/AddTrustExternalCARoot.pem
136
145
  bundler/lib/bundler/stub_specification.rb
137
146
  bundler/lib/bundler/templates/Executable
147
+ bundler/lib/bundler/templates/Executable.bundler
138
148
  bundler/lib/bundler/templates/Executable.standalone
139
149
  bundler/lib/bundler/templates/Gemfile
150
+ bundler/lib/bundler/templates/gems.rb
140
151
  bundler/lib/bundler/templates/newgem/.travis.yml.tt
141
152
  bundler/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt
142
153
  bundler/lib/bundler/templates/newgem/Gemfile.tt
@@ -163,7 +174,9 @@ bundler/lib/bundler/ui/rg_proxy.rb
163
174
  bundler/lib/bundler/ui/shell.rb
164
175
  bundler/lib/bundler/ui/silent.rb
165
176
  bundler/lib/bundler/uri_credentials_filter.rb
177
+ bundler/lib/bundler/vendor/fileutils/lib/fileutils.rb
166
178
  bundler/lib/bundler/vendor/molinillo/lib/molinillo.rb
179
+ bundler/lib/bundler/vendor/molinillo/lib/molinillo/compatibility.rb
167
180
  bundler/lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb
168
181
  bundler/lib/bundler/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb
169
182
  bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb
@@ -186,12 +199,6 @@ bundler/lib/bundler/vendor/molinillo/lib/molinillo/state.rb
186
199
  bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/faster.rb
187
200
  bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb
188
201
  bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/ssl_reuse.rb
189
- bundler/lib/bundler/vendor/postit/lib/postit.rb
190
- bundler/lib/bundler/vendor/postit/lib/postit/environment.rb
191
- bundler/lib/bundler/vendor/postit/lib/postit/installer.rb
192
- bundler/lib/bundler/vendor/postit/lib/postit/parser.rb
193
- bundler/lib/bundler/vendor/postit/lib/postit/setup.rb
194
- bundler/lib/bundler/vendor/postit/lib/postit/version.rb
195
202
  bundler/lib/bundler/vendor/thor/lib/thor.rb
196
203
  bundler/lib/bundler/vendor/thor/lib/thor/actions.rb
197
204
  bundler/lib/bundler/vendor/thor/lib/thor/actions/create_file.rb
@@ -224,30 +231,43 @@ bundler/lib/bundler/vendor/thor/lib/thor/shell/color.rb
224
231
  bundler/lib/bundler/vendor/thor/lib/thor/shell/html.rb
225
232
  bundler/lib/bundler/vendor/thor/lib/thor/util.rb
226
233
  bundler/lib/bundler/vendor/thor/lib/thor/version.rb
234
+ bundler/lib/bundler/vendored_fileutils.rb
227
235
  bundler/lib/bundler/vendored_molinillo.rb
228
236
  bundler/lib/bundler/vendored_persistent.rb
229
237
  bundler/lib/bundler/vendored_thor.rb
230
238
  bundler/lib/bundler/version.rb
239
+ bundler/lib/bundler/version_ranges.rb
231
240
  bundler/lib/bundler/vlad.rb
232
241
  bundler/lib/bundler/worker.rb
233
242
  bundler/lib/bundler/yaml_serializer.rb
243
+ bundler/man/bundle-add.ronn
234
244
  bundler/man/bundle-binstubs.ronn
245
+ bundler/man/bundle-check.ronn
246
+ bundler/man/bundle-clean.ronn
235
247
  bundler/man/bundle-config.ronn
236
248
  bundler/man/bundle-exec.ronn
237
249
  bundler/man/bundle-gem.ronn
250
+ bundler/man/bundle-info.ronn
251
+ bundler/man/bundle-init.ronn
252
+ bundler/man/bundle-inject.ronn
238
253
  bundler/man/bundle-install.ronn
254
+ bundler/man/bundle-list.ronn
239
255
  bundler/man/bundle-lock.ronn
256
+ bundler/man/bundle-open.ronn
240
257
  bundler/man/bundle-outdated.ronn
241
258
  bundler/man/bundle-package.ronn
242
259
  bundler/man/bundle-platform.ronn
260
+ bundler/man/bundle-pristine.ronn
261
+ bundler/man/bundle-show.ronn
243
262
  bundler/man/bundle-update.ronn
263
+ bundler/man/bundle-viz.ronn
244
264
  bundler/man/bundle.ronn
245
265
  bundler/man/gemfile.5.ronn
246
- bundler/man/index.txt
247
266
  hide_lib_for_update/note.txt
248
267
  lib/rubygems.rb
249
268
  lib/rubygems/available_set.rb
250
269
  lib/rubygems/basic_specification.rb
270
+ lib/rubygems/bundler_version_finder.rb
251
271
  lib/rubygems/command.rb
252
272
  lib/rubygems/command_manager.rb
253
273
  lib/rubygems/commands/build_command.rb
@@ -274,6 +294,8 @@ lib/rubygems/commands/rdoc_command.rb
274
294
  lib/rubygems/commands/search_command.rb
275
295
  lib/rubygems/commands/server_command.rb
276
296
  lib/rubygems/commands/setup_command.rb
297
+ lib/rubygems/commands/signin_command.rb
298
+ lib/rubygems/commands/signout_command.rb
277
299
  lib/rubygems/commands/sources_command.rb
278
300
  lib/rubygems/commands/specification_command.rb
279
301
  lib/rubygems/commands/stale_command.rb
@@ -393,6 +415,7 @@ lib/rubygems/security/policies.rb
393
415
  lib/rubygems/security/policy.rb
394
416
  lib/rubygems/security/signer.rb
395
417
  lib/rubygems/security/trust_dir.rb
418
+ lib/rubygems/security_option.rb
396
419
  lib/rubygems/server.rb
397
420
  lib/rubygems/source.rb
398
421
  lib/rubygems/source/git.rb
@@ -462,7 +485,9 @@ test/rubygems/invalidchild_key.pem
462
485
  test/rubygems/plugin/exception/rubygems_plugin.rb
463
486
  test/rubygems/plugin/load/rubygems_plugin.rb
464
487
  test/rubygems/plugin/standarderror/rubygems_plugin.rb
488
+ test/rubygems/private3072_key.pem
465
489
  test/rubygems/private_key.pem
490
+ test/rubygems/public3072_cert.pem
466
491
  test/rubygems/public_cert.pem
467
492
  test/rubygems/public_cert_32.pem
468
493
  test/rubygems/public_key.pem
@@ -479,6 +504,7 @@ test/rubygems/test_config.rb
479
504
  test/rubygems/test_deprecate.rb
480
505
  test/rubygems/test_gem.rb
481
506
  test/rubygems/test_gem_available_set.rb
507
+ test/rubygems/test_gem_bundler_version_finder.rb
482
508
  test/rubygems/test_gem_command.rb
483
509
  test/rubygems/test_gem_command_manager.rb
484
510
  test/rubygems/test_gem_commands_build_command.rb
@@ -504,6 +530,8 @@ test/rubygems/test_gem_commands_query_command.rb
504
530
  test/rubygems/test_gem_commands_search_command.rb
505
531
  test/rubygems/test_gem_commands_server_command.rb
506
532
  test/rubygems/test_gem_commands_setup_command.rb
533
+ test/rubygems/test_gem_commands_signin_command.rb
534
+ test/rubygems/test_gem_commands_signout_command.rb
507
535
  test/rubygems/test_gem_commands_sources_command.rb
508
536
  test/rubygems/test_gem_commands_specification_command.rb
509
537
  test/rubygems/test_gem_commands_stale_command.rb