rubygems-update 3.1.6 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (553) hide show
  1. checksums.yaml +4 -4
  2. data/CODE_OF_CONDUCT.md +55 -19
  3. data/CONTRIBUTING.md +24 -10
  4. data/History.txt +362 -186
  5. data/Manifest.txt +41 -74
  6. data/POLICIES.md +2 -9
  7. data/README.md +1 -1
  8. data/Rakefile +41 -79
  9. data/bin/update_rubygems +1 -1
  10. data/bundler/CHANGELOG.md +1563 -1426
  11. data/bundler/README.md +6 -8
  12. data/bundler/UPGRADING.md +18 -32
  13. data/bundler/bundler.gemspec +3 -3
  14. data/bundler/exe/bundle +3 -0
  15. data/bundler/lib/bundler.rb +25 -7
  16. data/bundler/lib/bundler/build_metadata.rb +4 -12
  17. data/bundler/lib/bundler/cli.rb +58 -21
  18. data/bundler/lib/bundler/cli/add.rb +1 -1
  19. data/bundler/lib/bundler/cli/binstubs.rb +6 -2
  20. data/bundler/lib/bundler/cli/cache.rb +1 -7
  21. data/bundler/lib/bundler/cli/clean.rb +1 -1
  22. data/bundler/lib/bundler/cli/common.rb +14 -0
  23. data/bundler/lib/bundler/cli/console.rb +1 -1
  24. data/bundler/lib/bundler/cli/doctor.rb +1 -1
  25. data/bundler/lib/bundler/cli/exec.rb +4 -4
  26. data/bundler/lib/bundler/cli/fund.rb +36 -0
  27. data/bundler/lib/bundler/cli/gem.rb +84 -11
  28. data/bundler/lib/bundler/cli/info.rb +15 -4
  29. data/bundler/lib/bundler/cli/init.rb +2 -2
  30. data/bundler/lib/bundler/cli/inject.rb +1 -1
  31. data/bundler/lib/bundler/cli/install.rb +9 -16
  32. data/bundler/lib/bundler/cli/issue.rb +2 -2
  33. data/bundler/lib/bundler/cli/list.rb +12 -10
  34. data/bundler/lib/bundler/cli/outdated.rb +88 -67
  35. data/bundler/lib/bundler/cli/plugin.rb +10 -0
  36. data/bundler/lib/bundler/cli/pristine.rb +5 -0
  37. data/bundler/lib/bundler/cli/show.rb +1 -1
  38. data/bundler/lib/bundler/cli/update.rb +2 -0
  39. data/bundler/lib/bundler/compact_index_client.rb +1 -1
  40. data/bundler/lib/bundler/compact_index_client/cache.rb +1 -1
  41. data/bundler/lib/bundler/compact_index_client/updater.rb +5 -5
  42. data/bundler/lib/bundler/definition.rb +47 -61
  43. data/bundler/lib/bundler/dep_proxy.rb +1 -1
  44. data/bundler/lib/bundler/dependency.rb +0 -9
  45. data/bundler/lib/bundler/dsl.rb +5 -9
  46. data/bundler/lib/bundler/endpoint_specification.rb +1 -1
  47. data/bundler/lib/bundler/env.rb +1 -1
  48. data/bundler/lib/bundler/environment_preserver.rb +26 -2
  49. data/bundler/lib/bundler/errors.rb +1 -0
  50. data/bundler/lib/bundler/feature_flag.rb +0 -3
  51. data/bundler/lib/bundler/fetcher.rb +4 -3
  52. data/bundler/lib/bundler/fetcher/base.rb +1 -1
  53. data/bundler/lib/bundler/fetcher/compact_index.rb +1 -1
  54. data/bundler/lib/bundler/fetcher/downloader.rb +1 -1
  55. data/bundler/lib/bundler/fetcher/index.rb +3 -4
  56. data/bundler/lib/bundler/friendly_errors.rb +22 -13
  57. data/bundler/lib/bundler/gem_helper.rb +32 -17
  58. data/bundler/lib/bundler/gem_helpers.rb +6 -1
  59. data/bundler/lib/bundler/gem_version_promoter.rb +2 -2
  60. data/bundler/lib/bundler/graph.rb +1 -1
  61. data/bundler/lib/bundler/index.rb +6 -2
  62. data/bundler/lib/bundler/injector.rb +22 -4
  63. data/bundler/lib/bundler/inline.rb +1 -1
  64. data/bundler/lib/bundler/installer.rb +35 -32
  65. data/bundler/lib/bundler/installer/gem_installer.rb +3 -3
  66. data/bundler/lib/bundler/installer/parallel_installer.rb +10 -10
  67. data/bundler/lib/bundler/installer/standalone.rb +2 -2
  68. data/bundler/lib/bundler/lazy_specification.rb +20 -9
  69. data/bundler/lib/bundler/lockfile_generator.rb +1 -1
  70. data/bundler/lib/bundler/lockfile_parser.rb +1 -1
  71. data/bundler/lib/bundler/man/.document +1 -0
  72. data/bundler/{man/bundle-add.ronn → lib/bundler/man/bundle-add.1.ronn} +0 -0
  73. data/bundler/{man/bundle-binstubs.ronn → lib/bundler/man/bundle-binstubs.1.ronn} +2 -4
  74. data/bundler/{man/bundle-cache.ronn → lib/bundler/man/bundle-cache.1.ronn} +0 -0
  75. data/bundler/{man/bundle-check.ronn → lib/bundler/man/bundle-check.1.ronn} +0 -0
  76. data/bundler/{man/bundle-clean.ronn → lib/bundler/man/bundle-clean.1.ronn} +0 -0
  77. data/bundler/{man/bundle-config.ronn → lib/bundler/man/bundle-config.1.ronn} +19 -30
  78. data/bundler/{man/bundle-doctor.ronn → lib/bundler/man/bundle-doctor.1.ronn} +0 -0
  79. data/bundler/{man/bundle-exec.ronn → lib/bundler/man/bundle-exec.1.ronn} +0 -0
  80. data/bundler/{man/bundle-gem.ronn → lib/bundler/man/bundle-gem.1.ronn} +30 -7
  81. data/bundler/{man/bundle-info.ronn → lib/bundler/man/bundle-info.1.ronn} +0 -0
  82. data/bundler/{man/bundle-init.ronn → lib/bundler/man/bundle-init.1.ronn} +0 -0
  83. data/bundler/{man/bundle-inject.ronn → lib/bundler/man/bundle-inject.1.ronn} +0 -0
  84. data/bundler/{man/bundle-install.ronn → lib/bundler/man/bundle-install.1.ronn} +25 -3
  85. data/bundler/{man/bundle-list.ronn → lib/bundler/man/bundle-list.1.ronn} +6 -6
  86. data/bundler/{man/bundle-lock.ronn → lib/bundler/man/bundle-lock.1.ronn} +0 -0
  87. data/bundler/{man/bundle-open.ronn → lib/bundler/man/bundle-open.1.ronn} +0 -0
  88. data/bundler/{man/bundle-outdated.ronn → lib/bundler/man/bundle-outdated.1.ronn} +0 -0
  89. data/bundler/{man/bundle-platform.ronn → lib/bundler/man/bundle-platform.1.ronn} +0 -0
  90. data/bundler/{man/bundle-pristine.ronn → lib/bundler/man/bundle-pristine.1.ronn} +0 -0
  91. data/bundler/{man/bundle-remove.ronn → lib/bundler/man/bundle-remove.1.ronn} +0 -0
  92. data/bundler/{man/bundle-show.ronn → lib/bundler/man/bundle-show.1.ronn} +0 -0
  93. data/bundler/{man/bundle-update.ronn → lib/bundler/man/bundle-update.1.ronn} +0 -0
  94. data/bundler/{man/bundle-viz.ronn → lib/bundler/man/bundle-viz.1.ronn} +0 -0
  95. data/bundler/{man/bundle.ronn → lib/bundler/man/bundle.1.ronn} +0 -0
  96. data/bundler/{man → lib/bundler/man}/gemfile.5.ronn +4 -4
  97. data/bundler/lib/bundler/mirror.rb +2 -2
  98. data/bundler/lib/bundler/plugin.rb +30 -5
  99. data/bundler/lib/bundler/plugin/api/source.rb +1 -1
  100. data/bundler/lib/bundler/plugin/dsl.rb +1 -1
  101. data/bundler/lib/bundler/plugin/index.rb +10 -1
  102. data/bundler/lib/bundler/plugin/installer.rb +1 -1
  103. data/bundler/lib/bundler/plugin/installer/rubygems.rb +1 -1
  104. data/bundler/lib/bundler/plugin/source_list.rb +1 -1
  105. data/bundler/lib/bundler/psyched_yaml.rb +0 -15
  106. data/bundler/lib/bundler/remote_specification.rb +5 -2
  107. data/bundler/lib/bundler/resolver.rb +32 -10
  108. data/bundler/lib/bundler/resolver/spec_group.rb +27 -6
  109. data/bundler/lib/bundler/retry.rb +1 -1
  110. data/bundler/lib/bundler/ruby_version.rb +1 -1
  111. data/bundler/lib/bundler/rubygems_ext.rb +53 -9
  112. data/bundler/lib/bundler/rubygems_gem_installer.rb +3 -9
  113. data/bundler/lib/bundler/rubygems_integration.rb +25 -54
  114. data/bundler/lib/bundler/runtime.rb +4 -14
  115. data/bundler/lib/bundler/settings.rb +49 -46
  116. data/bundler/lib/bundler/shared_helpers.rb +2 -2
  117. data/bundler/lib/bundler/similarity_detector.rb +1 -1
  118. data/bundler/lib/bundler/source.rb +1 -1
  119. data/bundler/lib/bundler/source/git.rb +5 -5
  120. data/bundler/lib/bundler/source/git/git_proxy.rb +57 -60
  121. data/bundler/lib/bundler/source/path.rb +7 -3
  122. data/bundler/lib/bundler/source/path/installer.rb +8 -10
  123. data/bundler/lib/bundler/source/rubygems.rb +13 -16
  124. data/bundler/lib/bundler/source/rubygems/remote.rb +1 -1
  125. data/bundler/lib/bundler/source_list.rb +2 -2
  126. data/bundler/lib/bundler/spec_set.rb +2 -1
  127. data/bundler/lib/bundler/stub_specification.rb +17 -5
  128. data/bundler/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +57 -47
  129. data/bundler/lib/bundler/templates/newgem/Gemfile.tt +9 -1
  130. data/bundler/lib/bundler/templates/newgem/README.md.tt +1 -2
  131. data/bundler/lib/bundler/templates/newgem/Rakefile.tt +19 -5
  132. data/bundler/lib/bundler/templates/newgem/bin/console.tt +1 -0
  133. data/bundler/lib/bundler/templates/newgem/circleci/config.yml.tt +13 -0
  134. data/bundler/lib/bundler/templates/newgem/ext/newgem/extconf.rb.tt +2 -0
  135. data/bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt +18 -0
  136. data/bundler/lib/bundler/templates/newgem/gitlab-ci.yml.tt +9 -0
  137. data/bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt +4 -2
  138. data/bundler/lib/bundler/templates/newgem/lib/newgem/version.rb.tt +2 -0
  139. data/bundler/lib/bundler/templates/newgem/newgem.gemspec.tt +14 -6
  140. data/bundler/lib/bundler/templates/newgem/rubocop.yml.tt +10 -0
  141. data/bundler/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt +2 -0
  142. data/bundler/lib/bundler/templates/newgem/spec/spec_helper.rb.tt +2 -1
  143. data/bundler/lib/bundler/templates/newgem/test/{newgem_test.rb.tt → minitest/newgem_test.rb.tt} +2 -0
  144. data/bundler/lib/bundler/templates/newgem/test/{test_helper.rb.tt → minitest/test_helper.rb.tt} +2 -0
  145. data/bundler/lib/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt +15 -0
  146. data/bundler/lib/bundler/templates/newgem/test/test-unit/test_helper.rb.tt +6 -0
  147. data/bundler/lib/bundler/ui/shell.rb +5 -5
  148. data/bundler/lib/bundler/uri_credentials_filter.rb +3 -1
  149. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo.rb +0 -1
  150. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +34 -1
  151. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +2 -2
  152. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +1 -1
  153. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata.rb +1 -1
  154. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb +38 -40
  155. data/bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +75 -189
  156. data/bundler/lib/bundler/vendor/thor/lib/thor.rb +0 -7
  157. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +2 -1
  158. data/bundler/lib/bundler/vendor/thor/lib/thor/base.rb +9 -0
  159. data/bundler/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
  160. data/bundler/lib/bundler/vendor/tmpdir/lib/tmpdir.rb +154 -0
  161. data/bundler/lib/bundler/vendored_persistent.rb +0 -7
  162. data/bundler/lib/bundler/vendored_tmpdir.rb +4 -0
  163. data/bundler/lib/bundler/version.rb +1 -1
  164. data/bundler/lib/bundler/worker.rb +1 -1
  165. data/bundler/lib/bundler/yaml_serializer.rb +1 -1
  166. data/bundler/man/bundle-add.1 +1 -1
  167. data/bundler/man/bundle-binstubs.1 +5 -3
  168. data/bundler/man/bundle-cache.1 +1 -1
  169. data/bundler/man/bundle-check.1 +1 -1
  170. data/bundler/man/bundle-clean.1 +1 -1
  171. data/bundler/man/bundle-config.1 +16 -25
  172. data/bundler/man/bundle-doctor.1 +1 -1
  173. data/bundler/man/bundle-exec.1 +1 -1
  174. data/bundler/man/bundle-gem.1 +25 -3
  175. data/bundler/man/bundle-info.1 +1 -1
  176. data/bundler/man/bundle-init.1 +1 -1
  177. data/bundler/man/bundle-inject.1 +1 -1
  178. data/bundler/man/bundle-install.1 +30 -3
  179. data/bundler/man/bundle-list.1 +7 -7
  180. data/bundler/man/bundle-lock.1 +1 -1
  181. data/bundler/man/bundle-open.1 +1 -1
  182. data/bundler/man/bundle-outdated.1 +1 -1
  183. data/bundler/man/bundle-platform.1 +1 -1
  184. data/bundler/man/bundle-pristine.1 +1 -1
  185. data/bundler/man/bundle-remove.1 +1 -1
  186. data/bundler/man/bundle-show.1 +1 -1
  187. data/bundler/man/bundle-update.1 +1 -1
  188. data/bundler/man/bundle-viz.1 +1 -1
  189. data/bundler/man/bundle.1 +1 -1
  190. data/bundler/man/gemfile.5 +4 -4
  191. data/lib/rubygems.rb +71 -150
  192. data/lib/rubygems/available_set.rb +4 -6
  193. data/lib/rubygems/basic_specification.rb +11 -9
  194. data/lib/rubygems/bundler_version_finder.rb +14 -9
  195. data/lib/rubygems/command.rb +16 -16
  196. data/lib/rubygems/command_manager.rb +5 -6
  197. data/lib/rubygems/commands/build_command.rb +40 -20
  198. data/lib/rubygems/commands/cert_command.rb +2 -10
  199. data/lib/rubygems/commands/check_command.rb +0 -2
  200. data/lib/rubygems/commands/cleanup_command.rb +11 -7
  201. data/lib/rubygems/commands/contents_command.rb +4 -6
  202. data/lib/rubygems/commands/dependency_command.rb +6 -8
  203. data/lib/rubygems/commands/environment_command.rb +1 -3
  204. data/lib/rubygems/commands/fetch_command.rb +2 -4
  205. data/lib/rubygems/commands/generate_index_command.rb +0 -2
  206. data/lib/rubygems/commands/help_command.rb +3 -3
  207. data/lib/rubygems/commands/info_command.rb +8 -5
  208. data/lib/rubygems/commands/install_command.rb +3 -5
  209. data/lib/rubygems/commands/list_command.rb +8 -7
  210. data/lib/rubygems/commands/lock_command.rb +1 -3
  211. data/lib/rubygems/commands/mirror_command.rb +0 -2
  212. data/lib/rubygems/commands/open_command.rb +0 -4
  213. data/lib/rubygems/commands/outdated_command.rb +0 -2
  214. data/lib/rubygems/commands/owner_command.rb +9 -3
  215. data/lib/rubygems/commands/pristine_command.rb +11 -5
  216. data/lib/rubygems/commands/push_command.rb +10 -46
  217. data/lib/rubygems/commands/query_command.rb +14 -344
  218. data/lib/rubygems/commands/rdoc_command.rb +0 -2
  219. data/lib/rubygems/commands/search_command.rb +7 -7
  220. data/lib/rubygems/commands/server_command.rb +3 -1
  221. data/lib/rubygems/commands/setup_command.rb +131 -58
  222. data/lib/rubygems/commands/signin_command.rb +0 -2
  223. data/lib/rubygems/commands/signout_command.rb +0 -2
  224. data/lib/rubygems/commands/sources_command.rb +6 -4
  225. data/lib/rubygems/commands/specification_command.rb +8 -4
  226. data/lib/rubygems/commands/stale_command.rb +1 -3
  227. data/lib/rubygems/commands/uninstall_command.rb +1 -3
  228. data/lib/rubygems/commands/unpack_command.rb +1 -3
  229. data/lib/rubygems/commands/update_command.rb +59 -14
  230. data/lib/rubygems/commands/which_command.rb +0 -2
  231. data/lib/rubygems/commands/yank_command.rb +4 -6
  232. data/lib/rubygems/config_file.rb +11 -4
  233. data/lib/rubygems/core_ext/kernel_require.rb +5 -2
  234. data/lib/rubygems/core_ext/kernel_warn.rb +12 -13
  235. data/lib/rubygems/defaults.rb +101 -7
  236. data/lib/rubygems/dependency.rb +3 -8
  237. data/lib/rubygems/dependency_installer.rb +5 -78
  238. data/lib/rubygems/dependency_list.rb +7 -9
  239. data/lib/rubygems/deprecate.rb +46 -1
  240. data/lib/rubygems/doctor.rb +4 -4
  241. data/lib/rubygems/errors.rb +3 -14
  242. data/lib/rubygems/exceptions.rb +2 -33
  243. data/lib/rubygems/ext.rb +6 -6
  244. data/lib/rubygems/ext/build_error.rb +2 -0
  245. data/lib/rubygems/ext/builder.rb +14 -35
  246. data/lib/rubygems/ext/cmake_builder.rb +5 -7
  247. data/lib/rubygems/ext/configure_builder.rb +4 -6
  248. data/lib/rubygems/ext/ext_conf_builder.rb +21 -19
  249. data/lib/rubygems/ext/rake_builder.rb +3 -5
  250. data/lib/rubygems/gem_runner.rb +3 -10
  251. data/lib/rubygems/gemcutter_utilities.rb +91 -15
  252. data/lib/rubygems/indexer.rb +1 -22
  253. data/lib/rubygems/install_update_options.rb +7 -7
  254. data/lib/rubygems/installer.rb +59 -57
  255. data/lib/rubygems/installer_test_case.rb +25 -11
  256. data/lib/rubygems/installer_uninstaller_utils.rb +24 -0
  257. data/lib/rubygems/local_remote_options.rb +1 -1
  258. data/lib/rubygems/mock_gem_ui.rb +0 -6
  259. data/lib/rubygems/name_tuple.rb +3 -7
  260. data/lib/rubygems/openssl.rb +7 -0
  261. data/lib/rubygems/package.rb +14 -25
  262. data/lib/rubygems/package/digest_io.rb +0 -2
  263. data/lib/rubygems/package/file_source.rb +0 -2
  264. data/lib/rubygems/package/io_source.rb +0 -2
  265. data/lib/rubygems/package/old.rb +1 -3
  266. data/lib/rubygems/package/tar_header.rb +4 -6
  267. data/lib/rubygems/package/tar_reader.rb +0 -3
  268. data/lib/rubygems/package/tar_reader/entry.rb +0 -3
  269. data/lib/rubygems/package/tar_test_case.rb +2 -4
  270. data/lib/rubygems/package/tar_writer.rb +2 -12
  271. data/lib/rubygems/package_task.rb +1 -7
  272. data/lib/rubygems/path_support.rb +1 -3
  273. data/lib/rubygems/platform.rb +21 -12
  274. data/lib/rubygems/psych_tree.rb +0 -2
  275. data/lib/rubygems/query_utils.rb +353 -0
  276. data/lib/rubygems/rdoc.rb +0 -12
  277. data/lib/rubygems/remote_fetcher.rb +10 -27
  278. data/lib/rubygems/request.rb +4 -11
  279. data/lib/rubygems/request/connection_pools.rb +1 -5
  280. data/lib/rubygems/request/http_pool.rb +0 -2
  281. data/lib/rubygems/request/https_pool.rb +0 -2
  282. data/lib/rubygems/request_set.rb +5 -7
  283. data/lib/rubygems/request_set/gem_dependency_api.rb +5 -7
  284. data/lib/rubygems/request_set/lockfile.rb +8 -12
  285. data/lib/rubygems/request_set/lockfile/parser.rb +0 -2
  286. data/lib/rubygems/request_set/lockfile/tokenizer.rb +1 -3
  287. data/lib/rubygems/requirement.rb +20 -21
  288. data/lib/rubygems/resolver.rb +8 -11
  289. data/lib/rubygems/resolver/activation_request.rb +9 -3
  290. data/lib/rubygems/resolver/api_set.rb +3 -5
  291. data/lib/rubygems/resolver/api_specification.rb +20 -7
  292. data/lib/rubygems/resolver/best_set.rb +0 -2
  293. data/lib/rubygems/resolver/composed_set.rb +3 -5
  294. data/lib/rubygems/resolver/conflict.rb +2 -4
  295. data/lib/rubygems/resolver/current_set.rb +0 -2
  296. data/lib/rubygems/resolver/dependency_request.rb +1 -3
  297. data/lib/rubygems/resolver/git_set.rb +0 -2
  298. data/lib/rubygems/resolver/git_specification.rb +0 -2
  299. data/lib/rubygems/resolver/index_set.rb +1 -3
  300. data/lib/rubygems/resolver/index_specification.rb +11 -2
  301. data/lib/rubygems/resolver/installed_specification.rb +0 -2
  302. data/lib/rubygems/resolver/installer_set.rb +4 -7
  303. data/lib/rubygems/resolver/local_specification.rb +0 -2
  304. data/lib/rubygems/resolver/lock_set.rb +2 -4
  305. data/lib/rubygems/resolver/lock_specification.rb +0 -2
  306. data/lib/rubygems/resolver/molinillo/lib/molinillo.rb +6 -5
  307. data/lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb +7 -0
  308. data/lib/rubygems/resolver/molinillo/lib/molinillo/delegates/specification_provider.rb +1 -0
  309. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb +39 -5
  310. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/action.rb +1 -0
  311. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +2 -1
  312. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +2 -1
  313. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +2 -1
  314. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +2 -1
  315. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/log.rb +7 -6
  316. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/set_payload.rb +2 -1
  317. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/tag.rb +4 -3
  318. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/vertex.rb +43 -10
  319. data/lib/rubygems/resolver/molinillo/lib/molinillo/errors.rb +75 -7
  320. data/lib/rubygems/resolver/molinillo/lib/molinillo/gem_metadata.rb +2 -1
  321. data/lib/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb +1 -0
  322. data/lib/rubygems/resolver/molinillo/lib/molinillo/modules/ui.rb +3 -1
  323. data/lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb +506 -165
  324. data/lib/rubygems/resolver/molinillo/lib/molinillo/resolver.rb +3 -2
  325. data/lib/rubygems/resolver/molinillo/lib/molinillo/state.rb +8 -4
  326. data/lib/rubygems/resolver/requirement_list.rb +0 -2
  327. data/lib/rubygems/resolver/set.rb +0 -2
  328. data/lib/rubygems/resolver/source_set.rb +0 -2
  329. data/lib/rubygems/resolver/spec_specification.rb +0 -2
  330. data/lib/rubygems/resolver/specification.rb +1 -3
  331. data/lib/rubygems/resolver/stats.rb +0 -2
  332. data/lib/rubygems/resolver/vendor_set.rb +0 -2
  333. data/lib/rubygems/resolver/vendor_specification.rb +0 -2
  334. data/lib/rubygems/s3_uri_signer.rb +2 -8
  335. data/lib/rubygems/safe_yaml.rb +4 -4
  336. data/lib/rubygems/security.rb +27 -34
  337. data/lib/rubygems/security/policy.rb +4 -8
  338. data/lib/rubygems/security/signer.rb +5 -7
  339. data/lib/rubygems/security/trust_dir.rb +1 -3
  340. data/lib/rubygems/server.rb +9 -11
  341. data/lib/rubygems/source.rb +13 -7
  342. data/lib/rubygems/source/git.rb +7 -8
  343. data/lib/rubygems/source/installed.rb +0 -2
  344. data/lib/rubygems/source/local.rb +2 -4
  345. data/lib/rubygems/source/lock.rb +0 -2
  346. data/lib/rubygems/source/specific_file.rb +0 -2
  347. data/lib/rubygems/source/vendor.rb +0 -2
  348. data/lib/rubygems/source_list.rb +4 -7
  349. data/lib/rubygems/spec_fetcher.rb +19 -18
  350. data/lib/rubygems/specification.rb +101 -118
  351. data/lib/rubygems/specification_policy.rb +79 -29
  352. data/lib/rubygems/stub_specification.rb +1 -5
  353. data/lib/rubygems/syck_hack.rb +0 -2
  354. data/lib/rubygems/test_case.rb +78 -122
  355. data/lib/rubygems/test_utilities.rb +6 -14
  356. data/lib/rubygems/uninstaller.rb +35 -16
  357. data/lib/rubygems/uri_formatter.rb +2 -3
  358. data/lib/rubygems/uri_parser.rb +0 -2
  359. data/lib/rubygems/user_interaction.rb +1 -26
  360. data/lib/rubygems/util.rb +8 -2
  361. data/lib/rubygems/util/licenses.rb +4 -6
  362. data/lib/rubygems/util/list.rb +0 -2
  363. data/lib/rubygems/validator.rb +1 -3
  364. data/lib/rubygems/version.rb +4 -6
  365. data/lib/rubygems/version_option.rb +6 -0
  366. data/rubygems-update.gemspec +2 -2
  367. data/setup.rb +2 -7
  368. data/test/rubygems/plugin/load/rubygems_plugin.rb +0 -2
  369. data/test/rubygems/rubygems/commands/crash_command.rb +0 -2
  370. data/test/rubygems/rubygems_plugin.rb +0 -2
  371. data/test/rubygems/specifications/bar-0.0.2.gemspec +0 -2
  372. data/test/rubygems/specifications/rubyforge-0.0.1.gemspec +0 -2
  373. data/test/rubygems/test_bundled_ca.rb +41 -48
  374. data/test/rubygems/test_config.rb +0 -2
  375. data/test/rubygems/test_deprecate.rb +40 -7
  376. data/test/rubygems/test_gem.rb +82 -79
  377. data/test/rubygems/test_gem_available_set.rb +3 -5
  378. data/test/rubygems/test_gem_bundler_version_finder.rb +19 -3
  379. data/test/rubygems/test_gem_command.rb +24 -7
  380. data/test/rubygems/test_gem_command_manager.rb +36 -5
  381. data/test/rubygems/test_gem_commands_build_command.rb +233 -15
  382. data/test/rubygems/test_gem_commands_cert_command.rb +4 -6
  383. data/test/rubygems/test_gem_commands_check_command.rb +0 -2
  384. data/test/rubygems/test_gem_commands_cleanup_command.rb +14 -5
  385. data/test/rubygems/test_gem_commands_contents_command.rb +50 -19
  386. data/test/rubygems/test_gem_commands_dependency_command.rb +0 -2
  387. data/test/rubygems/test_gem_commands_environment_command.rb +21 -23
  388. data/test/rubygems/test_gem_commands_fetch_command.rb +0 -2
  389. data/test/rubygems/test_gem_commands_generate_index_command.rb +1 -7
  390. data/test/rubygems/test_gem_commands_help_command.rb +15 -4
  391. data/test/rubygems/test_gem_commands_info_command.rb +6 -8
  392. data/test/rubygems/test_gem_commands_install_command.rb +32 -34
  393. data/test/rubygems/test_gem_commands_list_command.rb +0 -2
  394. data/test/rubygems/test_gem_commands_lock_command.rb +0 -2
  395. data/test/rubygems/test_gem_commands_mirror.rb +1 -3
  396. data/test/rubygems/test_gem_commands_open_command.rb +4 -6
  397. data/test/rubygems/test_gem_commands_outdated_command.rb +0 -2
  398. data/test/rubygems/test_gem_commands_owner_command.rb +59 -5
  399. data/test/rubygems/test_gem_commands_pristine_command.rb +43 -12
  400. data/test/rubygems/test_gem_commands_push_command.rb +38 -9
  401. data/test/rubygems/test_gem_commands_query_command.rb +12 -12
  402. data/test/rubygems/test_gem_commands_search_command.rb +0 -2
  403. data/test/rubygems/test_gem_commands_server_command.rb +0 -2
  404. data/test/rubygems/test_gem_commands_setup_command.rb +165 -124
  405. data/test/rubygems/test_gem_commands_signin_command.rb +33 -9
  406. data/test/rubygems/test_gem_commands_signout_command.rb +0 -7
  407. data/test/rubygems/test_gem_commands_sources_command.rb +60 -2
  408. data/test/rubygems/test_gem_commands_specification_command.rb +46 -20
  409. data/test/rubygems/test_gem_commands_stale_command.rb +0 -2
  410. data/test/rubygems/test_gem_commands_uninstall_command.rb +1 -3
  411. data/test/rubygems/test_gem_commands_unpack_command.rb +0 -2
  412. data/test/rubygems/test_gem_commands_update_command.rb +116 -7
  413. data/test/rubygems/test_gem_commands_which_command.rb +3 -5
  414. data/test/rubygems/test_gem_commands_yank_command.rb +44 -8
  415. data/test/rubygems/test_gem_config_file.rb +7 -12
  416. data/test/rubygems/test_gem_dependency.rb +0 -2
  417. data/test/rubygems/test_gem_dependency_installer.rb +90 -193
  418. data/test/rubygems/test_gem_dependency_list.rb +10 -12
  419. data/test/rubygems/test_gem_dependency_resolution_error.rb +1 -3
  420. data/test/rubygems/test_gem_doctor.rb +28 -2
  421. data/test/rubygems/test_gem_ext_builder.rb +26 -47
  422. data/test/rubygems/test_gem_ext_cmake_builder.rb +16 -23
  423. data/test/rubygems/test_gem_ext_configure_builder.rb +4 -20
  424. data/test/rubygems/test_gem_ext_ext_conf_builder.rb +9 -29
  425. data/test/rubygems/test_gem_ext_rake_builder.rb +14 -24
  426. data/test/rubygems/test_gem_gem_runner.rb +44 -1
  427. data/test/rubygems/test_gem_gemcutter_utilities.rb +8 -5
  428. data/test/rubygems/test_gem_impossible_dependencies_error.rb +0 -2
  429. data/test/rubygems/test_gem_indexer.rb +9 -15
  430. data/test/rubygems/test_gem_install_update_options.rb +14 -4
  431. data/test/rubygems/test_gem_installer.rb +256 -59
  432. data/test/rubygems/test_gem_local_remote_options.rb +0 -2
  433. data/test/rubygems/test_gem_name_tuple.rb +0 -2
  434. data/test/rubygems/test_gem_package.rb +38 -31
  435. data/test/rubygems/test_gem_package_old.rb +4 -6
  436. data/test/rubygems/test_gem_package_tar_header.rb +18 -1
  437. data/test/rubygems/test_gem_package_tar_reader.rb +0 -2
  438. data/test/rubygems/test_gem_package_tar_reader_entry.rb +0 -2
  439. data/test/rubygems/test_gem_package_tar_writer.rb +4 -6
  440. data/test/rubygems/test_gem_package_task.rb +46 -13
  441. data/test/rubygems/test_gem_path_support.rb +0 -2
  442. data/test/rubygems/test_gem_platform.rb +63 -6
  443. data/test/rubygems/test_gem_rdoc.rb +0 -2
  444. data/test/rubygems/test_gem_remote_fetcher.rb +168 -211
  445. data/test/rubygems/test_gem_request.rb +13 -17
  446. data/test/rubygems/test_gem_request_connection_pools.rb +0 -4
  447. data/test/rubygems/test_gem_request_set.rb +20 -22
  448. data/test/rubygems/test_gem_request_set_gem_dependency_api.rb +3 -5
  449. data/test/rubygems/test_gem_request_set_lockfile.rb +4 -6
  450. data/test/rubygems/test_gem_request_set_lockfile_parser.rb +9 -11
  451. data/test/rubygems/test_gem_request_set_lockfile_tokenizer.rb +118 -120
  452. data/test/rubygems/test_gem_requirement.rb +10 -4
  453. data/test/rubygems/test_gem_resolver.rb +6 -8
  454. data/test/rubygems/test_gem_resolver_activation_request.rb +0 -2
  455. data/test/rubygems/test_gem_resolver_api_set.rb +11 -13
  456. data/test/rubygems/test_gem_resolver_api_specification.rb +0 -2
  457. data/test/rubygems/test_gem_resolver_best_set.rb +2 -4
  458. data/test/rubygems/test_gem_resolver_composed_set.rb +0 -2
  459. data/test/rubygems/test_gem_resolver_conflict.rb +1 -3
  460. data/test/rubygems/test_gem_resolver_dependency_request.rb +0 -2
  461. data/test/rubygems/test_gem_resolver_git_set.rb +0 -2
  462. data/test/rubygems/test_gem_resolver_git_specification.rb +0 -2
  463. data/test/rubygems/test_gem_resolver_index_set.rb +2 -4
  464. data/test/rubygems/test_gem_resolver_index_specification.rb +0 -2
  465. data/test/rubygems/test_gem_resolver_installed_specification.rb +0 -2
  466. data/test/rubygems/test_gem_resolver_installer_set.rb +7 -9
  467. data/test/rubygems/test_gem_resolver_local_specification.rb +0 -2
  468. data/test/rubygems/test_gem_resolver_lock_set.rb +3 -5
  469. data/test/rubygems/test_gem_resolver_lock_specification.rb +0 -2
  470. data/test/rubygems/test_gem_resolver_requirement_list.rb +0 -2
  471. data/test/rubygems/test_gem_resolver_specification.rb +0 -4
  472. data/test/rubygems/test_gem_resolver_vendor_set.rb +1 -3
  473. data/test/rubygems/test_gem_resolver_vendor_specification.rb +0 -2
  474. data/test/rubygems/test_gem_security.rb +22 -24
  475. data/test/rubygems/test_gem_security_policy.rb +7 -12
  476. data/test/rubygems/test_gem_security_signer.rb +10 -12
  477. data/test/rubygems/test_gem_security_trust_dir.rb +4 -6
  478. data/test/rubygems/test_gem_server.rb +10 -14
  479. data/test/rubygems/test_gem_silent_ui.rb +0 -2
  480. data/test/rubygems/test_gem_source.rb +17 -16
  481. data/test/rubygems/test_gem_source_fetch_problem.rb +0 -2
  482. data/test/rubygems/test_gem_source_git.rb +12 -13
  483. data/test/rubygems/test_gem_source_installed.rb +7 -9
  484. data/test/rubygems/test_gem_source_list.rb +1 -2
  485. data/test/rubygems/test_gem_source_local.rb +8 -10
  486. data/test/rubygems/test_gem_source_lock.rb +10 -12
  487. data/test/rubygems/test_gem_source_specific_file.rb +7 -9
  488. data/test/rubygems/test_gem_source_subpath_problem.rb +49 -0
  489. data/test/rubygems/test_gem_source_vendor.rb +7 -9
  490. data/test/rubygems/test_gem_spec_fetcher.rb +11 -4
  491. data/test/rubygems/test_gem_specification.rb +156 -125
  492. data/test/rubygems/test_gem_stream_ui.rb +3 -3
  493. data/test/rubygems/test_gem_stub_specification.rb +4 -6
  494. data/test/rubygems/test_gem_text.rb +1 -3
  495. data/test/rubygems/test_gem_uninstaller.rb +134 -12
  496. data/test/rubygems/test_gem_unsatisfiable_dependency_error.rb +0 -2
  497. data/test/rubygems/test_gem_uri_formatter.rb +0 -2
  498. data/test/rubygems/test_gem_util.rb +7 -7
  499. data/test/rubygems/test_gem_validator.rb +1 -3
  500. data/test/rubygems/test_gem_version.rb +1 -3
  501. data/test/rubygems/test_gem_version_option.rb +1 -3
  502. data/test/rubygems/test_kernel.rb +10 -14
  503. data/test/rubygems/test_project_sanity.rb +7 -2
  504. data/test/rubygems/test_remote_fetch_error.rb +0 -2
  505. data/test/rubygems/test_require.rb +191 -60
  506. metadata +60 -94
  507. data/.bundle/config +0 -2
  508. data/.rubocop.yml +0 -91
  509. data/Gemfile +0 -8
  510. data/Gemfile.lock +0 -43
  511. data/bundler/CODE_OF_CONDUCT.md +0 -136
  512. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/compatibility.rb +0 -26
  513. data/bundler/man/bundle-add.1.txt +0 -58
  514. data/bundler/man/bundle-binstubs.1.txt +0 -48
  515. data/bundler/man/bundle-cache.1.txt +0 -78
  516. data/bundler/man/bundle-check.1.txt +0 -33
  517. data/bundler/man/bundle-clean.1.txt +0 -26
  518. data/bundler/man/bundle-config.1.txt +0 -528
  519. data/bundler/man/bundle-doctor.1.txt +0 -44
  520. data/bundler/man/bundle-exec.1.txt +0 -178
  521. data/bundler/man/bundle-gem.1.txt +0 -91
  522. data/bundler/man/bundle-info.1.txt +0 -21
  523. data/bundler/man/bundle-init.1.txt +0 -34
  524. data/bundler/man/bundle-inject.1.txt +0 -32
  525. data/bundler/man/bundle-install.1.txt +0 -401
  526. data/bundler/man/bundle-list.1.txt +0 -43
  527. data/bundler/man/bundle-lock.1.txt +0 -93
  528. data/bundler/man/bundle-open.1.txt +0 -29
  529. data/bundler/man/bundle-outdated.1.txt +0 -131
  530. data/bundler/man/bundle-platform.1.txt +0 -57
  531. data/bundler/man/bundle-pristine.1.txt +0 -44
  532. data/bundler/man/bundle-remove.1.txt +0 -34
  533. data/bundler/man/bundle-show.1.txt +0 -27
  534. data/bundler/man/bundle-update.1.txt +0 -390
  535. data/bundler/man/bundle-viz.1.txt +0 -39
  536. data/bundler/man/bundle.1.txt +0 -116
  537. data/bundler/man/gemfile.5.txt +0 -649
  538. data/lib/rubygems/source_local.rb +0 -7
  539. data/lib/rubygems/source_specific_file.rb +0 -6
  540. data/lib/ubygems.rb +0 -14
  541. data/tmp/.keep +0 -0
  542. data/util/CL2notes +0 -55
  543. data/util/bisect +0 -10
  544. data/util/ci.sh +0 -62
  545. data/util/cops/deprecations.rb +0 -52
  546. data/util/create_certs.rb +0 -171
  547. data/util/create_certs.sh +0 -27
  548. data/util/create_encrypted_key.rb +0 -16
  549. data/util/generate_spdx_license_list.rb +0 -63
  550. data/util/patch_with_prs.rb +0 -77
  551. data/util/rubocop +0 -8
  552. data/util/update_bundled_ca_certificates.rb +0 -137
  553. data/util/update_changelog.rb +0 -64
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf1897c1f4290a7c09ac7fc031441915d225aaa7ffab473229a244310eaa39ac
4
- data.tar.gz: d6aef4fc02c767b99957e4dfaff7818399b9fb59de550d23bee19256b618a5f6
3
+ metadata.gz: 8e535991039093b466602143c2faf7a2a20bfa8321710f2dd5cf0b148dce1c61
4
+ data.tar.gz: 39a3eb132fab5eac5a07517f0b7d8554d9ae645d49040226e38f092dc641cd0a
5
5
  SHA512:
6
- metadata.gz: 2421931e30162b92a93891c80eb17bd3d78a135da9019f49a18ce701bf4ca1fa7731260f4cc6de1342a74accceb8df21024ccd5042cbefa9a89cf67c69528a54
7
- data.tar.gz: 131eb583b3864dec611fab7574a8ebf75cc796288ed2a4c43e96d6b53d24509f282e83fa36b2851ad5e5c21b6d8f78fc3fadc3da974575428b3489d3d28d3a88
6
+ metadata.gz: a206521bd4393212b53f4f281d501c9e7fbeec8fb9dab8a863e7590037998c371ca55da029ba569fff6898efe07e22a8b9ec46924f13fdd975aadcca9a03e015
7
+ data.tar.gz: 38c0dc3e7ea2961b1fd8020948a83ee2caa527a5355c975748c57efdd17fd23a85c82d2e90e6a39d59ac3a3cd6799ae319fcb0892b94e0bceec4fcac720f2017
data/CODE_OF_CONDUCT.md CHANGED
@@ -1,45 +1,81 @@
1
- # Contributor Code of Conduct
1
+ # RubyGems and Bundler Code of Conduct
2
2
 
3
3
  ## Our Pledge
4
4
 
5
- In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
6
8
 
7
9
  ## Our Standards
8
10
 
9
- Examples of behavior that contributes to creating a positive environment include:
11
+ Examples of behavior that contributes to a positive environment for our community include:
10
12
 
11
- * Using welcoming and inclusive language
12
- * Being respectful of differing viewpoints and experiences
13
- * Gracefully accepting constructive criticism
14
- * Focusing on what is best for the community
15
- * Showing empathy towards other community members
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
16
18
 
17
- Examples of unacceptable behavior by participants include:
19
+ Examples of unacceptable behavior include:
18
20
 
19
- * The use of sexualized language or imagery and unwelcome sexual attention or advances
20
- * Trolling, insulting/derogatory comments, and personal or political attacks
21
+ * The use of sexualized language or imagery, and sexual attention or advances of any kind
22
+ * Trolling, insulting or derogatory comments, and personal or political attacks
21
23
  * Public or private harassment
22
- * Publishing others' private information, such as a physical or electronic address, without explicit permission
24
+ * Publishing others' private information, such as a physical or email address, without their explicit permission
23
25
  * Other conduct which could reasonably be considered inappropriate in a professional setting
24
26
 
25
- ## Our Responsibilities
27
+ ## Enforcement Responsibilities
26
28
 
27
- Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
29
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
28
30
 
29
- Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
31
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
30
32
 
31
33
  ## Scope
32
34
 
33
- This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
35
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
34
36
 
35
37
  ## Enforcement
36
38
 
37
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the [project team](MAINTAINERS.txt). All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
39
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at team@bundler.io, or directly contacting project team members via email or Slack. All complaints will be reviewed and investigated promptly and fairly.
40
+
41
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
42
+
43
+ ## Enforcement Guidelines
44
+
45
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
46
+
47
+ ### 1. Correction
48
+
49
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
50
+
51
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
52
+
53
+ ### 2. Warning
54
+
55
+ **Community Impact**: A violation through a single incident or series of actions.
38
56
 
39
- Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership.
57
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
58
+
59
+ ### 3. Temporary Ban
60
+
61
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
62
+
63
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
64
+
65
+ ### 4. Permanent Ban
66
+
67
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
68
+
69
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
40
70
 
41
71
  ## Attribution
42
72
 
43
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
73
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
74
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
75
+
76
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
44
77
 
45
78
  [homepage]: https://www.contributor-covenant.org
79
+
80
+ For answers to common questions about this code of conduct, see the FAQ at
81
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/CONTRIBUTING.md CHANGED
@@ -42,7 +42,6 @@ To run commands like `gem install` from the repo:
42
42
  To run bundler test:
43
43
 
44
44
  $ cd bundler
45
- $ git submodule update --init --recursive
46
45
  $ bin/rake spec:deps
47
46
  $ bin/rspec spec
48
47
 
@@ -65,27 +64,42 @@ can help with. That are marked with a light gray `contribution: *`
65
64
 
66
65
  ### Type
67
66
 
68
- Most Issues or pull requests will have a light green `type: *` label, which
69
- describes the type of the issue or pull request.
67
+ Issues might have a light green `type: *` label, which describes the type of
68
+ the issue.
70
69
 
71
70
  * **bug report** - An issue describing a bug in rubygems. This would be
72
71
  something that is broken, confusing, unexpected behavior etc.
73
- * **bug fix** - A pull request that fixes a bug report.
74
72
  * **feature request** - An issue describing a request for a new feature or
75
73
  enhancement.
76
- * **feature implementation** - A pull request implementing a feature
77
- request.
78
74
  * **question** - An issue that is a more of a question than a call for
79
75
  specific changes in the codebase.
80
- * **cleanup** - Generally for a pull request that improves the code base
81
- without fixing a bug or implementing a feature.
82
- * **major bump** - This issue or pull request requires a major version bump
76
+ * **cleanup** - An issue that proposes cleanups to the code base without
77
+ fixing a bug or implementing a feature.
78
+ * **major bump** - This issue request requires a major version bump
83
79
  * **administrative** - This issue relates to administrative tasks that need
84
80
  to take place as it relates to rubygems
85
81
  * **documentation** - This issue relates to improving the documentation for
86
82
  in this repo. Note that much of the rubygems documentation is here:
87
83
  https://github.com/rubygems/guides
88
84
 
85
+ Pull request might have a light orange `rubygems: *` or a light blue `bundler:
86
+ *` label which describes the pull request according to the following criteria:
87
+
88
+ * **security fix** - A pull request that fixes a security issue.
89
+ * **breaking change** - A pull request including any change that requires a
90
+ major version bump.
91
+ * **major enhancement** - A pull request including a backwards compatible
92
+ change worth a special mention in the changelog
93
+ * **deprecation** - A pull request that introduces a deprecation.
94
+ * **feature** - A pull request implementing a feature request.
95
+ * **deprecation** - A pull request that implements a performance improvement.
96
+ * **documentation** - A pull request introducing documentation improvements
97
+ worth mentioning to end users.
98
+ * **minor enhancements** - A pull request introducing small but user visible changes.
99
+ * **bug fix** - A pull request that fixes a bug report.
100
+
101
+ In the case of `bundler`, these labels are set by maintainers on PRs and have
102
+ special importance because they are used to automatically build the changelog.
89
103
 
90
104
  ### Workflow / Status
91
105
 
@@ -152,7 +166,7 @@ an appropriate purple `platform: *` label. Current platform labels:
152
166
  ### Git
153
167
 
154
168
  Please sign your commits. Although not required in order for you to contribute,
155
- it does ensures that any code submitted by you wasn't altered while you were
169
+ it ensures that any code submitted by you wasn't altered while you were
156
170
  transferring it, and proves that it was you who submitted it and not someone
157
171
  else.
158
172
 
data/History.txt CHANGED
@@ -1,21 +1,205 @@
1
- # coding: UTF-8
1
+ === 3.2.0 / 2020-12-7
2
+
3
+ Enhancements:
4
+
5
+ * Do not override Kernel#warn when there is no need. Pull request #4075 by
6
+ eregon
7
+ * Update endpoint of gem signin command. Pull request #3840 by sonalkr132
8
+ * Omit deprecated commands from command help output. Pull request #4023 by
9
+ landongrindheim
10
+ * Suggest alternatives in `gem query` deprecation. Pull request #4021 by
11
+ landongrindheim
12
+ * Lazily load `time`, `cgi`, and `zlib`. Pull request #4010 by
13
+ deivid-rodriguez
14
+ * Don't hit the network when installing dependencyless local gemspec. Pull
15
+ request #3968 by deivid-rodriguez
16
+ * Add `--force` option to `gem sources` command. Pull request #3956 by
17
+ andy-smith-msm
18
+ * Lazily load `openssl`. Pull request #3850 by deivid-rodriguez
19
+ * Pass more information when comparing platforms. Pull request #3817 by
20
+ eregon
2
21
 
3
- === 3.1.6 / 2021-01-26
22
+ Bug fixes:
23
+
24
+ * Use better owner & group for files in rubygems package. Pull request
25
+ #4065 by deivid-rodriguez
26
+ * Improve gem build -C flag. Pull request #3983 by bronzdoc
27
+ * Handle unexpected behavior with URI#merge and subpaths missing trailing
28
+ slashes. Pull request #3123 by drcapulet
29
+ * Add missing `fileutils` require in rubygems installer. Pull request
30
+ #4036 by deivid-rodriguez
31
+ * Fix `--platform` option to `gem specification` being ignored. Pull
32
+ request #4043 by deivid-rodriguez
33
+ * Expose `--no-minimal-deps` flag to install the latest version of
34
+ dependencies. Pull request #4030 by deivid-rodriguez
35
+ * Fix "stack level too deep" error when overriding `Warning.warn`. Pull
36
+ request #3987 by eregon
37
+ * Append '.gemspec' extension only when it is not present. Pull request
38
+ #3988 by voxik
39
+ * Install to correct plugins dir when using `--build-root`. Pull request
40
+ #3972 by deivid-rodriguez
41
+ * Fix `--build-root` flag under Windows. Pull request #3975 by
42
+ deivid-rodriguez
43
+ * Fix `typo_squatting?` false positive for `rubygems.org` itself. Pull
44
+ request #3951 by andy-smith-msm
45
+ * Make `--default` and `--install-dir` options to `gem install` play nice
46
+ together. Pull request #3906 by deivid-rodriguez
47
+
48
+ Deprecations:
49
+
50
+ * Deprecate server command. Pull request #3868 by bronzdoc
51
+
52
+ Performance:
53
+
54
+ * Don't change ruby process CWD when building extensions. Pull request
55
+ #3498 by deivid-rodriguez
56
+
57
+ === 3.2.0.rc.2 / 2020-10-8
4
58
 
5
59
  Minor enhancements:
6
60
 
7
- * Improve require. Pull request #3133 by David Rodríguez.
8
- * Simplify nested gem activation exceptions. Pull request #3450 by David
9
- Rodríguez.
10
- * Fix correctness and performance regression in `require`. Pull request
11
- #3639 by David Rodríguez.
61
+ * Make --dry-run flag consistent across rubygems commands. Pull request
62
+ #3867 by bronzdoc
63
+ * Disallow downgrades to too old versions. Pull request #3566 by
64
+ deivid-rodriguez
65
+ * Added `--platform` option to `build` command. Pull request #3079 by nobu
66
+ * Have "gem update --system" pass through the `--silent` flag. Pull
67
+ request #3789 by duckinator
68
+ * Add writable check for cache dir. Pull request #3876 by xndcn
69
+ * Warn on duplicate dependency in a specification. Pull request #3864 by
70
+ bronzdoc
71
+ * Fix indentation in `gem env`. Pull request #3861 by colby-swandale
72
+ * Let more exceptions flow. Pull request #3819 by deivid-rodriguez
73
+ * Ignore internal frames in RubyGems' Kernel#warn. Pull request #3810 by
74
+ eregon
75
+
76
+ Bug fixes:
77
+
78
+ * Add missing fileutils require. Pull request #3911 by deivid-rodriguez
79
+ * Fix false positive warning on Windows when PATH has
80
+ `File::ALT_SEPARATOR`. Pull request #3829 by deivid-rodriguez
81
+ * Fix Kernel#warn override to handle backtrace location with nil path.
82
+ Pull request #3852 by jeremyevans
83
+ * Don't format executables on `gem update --system`. Pull request #3811 by
84
+ deivid-rodriguez
85
+ * `gem install --user` fails with `Gem::FilePermissionError` on the system
86
+ plugins directory. Pull request #3804 by nobu
87
+
88
+ Performance:
12
89
 
13
- === 3.1.5 / 2020-12-09
90
+ * Avoid duplicated generation of APISpecification objects. Pull request
91
+ #3940 by mame
92
+ * Eval defaults with frozen_string_literal: true. Pull request #3847 by
93
+ casperisfine
94
+ * Deduplicate the requirement operators in memory. Pull request #3846 by
95
+ casperisfine
96
+ * Optimize Gem.already_loaded?. Pull request #3793 by casperisfine
97
+
98
+ === 3.2.0.rc.1 / 2020-07-04
99
+
100
+ Major enhancements:
101
+
102
+ * Test TruffleRuby in CI. Pull request #2797 by Benoit Daloze.
103
+ * Rework plugins system and speed up rubygems. Pull request #3108 by David
104
+ Rodríguez.
14
105
 
15
106
  Minor enhancements:
16
107
 
17
- * Add GlobalSign Root CA - R3 cert and remove outdated certs. Pull request #4100
18
- by Aditya Prakash.
108
+ * Specify explicit separator not to be affected by $;. Pull request #3424
109
+ by Nobuyoshi Nakada.
110
+ * Enable `Layout/ExtraSpacing` cop. Pull request #3449 by David Rodríguez.
111
+ * Rollback gem deprecate. Pull request #3530 by Luis Sagastume.
112
+ * Normalize heredoc delimiters. Pull request #3533 by David Rodríguez.
113
+ * Log messages to stdout in `rake package`. Pull request #3632 by David
114
+ Rodríguez.
115
+ * Remove explicit `psych` activation. Pull request #3636 by David
116
+ Rodríguez.
117
+ * Delay `fileutils` loading to fix some warnings. Pull request #3637 by
118
+ David Rodríguez.
119
+ * Make sure rubygems/package can be directly required reliably. Pull
120
+ request #3670 by Luis Sagastume.
121
+ * Make sure `tmp` folder exists before calling `Dir.tmpdir`. Pull request
122
+ #3711 by David Rodríguez.
123
+ * Add Gem.disable_system_update_message to disable gem update --system if
124
+ needed. Pull request #3720 by Josef Šimánek.
125
+ * Tweaks to play nice with ruby-core setup. Pull request #3733 by David
126
+ Rodríguez.
127
+ * Remove explicit require for auto-loaded constant. Pull request #3751 by
128
+ Karol Bucek.
129
+ * Test files should not be included in spec.files. Pull request #3758 by
130
+ Marc-André Lafortune.
131
+ * Remove TODO comment about warning on setting instead of pushing. Pull
132
+ request #2823 by Luis Sagastume.
133
+ * Add deprecate command method. Pull request #2935 by Luis Sagastume.
134
+ * Simplify deprecate command method. Pull request #2974 by Luis Sagastume.
135
+ * Fix Gem::LOADED_SPECS_MUTEX handling for recursive locking. Pull request
136
+ #2985 by MSP-Greg.
137
+ * Add `funding_uri ` metadata field to gemspec. Pull request #3060 by
138
+ Colby Swandale.
139
+ * Updates to some old gem-signing docs. Pull request #3063 by Tieg
140
+ Zaharia.
141
+ * Update the gem method for Gem::Installer. Pull request #3137 by Daniel
142
+ Berger.
143
+ * Simplify initial gem help output. Pull request #3148 by Olivier Lacan.
144
+ * Resolve latest version via `gem contents`. Pull request #3149 by Dan
145
+ Rice.
146
+ * Install suggestions. Pull request #3151 by Sophia Castellarin.
147
+ * Only rescue the errors we actually want to rescue. Pull request #3156 by
148
+ David Rodríguez.
149
+
150
+ Bug fixes:
151
+
152
+ * Accept not only /usr/bin/env but also /bin/env in some tests. Pull
153
+ request #3422 by Yusuke Endoh.
154
+ * Skip a test that attempts to remove the current directory on Solaris.
155
+ Pull request #3423 by Yusuke Endoh.
156
+ * Fix race condition on bundler's parallel installer. Pull request #3440
157
+ by David Rodríguez.
158
+ * Fix platform comparison check in #contains_requirable_file?. Pull
159
+ request #3495 by Benoit Daloze.
160
+ * Improve missing spec error. Pull request #3559 by Luis Sagastume.
161
+ * Fix hidden bundler template installation from rubygems updater. Pull
162
+ request #3674 by David Rodríguez.
163
+ * Fix gem update --user-install. Pull request #2901 by Luis Sagastume.
164
+ * Correct conflict list when uninstallation is prevented. Pull request
165
+ #2973 by David Rodríguez.
166
+ * Fix error when trying to find bundler with a deleted "working directo….
167
+ Pull request #3090 by Luis Sagastume.
168
+ * Fix -I require priority. Pull request #3124 by David Rodríguez.
169
+ * Fix `ruby setup.rb` for new plugins layout. Pull request #3144 by David
170
+ Rodríguez.
171
+
172
+ Deprecations:
173
+
174
+ * Set deprecation warning on query command. Pull request #2967 by Luis
175
+ Sagastume.
176
+
177
+ Breaking changes:
178
+
179
+ * Remove ruby 1.8 leftovers. Pull request #3442 by David Rodríguez.
180
+ * Minitest cleanup. Pull request #3445 by David Rodríguez.
181
+ * Remove `builder` gem requirement for `gem regenerate_index`. Pull
182
+ request #3552 by David Rodríguez.
183
+ * Remove modelines for consistency. Pull request #3714 by David Rodríguez.
184
+ * Stop using deprecated OpenSSL::Digest constants. Pull request #3763 by
185
+ Bart de Water.
186
+ * Remove Gem module deprecated methods. Pull request #3101 by Luis
187
+ Sagastume.
188
+ * Remove ubygems.rb. Pull request #3102 by Luis Sagastume.
189
+ * Remove Gem::Commands::QueryCommand. Pull request #3104 by Luis
190
+ Sagastume.
191
+ * Remove dependency installer deprecated methods. Pull request #3106 by
192
+ Luis Sagastume.
193
+ * Remove Gem::UserInteraction#debug method. Pull request #3107 by Luis
194
+ Sagastume.
195
+ * Remove options from Gem::GemRunner.new. Pull request #3110 by Luis
196
+ Sagastume.
197
+ * Remove deprecated Gem::RemoteFetcher#fetch_size. Pull request #3111 by
198
+ Luis Sagastume.
199
+ * Remove source_exception from Gem::Exception. Pull request #3112 by Luis
200
+ Sagastume.
201
+ * Requiring rubygems/source_specific_file is deprecated, remove it. Pull
202
+ request #3114 by Luis Sagastume.
19
203
 
20
204
  === 3.1.4 / 2020-06-03
21
205
 
@@ -106,12 +290,15 @@ Bug fixes:
106
290
  * Remove configuration that contained a typo. Pull request #2989 by David
107
291
  Rodríguez.
108
292
 
109
- Compatibility changes:
293
+ Deprecations:
110
294
 
111
- * Remove 1.8.7 leftovers. Pull request #2972 by David Rodríguez.
112
295
  * Deprecate `gem generate_index --modern` and `gem generate_index
113
296
  --no-modern`. Pull request #2992 by David Rodríguez.
114
297
 
298
+ Breaking changes:
299
+
300
+ * Remove 1.8.7 leftovers. Pull request #2972 by David Rodríguez.
301
+
115
302
  === 3.1.0.pre3 / 2019-11-11
116
303
 
117
304
  Minor enhancements:
@@ -310,29 +497,33 @@ Bug fixes:
310
497
  * Fix cryptic error on local and ignore-dependencies combination. Pull
311
498
  request #2650 by David Rodríguez.
312
499
 
313
- Compatibility changes:
500
+ Deprecations:
314
501
 
315
- * Remove commented code from command.rb. Pull request #2620 by Luis
502
+ * Make deprecate Gem::RubyGemsVersion and Gem::ConfigMap. Pull request
503
+ #2857 by SHIBATA Hiroshi.
504
+ * Deprecate Gem::RemoteFetcher#fetch_size. Pull request #2833 by Luis
505
+ Sagastume.
506
+ * Explicitly deprecate `rubyforge_project`. Pull request #2798 by David
507
+ Rodríguez.
508
+ * Deprecate unused Gem::Installer#unpack method. Pull request #2715 by Vít
509
+ Ondruch.
510
+ * Deprecate a few unused methods. Pull request #2674 by David Rodríguez.
511
+ * Add deprecation warnings for cli options. Pull request #2607 by Luis
316
512
  Sagastume.
513
+
514
+ Breaking changes:
515
+
317
516
  * Suppress keywords warning. Pull request #2934 by Nobuyoshi Nakada.
318
517
  * Suppress Ruby 2.7's real kwargs warning. Pull request #2912 by Koichi
319
518
  ITO.
320
519
  * Fix Kernel#warn override. Pull request #2911 by Jeremy Evans.
321
- * Make deprecate Gem::RubyGemsVersion and Gem::ConfigMap. Pull request
322
- #2857 by SHIBATA Hiroshi.
323
- * Deprecate Gem::RemoteFetcher#fetch_size. Pull request #2833 by Luis
324
- Sagastume.
325
520
  * Remove conflict.rb code that was supposed to be removed in Rubygems 3.
326
521
  Pull request #2802 by Luis Sagastume.
327
- * Explicitly deprecate `rubyforge_project`. Pull request #2798 by David
328
- Rodríguez.
329
522
  * Compatibility cleanups. Pull request #2754 by David Rodríguez.
330
523
  * Remove `others_possible` activation request param. Pull request #2747 by
331
524
  David Rodríguez.
332
525
  * Remove dependency installer deprecated code. Pull request #2740 by Luis
333
526
  Sagastume.
334
- * Deprecate unused Gem::Installer#unpack method. Pull request #2715 by Vít
335
- Ondruch.
336
527
  * Removed guard condition with USE_BUNDLER_FOR_GEMDEPS. Pull request #2716
337
528
  by SHIBATA Hiroshi.
338
529
  * Skip deprecation warning during specs. Pull request #2718 by David
@@ -341,24 +532,26 @@ Compatibility changes:
341
532
  * Removed circular require. Pull request #2679 by Nobuyoshi Nakada.
342
533
  * Removed needless environmental variable for Travis CI. Pull request
343
534
  #2685 by SHIBATA Hiroshi.
344
- * Deprecate a few unused methods. Pull request #2674 by David Rodríguez.
345
535
  * Removing yaml require. Pull request #2538 by Luciano Sousa.
346
- * Add deprecation warnings for cli options. Pull request #2607 by Luis
347
- Sagastume.
348
536
 
349
- Style changes:
537
+ === 3.0.8 / 2020-02-19
350
538
 
351
- * Enable `Layout/SpaceInsideParens` rubocop cop. Pull request #2630 by
352
- David Rodríguez.
353
- * Remove some extra empty lines from the repo. Pull request #2669 by David
354
- Rodríguez.
355
- * Enable Style/EmptyLinesAroundClassBody rubocop cop. Pull request #2636
356
- by David Rodríguez.
357
- * Enable Style/BlockDelimiters rubocop cop. Pull request #2640 by David
358
- Rodríguez.
359
- * Enable Layout/SpaceAroundOperators rubocop cop. Pull request #2642 by
360
- David Rodríguez.
361
- * Rubocop 0.71. Pull request #2785 by David Rodríguez.
539
+ Bug fixes:
540
+
541
+ * Gem::Specification#to_ruby needs OpenSSL. Pull request #2937 by
542
+ Nobuyoshi Nakada.
543
+
544
+ === 3.0.7 / 2020-02-18
545
+
546
+ Bug fixes:
547
+
548
+ * Fix underscore version selection for bundler #2908 by David Rodríguez.
549
+ * Add missing wrapper. Pull request #2690 by David Rodríguez.
550
+ * Make Gem::Specification#ruby_code handle OpenSSL::PKey::RSA objects.
551
+ Pull request #2782 by Luis Sagastume.
552
+ * Installer.rb - fix #windows_stub_script. Pull request #2876 by MSP-Greg.
553
+ * Use IAM role to extract security-credentials for EC2 instance. Pull
554
+ request #2894 by Alexander Pakulov.
362
555
 
363
556
  === 3.0.6 / 2019-08-17
364
557
 
@@ -478,7 +671,6 @@ Bug fixes:
478
671
 
479
672
  Security fixes:
480
673
 
481
- * Fixed following vulnerabilities:
482
674
  * CVE-2019-8320: Delete directory using symlink when decompressing tar
483
675
  * CVE-2019-8321: Escape sequence injection vulnerability in `verbose`
484
676
  * CVE-2019-8322: Escape sequence injection vulnerability in `gem owner`
@@ -553,7 +745,7 @@ Minor enhancements:
553
745
  Swandale.
554
746
  * Add Gem.operating_system_defaults to allow packagers to override
555
747
  defaults. Pull request #2116 by Vít Ondruch.
556
- * Update for compatibilty with new minitest. Pull request #2118 by
748
+ * Update for compatibility with new minitest. Pull request #2118 by
557
749
  MSP-Greg.
558
750
  * Make Windows bin stubs portable. Pull request #2119 by MSP-Greg.
559
751
  * Avoid to warnings about gemspec loadings in rubygems tests. Pull request
@@ -585,11 +777,11 @@ Minor enhancements:
585
777
  SHIBATA Hiroshi.
586
778
  * Add Rake task to install dev dependencies. Pull request #2173 by Ellen
587
779
  Marie Dash.
588
- * Add new sections to the README and explaination of what RubyGems is.
780
+ * Add new sections to the README and explanation of what RubyGems is.
589
781
  Pull request #2174 by Colby Swandale.
590
782
  * Prefer to use `Numeric#zero?` instead of `== 0`. Pull request #2176 by
591
783
  SHIBATA Hiroshi.
592
- * Ignore perfomance test of version regexp pattern. Pull request #2179 by
784
+ * Ignore performance test of version regexp pattern. Pull request #2179 by
593
785
  SHIBATA Hiroshi.
594
786
  * Ignore .DS_Store files in the update_manifest task. Pull request #2199
595
787
  by Colby Swandale.
@@ -737,7 +929,7 @@ Bug fixes:
737
929
  * Fix tests when --program-suffix and similar ruby configure options are
738
930
  used. Pull request #2529 by Jeremy Evans.
739
931
 
740
- Compatibility changes:
932
+ Breaking changes:
741
933
 
742
934
  * IO.binread is not provided at Ruby 1.8. Pull request #2093 by SHIBATA
743
935
  Hiroshi.
@@ -790,29 +982,6 @@ Compatibility changes:
790
982
  * [BudlerVersionFinder] set .filter! and .compatible? to match only on
791
983
  major versions. Pull request #2515 by Colby Swandale.
792
984
 
793
- Style changes:
794
-
795
- * Add Rubocop. Pull request #2250 by Colby Swandale.
796
- * Removed explicitly declaration of thread library. Pull request #2324 by
797
- SHIBATA Hiroshi.
798
- * Remove Trailing whitespace with rubocop. Pull request #2394 by SHIBATA
799
- Hiroshi.
800
- * Update rubocop and also use correct pessimistic version. Pull request
801
- #2404 by Colby Swandale.
802
- * Enable more rubocop rules. Pull request #2435 by Ellen Marie Dash.
803
- * Fix and lock rubocop. Pull request #2465 by David Rodríguez.
804
- * Add a rubocop binstub. Pull request #2468 by David Rodríguez.
805
- * Restore the `rubocop` task. Pull request #2470 by David Rodríguez.
806
- * Remove trailing blank lines. Pull request #2471 by David Rodríguez.
807
- * Remove empty lines around method bodies. Pull request #2473 by David
808
- Rodríguez.
809
- * Enable Style/MethodDefParentheses in Rubocop. Pull request #2478 by
810
- Colby Swandale.
811
- * Enable Style/MultilineIfThen in Rubocop. Pull request #2479 by Luis
812
- Sagastume.
813
- * Remove trailing 'then' from generated code. Pull request #2480 by Luis
814
- Sagastume.
815
-
816
985
  === 2.7.10 / 2019-06-14
817
986
 
818
987
  Minor enhancements:
@@ -821,13 +990,12 @@ Minor enhancements:
821
990
  by David Rodríguez.
822
991
  * [BudlerVersionFinder] set .filter! and .compatible? to match only on major versions.
823
992
  Pull request #2515 by Colby Swandale.
824
- + Update for compatibilty with new minitest. Pull request #2118 by MSP-Greg.
993
+ + Update for compatibility with new minitest. Pull request #2118 by MSP-Greg.
825
994
 
826
995
  === 2.7.9 / 2019-03-05
827
996
 
828
997
  Security fixes:
829
998
 
830
- * Fixed following vulnerabilities:
831
999
  * CVE-2019-8320: Delete directory using symlink when decompressing tar
832
1000
  * CVE-2019-8321: Escape sequence injection vulnerability in `verbose`
833
1001
  * CVE-2019-8322: Escape sequence injection vulnerability in `gem owner`
@@ -899,13 +1067,16 @@ Bug fixes:
899
1067
  * Fix path checks for case insensitive filesystem. Pull request #2211 by
900
1068
  Lars Kanis.
901
1069
 
902
- Compatibility changes:
1070
+ Deprecations:
903
1071
 
904
1072
  * Deprecate unused code before removing them at #1524. Pull request #2197
905
1073
  by SHIBATA Hiroshi.
906
1074
  * Deprecate for rubygems 3. Pull request #2214 by SHIBATA Hiroshi.
907
1075
  * Mark deprecation to `ubygems.rb` for RubyGems 4. Pull request #2269 by
908
1076
  SHIBATA Hiroshi.
1077
+
1078
+ Breaking changes:
1079
+
909
1080
  * Update bundler-1.16.2. Pull request #2291 by SHIBATA Hiroshi.
910
1081
 
911
1082
  === 2.7.6 / 2018-02-16
@@ -917,7 +1088,7 @@ Security fixes:
917
1088
  * Fix possible Unsafe Object Deserialization Vulnerability in gem owner.
918
1089
  Fixed by Jonathan Claudius.
919
1090
  * Strictly interpret octal fields in tar headers.
920
- Discoved by plover, fixed by Samuel Giddins.
1091
+ Discovered by plover, fixed by Samuel Giddins.
921
1092
  * Raise a security error when there are duplicate files in a package.
922
1093
  Discovered by plover, fixed by Samuel Giddins.
923
1094
  * Enforce URL validation on spec homepage attribute.
@@ -1098,11 +1269,8 @@ Minor enhancements:
1098
1269
  * Warn when requiring deprecated files. Pull request #1939 by Ellen Marie
1099
1270
  Dash.
1100
1271
 
1101
- Compatibility changes:
1272
+ Deprecations:
1102
1273
 
1103
- * Use `-rrubygems` instead of `-rubygems.rb`. Because ubygems.rb is
1104
- unavailable on Ruby 2.5. Pull request #2028 #2027 #2029
1105
- by SHIBATA Hiroshi.
1106
1274
  * Deprecate Gem::InstallerTestCase#util_gem_bindir and
1107
1275
  Gem::InstallerTestCase#util_gem_dir. Pull request #1729 by Jon Moss.
1108
1276
  * Deprecate passing options to Gem::GemRunner. Pull request #1730 by Jon
@@ -1110,6 +1278,12 @@ Compatibility changes:
1110
1278
  * Add deprecation for Gem#datadir. Pull request #1732 by Jon Moss.
1111
1279
  * Add deprecation warning for Gem::DependencyInstaller#gems_to_install.
1112
1280
  Pull request #1731 by Jon Moss.
1281
+
1282
+ Breaking changes:
1283
+
1284
+ * Use `-rrubygems` instead of `-rubygems.rb`. Because ubygems.rb is
1285
+ unavailable on Ruby 2.5. Pull request #2028 #2027 #2029
1286
+ by SHIBATA Hiroshi.
1113
1287
  * Update Code of Conduct to Contributor Covenant v1.4.0. Pull request
1114
1288
  #1796 by Matej.
1115
1289
 
@@ -2514,7 +2688,7 @@ Bug fixes:
2514
2688
 
2515
2689
  === 2.0.3 / 2013-03-11
2516
2690
 
2517
- * Bug fixes:
2691
+ Bug fixes:
2518
2692
  * Reverted automatic upgrade to HTTPS as it breaks RubyGems APIs. Fixes
2519
2693
  #506 by André Arko
2520
2694
  * Use File.realpath to remove extra / while checking if files are
@@ -2531,7 +2705,7 @@ Bug fixes:
2531
2705
 
2532
2706
  === 2.0.2 / 2013-03-06
2533
2707
 
2534
- * Bug fixes:
2708
+ Bug fixes:
2535
2709
  * HTTPS URLs are preferred over HTTP URLs. RubyGems will now attempt to
2536
2710
  upgrade any HTTP source to HTTPS. Credit to Alex Gaynor.
2537
2711
  * SSL Certificates are now installed properly. Fixes #491 by hemanth.hm
@@ -2539,7 +2713,7 @@ Bug fixes:
2539
2713
 
2540
2714
  === 2.0.1 / 2013-03-05
2541
2715
 
2542
- * Bug fixes:
2716
+ Bug fixes:
2543
2717
  * Lazily load RubyGems.org API credentials to avoid failure during
2544
2718
  RubyGems installation. Bug #465 by Isaac Sanders.
2545
2719
  * RubyGems now picks the latest prerelease to install. Fixes bug #468 by
@@ -2573,7 +2747,7 @@ newer. Older versions of bundler will not work with RubyGems 2.0.
2573
2747
 
2574
2748
  Changes since RubyGems 1.8.25 (including past pre-releases):
2575
2749
 
2576
- * Breaking changes:
2750
+ Breaking changes:
2577
2751
 
2578
2752
  * Deprecated Gem.unresolved_deps in favor of
2579
2753
  Gem::Specification.unresolved_deps
@@ -2595,7 +2769,7 @@ Changes since RubyGems 1.8.25 (including past pre-releases):
2595
2769
  * Removed support for Ruby 1.9.1
2596
2770
  * Removed many deprecated methods
2597
2771
 
2598
- * Major enhancements:
2772
+ Major enhancements:
2599
2773
 
2600
2774
  * Improved support for default gems shipping with ruby 2.0.0+
2601
2775
  * A gem can have arbitrary metadata through Gem::Specification#metadata
@@ -2614,7 +2788,7 @@ Changes since RubyGems 1.8.25 (including past pre-releases):
2614
2788
  Set RUBYGEMS_GEMDEPS=path to have it loaded. Use - as the path
2615
2789
  to autodetect (current and parent directories are searched).
2616
2790
 
2617
- * Minor enhancements:
2791
+ Minor enhancements:
2618
2792
  * Added `gem check --doctor` to clean up after failed uninstallation. Bug
2619
2793
  #419 by Erik Hollensbe
2620
2794
  * RubyGems no longer defaults to uninstalling gems if a dependency would be
@@ -2657,7 +2831,7 @@ Changes since RubyGems 1.8.25 (including past pre-releases):
2657
2831
  GEM_HOME
2658
2832
  * When building gems with non-world-readable files a warning is shown.
2659
2833
 
2660
- * Bug fixes:
2834
+ Bug fixes:
2661
2835
  * Gem.refresh now maintains the active gem list. Clearing the list would
2662
2836
  cause double-loads which would cause other bugs. Pull Request #427 by
2663
2837
  Jeremy Evans
@@ -2714,7 +2888,7 @@ Changes since RubyGems 1.8.25 (including past pre-releases):
2714
2888
 
2715
2889
  Changes since RubyGems 2.0.0.rc.2:
2716
2890
 
2717
- * Bug fixes:
2891
+ Bug fixes:
2718
2892
  * Gem.gzip and Gem.gunzip now return strings with BINARY encoding. Issue
2719
2893
  #450 by Jeremy Kemper
2720
2894
  * Fixed placement of executables with --user-install. Ruby bug #7779 by Jon
@@ -2729,7 +2903,7 @@ Changes since RubyGems 2.0.0.rc.2:
2729
2903
 
2730
2904
  === 2.0.0.rc.2 / 2013-02-08
2731
2905
 
2732
- * Bug fixes:
2906
+ Bug fixes:
2733
2907
  * Fixed signature verification of gems which was broken only on master.
2734
2908
  Thanks to Brian Buchanan.
2735
2909
  * Proper exceptions are raised when verifying an unsigned gem. Thanks to
@@ -2737,13 +2911,13 @@ Changes since RubyGems 2.0.0.rc.2:
2737
2911
 
2738
2912
  === 2.0.0.rc.1 / 2013-01-08
2739
2913
 
2740
- * Minor enhancements:
2914
+ Minor enhancements:
2741
2915
  * This release of RubyGems can push gems to rubygems.org. Ordinarily
2742
2916
  prerelease versions of RubyGems cannot push gems.
2743
2917
  * Added `gem check --doctor` to clean up after failed uninstallation. Bug
2744
2918
  #419 by Erik Hollensbe
2745
2919
 
2746
- * Bug fixes:
2920
+ Bug fixes:
2747
2921
  * Fixed exception raised when attempting to push gems to rubygems.org. Bug
2748
2922
  #418 by André Arko
2749
2923
  * Gem installation will fail if RubyGems cannot load the specification from
@@ -2751,24 +2925,24 @@ Changes since RubyGems 2.0.0.rc.2:
2751
2925
 
2752
2926
  === 2.0.0.preview2.2 / 2012-12-14
2753
2927
 
2754
- * Minor enhancements:
2928
+ Minor enhancements:
2755
2929
  * Added a cmake builder. Pull request #265 by Allan Espinosa.
2756
2930
  * Removed rubyforge page from gem list output
2757
2931
 
2758
- * Bug fixes:
2932
+ Bug fixes:
2759
2933
  * Restored RubyGems 1.8 packaging behavior of omitting directories. Bug
2760
2934
  #413 by Jeremy Kemper.
2761
2935
 
2762
2936
  === 2.0.0.preview2.1 / 2012-12-08
2763
2937
 
2764
- * Minor enhancements:
2938
+ Minor enhancements:
2765
2939
  * Gem::DependencyInstaller now passes build_args down to the installer.
2766
2940
  Pull Request #412 by Sam Rawlins.
2767
2941
  * RubyGems no longer defaults to uninstalling gems if a dependency would be
2768
2942
  broken. Now you must manually say "yes". Pull Request #406 by Shannon
2769
2943
  Skipper.
2770
2944
 
2771
- * Bug fixes:
2945
+ Bug fixes:
2772
2946
  * RubyGems tests now run in FIPS mode. Issue #365 by Vít Ondruch
2773
2947
  * Fixed Gem::Specification#base_dir for default gems. Ruby Bug #7469
2774
2948
  * Only update the spec cache when we have permission. Ruby Bug #7509
@@ -2786,7 +2960,7 @@ This release contains two commits not present in Ruby 2.0.0.preview2. One
2786
2960
  commit is for ruby 1.8.7 support, the second allows RubyGems to work under
2787
2961
  $SAFE=1. There is no functional difference compared to Ruby 2.0.0.preview2
2788
2962
 
2789
- * Breaking changes:
2963
+ Breaking changes:
2790
2964
 
2791
2965
  * Deprecated Gem.unresolved_deps in favor of
2792
2966
  Gem::Specification.unresolved_deps
@@ -2808,7 +2982,7 @@ $SAFE=1. There is no functional difference compared to Ruby 2.0.0.preview2
2808
2982
  * Removed support for Ruby 1.9.1
2809
2983
  * Removed many deprecated methods
2810
2984
 
2811
- * Major enhancements:
2985
+ Major enhancements:
2812
2986
 
2813
2987
  * Improved support for default gems shipping with ruby 2.0.0+
2814
2988
  * A gem can have arbitrary metadata through Gem::Specification#metadata
@@ -2827,7 +3001,7 @@ $SAFE=1. There is no functional difference compared to Ruby 2.0.0.preview2
2827
3001
  Set RUBYGEMS_GEMDEPS=path to have it loaded. Use - as the path
2828
3002
  to autodetect (current and parent directories are searched).
2829
3003
 
2830
- * Minor enhancements:
3004
+ Minor enhancements:
2831
3005
 
2832
3006
  * Added --only-executables option to `gem pristine`. Fixes #326
2833
3007
  * Added -I flag for 'gem query' to exclude installed items
@@ -2862,7 +3036,7 @@ $SAFE=1. There is no functional difference compared to Ruby 2.0.0.preview2
2862
3036
  GEM_HOME
2863
3037
  * When building gems with non-world-readable files a warning is shown.
2864
3038
 
2865
- * Bug fixes:
3039
+ Bug fixes:
2866
3040
 
2867
3041
  * Added PID to setup bin_file while installing RubyGems to protect against
2868
3042
  errors. Fixes #328 by ConradIrwin
@@ -2947,7 +3121,7 @@ Bug fixes:
2947
3121
 
2948
3122
  === 1.8.25 / 2013-01-24
2949
3123
 
2950
- * Bug fixes:
3124
+ Bug fixes:
2951
3125
  * Added 11627 to setup bin_file location to protect against errors. Fixes
2952
3126
  #328 by ConradIrwin
2953
3127
  * Specification#ruby_code didn't handle Requirement with multiple
@@ -2958,7 +3132,7 @@ Bug fixes:
2958
3132
 
2959
3133
  === 1.8.24 / 2012-04-27
2960
3134
 
2961
- * 1 bug fix:
3135
+ Bug fixes:
2962
3136
 
2963
3137
  * Install the .pem files properly. Fixes #320
2964
3138
  * Remove OpenSSL dependency from the http code path
@@ -2997,20 +3171,20 @@ You may also set :ssl_verify_mode to 0 to completely disable SSL
2997
3171
  certificate checks, but this is not recommended.
2998
3172
 
2999
3173
 
3000
- * 2 security fixes:
3174
+ Security fixes:
3001
3175
  * Disallow redirects from https to http
3002
3176
  * Turn on verification of server SSL certs
3003
3177
 
3004
- * 1 minor feature:
3178
+ Minor enhancements:
3005
3179
  * Add --clear-sources to fetch
3006
3180
 
3007
- * 2 bug fixes:
3181
+ Bug fixes:
3008
3182
  * Use File.identical? to check if two files are the same.
3009
3183
  * Fixed init_with warning when using psych
3010
3184
 
3011
3185
  === 1.8.22 / 2012-04-13
3012
3186
 
3013
- * 4 bug fixes:
3187
+ Bug fixes:
3014
3188
 
3015
3189
  * Workaround for psych/syck YAML date parsing issue
3016
3190
  * Don't trust the encoding of ARGV. Fixes #307
@@ -3019,14 +3193,14 @@ certificate checks, but this is not recommended.
3019
3193
 
3020
3194
  === 1.8.21 / 2012-03-22
3021
3195
 
3022
- * 2 bug fixes:
3196
+ Bug fixes:
3023
3197
 
3024
3198
  * Add workaround for buggy yaml output from 1.9.2
3025
3199
  * Force 1.9.1 to remove it's prelude code. Fixes #305
3026
3200
 
3027
3201
  === 1.8.20 / 2012-03-21
3028
3202
 
3029
- * 4 bug fixes:
3203
+ Bug fixes:
3030
3204
 
3031
3205
  * Add --force to `gem build` to skip validation. Fixes #297
3032
3206
  * Gracefully deal with YAML::PrivateType objects in Marshal'd gemspecs
@@ -3035,7 +3209,7 @@ certificate checks, but this is not recommended.
3035
3209
 
3036
3210
  === 1.8.19 / 2012-03-14
3037
3211
 
3038
- * 3 bug fixes:
3212
+ Bug fixes:
3039
3213
 
3040
3214
  * Handle loading psych vs syck properly. Fixes #298
3041
3215
  * Make sure Date objects don't leak in via Marshal
@@ -3043,7 +3217,7 @@ certificate checks, but this is not recommended.
3043
3217
 
3044
3218
  === 1.8.18 / 2012-03-11
3045
3219
 
3046
- * 4 bug fixes:
3220
+ Bug fixes:
3047
3221
 
3048
3222
  * Use Psych API to emit more compatible YAML
3049
3223
  * Download and write inside `gem fetch` directly. Fixes #289
@@ -3053,12 +3227,12 @@ certificate checks, but this is not recommended.
3053
3227
 
3054
3228
  === 1.8.17 / 2012-02-17
3055
3229
 
3056
- * 2 minor enhancements:
3230
+ Minor enhancements:
3057
3231
 
3058
3232
  * Add MacRuby to the list of special cases for platforms (ferrous26)
3059
3233
  * Add a default for where to install rubygems itself
3060
3234
 
3061
- * 3 bug fixes:
3235
+ Bug fixes:
3062
3236
 
3063
3237
  * Fixed gem loading issue caused by dependencies not resolving.
3064
3238
  * Fixed umask error when stdlib is required and unresolved dependencies exist.
@@ -3068,7 +3242,7 @@ certificate checks, but this is not recommended.
3068
3242
 
3069
3243
  === 1.8.16 / 2012-02-12
3070
3244
 
3071
- * 3 bug fixes:
3245
+ Bug fixes:
3072
3246
 
3073
3247
  * Fix gem specification loading when encoding is not UTF-8. #146
3074
3248
  * Allow group writable if umask allows it already.
@@ -3076,37 +3250,39 @@ certificate checks, but this is not recommended.
3076
3250
 
3077
3251
  === 1.8.15 / 2012-01-06
3078
3252
 
3079
- * 1 bug fix:
3253
+ Bug fixes:
3080
3254
 
3081
3255
  * Don't eager load yaml, it creates a bad loop. Fixes #256
3082
3256
 
3083
3257
  === 1.8.14 / 2012-01-05
3084
3258
 
3085
- * 2 bug fixes:
3259
+ Bug fixes:
3086
3260
 
3087
3261
  * Ignore old/bad cache data in Version
3088
3262
  * Make sure our YAML workarounds are loaded properly. Fixes #250.
3089
3263
 
3090
3264
  === 1.8.13 / 2011-12-21
3091
3265
 
3092
- * 1 bug fix:
3266
+ Bug fixes:
3093
3267
 
3094
3268
  * Check loaded_specs properly when trying to satisfy a dep
3095
3269
 
3096
- * 2 minor enhancements:
3270
+ Minor enhancements:
3097
3271
 
3098
3272
  * Remove using #loaded_path? for performance
3099
3273
  * Remove Zlib workaround for Windows build.
3100
3274
 
3101
3275
  === 1.8.12 / 2011-12-02
3102
3276
 
3103
- * Bug fix:
3277
+ Bug fixes:
3278
+
3104
3279
  * Handle more cases where Syck's DefaultKey showed up in requirements
3105
3280
  and wasn't cleaned out.
3106
3281
 
3107
3282
  === 1.8.11 / 2011-10-03
3108
3283
 
3109
- * Bug fix:
3284
+ Bug fixes:
3285
+
3110
3286
  * Deprecate was moved to Gem::Deprecate to stop polluting the top-level
3111
3287
  namespace.
3112
3288
 
@@ -3116,7 +3292,7 @@ RubyGems 1.8.10 contains a security fix that prevents malicious gems from
3116
3292
  executing code when their specification is loaded. See
3117
3293
  https://github.com/rubygems/rubygems/pull/165 for details.
3118
3294
 
3119
- * 5 bug fixes:
3295
+ Bug fixes:
3120
3296
 
3121
3297
  * RubyGems escapes strings in ruby-format specs using #dump instead of #to_s
3122
3298
  and %q to prevent code injection. Issue #165 by Postmodern
@@ -3129,19 +3305,19 @@ https://github.com/rubygems/rubygems/pull/165 for details.
3129
3305
 
3130
3306
  === 1.8.9 / 2011-08-23
3131
3307
 
3132
- * Bug fixes:
3308
+ Bug fixes:
3133
3309
 
3134
3310
  * Fixed uninstalling multiple gems using `gem uninstall`
3135
3311
  * Gem.use_paths splatted to take multiple paths! Issue #148
3136
3312
 
3137
3313
  === 1.8.8 / 2011-08-11
3138
3314
 
3139
- * Bug fix:
3315
+ Bug fixes:
3140
3316
  * The encoding of a gem's YAML spec is now UTF-8. Issue #149
3141
3317
 
3142
3318
  === 1.8.7 / 2011-08-04
3143
3319
 
3144
- * Bug fixes:
3320
+ Bug fixes:
3145
3321
  * Added missing require for `gem uninstall --format-executable`
3146
3322
  * The correct name of the executable being uninstalled is now displayed with
3147
3323
  --format-executable
@@ -3155,12 +3331,12 @@ https://github.com/rubygems/rubygems/pull/165 for details.
3155
3331
 
3156
3332
  === 1.8.6 / 2011-07-25
3157
3333
 
3158
- * 1 minor enhancement:
3334
+ Minor enhancements:
3159
3335
 
3160
3336
  * Add autorequires and delay startup of RubyGems until require is called.
3161
3337
  See Ruby bug #4962
3162
3338
 
3163
- * 9 bug fixes:
3339
+ Bug fixes:
3164
3340
 
3165
3341
  * Restore behavior of Gem::Specification#loaded? Ruby Bug #5032
3166
3342
  * Clean up SourceIndex.add_specs to not be so damn noisy. (tadman)
@@ -3174,25 +3350,25 @@ https://github.com/rubygems/rubygems/pull/165 for details.
3174
3350
 
3175
3351
  === 1.8.5 / 2011-05-31
3176
3352
 
3177
- * 2 minor enhancement:
3353
+ Minor enhancements:
3178
3354
 
3179
3355
  * The -u option to 'update local source cache' is official deprecated.
3180
3356
  * Remove has_rdoc deprecations from Specification.
3181
3357
 
3182
- * 2 bug fixes:
3358
+ Bug fixes:
3183
3359
 
3184
3360
  * Handle bad specs more gracefully.
3185
3361
  * Reset any Gem paths changed in the installer.
3186
3362
 
3187
3363
  === 1.8.4 / 2011-05-25
3188
3364
 
3189
- * 1 minor enhancement:
3365
+ Minor enhancements:
3190
3366
 
3191
3367
  * Removed default_executable deprecations from Specification.
3192
3368
 
3193
3369
  === 1.8.3 / 2011-05-19
3194
3370
 
3195
- * 4 bug fixes:
3371
+ Bug fixes:
3196
3372
 
3197
3373
  * Fix independent testing of test_gem_package_tar_output. Ruby Bug #4686 by
3198
3374
  Shota Fukumori
@@ -3203,12 +3379,12 @@ https://github.com/rubygems/rubygems/pull/165 for details.
3203
3379
 
3204
3380
  === 1.8.2 / 2011-05-11
3205
3381
 
3206
- * 2 minor enhancements:
3382
+ Minor enhancements:
3207
3383
 
3208
3384
  * Moved #outdated from OutdatedCommand to Specification (for Isolate).
3209
3385
  * Print out a warning about missing executables.
3210
3386
 
3211
- * 3 bug fixes:
3387
+ Bug fixes:
3212
3388
 
3213
3389
  * Added missing requires to fix various upgrade issues.
3214
3390
  * `gem pristine` respects multiple gem repositories.
@@ -3216,11 +3392,11 @@ https://github.com/rubygems/rubygems/pull/165 for details.
3216
3392
 
3217
3393
  === 1.8.1 / 2011-05-05
3218
3394
 
3219
- * 1 minor enhancement:
3395
+ Minor enhancements:
3220
3396
 
3221
3397
  * Added Gem::Requirement#specific? and Gem::Dependency#specific?
3222
3398
 
3223
- * 4 bug fixes:
3399
+ Bug fixes:
3224
3400
 
3225
3401
  * Typo on Indexer rendered it useless on Windows
3226
3402
  * gem dep can fetch remote dependencies for non-latest gems again.
@@ -3242,7 +3418,7 @@ extensions. You will need to run `gem pristine gem_with_extension --
3242
3418
  --build-arg` to regenerate a gem with an extension where it requires special
3243
3419
  build arguments.
3244
3420
 
3245
- * 24(+) Deprecations (WOOT!):
3421
+ Deprecations:
3246
3422
 
3247
3423
  * DependencyList.from_source_index deprecated the source_index argument.
3248
3424
  * Deprecated Dependency.new(/regex/).
@@ -3263,13 +3439,13 @@ build arguments.
3263
3439
  * Deprecated all of Gem::GemPathSearcher.
3264
3440
  * Deprecated Gem::Specification#default_executable.
3265
3441
 
3266
- * 2 major enhancements:
3442
+ Major enhancements:
3267
3443
 
3268
3444
  * Gem::SourceIndex functionality has been moved to Gem::Specification.
3269
3445
  Gem::SourceIndex is completely disconnected from Gem::Specification
3270
3446
  * Refactored GemPathSearcher entirely out. RIPMF
3271
3447
 
3272
- * 41 minor enhancements:
3448
+ Minor enhancements:
3273
3449
 
3274
3450
  * Added CommandManager#unregister_command
3275
3451
  * Added Dependency#matching_specs + to_specs.
@@ -3318,7 +3494,7 @@ build arguments.
3318
3494
  extensions.
3319
3495
  * `gem pristine` can now restore multiple gems.
3320
3496
 
3321
- * 6 bug fixes:
3497
+ Bug fixes:
3322
3498
 
3323
3499
  * DependencyInstaller passed around a source_index instance but used
3324
3500
  Gem.source_index.
@@ -3332,13 +3508,13 @@ build arguments.
3332
3508
 
3333
3509
  === 1.7.1 / 2011-03-32
3334
3510
 
3335
- * 1 bug fix:
3511
+ Bug fixes:
3336
3512
  * Fixed missing file in Manifest.txt. (Also a bug in hoe was fixed where
3337
3513
  `rake check_manifest` showing a diff would not exit with an error.)
3338
3514
 
3339
3515
  === 1.7.0 / 2011-03-32
3340
3516
 
3341
- * 16 Deprecations (woot!)
3517
+ Deprecations:
3342
3518
  * Deprecated Gem.all_load_paths, latest_load_paths, promote_load_path, and
3343
3519
  cache.
3344
3520
  * Deprecated RemoteFetcher#open_uri_or_path.
@@ -3350,7 +3526,7 @@ build arguments.
3350
3526
  test_suite_file(=).
3351
3527
  * Deprecated Specification#has_rdoc= and default_executable=
3352
3528
 
3353
- * 26 minor enhancements:
3529
+ Minor enhancements:
3354
3530
  * Added stupid simple deprecation module.
3355
3531
  * Added --spec option to `gem unpack` to output a gem's original metadata
3356
3532
  * Added packaging option to Specification#validate
@@ -3382,7 +3558,7 @@ build arguments.
3382
3558
  * UpdateCommand#gems_to_update now returns (name, version) pairs.
3383
3559
  * UpdateCommand#which_to_update now takes an optional system argument.
3384
3560
 
3385
- * 11 bug fixes:
3561
+ Bug fixes:
3386
3562
  * Added missing remote fetcher require to pristine command (aarnell)
3387
3563
  * Building gems now checks to ensure all required fields are non-nil
3388
3564
  * Fix option parser when summary is nil.
@@ -3400,7 +3576,7 @@ build arguments.
3400
3576
 
3401
3577
  === 1.6.2 / 2011-03-08
3402
3578
 
3403
- Bug Fixes:
3579
+ Bug fixes:
3404
3580
 
3405
3581
  * require of an activated gem could cause activation conflicts. Fixes
3406
3582
  Bug #29056 by Dave Verwer.
@@ -3408,7 +3584,7 @@ Bug Fixes:
3408
3584
 
3409
3585
  === 1.6.1 / 2011-03-03
3410
3586
 
3411
- Bug Fixes:
3587
+ Bug fixes:
3412
3588
 
3413
3589
  * Installation no longer fails when a dependency from a version that won't be
3414
3590
  installed is unsatisfied.
@@ -3419,7 +3595,7 @@ Bug Fixes:
3419
3595
 
3420
3596
  === 1.6.0 / 2011-02-29
3421
3597
 
3422
- 4 Deprecations:
3598
+ Deprecations:
3423
3599
 
3424
3600
  * RubyGems no longer requires 'thread'. Rails < 3 will need to add require
3425
3601
  'thread' to their applications.
@@ -3428,13 +3604,13 @@ Bug Fixes:
3428
3604
  * Gem::LoadError#version_requirements has been removed. Use
3429
3605
  Gem::LoadError#requirement.
3430
3606
 
3431
- 2 Major Enhancements:
3607
+ Major enhancements:
3432
3608
 
3433
3609
  * Rewrote how Gem::activate (gem and require) resolves dependencies.
3434
3610
  * Gem::LoadError#version_requirement has been removed. Use
3435
3611
  Gem::LoadError#requirement.
3436
3612
 
3437
- 17 Minor Enhancments:
3613
+ Minor enhancements:
3438
3614
 
3439
3615
  * Added --key to `gem push` for setting alternate API keys.
3440
3616
  * Added --format-executable support to gem uninstall.
@@ -3459,7 +3635,7 @@ Bug Fixes:
3459
3635
  locally cached gem specifications.
3460
3636
  * SpecFetcher.fetch_spec can now take a string source_uri.
3461
3637
 
3462
- 10 Bug Fixes:
3638
+ Bug fixes:
3463
3639
 
3464
3640
  * Added missing require of Gem::RemoteFetcher to the unpack command.
3465
3641
  * RubyGems now completely removes a previous install when reinstalling.
@@ -3474,14 +3650,14 @@ Bug Fixes:
3474
3650
 
3475
3651
  === 1.5.3 / 2011-02-26
3476
3652
 
3477
- Bug Fixes:
3653
+ Bug fixes:
3478
3654
 
3479
3655
  * Fix for a bug in Syck which causes install failures for gems packaged with
3480
3656
  Psych. Bug #28965 by Aaron Patterson.
3481
3657
 
3482
3658
  === 1.5.2 / 2011-02-10
3483
3659
 
3484
- Bug Fixes:
3660
+ Bug fixes:
3485
3661
 
3486
3662
  * Fixed <tt>gem update --system</tt>. RubyGems can now update itself again.
3487
3663
 
@@ -3489,11 +3665,11 @@ Bug Fixes:
3489
3665
 
3490
3666
  ==== NOTE: `gem update --system` is broken. See UPGRADING.rdoc.
3491
3667
 
3492
- Minor Enhancement:
3668
+ Minor enhancements:
3493
3669
 
3494
3670
  * Added ability to do gem update --system X.Y.Z.
3495
3671
 
3496
- Bug Fixes:
3672
+ Bug fixes:
3497
3673
 
3498
3674
  * Scrub !!null YAML from 1.9.2 (install and build).
3499
3675
  * Added missing requires for user_interaction.
@@ -3506,12 +3682,12 @@ Bug Fixes:
3506
3682
 
3507
3683
  ==== NOTE: `gem update --system` is broken. See UPGRADING.rdoc.
3508
3684
 
3509
- Major Enhancements:
3685
+ Major enhancements:
3510
3686
 
3511
3687
  * Finally fixed all known 1.9.x issues. Upgrading is now possible!
3512
3688
  * Merged huge 1.3.7/ruby-core changes to master.
3513
3689
 
3514
- Minor Enhancements:
3690
+ Minor enhancements:
3515
3691
 
3516
3692
  * Added UPGRADING.rdoc to help deal with 1.9 issues.
3517
3693
  * Gem::Format now gives better errors for corrupt gem files and includes paths
@@ -3524,7 +3700,7 @@ Minor Enhancements:
3524
3700
  * Gem::SilentUI now behaves like Gem::StreamUI for asking questions. Patch by
3525
3701
  Erik Hollensbe.
3526
3702
 
3527
- Bug Fixes:
3703
+ Bug fixes:
3528
3704
 
3529
3705
  * `gem update` was implicitly doing --system.
3530
3706
  * 1.9.3: Fixed encoding errors causing gem installs to die during rdoc phase.
@@ -3550,7 +3726,7 @@ Since apparently nobody reads my emails, blog posts or the README:
3550
3726
 
3551
3727
  DO NOT UPDATE RUBYGEMS ON RUBY 1.9! See UPGRADING.rdoc for details.
3552
3728
 
3553
- Bug fix:
3729
+ Bug fixes:
3554
3730
 
3555
3731
  * Specification#load was untainting a frozen string (via `gem build *.spec`)
3556
3732
 
@@ -3564,7 +3740,7 @@ You have been warned!
3564
3740
 
3565
3741
  NOTE: We've switched to git/github. See README.rdoc for details.
3566
3742
 
3567
- New features:
3743
+ Features:
3568
3744
 
3569
3745
  * Added --launch option to `gem server`. (gthiesfeld)
3570
3746
  * Added fuzzy name matching on install failures. (gstark/presidentbeef)
@@ -3596,7 +3772,7 @@ http://gems.rubyforge.org with https://rubygems.org/
3596
3772
 
3597
3773
  http://gems.rubyforge.org will continue to work for the foreseeable future.
3598
3774
 
3599
- New features:
3775
+ Features:
3600
3776
 
3601
3777
  * `gem` commands
3602
3778
  * `gem install` and `gem fetch` now report alternate platforms when a
@@ -3629,7 +3805,7 @@ Bug fixes:
3629
3805
 
3630
3806
  === 1.3.6 / 2010-02-17
3631
3807
 
3632
- New features:
3808
+ Features:
3633
3809
 
3634
3810
  * `gem` commands
3635
3811
  * Added `gem push` and `gem owner` for interacting with modern/Gemcutter
@@ -3660,7 +3836,7 @@ Bug fixes:
3660
3836
  * Gem::RemoteFetcher no longer copies the file if it is where we want it.
3661
3837
  Patch #27409 by Jakub Šťastný.
3662
3838
 
3663
- Deprecation Notices:
3839
+ Deprecations:
3664
3840
 
3665
3841
  * lib/rubygems/timer.rb has been removed.
3666
3842
  * Gem::Dependency#version_requirements is deprecated and will be removed on or
@@ -3676,7 +3852,7 @@ Bug fixes:
3676
3852
  * Fix use of prerelease gems.
3677
3853
  * Gem.bin_path no longer escapes path with spaces. Bug #25935 and #26458.
3678
3854
 
3679
- Deprecation Notices:
3855
+ Deprecations:
3680
3856
 
3681
3857
  * Bulk index update is no longer supported (the code currently remains, but not
3682
3858
  the tests)
@@ -3685,7 +3861,7 @@ Deprecation Notices:
3685
3861
 
3686
3862
  === 1.3.4 / 2009-05-03
3687
3863
 
3688
- Bug Fixes:
3864
+ Bug fixes:
3689
3865
 
3690
3866
  * Fixed various warnings
3691
3867
  * Gem::ruby_version works correctly for 1.8 branch and trunk
@@ -3696,7 +3872,7 @@ Bug Fixes:
3696
3872
  drives. Bug #25882 by Lars Christensen
3697
3873
  * Fix typo in Gem::Requirement#parse. Bug #26000 by Mike Gunderloy.
3698
3874
 
3699
- Deprecation Notices:
3875
+ Deprecations:
3700
3876
 
3701
3877
  * Bulk index update is no longer supported (the code currently remains, but not
3702
3878
  the tests)
@@ -3705,7 +3881,7 @@ Deprecation Notices:
3705
3881
 
3706
3882
  === 1.3.3 / 2009-05-04
3707
3883
 
3708
- New Features:
3884
+ Features:
3709
3885
 
3710
3886
  * `gem server` allows port names (from /etc/services) with --port.
3711
3887
  * `gem server` now has search that jumps to RDoc. Patch #22959 by Vladimir
@@ -3715,7 +3891,7 @@ New Features:
3715
3891
  * Gem::Specification#has_rdoc= is deprecated and ignored (defaults to true)
3716
3892
  * RDoc is now generated regardless of Gem::Specification#has_rdoc?
3717
3893
 
3718
- Bug Fixes:
3894
+ Bug fixes:
3719
3895
 
3720
3896
  * `gem clean` now cleans up --user-install gems. Bug #25516 by Brett
3721
3897
  Eisenberg.
@@ -3737,7 +3913,7 @@ Bug Fixes:
3737
3913
  * Raise Gem::LoadError if Kernel#gem fails due to previously-loaded gem. Bug
3738
3914
  reported by Alf Mikula.
3739
3915
 
3740
- Deprecation Notices:
3916
+ Deprecations:
3741
3917
 
3742
3918
  * Gem::manage_gems has been removed.
3743
3919
  * Time::today has been removed early. There was no way to make it warn and be
@@ -3745,7 +3921,7 @@ Deprecation Notices:
3745
3921
 
3746
3922
  === 1.3.2 / 2009-04-15
3747
3923
 
3748
- Select New Features:
3924
+ Features:
3749
3925
 
3750
3926
  * RubyGems now loads plugins from rubygems_plugin.rb in installed gems.
3751
3927
  This can be used to add commands (See Gem::CommandManager) or add
@@ -3773,7 +3949,7 @@ Select New Features:
3773
3949
  * Modern indicies can now be updated incrementally.
3774
3950
  * Legacy indicies can be updated separately from modern.
3775
3951
 
3776
- Select Bugs Fixed:
3952
+ Bug fixes:
3777
3953
 
3778
3954
  * Better gem activation error message. Patch #23082.
3779
3955
  * Kernel methods are now private. Patch #20801 by James M. Lawrence.
@@ -3799,7 +3975,7 @@ Select Bugs Fixed:
3799
3975
  * Deal with extraneous quotation mark when autogenerating .bat file on MS
3800
3976
  Windows. Bug #22712.
3801
3977
 
3802
- Deprecation Notices:
3978
+ Deprecations:
3803
3979
 
3804
3980
  * Gem::manage_gems has been removed.
3805
3981
  * Time::today will be removed in RubyGems 1.4.
@@ -3809,7 +3985,7 @@ Lavena and Daniel Berger for continuing windows support.
3809
3985
 
3810
3986
  === 1.3.1 / 2008-10-28
3811
3987
 
3812
- Bugs fixed:
3988
+ Bug fixes:
3813
3989
 
3814
3990
  * Disregard ownership of ~ under Windows while creating ~/.gem. Fixes
3815
3991
  issues related to no uid support under Windows.
@@ -3820,13 +3996,13 @@ Bugs fixed:
3820
3996
  * Gem::location_of_caller now behaves on Windows. Patch by Daniel Berger.
3821
3997
  * Silence PATH warning.
3822
3998
 
3823
- Deprecation Notices:
3999
+ Deprecations:
3824
4000
 
3825
4001
  * Gem::manage_gems will be removed on or after March 2009.
3826
4002
 
3827
4003
  === 1.3.0 / 2008-09-25
3828
4004
 
3829
- New features:
4005
+ Features:
3830
4006
 
3831
4007
  * RubyGems doesn't print LOCAL/REMOTE titles for `gem query` and friends if
3832
4008
  stdout is not a TTY, except with --both.
@@ -3840,12 +4016,12 @@ New features:
3840
4016
  * RubyGems now updates the ri cache when the rdoc gem is installed and
3841
4017
  documentation is generated.
3842
4018
 
3843
- Deprecation Notices:
4019
+ Deprecations:
3844
4020
 
3845
4021
  * Gem::manage_gems now warns when called. It will be removed on or after March
3846
4022
  2009.
3847
4023
 
3848
- Bugs Fixed:
4024
+ Bug fixes:
3849
4025
 
3850
4026
  * RubyGems 1.3.0+ now updates when no previous rubygems-update is installed.
3851
4027
  Bug #20775 by Hemant Kumar.
@@ -3869,7 +4045,7 @@ Bugs Fixed:
3869
4045
  * `gem lock --strict` works again. Patch #21814 by Sven Engelhardt.
3870
4046
  * Platform detection for Solaris was improved. Patch #21911 by Bob Remeika.
3871
4047
 
3872
- Other Changes Include:
4048
+ Minor enhancements:
3873
4049
 
3874
4050
  * `gem help install` now describes _version_ argument to executable stubs
3875
4051
  * `gem help environment` describes environment variables and ~/.gemrc and
@@ -3897,7 +4073,7 @@ Other Changes Include:
3897
4073
 
3898
4074
  === 1.2.0 / 2008-06-21
3899
4075
 
3900
- New features:
4076
+ Features:
3901
4077
 
3902
4078
  * RubyGems no longer performs bulk updates and instead only fetches the gemspec
3903
4079
  files it needs. Alternate sources will need to upgrade to RubyGems 1.2 to
@@ -3916,7 +4092,7 @@ New features:
3916
4092
  * setup.rb now handles --vendor and --destdir for packagers
3917
4093
  * `gem stale` command that lists gems by last access time
3918
4094
 
3919
- Bugs Fixed:
4095
+ Bug fixes:
3920
4096
 
3921
4097
  * File modes from gems are now honored, patch #19737
3922
4098
  * Marshal Gem::Specification objects from the future can now be loaded.
@@ -3931,7 +4107,7 @@ Bugs Fixed:
3931
4107
  * Gem::DependencyInstaller resets installed gems every install, bug #19444
3932
4108
  * Gem.default_path is now honored if GEM_PATH is not set, patch #19502
3933
4109
 
3934
- Other Changes Include:
4110
+ Minor enhancements:
3935
4111
 
3936
4112
  * setup.rb
3937
4113
  * stub files created by RubyGems 0.7.x and older are no longer removed. When
@@ -3952,7 +4128,7 @@ Other Changes Include:
3952
4128
 
3953
4129
  === 1.1.1 / 2008-04-11
3954
4130
 
3955
- Bugs Fixed:
4131
+ Bug fixes:
3956
4132
 
3957
4133
  * Gem.prefix now returns non-nil only when RubyGems was installed outside
3958
4134
  sitelibdir or libdir.
@@ -3969,7 +4145,7 @@ Bugs Fixed:
3969
4145
 
3970
4146
  === 1.1.0 / 2008-03-29
3971
4147
 
3972
- New features:
4148
+ Features:
3973
4149
 
3974
4150
  * RubyGems now uses persistent connections on index updates. Index updates are
3975
4151
  much faster now.
@@ -3981,7 +4157,7 @@ New features:
3981
4157
  * `gem spec` now extracts specifications from .gem files.
3982
4158
  * `gem query --installed` to aid automation of checking for gems.
3983
4159
 
3984
- Bugs Fixed:
4160
+ Bug fixes:
3985
4161
 
3986
4162
  * RubyGems works with both Config and RbConfig now.
3987
4163
  * Executables are now cleaned upon uninstall.
@@ -3997,7 +4173,7 @@ Bugs Fixed:
3997
4173
  * Gem stub scripts on windows now work outside Gem.bindir.
3998
4174
  * `gem sources -r` now works without network access.
3999
4175
 
4000
- Other Changes Include:
4176
+ Minor enhancements:
4001
4177
 
4002
4178
  * RubyGems now requires Ruby > 1.8.3.
4003
4179
  * Release notes are now printed upon installation.
@@ -4010,24 +4186,24 @@ For a full list of changes to RubyGems, see the ChangeLog file.
4010
4186
 
4011
4187
  === 1.0.1 / 2007-12-20
4012
4188
 
4013
- Bugs Fixed:
4189
+ Bug fixes:
4014
4190
 
4015
4191
  * Installation on Ruby 1.8.3 through 1.8.5 fixed
4016
4192
  * `gem build` on 1.8.3 fixed
4017
4193
 
4018
- Other Changes Include:
4194
+ Minor enhancements:
4019
4195
 
4020
4196
  * Since RubyGems 0.9.5, RubyGems is no longer supported on Ruby 1.8.2 or older,
4021
4197
  this is official in RubyGems 1.0.1.
4022
4198
 
4023
4199
  === 1.0.0 / 2007-12-20
4024
4200
 
4025
- Major New Features Include:
4201
+ Features:
4026
4202
 
4027
4203
  * RubyGems warns about various problems with gemspecs during gem building
4028
4204
  * More-consistent versioning for the RubyGems software
4029
4205
 
4030
- Other Changes Include:
4206
+ Minor enhancements:
4031
4207
 
4032
4208
  * Fixed various bugs and problems with installing gems on Windows
4033
4209
  * Fixed using `gem server` for installing gems
@@ -4041,7 +4217,7 @@ Other Changes Include:
4041
4217
  * `gem unpack` can now unpack into a specific directory with --target
4042
4218
  * OpenSSL is no longer required by default
4043
4219
 
4044
- Deprecations and Deletions:
4220
+ Breaking changes:
4045
4221
 
4046
4222
  * Kernel#require_gem has been removed
4047
4223
  * Executables without a shebang will not be wrapped in a future version, this
@@ -4055,7 +4231,7 @@ Deprecations and Deletions:
4055
4231
 
4056
4232
  === 0.9.5 / 2007-11-19
4057
4233
 
4058
- Major New Features Include:
4234
+ Features:
4059
4235
 
4060
4236
  * Platform support
4061
4237
  * Automatic installation of platform gems
@@ -4067,7 +4243,7 @@ Major New Features Include:
4067
4243
  * Improved stubs and `gem.bat` on mswin, including better compatibility
4068
4244
  with the One-Click Installer.
4069
4245
 
4070
- Other Changes Include:
4246
+ Minor enhancements:
4071
4247
 
4072
4248
  * Time::today is deprecated and will be removed at a future date
4073
4249
  * Gem::manage_gems is deprecated and will be removed at a future date
@@ -4118,7 +4294,7 @@ If you are experiencing problems with the source index (e.g. strange
4118
4294
  "No Method" errors), or problems with zlib (e.g. "Buffer Error"
4119
4295
  messsage), we recommend upgrading to RubyGems 0.9.4.
4120
4296
 
4121
- Bug Fixes Include:
4297
+ Bug fixes:
4122
4298
 
4123
4299
  * Several people have been experiencing problems with no method errors
4124
4300
  on the source index cache. The source index cache is now a bit more
@@ -4132,7 +4308,7 @@ Bug Fixes Include:
4132
4308
 
4133
4309
  === 0.9.3 / 2007-05-10
4134
4310
 
4135
- Bug Fixes Include:
4311
+ Bug fixes:
4136
4312
 
4137
4313
  The ZLib library on Windows will occasionally complains about a buffer error
4138
4314
  when unpacking gems. The Gems software has a workaround for that problem, but
@@ -4142,7 +4318,7 @@ have permanently enabled the work around on all versions.
4142
4318
 
4143
4319
  === 0.9.2 / 2007-02-05
4144
4320
 
4145
- Bug Fixes Include:
4321
+ Bug fixes:
4146
4322
 
4147
4323
  * The "unpack" command now works properly.
4148
4324
  * User name and password are now passed properly to the authenticating
@@ -4160,7 +4336,7 @@ number one change is that we can now download the gem index
4160
4336
  incrementally. This will greatly speed up the gem command when only a
4161
4337
  few gems are out of date.
4162
4338
 
4163
- Major Enhancments include:
4339
+ Major enhancements:
4164
4340
 
4165
4341
  * The gem index is now downloaded incrementally, only updating entries
4166
4342
  that are out of date. If more than 50 entries are out of date, we
@@ -4176,7 +4352,7 @@ Major Enhancments include:
4176
4352
  * A gemri command is included to read gem RI docs (only needed for
4177
4353
  Ruby 1.8.4 or earlier).
4178
4354
 
4179
- Minor enhancements include:
4355
+ Minor enhancements:
4180
4356
 
4181
4357
  * Version 0.0.0 is now a valid gem version.
4182
4358
  * Better detection of missing SSL functionality.
@@ -4190,7 +4366,7 @@ Minor enhancements include:
4190
4366
  * .rbw is now a supported suffix for RubyGem's custom require.
4191
4367
  * Several Ruby 1.9 compatibility fixes (Eric Hodel).
4192
4368
 
4193
- Bug Fixes:
4369
+ Bug fixes:
4194
4370
 
4195
4371
  * Added dashes to gemspecs generated in Ruby 1.8.3. This solves some
4196
4372
  cross-Ruby version compatibility issues.