rubygems-update 3.1.6 → 3.4.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (784) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +5619 -0
  3. data/CODE_OF_CONDUCT.md +55 -19
  4. data/CONTRIBUTING.md +97 -27
  5. data/Manifest.txt +185 -143
  6. data/POLICIES.md +70 -27
  7. data/README.md +29 -14
  8. data/UPGRADING.md +5 -81
  9. data/bin/gem +2 -10
  10. data/bin/update_rubygems +5 -5
  11. data/bundler/CHANGELOG.md +2605 -1431
  12. data/bundler/README.md +9 -14
  13. data/bundler/UPGRADING.md +27 -34
  14. data/bundler/bundler.gemspec +10 -13
  15. data/bundler/exe/bundle +7 -8
  16. data/bundler/exe/bundler +1 -1
  17. data/bundler/lib/bundler/.document +1 -0
  18. data/bundler/lib/bundler/build_metadata.rb +4 -12
  19. data/bundler/lib/bundler/cli/add.rb +2 -2
  20. data/bundler/lib/bundler/cli/binstubs.rb +11 -3
  21. data/bundler/lib/bundler/cli/cache.rb +3 -8
  22. data/bundler/lib/bundler/cli/check.rb +5 -3
  23. data/bundler/lib/bundler/cli/clean.rb +1 -1
  24. data/bundler/lib/bundler/cli/common.rb +32 -3
  25. data/bundler/lib/bundler/cli/config.rb +10 -1
  26. data/bundler/lib/bundler/cli/console.rb +3 -3
  27. data/bundler/lib/bundler/cli/doctor.rb +23 -6
  28. data/bundler/lib/bundler/cli/exec.rb +5 -10
  29. data/bundler/lib/bundler/cli/fund.rb +36 -0
  30. data/bundler/lib/bundler/cli/gem.rb +258 -45
  31. data/bundler/lib/bundler/cli/info.rb +38 -6
  32. data/bundler/lib/bundler/cli/init.rb +7 -3
  33. data/bundler/lib/bundler/cli/inject.rb +1 -1
  34. data/bundler/lib/bundler/cli/install.rb +27 -57
  35. data/bundler/lib/bundler/cli/issue.rb +5 -4
  36. data/bundler/lib/bundler/cli/list.rb +19 -11
  37. data/bundler/lib/bundler/cli/lock.rb +11 -4
  38. data/bundler/lib/bundler/cli/open.rb +7 -6
  39. data/bundler/lib/bundler/cli/outdated.rb +106 -79
  40. data/bundler/lib/bundler/cli/platform.rb +2 -2
  41. data/bundler/lib/bundler/cli/plugin.rb +10 -0
  42. data/bundler/lib/bundler/cli/pristine.rb +5 -0
  43. data/bundler/lib/bundler/cli/remove.rb +1 -2
  44. data/bundler/lib/bundler/cli/show.rb +2 -2
  45. data/bundler/lib/bundler/cli/update.rb +20 -9
  46. data/bundler/lib/bundler/cli/viz.rb +1 -1
  47. data/bundler/lib/bundler/cli.rb +151 -85
  48. data/bundler/lib/bundler/compact_index_client/cache.rb +7 -24
  49. data/bundler/lib/bundler/compact_index_client/gem_parser.rb +28 -0
  50. data/bundler/lib/bundler/compact_index_client/updater.rb +56 -51
  51. data/bundler/lib/bundler/compact_index_client.rb +3 -9
  52. data/bundler/lib/bundler/constants.rb +1 -1
  53. data/bundler/lib/bundler/current_ruby.rb +19 -6
  54. data/bundler/lib/bundler/definition.rb +353 -440
  55. data/bundler/lib/bundler/dependency.rb +23 -77
  56. data/bundler/lib/bundler/digest.rb +71 -0
  57. data/bundler/lib/bundler/dsl.rb +77 -85
  58. data/bundler/lib/bundler/endpoint_specification.rb +16 -14
  59. data/bundler/lib/bundler/env.rb +3 -3
  60. data/bundler/lib/bundler/environment_preserver.rb +32 -4
  61. data/bundler/lib/bundler/errors.rb +31 -14
  62. data/bundler/lib/bundler/feature_flag.rb +0 -9
  63. data/bundler/lib/bundler/fetcher/base.rb +7 -9
  64. data/bundler/lib/bundler/fetcher/compact_index.rb +20 -27
  65. data/bundler/lib/bundler/fetcher/dependency.rb +2 -6
  66. data/bundler/lib/bundler/fetcher/downloader.rb +11 -11
  67. data/bundler/lib/bundler/fetcher/index.rb +2 -30
  68. data/bundler/lib/bundler/fetcher.rb +26 -31
  69. data/bundler/lib/bundler/force_platform.rb +18 -0
  70. data/bundler/lib/bundler/friendly_errors.rb +45 -49
  71. data/bundler/lib/bundler/gem_helper.rb +53 -31
  72. data/bundler/lib/bundler/gem_helpers.rb +42 -24
  73. data/bundler/lib/bundler/gem_version_promoter.rb +54 -99
  74. data/bundler/lib/bundler/graph.rb +4 -4
  75. data/bundler/lib/bundler/index.rb +16 -54
  76. data/bundler/lib/bundler/injector.rb +41 -9
  77. data/bundler/lib/bundler/inline.rb +11 -22
  78. data/bundler/lib/bundler/installer/gem_installer.rb +19 -24
  79. data/bundler/lib/bundler/installer/parallel_installer.rb +34 -43
  80. data/bundler/lib/bundler/installer/standalone.rb +62 -11
  81. data/bundler/lib/bundler/installer.rb +43 -87
  82. data/bundler/lib/bundler/lazy_specification.rb +88 -51
  83. data/bundler/lib/bundler/lockfile_generator.rb +4 -4
  84. data/bundler/lib/bundler/lockfile_parser.rb +34 -59
  85. data/bundler/lib/bundler/man/.document +1 -0
  86. data/bundler/{man → lib/bundler/man}/bundle-add.1 +21 -5
  87. data/bundler/{man/bundle-add.ronn → lib/bundler/man/bundle-add.1.ronn} +16 -4
  88. data/bundler/{man → lib/bundler/man}/bundle-binstubs.1 +5 -3
  89. data/bundler/{man/bundle-binstubs.ronn → lib/bundler/man/bundle-binstubs.1.ronn} +2 -4
  90. data/bundler/{man → lib/bundler/man}/bundle-cache.1 +7 -1
  91. data/bundler/{man/bundle-cache.ronn → lib/bundler/man/bundle-cache.1.ronn} +7 -0
  92. data/bundler/{man → lib/bundler/man}/bundle-check.1 +1 -1
  93. data/bundler/{man → lib/bundler/man}/bundle-clean.1 +2 -2
  94. data/bundler/{man/bundle-clean.ronn → lib/bundler/man/bundle-clean.1.ronn} +1 -1
  95. data/bundler/{man → lib/bundler/man}/bundle-config.1 +66 -48
  96. data/bundler/{man/bundle-config.ronn → lib/bundler/man/bundle-config.1.ronn} +75 -66
  97. data/bundler/lib/bundler/man/bundle-console.1 +53 -0
  98. data/bundler/lib/bundler/man/bundle-console.1.ronn +44 -0
  99. data/bundler/{man → lib/bundler/man}/bundle-doctor.1 +1 -1
  100. data/bundler/{man → lib/bundler/man}/bundle-exec.1 +6 -6
  101. data/bundler/{man/bundle-exec.ronn → lib/bundler/man/bundle-exec.1.ronn} +6 -6
  102. data/bundler/lib/bundler/man/bundle-gem.1 +105 -0
  103. data/bundler/lib/bundler/man/bundle-gem.1.ronn +117 -0
  104. data/bundler/lib/bundler/man/bundle-help.1 +13 -0
  105. data/bundler/lib/bundler/man/bundle-help.1.ronn +12 -0
  106. data/bundler/{man → lib/bundler/man}/bundle-info.1 +1 -1
  107. data/bundler/{man → lib/bundler/man}/bundle-init.1 +5 -1
  108. data/bundler/{man/bundle-init.ronn → lib/bundler/man/bundle-init.1.ronn} +2 -0
  109. data/bundler/{man → lib/bundler/man}/bundle-inject.1 +5 -2
  110. data/bundler/{man/bundle-inject.ronn → lib/bundler/man/bundle-inject.1.ronn} +3 -1
  111. data/bundler/{man → lib/bundler/man}/bundle-install.1 +35 -33
  112. data/bundler/{man/bundle-install.ronn → lib/bundler/man/bundle-install.1.ronn} +33 -34
  113. data/bundler/{man → lib/bundler/man}/bundle-list.1 +7 -7
  114. data/bundler/{man/bundle-list.ronn → lib/bundler/man/bundle-list.1.ronn} +6 -6
  115. data/bundler/{man → lib/bundler/man}/bundle-lock.1 +1 -1
  116. data/bundler/{man → lib/bundler/man}/bundle-open.1 +22 -2
  117. data/bundler/{man/bundle-open.ronn → lib/bundler/man/bundle-open.1.ronn} +9 -1
  118. data/bundler/{man → lib/bundler/man}/bundle-outdated.1 +3 -10
  119. data/bundler/{man/bundle-outdated.ronn → lib/bundler/man/bundle-outdated.1.ronn} +1 -10
  120. data/bundler/{man → lib/bundler/man}/bundle-platform.1 +16 -6
  121. data/bundler/{man/bundle-platform.ronn → lib/bundler/man/bundle-platform.1.ronn} +14 -7
  122. data/bundler/lib/bundler/man/bundle-plugin.1 +81 -0
  123. data/bundler/lib/bundler/man/bundle-plugin.1.ronn +59 -0
  124. data/bundler/{man → lib/bundler/man}/bundle-pristine.1 +1 -1
  125. data/bundler/{man → lib/bundler/man}/bundle-remove.1 +1 -1
  126. data/bundler/{man → lib/bundler/man}/bundle-show.1 +1 -1
  127. data/bundler/{man → lib/bundler/man}/bundle-update.1 +5 -5
  128. data/bundler/{man/bundle-update.ronn → lib/bundler/man/bundle-update.1.ronn} +5 -4
  129. data/bundler/lib/bundler/man/bundle-version.1 +35 -0
  130. data/bundler/lib/bundler/man/bundle-version.1.ronn +24 -0
  131. data/bundler/{man → lib/bundler/man}/bundle-viz.1 +4 -1
  132. data/bundler/{man/bundle-viz.ronn → lib/bundler/man/bundle-viz.1.ronn} +2 -0
  133. data/bundler/{man → lib/bundler/man}/bundle.1 +15 -10
  134. data/bundler/{man/bundle.ronn → lib/bundler/man/bundle.1.ronn} +12 -7
  135. data/bundler/{man → lib/bundler/man}/gemfile.5 +120 -83
  136. data/bundler/{man → lib/bundler/man}/gemfile.5.ronn +109 -88
  137. data/bundler/{man → lib/bundler/man}/index.txt +4 -0
  138. data/bundler/lib/bundler/match_metadata.rb +13 -0
  139. data/bundler/lib/bundler/match_platform.rb +0 -1
  140. data/bundler/lib/bundler/match_remote_metadata.rb +29 -0
  141. data/bundler/lib/bundler/mirror.rb +7 -9
  142. data/bundler/lib/bundler/plugin/api/source.rb +25 -9
  143. data/bundler/lib/bundler/plugin/dsl.rb +1 -1
  144. data/bundler/lib/bundler/plugin/index.rb +17 -5
  145. data/bundler/lib/bundler/plugin/installer/git.rb +0 -4
  146. data/bundler/lib/bundler/plugin/installer/rubygems.rb +1 -9
  147. data/bundler/lib/bundler/plugin/installer.rb +16 -13
  148. data/bundler/lib/bundler/plugin/source_list.rb +5 -1
  149. data/bundler/lib/bundler/plugin.rb +59 -12
  150. data/bundler/lib/bundler/process_lock.rb +1 -1
  151. data/bundler/lib/bundler/remote_specification.rb +12 -7
  152. data/bundler/lib/bundler/resolver/base.rb +109 -0
  153. data/bundler/lib/bundler/resolver/candidate.rb +94 -0
  154. data/bundler/lib/bundler/resolver/incompatibility.rb +15 -0
  155. data/bundler/lib/bundler/resolver/package.rb +72 -0
  156. data/bundler/lib/bundler/resolver/root.rb +25 -0
  157. data/bundler/lib/bundler/resolver/spec_group.rb +49 -74
  158. data/bundler/lib/bundler/resolver.rb +336 -344
  159. data/bundler/lib/bundler/retry.rb +2 -2
  160. data/bundler/lib/bundler/ruby_dsl.rb +1 -1
  161. data/bundler/lib/bundler/ruby_version.rb +6 -19
  162. data/bundler/lib/bundler/rubygems_ext.rb +231 -32
  163. data/bundler/lib/bundler/rubygems_gem_installer.rb +89 -16
  164. data/bundler/lib/bundler/rubygems_integration.rb +81 -167
  165. data/bundler/lib/bundler/runtime.rb +23 -31
  166. data/bundler/lib/bundler/self_manager.rb +168 -0
  167. data/bundler/lib/bundler/settings.rb +146 -73
  168. data/bundler/lib/bundler/setup.rb +5 -2
  169. data/bundler/lib/bundler/shared_helpers.rb +20 -35
  170. data/bundler/lib/bundler/similarity_detector.rb +1 -1
  171. data/bundler/lib/bundler/source/git/git_proxy.rb +263 -114
  172. data/bundler/lib/bundler/source/git.rb +64 -47
  173. data/bundler/lib/bundler/source/metadata.rb +3 -8
  174. data/bundler/lib/bundler/source/path/installer.rb +11 -32
  175. data/bundler/lib/bundler/source/path.rb +16 -10
  176. data/bundler/lib/bundler/source/rubygems/remote.rb +1 -1
  177. data/bundler/lib/bundler/source/rubygems.rb +167 -200
  178. data/bundler/lib/bundler/source/rubygems_aggregate.rb +68 -0
  179. data/bundler/lib/bundler/source.rb +25 -5
  180. data/bundler/lib/bundler/source_list.rb +112 -64
  181. data/bundler/lib/bundler/source_map.rb +71 -0
  182. data/bundler/lib/bundler/spec_set.rb +74 -61
  183. data/bundler/lib/bundler/stub_specification.rb +30 -10
  184. data/bundler/lib/bundler/templates/Executable +3 -5
  185. data/bundler/lib/bundler/templates/Executable.bundler +11 -16
  186. data/bundler/lib/bundler/templates/Executable.standalone +4 -4
  187. data/bundler/lib/bundler/templates/Gemfile +0 -2
  188. data/bundler/lib/bundler/templates/newgem/CHANGELOG.md.tt +5 -0
  189. data/bundler/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +57 -47
  190. data/bundler/lib/bundler/templates/newgem/Cargo.toml.tt +7 -0
  191. data/bundler/lib/bundler/templates/newgem/Gemfile.tt +15 -1
  192. data/bundler/lib/bundler/templates/newgem/README.md.tt +13 -16
  193. data/bundler/lib/bundler/templates/newgem/Rakefile.tt +43 -5
  194. data/bundler/lib/bundler/templates/newgem/bin/console.tt +1 -0
  195. data/bundler/lib/bundler/templates/newgem/circleci/config.yml.tt +25 -0
  196. data/bundler/lib/bundler/templates/newgem/ext/newgem/Cargo.toml.tt +15 -0
  197. data/bundler/lib/bundler/templates/newgem/ext/newgem/{extconf.rb.tt → extconf-c.rb.tt} +2 -0
  198. data/bundler/lib/bundler/templates/newgem/ext/newgem/extconf-rust.rb.tt +6 -0
  199. data/bundler/lib/bundler/templates/newgem/ext/newgem/src/lib.rs.tt +12 -0
  200. data/bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt +37 -0
  201. data/bundler/lib/bundler/templates/newgem/gitignore.tt +3 -0
  202. data/bundler/lib/bundler/templates/newgem/gitlab-ci.yml.tt +18 -0
  203. data/bundler/lib/bundler/templates/newgem/lib/newgem/version.rb.tt +2 -0
  204. data/bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt +4 -2
  205. data/bundler/lib/bundler/templates/newgem/newgem.gemspec.tt +34 -18
  206. data/bundler/lib/bundler/templates/newgem/rubocop.yml.tt +13 -0
  207. data/bundler/lib/bundler/templates/newgem/sig/newgem.rbs.tt +8 -0
  208. data/bundler/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt +2 -0
  209. data/bundler/lib/bundler/templates/newgem/spec/spec_helper.rb.tt +2 -1
  210. data/bundler/lib/bundler/templates/newgem/standard.yml.tt +3 -0
  211. data/bundler/lib/bundler/templates/newgem/test/{test_helper.rb.tt → minitest/test_helper.rb.tt} +2 -0
  212. data/bundler/lib/bundler/templates/newgem/test/{newgem_test.rb.tt → minitest/test_newgem.rb.tt} +3 -1
  213. data/bundler/lib/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt +15 -0
  214. data/bundler/lib/bundler/templates/newgem/test/test-unit/test_helper.rb.tt +6 -0
  215. data/bundler/lib/bundler/ui/shell.rb +37 -14
  216. data/bundler/lib/bundler/ui/silent.rb +21 -5
  217. data/bundler/lib/bundler/uri_credentials_filter.rb +3 -1
  218. data/bundler/lib/bundler/uri_normalizer.rb +23 -0
  219. data/bundler/lib/bundler/vendor/.document +1 -0
  220. data/bundler/lib/bundler/vendor/connection_pool/LICENSE +20 -0
  221. data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +19 -21
  222. data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb +1 -1
  223. data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb +56 -0
  224. data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool.rb +41 -74
  225. data/bundler/lib/bundler/vendor/fileutils/LICENSE.txt +22 -0
  226. data/bundler/lib/bundler/vendor/fileutils/lib/fileutils.rb +1350 -408
  227. data/bundler/lib/bundler/vendor/net-http-persistent/README.rdoc +82 -0
  228. data/bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +82 -189
  229. data/bundler/lib/bundler/vendor/pub_grub/LICENSE.txt +21 -0
  230. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/assignment.rb +20 -0
  231. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/basic_package_source.rb +189 -0
  232. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/failure_writer.rb +182 -0
  233. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/incompatibility.rb +150 -0
  234. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/package.rb +43 -0
  235. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/partial_solution.rb +121 -0
  236. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/rubygems.rb +45 -0
  237. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb +19 -0
  238. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/static_package_source.rb +60 -0
  239. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/term.rb +105 -0
  240. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/version.rb +3 -0
  241. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/version_constraint.rb +129 -0
  242. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/version_range.rb +411 -0
  243. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb +243 -0
  244. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/version_union.rb +178 -0
  245. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub.rb +31 -0
  246. data/bundler/lib/bundler/vendor/thor/LICENSE.md +20 -0
  247. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +2 -1
  248. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +9 -7
  249. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +1 -2
  250. data/bundler/lib/bundler/vendor/thor/lib/thor/actions.rb +7 -3
  251. data/bundler/lib/bundler/vendor/thor/lib/thor/base.rb +9 -0
  252. data/bundler/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +6 -0
  253. data/bundler/lib/bundler/vendor/thor/lib/thor/error.rb +10 -5
  254. data/bundler/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +5 -1
  255. data/bundler/lib/bundler/vendor/thor/lib/thor/parser/options.rb +28 -9
  256. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +28 -7
  257. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/color.rb +5 -1
  258. data/bundler/lib/bundler/vendor/thor/lib/thor/shell.rb +1 -1
  259. data/bundler/lib/bundler/vendor/thor/lib/thor/util.rb +1 -1
  260. data/bundler/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
  261. data/bundler/lib/bundler/vendor/thor/lib/thor.rb +5 -13
  262. data/bundler/lib/bundler/vendor/tsort/LICENSE.txt +22 -0
  263. data/bundler/lib/bundler/vendor/tsort/lib/tsort.rb +452 -0
  264. data/bundler/lib/bundler/vendor/uri/LICENSE.txt +22 -0
  265. data/bundler/lib/bundler/vendor/uri/lib/uri/common.rb +76 -91
  266. data/bundler/lib/bundler/vendor/uri/lib/uri/file.rb +7 -1
  267. data/bundler/lib/bundler/vendor/uri/lib/uri/ftp.rb +2 -2
  268. data/bundler/lib/bundler/vendor/uri/lib/uri/generic.rb +32 -13
  269. data/bundler/lib/bundler/vendor/uri/lib/uri/http.rb +40 -3
  270. data/bundler/lib/bundler/vendor/uri/lib/uri/https.rb +2 -2
  271. data/bundler/lib/bundler/vendor/uri/lib/uri/ldap.rb +2 -2
  272. data/bundler/lib/bundler/vendor/uri/lib/uri/ldaps.rb +2 -1
  273. data/bundler/lib/bundler/vendor/uri/lib/uri/mailto.rb +2 -3
  274. data/bundler/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +14 -21
  275. data/bundler/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +11 -17
  276. data/bundler/lib/bundler/vendor/uri/lib/uri/version.rb +1 -1
  277. data/bundler/lib/bundler/vendor/uri/lib/uri/ws.rb +83 -0
  278. data/bundler/lib/bundler/vendor/uri/lib/uri/wss.rb +23 -0
  279. data/bundler/lib/bundler/vendor/uri/lib/uri.rb +3 -3
  280. data/bundler/lib/bundler/vendored_persistent.rb +1 -40
  281. data/bundler/lib/bundler/{vendored_molinillo.rb → vendored_pub_grub.rb} +1 -1
  282. data/bundler/lib/bundler/vendored_tsort.rb +4 -0
  283. data/bundler/lib/bundler/version.rb +5 -1
  284. data/bundler/lib/bundler/worker.rb +25 -12
  285. data/bundler/lib/bundler/yaml_serializer.rb +1 -1
  286. data/bundler/lib/bundler.rb +98 -110
  287. data/hide_lib_for_update/note.txt +0 -4
  288. data/lib/rubygems/available_set.rb +7 -9
  289. data/lib/rubygems/basic_specification.rb +23 -21
  290. data/lib/rubygems/bundler_version_finder.rb +27 -54
  291. data/lib/rubygems/command.rb +63 -52
  292. data/lib/rubygems/command_manager.rb +36 -16
  293. data/lib/rubygems/commands/build_command.rb +50 -27
  294. data/lib/rubygems/commands/cert_command.rb +78 -75
  295. data/lib/rubygems/commands/check_command.rb +20 -22
  296. data/lib/rubygems/commands/cleanup_command.rb +30 -26
  297. data/lib/rubygems/commands/contents_command.rb +16 -18
  298. data/lib/rubygems/commands/dependency_command.rb +39 -51
  299. data/lib/rubygems/commands/environment_command.rb +11 -10
  300. data/lib/rubygems/commands/exec_command.rb +248 -0
  301. data/lib/rubygems/commands/fetch_command.rb +33 -16
  302. data/lib/rubygems/commands/generate_index_command.rb +17 -19
  303. data/lib/rubygems/commands/help_command.rb +9 -9
  304. data/lib/rubygems/commands/info_command.rb +10 -7
  305. data/lib/rubygems/commands/install_command.rb +36 -30
  306. data/lib/rubygems/commands/list_command.rb +9 -8
  307. data/lib/rubygems/commands/lock_command.rb +5 -7
  308. data/lib/rubygems/commands/mirror_command.rb +3 -5
  309. data/lib/rubygems/commands/open_command.rb +10 -14
  310. data/lib/rubygems/commands/outdated_command.rb +5 -7
  311. data/lib/rubygems/commands/owner_command.rb +26 -16
  312. data/lib/rubygems/commands/pristine_command.rb +70 -49
  313. data/lib/rubygems/commands/push_command.rb +22 -59
  314. data/lib/rubygems/commands/query_command.rb +21 -351
  315. data/lib/rubygems/commands/rdoc_command.rb +26 -27
  316. data/lib/rubygems/commands/search_command.rb +8 -8
  317. data/lib/rubygems/commands/server_command.rb +16 -77
  318. data/lib/rubygems/commands/setup_command.rb +255 -229
  319. data/lib/rubygems/commands/signin_command.rb +9 -11
  320. data/lib/rubygems/commands/signout_command.rb +7 -9
  321. data/lib/rubygems/commands/sources_command.rb +27 -25
  322. data/lib/rubygems/commands/specification_command.rb +25 -21
  323. data/lib/rubygems/commands/stale_command.rb +3 -5
  324. data/lib/rubygems/commands/uninstall_command.rb +44 -43
  325. data/lib/rubygems/commands/unpack_command.rb +14 -16
  326. data/lib/rubygems/commands/update_command.rb +126 -74
  327. data/lib/rubygems/commands/which_command.rb +7 -9
  328. data/lib/rubygems/commands/yank_command.rb +16 -19
  329. data/lib/rubygems/compatibility.rb +4 -2
  330. data/lib/rubygems/config_file.rb +75 -26
  331. data/lib/rubygems/core_ext/kernel_gem.rb +1 -6
  332. data/lib/rubygems/core_ext/kernel_require.rb +108 -112
  333. data/lib/rubygems/core_ext/kernel_warn.rb +31 -36
  334. data/lib/rubygems/core_ext/tcpsocket_init.rb +52 -0
  335. data/lib/rubygems/defaults.rb +124 -34
  336. data/lib/rubygems/dependency.rb +24 -22
  337. data/lib/rubygems/dependency_installer.rb +43 -115
  338. data/lib/rubygems/dependency_list.rb +13 -15
  339. data/lib/rubygems/deprecate.rb +102 -8
  340. data/lib/rubygems/doctor.rb +22 -22
  341. data/lib/rubygems/errors.rb +6 -21
  342. data/lib/rubygems/exceptions.rb +34 -37
  343. data/lib/rubygems/ext/build_error.rb +2 -0
  344. data/lib/rubygems/ext/builder.rb +64 -54
  345. data/lib/rubygems/ext/cargo_builder/link_flag_converter.rb +27 -0
  346. data/lib/rubygems/ext/cargo_builder.rb +360 -0
  347. data/lib/rubygems/ext/cmake_builder.rb +6 -9
  348. data/lib/rubygems/ext/configure_builder.rb +5 -8
  349. data/lib/rubygems/ext/ext_conf_builder.rb +43 -66
  350. data/lib/rubygems/ext/rake_builder.rb +7 -10
  351. data/lib/rubygems/ext.rb +7 -6
  352. data/lib/rubygems/gem_runner.rb +15 -26
  353. data/lib/rubygems/gemcutter_utilities.rb +161 -33
  354. data/lib/rubygems/indexer.rb +31 -50
  355. data/lib/rubygems/install_default_message.rb +2 -2
  356. data/lib/rubygems/install_message.rb +2 -2
  357. data/lib/rubygems/install_update_options.rb +73 -64
  358. data/lib/rubygems/installer.rb +199 -156
  359. data/lib/rubygems/installer_uninstaller_utils.rb +29 -0
  360. data/lib/rubygems/local_remote_options.rb +22 -24
  361. data/lib/rubygems/mock_gem_ui.rb +2 -8
  362. data/lib/rubygems/name_tuple.rb +9 -14
  363. data/lib/rubygems/openssl.rb +7 -0
  364. data/lib/rubygems/optparse/.document +1 -0
  365. data/lib/rubygems/optparse/COPYING +56 -0
  366. data/lib/rubygems/optparse/lib/optionparser.rb +2 -0
  367. data/lib/rubygems/optparse/lib/optparse/ac.rb +54 -0
  368. data/lib/rubygems/optparse/lib/optparse/date.rb +18 -0
  369. data/lib/rubygems/optparse/lib/optparse/kwargs.rb +22 -0
  370. data/lib/rubygems/optparse/lib/optparse/shellwords.rb +7 -0
  371. data/lib/rubygems/optparse/lib/optparse/time.rb +11 -0
  372. data/lib/rubygems/optparse/lib/optparse/uri.rb +7 -0
  373. data/lib/rubygems/optparse/lib/optparse/version.rb +71 -0
  374. data/lib/rubygems/optparse/lib/optparse.rb +2308 -0
  375. data/lib/rubygems/optparse.rb +3 -0
  376. data/lib/rubygems/package/digest_io.rb +0 -2
  377. data/lib/rubygems/package/file_source.rb +2 -4
  378. data/lib/rubygems/package/io_source.rb +4 -2
  379. data/lib/rubygems/package/old.rb +9 -11
  380. data/lib/rubygems/package/tar_header.rb +65 -67
  381. data/lib/rubygems/package/tar_reader/entry.rb +89 -11
  382. data/lib/rubygems/package/tar_reader.rb +1 -32
  383. data/lib/rubygems/package/tar_writer.rb +8 -18
  384. data/lib/rubygems/package.rb +109 -120
  385. data/lib/rubygems/package_task.rb +5 -11
  386. data/lib/rubygems/path_support.rb +2 -9
  387. data/lib/rubygems/platform.rb +113 -74
  388. data/lib/rubygems/psych_tree.rb +1 -3
  389. data/lib/rubygems/query_utils.rb +351 -0
  390. data/lib/rubygems/rdoc.rb +2 -14
  391. data/lib/rubygems/remote_fetcher.rb +48 -74
  392. data/lib/rubygems/request/connection_pools.rb +6 -10
  393. data/lib/rubygems/request/http_pool.rb +2 -4
  394. data/lib/rubygems/request/https_pool.rb +0 -2
  395. data/lib/rubygems/request.rb +26 -31
  396. data/lib/rubygems/request_set/gem_dependency_api.rb +127 -130
  397. data/lib/rubygems/request_set/lockfile/parser.rb +26 -28
  398. data/lib/rubygems/request_set/lockfile/tokenizer.rb +5 -7
  399. data/lib/rubygems/request_set/lockfile.rb +17 -21
  400. data/lib/rubygems/request_set.rb +27 -40
  401. data/lib/rubygems/requirement.rb +29 -49
  402. data/lib/rubygems/resolver/activation_request.rb +12 -6
  403. data/lib/rubygems/resolver/api_set/gem_parser.rb +20 -0
  404. data/lib/rubygems/resolver/api_set.rb +32 -25
  405. data/lib/rubygems/resolver/api_specification.rb +29 -15
  406. data/lib/rubygems/resolver/best_set.rb +7 -9
  407. data/lib/rubygems/resolver/composed_set.rb +3 -5
  408. data/lib/rubygems/resolver/conflict.rb +12 -14
  409. data/lib/rubygems/resolver/current_set.rb +0 -2
  410. data/lib/rubygems/resolver/dependency_request.rb +3 -5
  411. data/lib/rubygems/resolver/git_set.rb +2 -4
  412. data/lib/rubygems/resolver/git_specification.rb +6 -8
  413. data/lib/rubygems/resolver/index_set.rb +4 -6
  414. data/lib/rubygems/resolver/index_specification.rb +38 -7
  415. data/lib/rubygems/resolver/installed_specification.rb +4 -6
  416. data/lib/rubygems/resolver/installer_set.rb +66 -24
  417. data/lib/rubygems/resolver/local_specification.rb +2 -4
  418. data/lib/rubygems/resolver/lock_set.rb +6 -8
  419. data/lib/rubygems/resolver/lock_specification.rb +4 -6
  420. data/lib/rubygems/resolver/molinillo/LICENSE +9 -0
  421. data/lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb +7 -0
  422. data/lib/rubygems/resolver/molinillo/lib/molinillo/delegates/specification_provider.rb +8 -0
  423. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/action.rb +1 -0
  424. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +2 -1
  425. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +2 -1
  426. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +2 -1
  427. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +2 -1
  428. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/log.rb +7 -6
  429. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/set_payload.rb +2 -1
  430. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/tag.rb +4 -3
  431. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/vertex.rb +51 -12
  432. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb +42 -9
  433. data/lib/rubygems/resolver/molinillo/lib/molinillo/errors.rb +82 -8
  434. data/lib/rubygems/resolver/molinillo/lib/molinillo/gem_metadata.rb +2 -1
  435. data/lib/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb +13 -1
  436. data/lib/rubygems/resolver/molinillo/lib/molinillo/modules/ui.rb +3 -1
  437. data/lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb +510 -165
  438. data/lib/rubygems/resolver/molinillo/lib/molinillo/resolver.rb +3 -2
  439. data/lib/rubygems/resolver/molinillo/lib/molinillo/state.rb +8 -4
  440. data/lib/rubygems/resolver/molinillo/lib/molinillo.rb +6 -5
  441. data/lib/rubygems/resolver/molinillo.rb +1 -1
  442. data/lib/rubygems/resolver/requirement_list.rb +0 -2
  443. data/lib/rubygems/resolver/set.rb +0 -3
  444. data/lib/rubygems/resolver/source_set.rb +0 -2
  445. data/lib/rubygems/resolver/spec_specification.rb +14 -2
  446. data/lib/rubygems/resolver/specification.rb +14 -4
  447. data/lib/rubygems/resolver/stats.rb +1 -3
  448. data/lib/rubygems/resolver/vendor_set.rb +1 -3
  449. data/lib/rubygems/resolver/vendor_specification.rb +3 -5
  450. data/lib/rubygems/resolver.rb +53 -51
  451. data/lib/rubygems/s3_uri_signer.rb +7 -15
  452. data/lib/rubygems/safe_yaml.rb +14 -16
  453. data/lib/rubygems/security/policies.rb +47 -47
  454. data/lib/rubygems/security/policy.rb +25 -29
  455. data/lib/rubygems/security/signer.rb +13 -16
  456. data/lib/rubygems/security/trust_dir.rb +5 -6
  457. data/lib/rubygems/security.rb +90 -69
  458. data/lib/rubygems/security_option.rb +7 -7
  459. data/lib/rubygems/source/git.rb +31 -31
  460. data/lib/rubygems/source/installed.rb +1 -3
  461. data/lib/rubygems/source/local.rb +4 -6
  462. data/lib/rubygems/source/lock.rb +0 -2
  463. data/lib/rubygems/source/specific_file.rb +1 -3
  464. data/lib/rubygems/source/vendor.rb +0 -2
  465. data/lib/rubygems/source.rb +44 -38
  466. data/lib/rubygems/source_list.rb +9 -16
  467. data/lib/rubygems/spec_fetcher.rb +49 -48
  468. data/lib/rubygems/specification.rb +382 -343
  469. data/lib/rubygems/specification_policy.rb +131 -61
  470. data/lib/rubygems/stub_specification.rb +24 -31
  471. data/lib/rubygems/text.rb +22 -21
  472. data/lib/rubygems/tsort/.document +1 -0
  473. data/lib/rubygems/tsort/LICENSE.txt +22 -0
  474. data/lib/rubygems/tsort/lib/tsort.rb +452 -0
  475. data/lib/rubygems/tsort.rb +3 -0
  476. data/lib/rubygems/uninstaller.rb +98 -45
  477. data/lib/rubygems/unknown_command_spell_checker.rb +21 -0
  478. data/lib/rubygems/update_suggestion.rb +69 -0
  479. data/lib/rubygems/uri.rb +126 -0
  480. data/lib/rubygems/uri_formatter.rb +2 -3
  481. data/lib/rubygems/user_interaction.rb +43 -54
  482. data/lib/rubygems/util/licenses.rb +115 -10
  483. data/lib/rubygems/util/list.rb +0 -2
  484. data/lib/rubygems/util.rb +19 -17
  485. data/lib/rubygems/validator.rb +7 -9
  486. data/lib/rubygems/version.rb +31 -22
  487. data/lib/rubygems/version_option.rb +11 -5
  488. data/lib/rubygems.rb +213 -290
  489. data/rubygems-update.gemspec +5 -5
  490. data/setup.rb +11 -22
  491. data/test/rubygems/alternate_cert.pem +14 -14
  492. data/test/rubygems/alternate_cert_32.pem +15 -15
  493. data/test/rubygems/alternate_key.pem +25 -25
  494. data/test/rubygems/bundler_test_gem.rb +419 -0
  495. data/test/rubygems/child_cert.pem +15 -16
  496. data/test/rubygems/child_cert_32.pem +15 -16
  497. data/test/rubygems/child_key.pem +25 -25
  498. data/test/rubygems/data/excon-0.7.7.gemspec.rz +0 -0
  499. data/test/rubygems/data/null-required-ruby-version.gemspec.rz +0 -0
  500. data/test/rubygems/data/null-required-rubygems-version.gemspec.rz +0 -0
  501. data/test/rubygems/data/pry-0.4.7.gemspec.rz +0 -0
  502. data/test/rubygems/encrypted_private_key.pem +26 -26
  503. data/test/rubygems/expired_cert.pem +15 -15
  504. data/test/rubygems/future_cert.pem +15 -15
  505. data/test/rubygems/future_cert_32.pem +15 -15
  506. data/test/rubygems/grandchild_cert.pem +15 -16
  507. data/test/rubygems/grandchild_cert_32.pem +15 -16
  508. data/test/rubygems/grandchild_key.pem +25 -25
  509. data/{lib/rubygems/test_case.rb → test/rubygems/helper.rb} +402 -327
  510. data/{lib → test}/rubygems/installer_test_case.rb +38 -24
  511. data/test/rubygems/invalid_issuer_cert.pem +16 -16
  512. data/test/rubygems/invalid_issuer_cert_32.pem +16 -16
  513. data/test/rubygems/invalid_key.pem +25 -25
  514. data/test/rubygems/invalid_signer_cert.pem +15 -15
  515. data/test/rubygems/invalid_signer_cert_32.pem +15 -15
  516. data/test/rubygems/invalidchild_cert.pem +15 -16
  517. data/test/rubygems/invalidchild_cert_32.pem +15 -16
  518. data/test/rubygems/invalidchild_key.pem +25 -25
  519. data/{lib → test}/rubygems/package/tar_test_case.rb +51 -18
  520. data/test/rubygems/packages/Bluebie-legs-0.6.2.gem +0 -0
  521. data/test/rubygems/packages/ascii_binder-0.1.10.1.gem +0 -0
  522. data/test/rubygems/packages/ill-formatted-platform-1.0.0.10.gem +0 -0
  523. data/test/rubygems/plugin/exception/rubygems_plugin.rb +1 -1
  524. data/test/rubygems/plugin/load/rubygems_plugin.rb +0 -2
  525. data/test/rubygems/plugin/standarderror/rubygems_plugin.rb +1 -1
  526. data/test/rubygems/private_ec_key.pem +9 -0
  527. data/test/rubygems/private_key.pem +25 -25
  528. data/test/rubygems/public_cert.pem +16 -16
  529. data/test/rubygems/public_cert_32.pem +15 -15
  530. data/test/rubygems/public_key.pem +7 -7
  531. data/test/rubygems/rubygems/commands/crash_command.rb +0 -2
  532. data/test/rubygems/rubygems_plugin.rb +2 -4
  533. data/test/rubygems/simple_gem.rb +1 -1
  534. data/test/rubygems/specifications/bar-0.0.2.gemspec +0 -2
  535. data/test/rubygems/specifications/rubyforge-0.0.1.gemspec +4 -6
  536. data/test/rubygems/test_bundled_ca.rb +43 -50
  537. data/test/rubygems/test_config.rb +5 -7
  538. data/test/rubygems/test_deprecate.rb +87 -10
  539. data/test/rubygems/test_exit.rb +17 -0
  540. data/test/rubygems/test_gem.rb +560 -826
  541. data/test/rubygems/test_gem_available_set.rb +24 -26
  542. data/test/rubygems/test_gem_bundler_version_finder.rb +40 -46
  543. data/test/rubygems/test_gem_command.rb +78 -49
  544. data/test/rubygems/test_gem_command_manager.rb +163 -35
  545. data/test/rubygems/test_gem_commands_build_command.rb +285 -57
  546. data/test/rubygems/test_gem_commands_cert_command.rb +180 -125
  547. data/test/rubygems/test_gem_commands_check_command.rb +9 -11
  548. data/test/rubygems/test_gem_commands_cleanup_command.rb +78 -69
  549. data/test/rubygems/test_gem_commands_contents_command.rb +73 -42
  550. data/test/rubygems/test_gem_commands_dependency_command.rb +38 -40
  551. data/test/rubygems/test_gem_commands_environment_command.rb +60 -38
  552. data/test/rubygems/test_gem_commands_exec_command.rb +851 -0
  553. data/test/rubygems/test_gem_commands_fetch_command.rb +163 -32
  554. data/test/rubygems/test_gem_commands_generate_index_command.rb +8 -14
  555. data/test/rubygems/test_gem_commands_help_command.rb +34 -16
  556. data/test/rubygems/test_gem_commands_info_command.rb +33 -9
  557. data/test/rubygems/test_gem_commands_install_command.rb +420 -198
  558. data/test/rubygems/test_gem_commands_list_command.rb +5 -7
  559. data/test/rubygems/test_gem_commands_lock_command.rb +11 -13
  560. data/test/rubygems/test_gem_commands_mirror.rb +3 -5
  561. data/test/rubygems/test_gem_commands_open_command.rb +16 -19
  562. data/test/rubygems/test_gem_commands_outdated_command.rb +23 -7
  563. data/test/rubygems/test_gem_commands_owner_command.rb +181 -46
  564. data/test/rubygems/test_gem_commands_pristine_command.rb +179 -99
  565. data/test/rubygems/test_gem_commands_push_command.rb +156 -67
  566. data/test/rubygems/test_gem_commands_query_command.rb +91 -91
  567. data/test/rubygems/test_gem_commands_search_command.rb +2 -4
  568. data/test/rubygems/test_gem_commands_server_command.rb +6 -50
  569. data/test/rubygems/test_gem_commands_setup_command.rb +285 -183
  570. data/test/rubygems/test_gem_commands_signin_command.rb +187 -28
  571. data/test/rubygems/test_gem_commands_signout_command.rb +3 -10
  572. data/test/rubygems/test_gem_commands_sources_command.rb +139 -32
  573. data/test/rubygems/test_gem_commands_specification_command.rb +81 -55
  574. data/test/rubygems/test_gem_commands_stale_command.rb +4 -6
  575. data/test/rubygems/test_gem_commands_uninstall_command.rb +102 -87
  576. data/test/rubygems/test_gem_commands_unpack_command.rb +32 -34
  577. data/test/rubygems/test_gem_commands_update_command.rb +341 -94
  578. data/test/rubygems/test_gem_commands_which_command.rb +12 -14
  579. data/test/rubygems/test_gem_commands_yank_command.rb +80 -44
  580. data/test/rubygems/test_gem_config_file.rb +114 -97
  581. data/test/rubygems/test_gem_dependency.rb +88 -86
  582. data/test/rubygems/test_gem_dependency_installer.rb +277 -391
  583. data/test/rubygems/test_gem_dependency_list.rb +57 -59
  584. data/test/rubygems/test_gem_dependency_resolution_error.rb +5 -7
  585. data/test/rubygems/test_gem_doctor.rb +73 -47
  586. data/test/rubygems/test_gem_ext_builder.rb +115 -111
  587. data/test/rubygems/test_gem_ext_cargo_builder/custom_name/.gitignore +1 -0
  588. data/test/rubygems/test_gem_ext_cargo_builder/custom_name/custom_name.gemspec +8 -0
  589. data/test/rubygems/test_gem_ext_cargo_builder/custom_name/ext/custom_name_lib/Cargo.lock +233 -0
  590. data/test/rubygems/test_gem_ext_cargo_builder/custom_name/ext/custom_name_lib/Cargo.toml +10 -0
  591. data/test/rubygems/test_gem_ext_cargo_builder/custom_name/ext/custom_name_lib/src/lib.rs +27 -0
  592. data/test/rubygems/test_gem_ext_cargo_builder/custom_name/lib/custom_name.rb +1 -0
  593. data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/.gitignore +1 -0
  594. data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/Cargo.lock +247 -0
  595. data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/Cargo.toml +10 -0
  596. data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/rust_ruby_example.gemspec +8 -0
  597. data/test/rubygems/test_gem_ext_cargo_builder/rust_ruby_example/src/lib.rs +51 -0
  598. data/test/rubygems/test_gem_ext_cargo_builder.rb +166 -0
  599. data/test/rubygems/test_gem_ext_cargo_builder_link_flag_converter.rb +33 -0
  600. data/test/rubygems/test_gem_ext_cargo_builder_unit.rb +60 -0
  601. data/test/rubygems/test_gem_ext_cmake_builder.rb +31 -38
  602. data/test/rubygems/test_gem_ext_configure_builder.rb +23 -39
  603. data/test/rubygems/test_gem_ext_ext_conf_builder.rb +66 -82
  604. data/test/rubygems/test_gem_ext_rake_builder.rb +49 -32
  605. data/test/rubygems/test_gem_gem_runner.rb +57 -9
  606. data/test/rubygems/test_gem_gemcutter_utilities.rb +91 -76
  607. data/test/rubygems/test_gem_impossible_dependencies_error.rb +4 -6
  608. data/test/rubygems/test_gem_indexer.rb +100 -83
  609. data/test/rubygems/test_gem_install_update_options.rb +31 -21
  610. data/test/rubygems/test_gem_installer.rb +857 -484
  611. data/test/rubygems/test_gem_local_remote_options.rb +11 -13
  612. data/test/rubygems/test_gem_name_tuple.rb +4 -6
  613. data/test/rubygems/test_gem_package.rb +330 -305
  614. data/test/rubygems/test_gem_package_old.rb +18 -20
  615. data/test/rubygems/test_gem_package_tar_header.rb +69 -52
  616. data/test/rubygems/test_gem_package_tar_reader.rb +54 -9
  617. data/test/rubygems/test_gem_package_tar_reader_entry.rb +168 -25
  618. data/test/rubygems/test_gem_package_tar_writer.rb +96 -100
  619. data/test/rubygems/test_gem_package_task.rb +58 -25
  620. data/test/rubygems/test_gem_path_support.rb +15 -21
  621. data/test/rubygems/test_gem_platform.rb +388 -201
  622. data/test/rubygems/test_gem_rdoc.rb +19 -21
  623. data/test/rubygems/test_gem_remote_fetcher.rb +377 -338
  624. data/test/rubygems/test_gem_request.rb +114 -86
  625. data/test/rubygems/test_gem_request_connection_pools.rb +30 -34
  626. data/test/rubygems/test_gem_request_set.rb +124 -125
  627. data/test/rubygems/test_gem_request_set_gem_dependency_api.rb +227 -231
  628. data/test/rubygems/test_gem_request_set_lockfile.rb +93 -95
  629. data/test/rubygems/test_gem_request_set_lockfile_parser.rb +69 -71
  630. data/test/rubygems/test_gem_request_set_lockfile_tokenizer.rb +136 -138
  631. data/test/rubygems/test_gem_requirement.rb +133 -54
  632. data/test/rubygems/test_gem_resolver.rb +182 -117
  633. data/test/rubygems/test_gem_resolver_activation_request.rb +6 -8
  634. data/test/rubygems/test_gem_resolver_api_set.rb +79 -78
  635. data/test/rubygems/test_gem_resolver_api_specification.rb +47 -49
  636. data/test/rubygems/test_gem_resolver_best_set.rb +43 -22
  637. data/test/rubygems/test_gem_resolver_composed_set.rb +1 -3
  638. data/test/rubygems/test_gem_resolver_conflict.rb +12 -14
  639. data/test/rubygems/test_gem_resolver_dependency_request.rb +15 -17
  640. data/test/rubygems/test_gem_resolver_git_set.rb +22 -24
  641. data/test/rubygems/test_gem_resolver_git_specification.rb +22 -23
  642. data/test/rubygems/test_gem_resolver_index_set.rb +14 -16
  643. data/test/rubygems/test_gem_resolver_index_specification.rb +16 -18
  644. data/test/rubygems/test_gem_resolver_installed_specification.rb +5 -7
  645. data/test/rubygems/test_gem_resolver_installer_set.rb +104 -44
  646. data/test/rubygems/test_gem_resolver_local_specification.rb +7 -9
  647. data/test/rubygems/test_gem_resolver_lock_set.rb +15 -17
  648. data/test/rubygems/test_gem_resolver_lock_specification.rb +17 -19
  649. data/test/rubygems/test_gem_resolver_requirement_list.rb +1 -3
  650. data/test/rubygems/test_gem_resolver_specification.rb +8 -12
  651. data/test/rubygems/test_gem_resolver_vendor_set.rb +9 -11
  652. data/test/rubygems/test_gem_resolver_vendor_specification.rb +10 -12
  653. data/test/rubygems/test_gem_security.rb +105 -79
  654. data/test/rubygems/test_gem_security_policy.rb +102 -107
  655. data/test/rubygems/test_gem_security_signer.rb +51 -53
  656. data/test/rubygems/test_gem_security_trust_dir.rb +14 -16
  657. data/test/rubygems/test_gem_silent_ui.rb +46 -42
  658. data/test/rubygems/test_gem_source.rb +53 -52
  659. data/test/rubygems/test_gem_source_fetch_problem.rb +16 -8
  660. data/test/rubygems/test_gem_source_git.rb +78 -72
  661. data/test/rubygems/test_gem_source_installed.rb +16 -18
  662. data/test/rubygems/test_gem_source_list.rb +5 -6
  663. data/test/rubygems/test_gem_source_local.rb +15 -17
  664. data/test/rubygems/test_gem_source_lock.rb +31 -33
  665. data/test/rubygems/test_gem_source_specific_file.rb +18 -20
  666. data/test/rubygems/test_gem_source_subpath_problem.rb +49 -0
  667. data/test/rubygems/test_gem_source_vendor.rb +13 -15
  668. data/test/rubygems/test_gem_spec_fetcher.rb +74 -67
  669. data/test/rubygems/test_gem_specification.rb +967 -1056
  670. data/test/rubygems/test_gem_stream_ui.rb +23 -23
  671. data/test/rubygems/test_gem_stub_specification.rb +39 -57
  672. data/test/rubygems/test_gem_text.rb +8 -4
  673. data/test/rubygems/test_gem_uninstaller.rb +234 -105
  674. data/test/rubygems/test_gem_unsatisfiable_dependency_error.rb +3 -5
  675. data/test/rubygems/test_gem_update_suggestion.rb +208 -0
  676. data/test/rubygems/test_gem_uri.rb +39 -0
  677. data/test/rubygems/test_gem_uri_formatter.rb +14 -16
  678. data/test/rubygems/test_gem_util.rb +37 -35
  679. data/test/rubygems/test_gem_validator.rb +10 -12
  680. data/test/rubygems/test_gem_version.rb +32 -32
  681. data/test/rubygems/test_gem_version_option.rb +16 -18
  682. data/test/rubygems/test_kernel.rb +47 -67
  683. data/test/rubygems/test_project_sanity.rb +8 -3
  684. data/test/rubygems/test_remote_fetch_error.rb +7 -9
  685. data/test/rubygems/test_require.rb +269 -182
  686. data/test/rubygems/test_rubygems.rb +74 -0
  687. data/{lib/rubygems/test_utilities.rb → test/rubygems/utilities.rb} +63 -50
  688. data/test/rubygems/wrong_key_cert.pem +15 -15
  689. data/test/rubygems/wrong_key_cert_32.pem +15 -15
  690. data/test/test_changelog_generator.rb +17 -0
  691. metadata +190 -173
  692. data/.bundle/config +0 -2
  693. data/.rubocop.yml +0 -91
  694. data/Gemfile +0 -8
  695. data/Gemfile.lock +0 -43
  696. data/History.txt +0 -4473
  697. data/Rakefile +0 -428
  698. data/bundler/CODE_OF_CONDUCT.md +0 -136
  699. data/bundler/lib/bundler/dep_proxy.rb +0 -48
  700. data/bundler/lib/bundler/gemdeps.rb +0 -29
  701. data/bundler/lib/bundler/psyched_yaml.rb +0 -37
  702. data/bundler/lib/bundler/templates/gems.rb +0 -8
  703. data/bundler/lib/bundler/templates/newgem/travis.yml.tt +0 -6
  704. data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/monotonic_time.rb +0 -66
  705. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/compatibility.rb +0 -26
  706. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb +0 -57
  707. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb +0 -81
  708. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/action.rb +0 -36
  709. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +0 -66
  710. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +0 -62
  711. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +0 -63
  712. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +0 -61
  713. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +0 -126
  714. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +0 -46
  715. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +0 -36
  716. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +0 -158
  717. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +0 -223
  718. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +0 -143
  719. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata.rb +0 -6
  720. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +0 -101
  721. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/modules/ui.rb +0 -67
  722. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb +0 -837
  723. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/resolver.rb +0 -46
  724. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/state.rb +0 -58
  725. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo.rb +0 -12
  726. data/bundler/lib/bundler/version_ranges.rb +0 -122
  727. data/bundler/man/bundle-add.1.txt +0 -58
  728. data/bundler/man/bundle-binstubs.1.txt +0 -48
  729. data/bundler/man/bundle-cache.1.txt +0 -78
  730. data/bundler/man/bundle-check.1.txt +0 -33
  731. data/bundler/man/bundle-clean.1.txt +0 -26
  732. data/bundler/man/bundle-config.1.txt +0 -528
  733. data/bundler/man/bundle-doctor.1.txt +0 -44
  734. data/bundler/man/bundle-exec.1.txt +0 -178
  735. data/bundler/man/bundle-gem.1 +0 -80
  736. data/bundler/man/bundle-gem.1.txt +0 -91
  737. data/bundler/man/bundle-gem.ronn +0 -78
  738. data/bundler/man/bundle-info.1.txt +0 -21
  739. data/bundler/man/bundle-init.1.txt +0 -34
  740. data/bundler/man/bundle-inject.1.txt +0 -32
  741. data/bundler/man/bundle-install.1.txt +0 -401
  742. data/bundler/man/bundle-list.1.txt +0 -43
  743. data/bundler/man/bundle-lock.1.txt +0 -93
  744. data/bundler/man/bundle-open.1.txt +0 -29
  745. data/bundler/man/bundle-outdated.1.txt +0 -131
  746. data/bundler/man/bundle-platform.1.txt +0 -57
  747. data/bundler/man/bundle-pristine.1.txt +0 -44
  748. data/bundler/man/bundle-remove.1.txt +0 -34
  749. data/bundler/man/bundle-show.1.txt +0 -27
  750. data/bundler/man/bundle-update.1.txt +0 -390
  751. data/bundler/man/bundle-viz.1.txt +0 -39
  752. data/bundler/man/bundle.1.txt +0 -116
  753. data/bundler/man/gemfile.5.txt +0 -649
  754. data/lib/rubygems/psych_additions.rb +0 -10
  755. data/lib/rubygems/server.rb +0 -879
  756. data/lib/rubygems/source_local.rb +0 -7
  757. data/lib/rubygems/source_specific_file.rb +0 -6
  758. data/lib/rubygems/syck_hack.rb +0 -79
  759. data/lib/rubygems/uri_parser.rb +0 -36
  760. data/lib/rubygems/uri_parsing.rb +0 -23
  761. data/lib/ubygems.rb +0 -14
  762. data/test/rubygems/bogussources.rb +0 -9
  763. data/test/rubygems/data/null-type.gemspec.rz +0 -0
  764. data/test/rubygems/test_gem_server.rb +0 -612
  765. data/tmp/.keep +0 -0
  766. data/util/CL2notes +0 -55
  767. data/util/bisect +0 -10
  768. data/util/ci.sh +0 -62
  769. data/util/cops/deprecations.rb +0 -52
  770. data/util/create_certs.rb +0 -171
  771. data/util/create_certs.sh +0 -27
  772. data/util/create_encrypted_key.rb +0 -16
  773. data/util/generate_spdx_license_list.rb +0 -63
  774. data/util/patch_with_prs.rb +0 -77
  775. data/util/rubocop +0 -8
  776. data/util/update_bundled_ca_certificates.rb +0 -137
  777. data/util/update_changelog.rb +0 -64
  778. /data/bundler/{man/bundle-check.ronn → lib/bundler/man/bundle-check.1.ronn} +0 -0
  779. /data/bundler/{man/bundle-doctor.ronn → lib/bundler/man/bundle-doctor.1.ronn} +0 -0
  780. /data/bundler/{man/bundle-info.ronn → lib/bundler/man/bundle-info.1.ronn} +0 -0
  781. /data/bundler/{man/bundle-lock.ronn → lib/bundler/man/bundle-lock.1.ronn} +0 -0
  782. /data/bundler/{man/bundle-pristine.ronn → lib/bundler/man/bundle-pristine.1.ronn} +0 -0
  783. /data/bundler/{man/bundle-remove.ronn → lib/bundler/man/bundle-remove.1.ronn} +0 -0
  784. /data/bundler/{man/bundle-show.ronn → lib/bundler/man/bundle-show.1.ronn} +0 -0
data/History.txt DELETED
@@ -1,4473 +0,0 @@
1
- # coding: UTF-8
2
-
3
- === 3.1.6 / 2021-01-26
4
-
5
- Minor enhancements:
6
-
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.
12
-
13
- === 3.1.5 / 2020-12-09
14
-
15
- Minor enhancements:
16
-
17
- * Add GlobalSign Root CA - R3 cert and remove outdated certs. Pull request #4100
18
- by Aditya Prakash.
19
-
20
- === 3.1.4 / 2020-06-03
21
-
22
- Minor enhancements:
23
-
24
- * Deprecate rubyforge_project attribute only during build
25
- time. Pull request #3609 by Josef Šimánek.
26
- * Update links. Pull request #3610 by Josef Šimánek.
27
- * Run CI at 3.1 branch head as well. Pull request #3677 by Josef Šimánek.
28
- * Remove failing ubuntu-rvm CI flow. Pull request #3611 by
29
- Josef Šimánek.
30
-
31
- === 3.1.3 / 2020-05-05
32
-
33
- Minor enhancements:
34
-
35
- * Resolver: require NameTuple before use. Pull request #3171 by Olle
36
- Jonsson.
37
- * Use absolute paths with autoload. Pull request #3100 by David Rodríguez.
38
- * Avoid changing $SOURCE_DATE_EPOCH. Pull request #3088 by Ellen Marie
39
- Dash.
40
- * Use Bundler 2.1.4. Pull request #3072 by Hiroshi SHIBATA.
41
- * Add tests to check if Gem.ruby_version works with ruby git master.
42
- Pull request #3049 by Yusuke Endoh.
43
-
44
- Bug fixes:
45
-
46
- * Fix platform comparison check in #contains_requirable_file?. Pull
47
- request #3495 by Benoit Daloze.
48
- * Improve gzip errors logging. Pull request #3485 by David Rodríguez.
49
- * Fix incorrect `gem uninstall --all` message. Pull request #3483 by David
50
- Rodríguez.
51
- * Fix incorrect bundler version being required. Pull request #3458 by
52
- David Rodríguez.
53
- * Fix gem install from a gemdeps file with complex dependencies.
54
- Pull request #3054 by Luis Sagastume.
55
-
56
- === 3.1.2 / 2019-12-20
57
-
58
- Minor enhancements:
59
-
60
- * Restore non prompting `gem update --system` behavior. Pull request #3040
61
- by David Rodríguez.
62
- * Show only release notes for new code installed. Pull request #3041 by
63
- David Rodríguez.
64
- * Inform about installed `bundle` executable after `gem update --system`.
65
- Pull request #3042 by David Rodríguez.
66
- * Use Bundler 2.1.2. Pull request #3043 by SHIBATA Hiroshi.
67
-
68
- Bug fixes:
69
-
70
- * Require `uri` in source.rb. Pull request #3034 by mihaibuzgau.
71
- * Fix `gem update --system --force`. Pull request #3035 by David
72
- Rodríguez.
73
- * Move `require uri` to source_list. Pull request #3038 by mihaibuzgau.
74
-
75
- === 3.1.1 / 2019-12-16
76
-
77
- Bug fixes:
78
-
79
- * Vendor Bundler 2.1.0 again. The version of Bundler with
80
- RubyGems 3.1.0 was Bundler 2.1.0.pre.3. Pull request #3029 by
81
- SHIBATA Hiroshi.
82
-
83
- === 3.1.0 / 2019-12-16
84
-
85
- Major enhancements:
86
-
87
- * Vendor bundler 2.1. Pull request #3028 by David Rodríguez.
88
-
89
- Minor enhancements:
90
-
91
- * Check for rubygems.org typo squatting sources. Pull request #2999 by
92
- Luis Sagastume.
93
- * Refactor remote fetcher. Pull request #3017 by David Rodríguez.
94
- * Lazily load `open3`. Pull request #3001 by David Rodríguez.
95
- * Remove `delegate` dependency. Pull request #3002 by David Rodríguez.
96
- * Lazily load `uri`. Pull request #3005 by David Rodríguez.
97
- * Lazily load `rubygems/gem_runner` during tests. Pull request #3009 by
98
- David Rodríguez.
99
- * Use bundler to manage development dependencies. Pull request #3012 by
100
- David Rodríguez.
101
-
102
- Bug fixes:
103
-
104
- * Remove unnecessary executable flags. Pull request #2982 by David
105
- Rodríguez.
106
- * Remove configuration that contained a typo. Pull request #2989 by David
107
- Rodríguez.
108
-
109
- Compatibility changes:
110
-
111
- * Remove 1.8.7 leftovers. Pull request #2972 by David Rodríguez.
112
- * Deprecate `gem generate_index --modern` and `gem generate_index
113
- --no-modern`. Pull request #2992 by David Rodríguez.
114
-
115
- === 3.1.0.pre3 / 2019-11-11
116
-
117
- Minor enhancements:
118
-
119
- * Fix gem pristine not accounting for user installed gems. Pull request
120
- #2914 by Luis Sagastume.
121
- * Refactor keyword argument test for Ruby 2.7. Pull request #2947 by
122
- SHIBATA Hiroshi.
123
- * Fix errors at frozen Gem::Version. Pull request #2949 by Nobuyoshi
124
- Nakada.
125
- * Remove taint usage on Ruby 2.7+. Pull request #2951 by Jeremy Evans.
126
- * Check Manifest.txt is up to date. Pull request #2953 by David Rodríguez.
127
- * Clarify symlink conditionals in tests. Pull request #2962 by David
128
- Rodríguez.
129
- * Update command line parsing to work under ps. Pull request #2966 by
130
- David Rodríguez.
131
- * Properly test `Gem::Specifications.stub_for`. Pull request #2970 by
132
- David Rodríguez.
133
- * Fix Gem::LOADED_SPECS_MUTEX handling for recursive locking. Pull request
134
- #2985 by MSP-Greg.
135
-
136
- === 3.1.0.pre2 / 2019-10-15
137
-
138
- Minor enhancements:
139
-
140
- * Optimize Gem::Package::TarReader#each. Pull request #2941 by Jean byroot
141
- Boussier.
142
- * Time comparison around date boundary. Pull request #2944 by Nobuyoshi
143
- Nakada.
144
-
145
- === 3.1.0.pre1 / 2019-10-08
146
-
147
- Major enhancements:
148
-
149
- * Try to use bundler-2.1.0.pre.2. Pull request #2923 by SHIBATA Hiroshi.
150
- * [Require] Ensure -I beats a default gem. Pull request #1868 by Samuel
151
- Giddins.
152
- * [Specification] Prefer user-installed gems to default gems. Pull request
153
- #2112 by Samuel Giddins.
154
- * Multifactor authentication for yank command. Pull request #2514 by Qiu
155
- Chaofan.
156
- * Autoswitch to exact bundler version if present. Pull request #2583 by
157
- David Rodríguez.
158
-
159
- Minor enhancements:
160
-
161
- * Fix Gem::Requirement equality comparison when ~> operator is used. Pull
162
- request #2554 by Grey Baker.
163
- * Don't use a proxy if https_proxy env var is empty. Pull request #2567 by
164
- Luis Sagastume.
165
- * Fix typo in specs warning. Pull request #2585 by Rui.
166
- * Bin/gem: remove initial empty line. Pull request #2602 by Kenyon Ralph.
167
- * Avoid rdoc hook when it's failed to load rdoc library. Pull request
168
- #2604 by SHIBATA Hiroshi.
169
- * Refactor get_proxy_from_env logic. Pull request #2611 by Luis Sagastume.
170
- * Allow to easily bisect flaky failures. Pull request #2626 by David
171
- Rodríguez.
172
- * Fix `--ignore-dependencies` flag not installing platform specific gems.
173
- Pull request #2631 by David Rodríguez.
174
- * Make `gem install --explain` list platforms. Pull request #2634 by David
175
- Rodríguez.
176
- * Make `gem update --explain` list platforms. Pull request #2635 by David
177
- Rodríguez.
178
- * Refactoring install and update explanations. Pull request #2643 by David
179
- Rodríguez.
180
- * Restore transitiveness of version comparison. Pull request #2651 by
181
- David Rodríguez.
182
- * Undo requirement sorting. Pull request #2652 by David Rodríguez.
183
- * Update dummy version of Bundler for #2581. Pull request #2584 by SHIBATA
184
- Hiroshi.
185
- * Ignore to handle the different platform. Pull request #2672 by SHIBATA
186
- Hiroshi.
187
- * Make Gem::Specification.default_stubs to public methods. Pull request
188
- #2675 by SHIBATA Hiroshi.
189
- * Sort files and test_files in specifications. Pull request #2524 by
190
- Christopher Baines.
191
- * Fix comment of Gem::Specification#required_ruby_version=. Pull request
192
- #2732 by Alex Junger.
193
- * Config_file.rb - update path separator in ENV['GEMRC'] logic. Pull
194
- request #2735 by MSP-Greg.
195
- * Fix `ruby setup.rb` warnings. Pull request #2737 by David Rodríguez.
196
- * Don't use regex delimiters when searching for a dependency. Pull request
197
- #2738 by Luis Sagastume.
198
- * Refactor query command. Pull request #2739 by Luis Sagastume.
199
- * Don't remove default spec files from mapping after require. Pull request
200
- #2741 by David Rodríguez.
201
- * Cleanup base test case. Pull request #2742 by David Rodríguez.
202
- * Simplify Specification#gems_dir. Pull request #2745 by David Rodríguez.
203
- * Fix test warning. Pull request #2746 by David Rodríguez.
204
- * Extract an `add_to_load_path` method. Pull request #2749 by David
205
- Rodríguez.
206
- * Fix setup command if format_executable is true by default. Pull request
207
- #2766 by Jeremy Evans.
208
- * Update the certificate files to make the test pass on Debian 10. Pull
209
- request #2777 by Yusuke Endoh.
210
- * Write to the correct config file(.gemrc). Pull request #2779 by Luis
211
- Sagastume.
212
- * Fix for large values in UID/GID fields in tar archives. Pull request
213
- #2780 by Alexey Shein.
214
- * Lazy require stringio. Pull request #2781 by Luis Sagastume.
215
- * Make Gem::Specification#ruby_code handle OpenSSL::PKey::RSA objects.
216
- Pull request #2782 by Luis Sagastume.
217
- * Fix setup command test for bundler with program_suffix. Pull request
218
- #2783 by Sorah Fukumori.
219
- * Make sure `rake package` works. Pull request #2787 by David Rodríguez.
220
- * Synchronize access to the Gem::Specification::LOAD_CACHE Hash. Pull
221
- request #2789 by Benoit Daloze.
222
- * Task to install rubygems to local system. Pull request #2795 by David
223
- Rodríguez.
224
- * Add an attr_reader to Gem::Installer for the package instance variable.
225
- Pull request #2796 by Daniel Berger.
226
- * Switch CI script to bash. Pull request #2799 by David Rodríguez.
227
- * Move gemcutter utilities code to Gem::Command. Pull request #2803 by
228
- Luis Sagastume.
229
- * Add raw spec method to gem package. Pull request #2806 by Luis
230
- Sagastume.
231
- * Improve `rake package` test error message. Pull request #2815 by David
232
- Rodríguez.
233
- * Resolve `@@project_dir` from test file paths. Pull request #2843 by
234
- Nobuyoshi Nakada.
235
- * Remove dead code in Gem::Validator. Pull request #2537 by Ellen Marie
236
- Dash.
237
- * The date might have advanced since TODAY has been set. Pull request
238
- #2938 by Nobuyoshi Nakada.
239
- * Remove old ci configurations. Pull request #2917 by SHIBATA Hiroshi.
240
- * Add Gem::Dependency identity. Pull request #2936 by Luis Sagastume.
241
- * Filter dependency type and name strictly. Pull request #2930 by SHIBATA
242
- Hiroshi.
243
- * Always pass an encoding option to Zlib::GzipReader.wrap. Pull request
244
- #2933 by Nobuyoshi Nakada.
245
- * Introduce default prerelease requirement. Pull request #2925 by David
246
- Rodríguez.
247
- * Detect libc version, closes #2918. Pull request #2922 by fauno.
248
- * Use IAM role to extract security-credentials for EC2 instance. Pull
249
- request #2894 by Alexander Pakulov.
250
- * Improve `gem uninstall --all`. Pull request #2893 by David Rodríguez.
251
- * Use `RbConfig::CONFIG['rubylibprefix']`. Pull request #2889 by Nobuyoshi
252
- Nakada.
253
- * Build the first gemspec we found if no arguments are passed to gem
254
- build. Pull request #2887 by Luis Sagastume.
255
- * $LOAD_PATH elements should be real paths. Pull request #2885 by
256
- Nobuyoshi Nakada.
257
- * Use the standard RUBY_ENGINE_VERSION instead of JRUBY_VERSION. Pull
258
- request #2864 by Benoit Daloze.
259
- * Cleanup after testing `rake package`. Pull request #2862 by David
260
- Rodríguez.
261
- * Cherry-pick shushing deprecation warnings from ruby-core. Pull request
262
- #2861 by David Rodríguez.
263
- * Ext/builder.rb cleanup. Pull request #2849 by Luis Sagastume.
264
- * Fix @ran_rake assignment in builder.rb. Pull request #2850 by Luis
265
- Sagastume.
266
- * Remove test suite warnings. Pull request #2845 by Luis Sagastume.
267
- * Replace domain parameter with a parameter to suppress suggestions. Pull
268
- request #2846 by Luis Sagastume.
269
- * Move default specifications dir definition out of BasicSpecification.
270
- Pull request #2841 by Vít Ondruch.
271
- * There is no usage of @orig_env_* variables in test suite. Pull request
272
- #2838 by SHIBATA Hiroshi.
273
- * Use File#open instead of Kernel#open in stub_specification.rb. Pull
274
- request #2834 by Luis Sagastume.
275
- * Simplify #to_ruby code. Pull request #2825 by Nobuyoshi Nakada.
276
- * Add a gem attr to the Gem::Package class. Pull request #2828 by Daniel
277
- Berger.
278
- * Remove useless TODO comment. Pull request #2818 by Luis Sagastume.
279
-
280
- Bug fixes:
281
-
282
- * Fix typos in History.txt. Pull request #2565 by Igor Zubkov.
283
- * Remove unused empty sources array. Pull request #2598 by Aaron
284
- Patterson.
285
- * Fix windows specific executables generated by `gem install`. Pull
286
- request #2628 by David Rodríguez.
287
- * Gem::Specification#to_ruby needs OpenSSL. Pull request #2937 by
288
- Nobuyoshi Nakada.
289
- * Set SOURCE_DATE_EPOCH env var if not provided. Pull request #2882 by
290
- Ellen Marie Dash.
291
- * Installer.rb - fix #windows_stub_script. Pull request #2876 by MSP-Greg.
292
- * Fixed deprecation message. Pull request #2867 by Nobuyoshi Nakada.
293
- * Fix requiring default gems to consider prereleases. Pull request #2728
294
- by David Rodríguez.
295
- * Forbid `find_spec_for_exe` without an `exec_name`. Pull request #2706 by
296
- David Rodríguez.
297
- * Do not prompt for passphrase when key can be loaded without it. Pull
298
- request #2710 by Luis Sagastume.
299
- * Add missing wrapper. Pull request #2690 by David Rodríguez.
300
- * Remove long ago deprecated methods. Pull request #2704 by David
301
- Rodríguez.
302
- * Renamed duplicate test. Pull request #2678 by Nobuyoshi Nakada.
303
- * File.exists? is deprecated. Pull request #2855 by SHIBATA Hiroshi.
304
- * Fixed to warn with shadowing outer local variable. Pull request #2856 by
305
- SHIBATA Hiroshi.
306
- * Fix explain with ignore-dependencies. Pull request #2647 by David
307
- Rodríguez.
308
- * Fix default gem executable installation when folder is not `bin/`. Pull
309
- request #2649 by David Rodríguez.
310
- * Fix cryptic error on local and ignore-dependencies combination. Pull
311
- request #2650 by David Rodríguez.
312
-
313
- Compatibility changes:
314
-
315
- * Remove commented code from command.rb. Pull request #2620 by Luis
316
- Sagastume.
317
- * Suppress keywords warning. Pull request #2934 by Nobuyoshi Nakada.
318
- * Suppress Ruby 2.7's real kwargs warning. Pull request #2912 by Koichi
319
- ITO.
320
- * 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
- * Remove conflict.rb code that was supposed to be removed in Rubygems 3.
326
- Pull request #2802 by Luis Sagastume.
327
- * Explicitly deprecate `rubyforge_project`. Pull request #2798 by David
328
- Rodríguez.
329
- * Compatibility cleanups. Pull request #2754 by David Rodríguez.
330
- * Remove `others_possible` activation request param. Pull request #2747 by
331
- David Rodríguez.
332
- * Remove dependency installer deprecated code. Pull request #2740 by Luis
333
- Sagastume.
334
- * Deprecate unused Gem::Installer#unpack method. Pull request #2715 by Vít
335
- Ondruch.
336
- * Removed guard condition with USE_BUNDLER_FOR_GEMDEPS. Pull request #2716
337
- by SHIBATA Hiroshi.
338
- * Skip deprecation warning during specs. Pull request #2718 by David
339
- Rodríguez.
340
- * Remove QuickLoader reference. Pull request #2719 by David Rodríguez.
341
- * Removed circular require. Pull request #2679 by Nobuyoshi Nakada.
342
- * Removed needless environmental variable for Travis CI. Pull request
343
- #2685 by SHIBATA Hiroshi.
344
- * Deprecate a few unused methods. Pull request #2674 by David Rodríguez.
345
- * Removing yaml require. Pull request #2538 by Luciano Sousa.
346
- * Add deprecation warnings for cli options. Pull request #2607 by Luis
347
- Sagastume.
348
-
349
- Style changes:
350
-
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.
362
-
363
- === 3.0.6 / 2019-08-17
364
-
365
- Bug fixes:
366
-
367
- * Revert #2813. It broke the compatibility with 3.0.x versions.
368
-
369
- === 3.0.5 / 2019-08-16
370
-
371
- Minor enhancements:
372
-
373
- * Use env var to configure api key on push. Pull request #2559 by Luis
374
- Sagastume.
375
- * Unswallow uninstall error. Pull request #2707 by David Rodríguez.
376
- * Expose windows path normalization utility. Pull request #2767 by David
377
- Rodríguez.
378
- * Clean which command. Pull request #2801 by Luis Sagastume.
379
- * Upgrading S3 source signature to AWS SigV4. Pull request #2807 by
380
- Alexander Pakulov.
381
- * Remove missleading comment, no reason to move Gem.host to Gem::Util.
382
- Pull request #2811 by Luis Sagastume.
383
- * Drop support for 'gem env packageversion'. Pull request #2813 by Luis
384
- Sagastume.
385
- * Take into account just git tracked files in update_manifest rake task.
386
- Pull request #2816 by Luis Sagastume.
387
- * Remove TODO comment, there's no Gem::Dirs constant. Pull request #2819
388
- by Luis Sagastume.
389
- * Remove unused 'raise' from test_case. Pull request #2820 by Luis
390
- Sagastume.
391
- * Move TODO comment to an information comment. Pull request #2821 by Luis
392
- Sagastume.
393
- * Use File#open instead of Kernel#open in stub_specification.rb. Pull
394
- request #2834 by Luis Sagastume.
395
- * Make error code a gemcutter_utilities a constant. Pull request #2844 by
396
- Luis Sagastume.
397
- * Remove FIXME comment related to PathSupport. Pull request #2854 by Luis
398
- Sagastume.
399
- * Use gsub with Hash. Pull request #2860 by Kazuhiro NISHIYAMA.
400
- * Use the standard RUBY_ENGINE_VERSION instead of JRUBY_VERSION. Pull
401
- request #2864 by Benoit Daloze.
402
- * Do not mutate uri.query during s3 signature creation. Pull request #2874
403
- by Alexander Pakulov.
404
- * Fixup #2844. Pull request #2878 by SHIBATA Hiroshi.
405
-
406
- Bug fixes:
407
-
408
- * Fix intermittent test error on Appveyor & Travis. Pull request #2568 by
409
- MSP-Greg.
410
- * Extend timeout on assert_self_install_permissions. Pull request #2605 by
411
- SHIBATA Hiroshi.
412
- * Better folder assertions. Pull request #2644 by David Rodríguez.
413
- * Fix default gem executable installation when folder is not `bin/`. Pull
414
- request #2649 by David Rodríguez.
415
- * Fix gem uninstall behavior. Pull request #2663 by Luis Sagastume.
416
- * Fix for large values in UID/GID fields in tar archives. Pull request
417
- #2780 by Alexey Shein.
418
- * Fixed task order for release. Pull request #2792 by SHIBATA Hiroshi.
419
- * Ignore GEMRC variable for test suite. Pull request #2837 by SHIBATA
420
- Hiroshi.
421
-
422
- === 3.0.4 / 2019-06-14
423
-
424
- Minor enhancements:
425
-
426
- * Add support for TruffleRuby #2612 by Benoit Daloze
427
- * Serve a more descriptive error when --no-ri or --no-rdoc are used #2572
428
- by Grey Baker
429
- * Improve test compatibility with CMake 2.8. Pull request #2590 by Vít
430
- Ondruch.
431
- * Restore gem build behavior and introduce the "-C" flag to gem build.
432
- Pull request #2596 by Luis Sagastume.
433
- * Enabled block call with util_set_arch. Pull request #2603 by SHIBATA
434
- Hiroshi.
435
- * Avoid rdoc hook when it's failed to load rdoc library. Pull request
436
- #2604 by SHIBATA Hiroshi.
437
- * Drop tests for legacy RDoc. Pull request #2608 by Nobuyoshi Nakada.
438
- * Update TODO comment. Pull request #2658 by Luis Sagastume.
439
- * Skip malicious extension test with mswin platform. Pull request #2670 by
440
- SHIBATA Hiroshi.
441
- * Check deprecated methods on release. Pull request #2673 by David
442
- Rodríguez.
443
- * Add steps to run bundler tests. Pull request #2680 by Aditya Prakash.
444
- * Skip temporary "No such host is known" error. Pull request #2684 by
445
- Takashi Kokubun.
446
- * Replaced aws-sdk-s3 instead of s3cmd. Pull request #2688 by SHIBATA
447
- Hiroshi.
448
- * Allow uninstall from symlinked GEM_HOME. Pull request #2720 by David
449
- Rodríguez.
450
- * Use current checkout in CI to uninstall RVM related gems. Pull request
451
- #2729 by David Rodríguez.
452
- * Update Contributor Covenant v1.4.1. Pull request #2751 by SHIBATA
453
- Hiroshi.
454
- * Added supported versions of Ruby. Pull request #2756 by SHIBATA Hiroshi.
455
- * Fix shadowing outer local variable warning. Pull request #2763 by Luis
456
- Sagastume.
457
- * Update the certificate files to make the test pass on Debian 10. Pull
458
- request #2777 by Yusuke Endoh.
459
- * Backport ruby core changes. Pull request #2778 by SHIBATA Hiroshi.
460
-
461
- Bug fixes:
462
-
463
- * Test_gem.rb - intermittent failure fix. Pull request #2613 by MSP-Greg.
464
- * Fix sporadic CI failures. Pull request #2617 by David Rodríguez.
465
- * Fix flaky bundler version finder tests. Pull request #2624 by David
466
- Rodríguez.
467
- * Fix gem indexer tests leaking utility gems. Pull request #2625 by David
468
- Rodríguez.
469
- * Clean up default spec dir too. Pull request #2639 by David Rodríguez.
470
- * Fix 2.6.1 build against vendored bundler. Pull request #2645 by David
471
- Rodríguez.
472
- * Fix comment typo. Pull request #2664 by Luis Sagastume.
473
- * Fix comment of Gem::Specification#required_ruby_version=. Pull request
474
- #2732 by Alex Junger.
475
- * Fix TODOs. Pull request #2748 by David Rodríguez.
476
-
477
- === 3.0.3 / 2019-03-05
478
-
479
- Security fixes:
480
-
481
- * Fixed following vulnerabilities:
482
- * CVE-2019-8320: Delete directory using symlink when decompressing tar
483
- * CVE-2019-8321: Escape sequence injection vulnerability in `verbose`
484
- * CVE-2019-8322: Escape sequence injection vulnerability in `gem owner`
485
- * CVE-2019-8323: Escape sequence injection vulnerability in API response handling
486
- * CVE-2019-8324: Installing a malicious gem may lead to arbitrary code execution
487
- * CVE-2019-8325: Escape sequence injection vulnerability in errors
488
-
489
- === 3.0.2 / 2019-01-01
490
-
491
- Minor enhancements:
492
-
493
- * Use Bundler-1.17.3. Pull request #2556 by SHIBATA Hiroshi.
494
- * Fix document flag description. Pull request #2555 by Luis Sagastume.
495
-
496
- Bug fixes:
497
-
498
- * Fix tests when ruby --program-suffix is used without rubygems
499
- --format-executable. Pull request #2549 by Jeremy Evans.
500
- * Fix Gem::Requirement equality comparison when ~> operator is used. Pull
501
- request #2554 by Grey Baker.
502
- * Unset SOURCE_DATE_EPOCH in the test cases. Pull request #2558 by Sorah
503
- Fukumori.
504
- * Restore SOURCE_DATE_EPOCH. Pull request #2560 by SHIBATA Hiroshi.
505
-
506
- === 3.0.1 / 2018-12-23
507
-
508
- Bug fixes:
509
-
510
- * Ensure globbed files paths are expanded. Pull request #2536 by Tony Ta.
511
- * Dup the Dir.home string before passing it on. Pull request #2545 by
512
- Charles Oliver Nutter.
513
- * Added permissions to installed files for non-owners. Pull request #2546
514
- by SHIBATA Hiroshi.
515
- * Restore release task without hoe. Pull request #2547 by SHIBATA Hiroshi.
516
-
517
- === 3.0.0 / 2018-12-19
518
-
519
- Major enhancements:
520
-
521
- * S3 source. Pull request #1690 by Aditya Prakash.
522
- * Download gems with threads. Pull request #1898 by André Arko.
523
- * Update to SPDX license list 3.0. Pull request #2152 by Mike Linksvayer.
524
- * [GSoC] Multi-factor feature for RubyGems. Pull request #2369 by Qiu
525
- Chaofan.
526
- * Use bundler 1.17.2. Pull request #2521 by SHIBATA Hiroshi.
527
-
528
- Minor enhancements:
529
-
530
- * Don't treat inaccessible working directories as build failures. Pull
531
- request #1135 by Pete.
532
- * Remove useless directory parameter from builders .build methods.
533
- [rebased]. Pull request #1433 by Kurtis Rainbolt-Greene.
534
- * Skipping more than one gem in pristine. Pull request #1592 by Henne
535
- Vogelsang.
536
- * Add info command to print information about an installed gem. Pull
537
- request #2023 by Colby Swandale.
538
- * Add --[no-]check-development option to cleanup command. Pull request
539
- #2061 by Lin Jen-Shin (godfat).
540
- * Show which gem referenced a missing gem. Pull request #2067 by Artem
541
- Khramov.
542
- * Prevent to delete to "bundler-" prefix gem like bundler-audit. Pull
543
- request #2086 by SHIBATA Hiroshi.
544
- * Fix rake install_test_deps once the rake clean_env does not exist. Pull
545
- request #2090 by Lucas Arantes.
546
- * Workaround common options mutation in Gem::Command test. Pull request
547
- #2098 by Thibault Jouan.
548
- * Extract a SpecificationPolicy validation class. Pull request #2101 by
549
- Olle Jonsson.
550
- * Handle environment that does not have `flock` system call. Pull request
551
- #2107 by SHIBATA Hiroshi.
552
- * Handle the explain option in gem update. Pull request #2110 by Colby
553
- Swandale.
554
- * Add Gem.operating_system_defaults to allow packagers to override
555
- defaults. Pull request #2116 by Vít Ondruch.
556
- * Update for compatibilty with new minitest. Pull request #2118 by
557
- MSP-Greg.
558
- * Make Windows bin stubs portable. Pull request #2119 by MSP-Greg.
559
- * Avoid to warnings about gemspec loadings in rubygems tests. Pull request
560
- #2125 by SHIBATA Hiroshi.
561
- * Set whether bundler is used for gemdeps with an environmental variable.
562
- Pull request #2126 by SHIBATA Hiroshi.
563
- * Titleize "GETTING HELP" in readme. Pull request #2136 by Colby Swandale.
564
- * Improve the error message given when using --version with multiple gems
565
- in the install command. Pull request #2137 by Colby Swandale.
566
- * Use `File.open` instead of `open`. Pull request #2142 by SHIBATA
567
- Hiroshi.
568
- * Gem::Util.traverse_parents should not crash on permissions error. Pull
569
- request #2147 by Robert Ulejczyk.
570
- * [Installer] Avoid a #mkdir race condition. Pull request #2148 by Samuel
571
- Giddins.
572
- * Allow writing gemspecs from gem unpack to location specified by target
573
- option. Pull request #2150 by Colby Swandale.
574
- * Raise errors in `gem uninstall` when a file in a gem could not be
575
- removed . Pull request #2154 by Colby Swandale.
576
- * Remove PID from gem index directory. Pull request #2155 by SHIBATA
577
- Hiroshi.
578
- * Nil guard on `Gem::Specification`. Pull request #2164 by SHIBATA
579
- Hiroshi.
580
- * Skip broken test with macOS platform. Pull request #2167 by SHIBATA
581
- Hiroshi.
582
- * Support option for `--destdir` with upgrade installer. Pull request
583
- #2169 by SHIBATA Hiroshi.
584
- * To use constant instead of hard-coded version. Pull request #2171 by
585
- SHIBATA Hiroshi.
586
- * Add Rake task to install dev dependencies. Pull request #2173 by Ellen
587
- Marie Dash.
588
- * Add new sections to the README and explaination of what RubyGems is.
589
- Pull request #2174 by Colby Swandale.
590
- * Prefer to use `Numeric#zero?` instead of `== 0`. Pull request #2176 by
591
- SHIBATA Hiroshi.
592
- * Ignore perfomance test of version regexp pattern. Pull request #2179 by
593
- SHIBATA Hiroshi.
594
- * Ignore .DS_Store files in the update_manifest task. Pull request #2199
595
- by Colby Swandale.
596
- * Allow building gems without having to be in the gem folder . Pull
597
- request #2204 by Colby Swandale.
598
- * Added coverage ability used by simplecov. Pull request #2207 by SHIBATA
599
- Hiroshi.
600
- * Improve invalid proxy error message. Pull request #2217 by Luis
601
- Sagastume.
602
- * Simplify home directory detection and platform condition. Pull request
603
- #2218 by SHIBATA Hiroshi.
604
- * Permission options. Pull request #2219 by Nobuyoshi Nakada.
605
- * Improve gemspec and package task. Pull request #2220 by SHIBATA Hiroshi.
606
- * Prefer to use util_spec in `Gem::TestCase`. Pull request #2227 by
607
- SHIBATA Hiroshi.
608
- * [Requirement] Treat requirements with == versions as equal. Pull
609
- request #2230 by Samuel Giddins.
610
- * Add a note for the non-semantically versioned case. Pull request #2242
611
- by David Rodríguez.
612
- * Keep feature names loaded in the block. Pull request #2261 by Nobuyoshi
613
- Nakada.
614
- * Tweak warning recommendation. Pull request #2266 by David Rodríguez.
615
- * Show git path in gem env. Pull request #2268 by Luis Sagastume.
616
- * Add `--env-shebang` flag to setup command. Pull request #2271 by James
617
- Myers.
618
- * Support SOURCE_DATE_EPOCH to make gem spec reproducible. Pull request
619
- #2278 by Levente Polyak.
620
- * Chdir back to original directory when building an extension fails. Pull
621
- request #2282 by Samuel Giddins.
622
- * [Rakefile] Add a default task that runs the tests. Pull request #2283 by
623
- Samuel Giddins.
624
- * Support SOURCE_DATE_EPOCH to make gem tar reproducible. Pull request
625
- #2289 by Levente Polyak.
626
- * Reset hooks in test cases. Pull request #2297 by Samuel Giddins.
627
- * Minor typo: nokogiri. Pull request #2298 by Darshan Baid.
628
- * Ignore vendored molinillo from code coverage. Pull request #2302 by
629
- SHIBATA Hiroshi.
630
- * Support IO.copy_stream. Pull request #2303 by okkez.
631
- * Prepare beta release. Pull request #2304 by SHIBATA Hiroshi.
632
- * Add error message when trying to open a default gem. Pull request #2307
633
- by Luis Sagastume.
634
- * Add alias command 'i' for 'install' command. Pull request #2308 by
635
- ota42y.
636
- * Cleanup rdoc task in Rakefile. Pull request #2318 by SHIBATA Hiroshi.
637
- * Add testcase to test_gem_text.rb. Pull request #2329 by Oliver.
638
- * Gem build strict option. Pull request #2332 by David Rodríguez.
639
- * Make spec reset more informative. Pull request #2333 by Luis Sagastume.
640
- * [Rakefile] Set bundler build metadata when doing a release. Pull request
641
- #2335 by Samuel Giddins.
642
- * Speed up globbing relative to given directories. Pull request #2336 by
643
- Samuel Giddins.
644
- * Remove semver gem build warning. Pull request #2351 by David Rodríguez.
645
- * Expand symlinks in gem path. Pull request #2352 by Benoit Daloze.
646
- * Normalize comment indentations. Pull request #2353 by David Rodríguez.
647
- * Add bindir flag to pristine. Pull request #2361 by Luis Sagastume.
648
- * Add --user-install behaviour to cleanup command. Pull request #2362 by
649
- Luis Sagastume.
650
- * Allow build options to be passed to Rake. Pull request #2382 by Alyssa
651
- Ross.
652
- * Add --re-sign flag to cert command. Pull request #2391 by Luis
653
- Sagastume.
654
- * Fix "interpreted as grouped expression" warning. Pull request #2399 by
655
- Colby Swandale.
656
- * [Gem::Ext::Builder] Comments to aid future refactoring. Pull request
657
- #2405 by Ellen Marie Dash.
658
- * Move CONTRIBUTING.rdoc and POLICIES.rdoc documents to markdown. Pull
659
- request #2412 by Colby Swandale.
660
- * Improve certificate expiration defaults. Pull request #2420 by Luis
661
- Sagastume.
662
- * Freeze all possible constants. Pull request #2422 by Colby Swandale.
663
- * Fix bundler rubygems binstub not properly looking for bundler. Pull
664
- request #2426 by David Rodríguez.
665
- * Make sure rubygems never leaks to another installation. Pull request
666
- #2427 by David Rodríguez.
667
- * Update README.md. Pull request #2428 by Marc-André Lafortune.
668
- * Restrict special chars from prefixing new gem names. Pull request #2432
669
- by Luis Sagastume.
670
- * This removes support for dynamic API backend lookup via DNS SRV records.
671
- Pull request #2433 by Arlandis Word.
672
- * Fix link to CONTRIBUTING.md doc. Pull request #2434 by Arlandis Word.
673
- * Support Keyword args with Psych. Pull request #2439 by SHIBATA Hiroshi.
674
- * Bug/kernel#warn uplevel. Pull request #2442 by Nobuyoshi Nakada.
675
- * Improve certificate error message. Pull request #2454 by Luis Sagastume.
676
- * Update gem open command help text. Pull request #2458 by Aditya Prakash.
677
- * Uninstall with versions. Pull request #2466 by David Rodríguez.
678
- * Add output option to build command. Pull request #2501 by Colby
679
- Swandale.
680
- * Move rubocop into a separate stage in travis ci. Pull request #2510 by
681
- Colby Swandale.
682
- * Ignore warnings with test_gem_specification.rb. Pull request #2523 by
683
- SHIBATA Hiroshi.
684
- * Support the environment without OpenSSL. Pull request #2528 by SHIBATA
685
- Hiroshi.
686
-
687
- Bug fixes:
688
-
689
- * Fix undefined method error when printing alert. Pull request #1884 by
690
- Robert Ross.
691
- * Frozen string fix - lib/rubygems/bundler_version_finder.rb. Pull request
692
- #2115 by MSP-Greg.
693
- * Fixed typos. Pull request #2143 by SHIBATA Hiroshi.
694
- * Fix regression of destdir on Windows platform. Pull request #2178 by
695
- SHIBATA Hiroshi.
696
- * Fixed no assignment variables about default gems installation. Pull
697
- request #2181 by SHIBATA Hiroshi.
698
- * Fix spelling errors in the README. Pull request #2187 by Colby Swandale.
699
- * Missing comma creates ambiguous meaning. Pull request #2190 by Clifford
700
- Heath.
701
- * Fix getting started instructions. Pull request #2198 by Luis Sagastume.
702
- * Fix rubygems dev env. Pull request #2201 by Luis Sagastume.
703
- * Fix #1470: generate documentation when --install-dir is present. Pull
704
- request #2229 by Elias Hernandis.
705
- * Fix activation when multiple platforms installed. Pull request #2339 by
706
- MSP-Greg.
707
- * Fix required_ruby_version with prereleases and improve error message.
708
- Pull request #2344 by David Rodríguez.
709
- * Update tests for 'newer' Windows builds. Pull request #2348 by MSP-Greg.
710
- * Fix broken rubocop task by upgrading to 0.58.1. Pull request #2356 by
711
- David Rodríguez.
712
- * Gem::Version should handle nil like it used to before. Pull request
713
- #2363 by Luis Sagastume.
714
- * Avoid need of C++ compiler to pass the test suite. Pull request #2367 by
715
- Vít Ondruch.
716
- * Fix auto resign expired certificate. Pull request #2380 by Luis
717
- Sagastume.
718
- * Skip permissions-dependent test when root. Pull request #2386 by Alyssa
719
- Ross.
720
- * Fix test that depended on /usr/bin being in PATH. Pull request #2387 by
721
- Alyssa Ross.
722
- * Fixed test fail with mswin environment. Pull request #2390 by SHIBATA
723
- Hiroshi.
724
- * Fix broken builds using the correct rubocop version. Pull request #2396
725
- by Luis Sagastume.
726
- * Fix extension builder failure when verbose. Pull request #2457 by Sorah
727
- Fukumori.
728
- * Fix test warnings. Pull request #2472 by MSP-Greg.
729
- * The test suite of bundler is not present ruby description. Pull request
730
- #2484 by SHIBATA Hiroshi.
731
- * Fix crash on certain gemspecs. Pull request #2506 by David Rodríguez.
732
- * Fixed test fails with the newer version of OpenSSL. Pull request #2507
733
- by SHIBATA Hiroshi.
734
- * Fix broken symlink that points to ../*. Pull request #2516 by Akira
735
- Matsuda.
736
- * Fix remote fetcher tests. Pull request #2520 by Luis Sagastume.
737
- * Fix tests when --program-suffix and similar ruby configure options are
738
- used. Pull request #2529 by Jeremy Evans.
739
-
740
- Compatibility changes:
741
-
742
- * IO.binread is not provided at Ruby 1.8. Pull request #2093 by SHIBATA
743
- Hiroshi.
744
- * Ignored to publish rdoc documentation of rubygems for
745
- docs.seattlerb.org. Pull request #2105 by SHIBATA Hiroshi.
746
- * Support pre-release RubyGems. Pull request #2128 by SHIBATA Hiroshi.
747
- * Relax minitest version for 5. Pull request #2131 by SHIBATA Hiroshi.
748
- * Remove zentest from dev dependency. Pull request #2132 by SHIBATA
749
- Hiroshi.
750
- * Remove hoe for test suite. Pull request #2160 by SHIBATA Hiroshi.
751
- * Cleanup deprecated tasks. Pull request #2162 by SHIBATA Hiroshi.
752
- * Drop to support Ruby < 2.2. Pull request #2182 by SHIBATA Hiroshi.
753
- * Cleanup deprecated style. Pull request #2193 by SHIBATA Hiroshi.
754
- * Remove CVEs from the rubygems repo. Pull request #2195 by Colby
755
- Swandale.
756
- * Removed needless condition for old version of ruby. Pull request #2206
757
- by SHIBATA Hiroshi.
758
- * Removed deprecated methods over the limit day. Pull request #2216 by
759
- SHIBATA Hiroshi.
760
- * Remove syck support. Pull request #2222 by SHIBATA Hiroshi.
761
- * Removed needless condition for Encoding. Pull request #2223 by SHIBATA
762
- Hiroshi.
763
- * Removed needless condition for String#force_encoding. Pull request #2225
764
- by SHIBATA Hiroshi.
765
- * Removed needless OpenSSL patch for Ruby 1.8. Pull request #2243 by
766
- SHIBATA Hiroshi.
767
- * Removed compatibility code for Ruby 1.9.2. Pull request #2244 by SHIBATA
768
- Hiroshi.
769
- * Removed needless version condition for the old ruby. Pull request #2252
770
- by SHIBATA Hiroshi.
771
- * Remove needless define/respond_to condition. Pull request #2255 by
772
- SHIBATA Hiroshi.
773
- * Use File.realpath directly in Gem::Package. Pull request #2284 by
774
- SHIBATA Hiroshi.
775
- * Removed needless condition for old versions of Ruby. Pull request #2286
776
- by SHIBATA Hiroshi.
777
- * Remove the --rdoc and --ri options from install/update. Pull request
778
- #2354 by Colby Swandale.
779
- * Move authors assigner to required attributes section of
780
- Gem::Specification. Pull request #2406 by Grey Baker.
781
- * Remove rubyforge_page functionality. Pull request #2436 by Nick
782
- Schwaderer.
783
- * Drop ruby 1.8 support and use IO.popen. Pull request #2441 by Nobuyoshi
784
- Nakada.
785
- * Drop ruby 2.2 support. Pull request #2487 by David Rodríguez.
786
- * Remove some old compatibility code. Pull request #2488 by David
787
- Rodríguez.
788
- * Remove .document from src. Pull request #2489 by Colby Swandale.
789
- * Remove old version support. Pull request #2493 by Nobuyoshi Nakada.
790
- * [BudlerVersionFinder] set .filter! and .compatible? to match only on
791
- major versions. Pull request #2515 by Colby Swandale.
792
-
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
- === 2.7.10 / 2019-06-14
817
-
818
- Minor enhancements:
819
-
820
- * Fix bundler rubygems binstub not properly looking for bundler. Pull request #2426
821
- by David Rodríguez.
822
- * [BudlerVersionFinder] set .filter! and .compatible? to match only on major versions.
823
- Pull request #2515 by Colby Swandale.
824
- + Update for compatibilty with new minitest. Pull request #2118 by MSP-Greg.
825
-
826
- === 2.7.9 / 2019-03-05
827
-
828
- Security fixes:
829
-
830
- * Fixed following vulnerabilities:
831
- * CVE-2019-8320: Delete directory using symlink when decompressing tar
832
- * CVE-2019-8321: Escape sequence injection vulnerability in `verbose`
833
- * CVE-2019-8322: Escape sequence injection vulnerability in `gem owner`
834
- * CVE-2019-8323: Escape sequence injection vulnerability in API response handling
835
- * CVE-2019-8324: Installing a malicious gem may lead to arbitrary code execution
836
- * CVE-2019-8325: Escape sequence injection vulnerability in errors
837
-
838
- === 2.7.8 / 2018-11-02
839
-
840
- Minor enhancements:
841
-
842
- * [Requirement] Treat requirements with == versions as equal. Pull
843
- request #2230 by Samuel Giddins.
844
- * Fix exec_name documentation. Pull request #2239 by Luis Sagastume.
845
- * [TarHeader] Extract the empty header into a constant. Pull request #2247
846
- by Samuel Giddins.
847
- * Simplify the code that lets us call the original, non-monkeypatched
848
- Kernel#require. Pull request #2267 by Leon Miller-Out.
849
- * Add install alias documentation. Pull request #2320 by ota42y.
850
- * [Rakefile] Set bundler build metadata when doing a release. Pull request
851
- #2335 by Samuel Giddins.
852
- * Backport commits from ruby core . Pull request #2347 by SHIBATA Hiroshi.
853
- * Sign in to the correct host before push. Pull request #2366 by Luis
854
- Sagastume.
855
- * Bump bundler-1.16.4. Pull request #2381 by SHIBATA Hiroshi.
856
- * Improve bindir flag description. Pull request #2383 by Luis Sagastume.
857
- * Update bundler-1.16.6. Pull request #2423 by SHIBATA Hiroshi.
858
-
859
- Bug fixes:
860
-
861
- * Fix #1470: generate documentation when --install-dir is present. Pull
862
- request #2229 by Elias Hernandis.
863
- * Fix no proxy checking. Pull request #2249 by Luis Sagastume.
864
- * Validate SPDX license exceptions. Pull request #2257 by Mikit.
865
- * Retry api specification spec with original platform. Pull request #2275
866
- by Luis Sagastume.
867
- * Fix approximate recommendation with prereleases. Pull request #2345 by
868
- David Rodríguez.
869
- * Gem::Version should handle nil like it used to before. Pull request
870
- #2363 by Luis Sagastume.
871
-
872
- === 2.7.7 / 2018-05-08
873
-
874
- Minor enhancements:
875
-
876
- * [RequestSet] Only suggest a gem version with an installable platform.
877
- Pull request #2175 by Samuel Giddins.
878
- * Fixed no assignment variables about default gems installation. Pull
879
- request #2181 by SHIBATA Hiroshi.
880
- * Backport improvements for test-case from Ruby core. Pull request #2189
881
- by SHIBATA Hiroshi.
882
- * Fix ruby warnings in test suite. Pull request #2205 by Colby Swandale.
883
- * To use Gem::Specification#bindir of bundler instead of hard coded path.
884
- Pull request #2208 by SHIBATA Hiroshi.
885
- * Update gem push --help description. Pull request #2215 by Luis
886
- Sagastume.
887
- * Backport ruby core commits. Pull request #2264 by SHIBATA Hiroshi.
888
-
889
- Bug fixes:
890
-
891
- * Frozen string fix - lib/rubygems/bundler_version_finder.rb. Pull request
892
- #2115 by MSP-Greg.
893
- * Fixed tempfile leak for RubyGems 2.7.6. Pull request #2194 by SHIBATA
894
- Hiroshi.
895
- * Add missing requires. Pull request #2196 by David Rodríguez.
896
- * Fix Gem::Version.correct?. Pull request #2203 by Masato Nakamura.
897
- * Fix verify_entry regex for metadata. Pull request #2212 by Luis
898
- Sagastume.
899
- * Fix path checks for case insensitive filesystem. Pull request #2211 by
900
- Lars Kanis.
901
-
902
- Compatibility changes:
903
-
904
- * Deprecate unused code before removing them at #1524. Pull request #2197
905
- by SHIBATA Hiroshi.
906
- * Deprecate for rubygems 3. Pull request #2214 by SHIBATA Hiroshi.
907
- * Mark deprecation to `ubygems.rb` for RubyGems 4. Pull request #2269 by
908
- SHIBATA Hiroshi.
909
- * Update bundler-1.16.2. Pull request #2291 by SHIBATA Hiroshi.
910
-
911
- === 2.7.6 / 2018-02-16
912
-
913
- Security fixes:
914
-
915
- * Prevent path traversal when writing to a symlinked basedir outside of the root.
916
- Discovered by nmalkin, fixed by Jonathan Claudius and Samuel Giddins.
917
- * Fix possible Unsafe Object Deserialization Vulnerability in gem owner.
918
- Fixed by Jonathan Claudius.
919
- * Strictly interpret octal fields in tar headers.
920
- Discoved by plover, fixed by Samuel Giddins.
921
- * Raise a security error when there are duplicate files in a package.
922
- Discovered by plover, fixed by Samuel Giddins.
923
- * Enforce URL validation on spec homepage attribute.
924
- Discovered by Yasin Soliman, fixed by Jonathan Claudius.
925
- * Mitigate XSS vulnerability in homepage attribute when displayed via `gem server`.
926
- Discovered by Yasin Soliman, fixed by Jonathan Claudius.
927
- * Prevent Path Traversal issue during gem installation.
928
- Discovered by nmalkin.
929
-
930
- === 2.7.5
931
-
932
- Bug fixes:
933
-
934
- * To use bundler-1.16.1 #2121 by SHIBATA Hiroshi.
935
- * Fixed leaked FDs. Pull request #2127 by Nobuyoshi Nakada.
936
- * Support option for `--destdir` with upgrade installer. #2169 by Thibault Jouan.
937
- * Remove PID from gem index directory. #2155 by SHIBATA Hiroshi.
938
- * Avoid a #mkdir race condition #2148 by Samuel Giddins.
939
- * Gem::Util.traverse_parents should not crash on permissions error #2147 by Robert Ulejczyk.
940
- * Use `File.open` instead of `open`. #2142 by SHIBATA Hiroshi.
941
- * Set whether bundler is used for gemdeps with an environmental variable #2126 by SHIBATA Hiroshi.
942
- * Fix undefined method error when printing alert #1884 by Robert Ross.
943
-
944
- === 2.7.4
945
-
946
- Bug fixes:
947
-
948
- * Fixed leaked FDs. Pull request #2127 by Nobuyoshi Nakada.
949
- * Avoid to warnings about gemspec loadings in rubygems tests. Pull request
950
- #2125 by SHIBATA Hiroshi.
951
- * Fix updater with rubygems-2.7.3 Pull request #2124 by SHIBATA Hiroshi.
952
- * Handle environment that does not have `flock` system call. Pull request
953
- #2107 by SHIBATA Hiroshi.
954
-
955
- === 2.7.3
956
-
957
- Minor enhancements:
958
-
959
- * Removed needless version lock. Pull request #2074 by SHIBATA Hiroshi.
960
- * Add --[no-]check-development option to cleanup command. Pull request
961
- #2061 by Lin Jen-Shin (godfat).
962
- * Merge glob pattern using braces. Pull request #2072 by Kazuhiro
963
- NISHIYAMA.
964
- * Removed warnings of unused variables. Pull request #2084 by SHIBATA
965
- Hiroshi.
966
- * Call SPDX.org using HTTPS. Pull request #2102 by Olle Jonsson.
967
- * Remove multi load warning from plugins documentation. Pull request #2103
968
- by Thibault Jouan.
969
-
970
- Bug fixes:
971
-
972
- * Fix test failure on Alpine Linux. Pull request #2079 by Ellen Marie
973
- Dash.
974
- * Avoid encoding issues by using binread in setup. Pull request #2089 by
975
- Mauro Morales.
976
- * Fix rake install_test_deps once the rake clean_env does not exist. Pull
977
- request #2090 by Lucas Oliveira.
978
- * Prevent to delete to "bundler-" prefix gem like bundler-audit. Pull
979
- request #2086 by SHIBATA Hiroshi.
980
- * Generate .bat files on Windows platform. Pull request #2094 by SHIBATA
981
- Hiroshi.
982
- * Workaround common options mutation in Gem::Command test. Pull request
983
- #2098 by Thibault Jouan.
984
- * Check gems dir existence before removing bundler. Pull request #2104 by
985
- Thibault Jouan.
986
- * Use setup command --regenerate-binstubs option flag. Pull request #2099
987
- by Thibault Jouan.
988
-
989
- === 2.7.2
990
-
991
- Bug fixes:
992
-
993
- * Added template files to vendoerd bundler. Pull request #2065 by SHIBATA
994
- Hiroshi.
995
- * Added workaround for non-git environment. Pull request #2066 by SHIBATA
996
- Hiroshi.
997
-
998
- === 2.7.1 (2017-11-03)
999
-
1000
- Bug fixes:
1001
-
1002
- * Fix `gem update --system` with RubyGems 2.7+. Pull request #2054 by
1003
- Samuel Giddins.
1004
-
1005
- === 2.7.0 (2017-11-02)
1006
-
1007
- Major enhancements:
1008
-
1009
- * Update vendored bundler-1.16.0. Pull request #2051 by Samuel Giddins.
1010
- * Use Bundler for Gem.use_gemdeps. Pull request #1674 by Samuel Giddins.
1011
- * Add command `signin` to `gem` CLI. Pull request #1944 by Shiva Bhusal.
1012
- * Add Logout feature to CLI. Pull request #1938 by Shiva Bhusal.
1013
-
1014
- Minor enhancements:
1015
-
1016
- * Added message to uninstall command for gem that is not installed. Pull
1017
- request #1979 by anant anil kolvankar.
1018
- * Add --trust-policy option to unpack command. Pull request #1718 by
1019
- Nobuyoshi Nakada.
1020
- * Show default gems for all platforms. Pull request #1685 by Konstantin
1021
- Shabanov.
1022
- * Add Travis and Appveyor build status to README. Pull request #1918 by
1023
- Jun Aruga.
1024
- * Remove warning `no email specified` when no email. Pull request #1675 by
1025
- Leigh McCulloch.
1026
- * Improve -rubygems performance. Pull request #1801 by Samuel Giddins.
1027
- * Improve the performance of Kernel#require. Pull request #1678 by Samuel
1028
- Giddins.
1029
- * Improve user-facing messages by consistent casing of Ruby/RubyGems. Pull
1030
- request #1771 by John Labovitz.
1031
- * Improve error message when Gem::RuntimeRequirementNotMetError is raised.
1032
- Pull request #1789 by Luis Sagastume.
1033
- * Code Improvement: Inheritance corrected. Pull request #1942 by Shiva
1034
- Bhusal.
1035
- * [Source] Autoload fileutils. Pull request #1906 by Samuel Giddins.
1036
- * Use Hash#fetch instead of if/else in Gem::ConfigFile. Pull request #1824
1037
- by Daniel Berger.
1038
- * Require digest when it is used. Pull request #2006 by Samuel Giddins.
1039
- * Do not index the doc folder in the `update_manifest` task. Pull request
1040
- #2031 by Colby Swandale.
1041
- * Don't use two postfix conditionals on one line. Pull request #2038 by
1042
- Ellen Marie Dash.
1043
- * [SafeYAML] Avoid warning when Gem::Deprecate.skip is set. Pull request
1044
- #2034 by Samuel Giddins.
1045
- * Update gem yank description. Pull request #2009 by David Radcliffe.
1046
- * Fix formatting of installation instructions in README. Pull request
1047
- #2018 by Jordan Danford.
1048
- * Do not use #quick_spec internally. Pull request #1733 by Jon Moss.
1049
- * Switch from docs to guides reference. Pull request #1886 by Jonathan
1050
- Claudius.
1051
- * Happier message when latest version is already installed. Pull request
1052
- #1956 by Jared Beck.
1053
- * Update specification reference docs. Pull request #1960 by Grey Baker.
1054
- * Allow Gem.finish_resolve to respect already-activated specs. Pull
1055
- request #1910 by Samuel Giddins.
1056
- * Update cryptography for Gem::Security. Pull request #1691 by Sylvain
1057
- Daubert.
1058
- * Don't output mkmf.log message if compilation didn't fail. Pull request
1059
- #1808 by Jeremy Evans.
1060
- * Matches_for_glob - remove root path. Pull request #2010 by ahorek.
1061
- * Gem::Resolver#search_for update for reliable searching/sorting. Pull
1062
- request #1993 by MSP-Greg.
1063
- * Allow local installs with transitive prerelease requirements. Pull
1064
- request #1990 by Samuel Giddins.
1065
- * Small style fixes to Installer Set. Pull request #1985 by Arthur
1066
- Marzinkovskiy.
1067
- * Setup cmd: Avoid terminating option string w/ dot. Pull request #1825 by
1068
- Olle Jonsson.
1069
- * Warn when no files are set. Pull request #1773 by Aidan Coyle.
1070
- * Ensure `to_spec` falls back on prerelease specs. Pull request #1755 by
1071
- André Arko.
1072
- * [Specification] Eval setting default attributes in #initialize. Pull
1073
- request #1739 by Samuel Giddins.
1074
- * Sort ordering of sources is preserved. Pull request #1633 by Nathan
1075
- Ladd.
1076
- * Retry with :prerelease when no suggestions are found. Pull request #1696
1077
- by Aditya Prakash.
1078
- * [Rakefile] Run `git submodule update --init` in `rake newb`. Pull
1079
- request #1694 by Samuel Giddins.
1080
- * [TestCase] Address comments around ui changes. Pull request #1677 by
1081
- Samuel Giddins.
1082
- * Eagerly resolve in activate_bin_path. Pull request #1666 by Samuel
1083
- Giddins.
1084
- * [Version] Make hash based upon canonical segments. Pull request #1659 by
1085
- Samuel Giddins.
1086
- * Add Ruby Together CTA, rearrange README a bit. Pull request #1775 by
1087
- Michael Bernstein.
1088
- * Update Contributing.rdoc with new label usage. Pull request #1716 by
1089
- Lynn Cyrin.
1090
- * Add --host sample to help. Pull request #1709 by Code Ahss.
1091
- * Add a helpful suggestion when `gem install` fails due to required_rub….
1092
- Pull request #1697 by Samuel Giddins.
1093
- * Add cert expiration length flag. Pull request #1725 by Luis Sagastume.
1094
- * Add submodule instructions to manual install. Pull request #1727 by
1095
- Joseph Frazier.
1096
- * Allow usage of multiple `--version` operators. Pull request #1546 by
1097
- James Wen.
1098
- * Warn when requiring deprecated files. Pull request #1939 by Ellen Marie
1099
- Dash.
1100
-
1101
- Compatibility changes:
1102
-
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
- * Deprecate Gem::InstallerTestCase#util_gem_bindir and
1107
- Gem::InstallerTestCase#util_gem_dir. Pull request #1729 by Jon Moss.
1108
- * Deprecate passing options to Gem::GemRunner. Pull request #1730 by Jon
1109
- Moss.
1110
- * Add deprecation for Gem#datadir. Pull request #1732 by Jon Moss.
1111
- * Add deprecation warning for Gem::DependencyInstaller#gems_to_install.
1112
- Pull request #1731 by Jon Moss.
1113
- * Update Code of Conduct to Contributor Covenant v1.4.0. Pull request
1114
- #1796 by Matej.
1115
-
1116
- Bug fixes:
1117
-
1118
- * Fix issue for MinGW / MSYS2 builds and testing. Pull request #1876 by
1119
- MSP-Greg.
1120
- * Fixed broken links and overzealous URL encoding in gem server. Pull
1121
- request #1809 by Nicole Orchard.
1122
- * Fix a typo. Pull request #1722 by Koichi ITO.
1123
- * Fix error message Gem::Security::Policy. Pull request #1724 by Nobuyoshi
1124
- Nakada.
1125
- * Fixing links markdown formatting in README. Pull request #1791 by Piotr
1126
- Kuczynski.
1127
- * Fix failing Bundler 1.8.7 CI builds. Pull request #1820 by Samuel
1128
- Giddins.
1129
- * Fixed test broken on ruby-head . Pull request #1842 by SHIBATA Hiroshi.
1130
- * Fix typos with misspell. Pull request #1846 by SHIBATA Hiroshi.
1131
- * Fix gem open to open highest version number rather than lowest. Pull
1132
- request #1877 by Tim Pope.
1133
- * Fix test_self_find_files_with_gemfile to sort expected files. Pull
1134
- request #1878 by Kazuaki Matsuo.
1135
- * Fix typos in CONTRIBUTING.rdoc. Pull request #1909 by Mark Sayson.
1136
- * Fix some small documentation issues in installer. Pull request #1972 by
1137
- Colby Swandale.
1138
- * Fix links in Policies document. Pull request #1964 by Alyssa Ross.
1139
- * Fix NoMethodError on bundler/inline environment. Pull request #2042 by
1140
- SHIBATA Hiroshi.
1141
- * Correct comments for Gem::InstallerTestCase#setup. Pull request #1741 by
1142
- MSP-Greg.
1143
- * Use File.expand_path for certification and key location. Pull request
1144
- #1987 by SHIBATA Hiroshi.
1145
- * Rescue EROFS. Pull request #1417 by Nobuyoshi Nakada.
1146
- * Fix spelling of 'vulnerability'. Pull request #2022 by Philip Arndt.
1147
- * Fix metadata link key names. Pull request #1896 by Aditya Prakash.
1148
- * Fix a typo in uninstall_command.rb. Pull request #1934 by Yasuhiro
1149
- Horimoto.
1150
- * Gem::Requirement.create treat arguments as variable-length. Pull request
1151
- #1830 by Toru YAGI.
1152
- * Display an explanation when rake encounters an ontological problem. Pull
1153
- request #1982 by Wilson Bilkovich.
1154
- * [Server] Handle gems with names ending in `-\d`. Pull request #1926 by
1155
- Samuel Giddins.
1156
- * [InstallerSet] Avoid reloading _all_ local gems multiple times during
1157
- dependency resolution. Pull request #1925 by Samuel Giddins.
1158
- * Modify the return value of Gem::Version.correct?. Pull request #1916 by
1159
- Tsukuru Tanimichi.
1160
- * Validate metadata link keys. Pull request #1834 by Aditya Prakash.
1161
- * Add changelog to metadata validation. Pull request #1885 by Aditya
1162
- Prakash.
1163
- * Replace socket error text message. Pull request #1823 by Daniel Berger.
1164
- * Raise error if the email is invalid when building cert. Pull request
1165
- #1779 by Luis Sagastume.
1166
- * [StubSpecification] Don’t iterate through all loaded specs in #to_spec.
1167
- Pull request #1738 by Samuel Giddins.
1168
-
1169
- === 2.6.14 / 2017-10-09
1170
-
1171
- Security fixes:
1172
-
1173
- * Whitelist classes and symbols that are in loaded YAML.
1174
- See CVE-2017-0903 for full details.
1175
- Fix by Aaron Patterson.
1176
-
1177
- === 2.6.13 / 2017-08-27
1178
-
1179
- Security fixes:
1180
-
1181
- * Fix a DNS request hijacking vulnerability. (CVE-2017-0902)
1182
- Discovered by Jonathan Claudius, fix by Samuel Giddins.
1183
- * Fix an ANSI escape sequence vulnerability. (CVE-2017-0899)
1184
- Discovered by Yusuke Endoh, fix by Evan Phoenix.
1185
- * Fix a DOS vulnerability in the `query` command. (CVE-2017-0900)
1186
- Discovered by Yusuke Endoh, fix by Samuel Giddins.
1187
- * Fix a vulnerability in the gem installer that allowed a malicious gem
1188
- to overwrite arbitrary files. (CVE-2017-0901)
1189
- Discovered by Yusuke Endoh, fix by Samuel Giddins.
1190
-
1191
- === 2.6.12 / 2017-04-30
1192
-
1193
- Bug fixes:
1194
-
1195
- * Fix test_self_find_files_with_gemfile to sort expected files. Pull
1196
- request #1880 by Kazuaki Matsuo.
1197
- * Fix issue for MinGW / MSYS2 builds and testing. Pull request #1879 by
1198
- MSP-Greg.
1199
- * Fix gem open to open highest version number rather than lowest. Pull
1200
- request #1877 by Tim Pope.
1201
- * Add a test for requiring a default spec as installed by the ruby
1202
- installer. Pull request #1899 by Samuel Giddins.
1203
- * Fix broken --exact parameter to gem command. Pull request #1873 by Jason
1204
- Frey.
1205
- * [Installer] Generate backwards-compatible binstubs. Pull request #1904
1206
- by Samuel Giddins.
1207
- * Fix pre-existing source recognition on add action. Pull request #1883 by
1208
- Jonathan Claudius.
1209
- * Prevent negative IDs in output of #inspect. Pull request #1908 by Vít
1210
- Ondruch.
1211
- * Allow Gem.finish_resolve to respect already-activated specs. Pull
1212
- request #1910 by Samuel Giddins.
1213
-
1214
- === 2.6.11 / 2017-03-16
1215
-
1216
- Bug fixes:
1217
-
1218
- * Fixed broken tests on ruby-head. Pull request #1841 by
1219
- SHIBATA Hiroshi.
1220
- * Update vendored Molinillo to 0.5.7. Pull request #1859 by Samuel
1221
- Giddins.
1222
- * Avoid activating Ruby 2.5 default gems when possible. Pull request #1843
1223
- by Samuel Giddins.
1224
- * Use improved resolver sorting algorithm. Pull request #1856 by
1225
- Samuel Giddins.
1226
-
1227
- === 2.6.10 / 2017-01-23
1228
-
1229
- Bug fixes:
1230
-
1231
- * Fix `require` calling the wrong `gem` method when it is overridden.
1232
- Pull request #1822 by Samuel Giddins.
1233
-
1234
- === 2.6.9 / 2017-01-20
1235
-
1236
- Bug fixes:
1237
-
1238
- * Allow initializing versions with empty strings. Pull request #1767 by
1239
- Luis Sagastume.
1240
- * Fix TypeError on 2.4. Pull request #1788 by Nobuyoshi Nakada.
1241
- * Don't output mkmf.log message if compilation didn't fail. Pull request
1242
- #1808 by Jeremy Evans.
1243
- * Fixed broken links and overzealous URL encoding in gem server. Pull
1244
- request #1809 by Nicole Orchard.
1245
- * Update vendored Molinillo to 0.5.5. Pull request #1812 by Samuel
1246
- Giddins.
1247
- * RakeBuilder: avoid frozen string issue. Pull request #1819 by Olle
1248
- Jonsson.
1249
-
1250
- === 2.6.8 / 2016-10-29
1251
-
1252
- Bug fixes:
1253
-
1254
- * Improve SSL verification failure message. Pull request #1751
1255
- by Eric Hodel.
1256
- * Ensure `to_spec` falls back on prerelease specs. Pull request
1257
- #1755 by André Arko.
1258
- * Update vendored Molinillo to 0.5.3. Pull request #1763 by
1259
- Samuel Giddins.
1260
-
1261
- === 2.6.7 / 2016-09-26
1262
-
1263
- Bug fixes:
1264
-
1265
- * Install native extensions in the correct location when using the
1266
- `--user-install` flag. Pull request #1683 by Noah Kantrowitz.
1267
- * When calling `Gem.sources`, load sources from `configuration`
1268
- if present, else use the default sources. Pull request #1699
1269
- by Luis Sagastume.
1270
- * Fail gracefully when attempting to redirect without a Location.
1271
- Pull request #1711 by Samuel Giddins.
1272
- * Update vendored Molinillo to 0.5.1. Pull request #1714 by
1273
- Samuel Giddins.
1274
-
1275
- === 2.6.6 / 2016-06-22
1276
-
1277
- Bug fixes:
1278
-
1279
- * Sort installed versions to make sure we install the latest version when
1280
- running `gem update --system`. As a one-time fix, run
1281
- `gem update --system=2.6.6`. Pull request #1601 by David Radcliffe.
1282
-
1283
- === 2.6.5 / 2016-06-21
1284
-
1285
- Minor enhancements:
1286
-
1287
- * Support for unified Integer in Ruby 2.4. Pull request #1618
1288
- by SHIBATA Hiroshi.
1289
- * Update vendored Molinillo to 0.5.0 for performance improvements.
1290
- Pull request #1638 by Samuel Giddins.
1291
-
1292
- Bug fixes:
1293
-
1294
- * Raise an explicit error if Signer#sign is called with no certs. Pull
1295
- request #1605 by Daniel Berger.
1296
- * Update `update_bundled_ca_certificates` utility script for directory
1297
- nesting. Pull request #1583 by James Wen.
1298
- * Fix broken symlink support in tar writer (+ fix broken test). Pull
1299
- request #1578 by Cezary Baginski.
1300
- * Remove extension directory before (re-)installing. Pull request #1576
1301
- by Jeremy Hinegardner.
1302
- * Regenerate test CA certificates with appropriate extensions. Pull
1303
- request #1611 by rhenium.
1304
- * Rubygems does not terminate on failed file lock when not superuser. Pull
1305
- request #1582 by Ellen Marie Dash.
1306
- * Fix tar headers with a 101 character name. Pull request #1612 by Paweł
1307
- Tomulik.
1308
- * Add Gem.platform_defaults to allow implementations to override defaults.
1309
- Pull request #1644 by Charles Oliver Nutter.
1310
- * Run Bundler tests on TravisCI. Pull request #1650 by Samuel Giddins.
1311
-
1312
- === 2.6.4 / 2016-04-26
1313
-
1314
- Minor enhancements:
1315
-
1316
- * Use Gem::Util::NULL_DEVICE instead of hard coded strings. Pull request #1588
1317
- by Chris Charabaruk.
1318
- * Use File.symlink on MS Windows if supported. Pull request #1418
1319
- by Nobuyoshi Nakada.
1320
-
1321
- Bug fixes:
1322
-
1323
- * Redact uri password from error output when gem fetch fails. Pull request
1324
- #1565 by Brian Fletcher.
1325
- * Suppress warnings. Pull request #1594 by Nobuyoshi Nakada.
1326
- * Escape user-supplied content served on web pages by `gem server` to avoid
1327
- potential XSS vulnerabilities. Samuel Giddins.
1328
-
1329
- === 2.6.3 / 2016-04-05
1330
-
1331
- Minor enhancements:
1332
-
1333
- * Lazily calculate Gem::LoadError exception messages. Pull request #1550
1334
- by Aaron Patterson.
1335
- * New fastly cert. Pull request #1548 by David Radcliffe.
1336
- * Organize and cleanup SSL certs. Pull request #1555 by James Wen.
1337
- * [RubyGems] Make deprecation message for paths= more helpful. Pull
1338
- request #1562 by Samuel Giddins.
1339
- * Show default gems when using "gem list". Pull request #1570 by Luis
1340
- Sagastume.
1341
-
1342
- Bug fixes:
1343
-
1344
- * Stub ordering should be consistent regardless of how cache is populated.
1345
- Pull request #1552 by Aaron Patterson.
1346
- * Handle cases when the @@stubs variable contains non-stubs. Pull request
1347
- #1558 by Per Lundberg.
1348
- * Fix test on Windows for inconsistent temp path. Pull request #1554 by
1349
- Hiroshi Shirosaki.
1350
- * Fix `Gem.find_spec_for_exe` picks oldest gem. Pull request #1566 by
1351
- Shinichi Maeshima.
1352
- * [Owner] Fallback to email and userid when owner email is missing. Pull
1353
- request #1569 by Samuel Giddins.
1354
- * [Installer] Handle nil existing executable. Pull request #1561 by Samuel
1355
- Giddins.
1356
- * Allow two digit version numbers in the tests. Pull request #1575 by unak.
1357
-
1358
- === 2.6.2 / 2016-03-12
1359
-
1360
- Bug fixes:
1361
-
1362
- * Fix wrong version of gem activation for bin stub. Pull request #1527 by
1363
- Aaron Patterson.
1364
- * Speed up gem activation failures. Pull request #1539 by Aaron Patterson.
1365
- * Fix platform sorting in the resolver. Pull request #1542 by Samuel E.
1366
- Giddins.
1367
- * Ensure we unlock the monitor even if try_activate throws. Pull request
1368
- #1538 by Charles Oliver Nutter.
1369
-
1370
-
1371
- === 2.6.1 / 2016-02-28
1372
-
1373
- Bug fixes:
1374
-
1375
- * Ensure `default_path` and `home` are set for paths. Pull request #1513
1376
- by Aaron Patterson.
1377
- * Restore but deprecate support for Array values on `Gem.paths=`. Pull
1378
- request #1514 by Aaron Patterson.
1379
- * Fix invalid gem file preventing gem install from working. Pull request
1380
- #1499 by Luis Sagastume.
1381
-
1382
- === 2.6.0 / 2016-02-26
1383
-
1384
- Minor enhancements:
1385
-
1386
- * RubyGems now defaults the `gem push` to the gem's "allowed_push_host"
1387
- metadata setting. Pull request #1486 by Josh Lane.
1388
- * Update bundled Molinillo to 0.4.3. Pull request #1493 by Samuel E. Giddins.
1389
- * Add version option to gem open command. Pull request #1483 by Hrvoje
1390
- Šimić.
1391
- * Feature/add silent flag. Pull request #1455 by Luis Sagastume.
1392
- * Allow specifying gem requirements via env variables. Pull request #1472
1393
- by Samuel E. Giddins.
1394
-
1395
- Bug fixes:
1396
-
1397
- * RubyGems now stores `gem push` credentials under the host you signed-in for.
1398
- Pull request #1485 by Josh Lane.
1399
- * Move `coding` location to first line. Pull request #1471 by SHIBATA
1400
- Hiroshi.
1401
- * [PathSupport] Handle a regexp path separator. Pull request #1469 by
1402
- Samuel E. Giddins.
1403
- * Clean up the PathSupport object. Pull request #1094 by Aaron Patterson.
1404
- * Join with File::PATH_SEPARATOR in Gem.use_paths. Pull request #1476 by
1405
- Samuel E. Giddins.
1406
- * Handle when the gem home and gem path arent set in the config file. Pull
1407
- request #1478 by Samuel E. Giddins.
1408
- * Terminate TimeoutHandler. Pull request #1479 by Nobuyoshi Nakada.
1409
- * Remove redundant cache. Pull request #1482 by Eileen M. Uchitelle.
1410
- * Freeze `Gem::Version@segments` instance variable. Pull request #1487 by
1411
- Ben Dean.
1412
- * Gem cleanup is trying to uninstall gems outside GEM_HOME and reporting
1413
- an error after it tries. Pull request #1353 by Luis Sagastume.
1414
- * Avoid duplicated sources. Pull request #1489 by Luis Sagastume.
1415
- * Better description for quiet flag. Pull request #1491 by Luis Sagastume.
1416
- * Raise error if find_by_name returns with nil. Pull request #1494 by
1417
- Zoltán Hegedüs.
1418
- * Find_files only from loaded_gems when using gemdeps. Pull request #1277
1419
- by Michal Papis.
1420
-
1421
- === 2.5.2 / 2016-01-31
1422
-
1423
- Bug fixes:
1424
-
1425
- * Fix memoization of Gem::Version#prerelease? Pull request #1125 by Matijs van
1426
- Zuijlen.
1427
- * Handle trailing colons in GEM_PATH, by Damien Robert.
1428
- * Improve the Gemfile `gemspec` method, fixing #1204 and #1033. Pull request
1429
- #1276 by Michael Papis.
1430
- * Warn only once when a gemspec license is invalid. Pull request #1414 by Samuel
1431
- E. Giddins.
1432
- * Check for exact constants before using them, fixing Ruby bug #11940. Pull
1433
- request #1438 by Nobuyoshi Nakada.
1434
- * Fix building C extensions on Ruby 1.9.x on Windows. Pull request #1453 by Marie
1435
- Markwell.
1436
- * Handle symlinks containing ".." correctly. Pull request #1457 by Samuel E.
1437
- Giddins.
1438
-
1439
- Minor enhancements:
1440
-
1441
- * Add `--no-rc` flag, which skips loading `.gemrc`. Pull request #1329 by Luis
1442
- Sagastume.
1443
- * Allow basic auth to be excluded from `allowed_push_host`. By Josh Lane.
1444
- * Add `gem list --exact`, which finds gems by string match instead of regex. Pull
1445
- request #1344 by Luis Sagastume.
1446
- * Suggest alternatives when gem license is unknown. Pull request #1443 by Samuel
1447
- E. Giddins.
1448
- * Print a useful error if a binstub expects a newer version of a gem than is
1449
- installed. Pull request #1407 by Samuel E. Giddins.
1450
- * Allow the (supported) s3:// scheme to be used with `--source`. Pull request
1451
- #1416 by Dave Adams.
1452
- * Add `--[no-]post-install-message` to `install` and `update`. Pull request #1162
1453
- by Josef Šimánek.
1454
- * Add `--host` option to `yank`, providing symmetry with `pull`. Pull request
1455
- #1361 by Mike Virata-Stone.
1456
- * Update bundled Molinillo to 0.4.1. Pull request #1452 by Samuel E. Giddins.
1457
- * Allow calling `build` without '.gemspec'. Pull request #1454 by Stephen
1458
- Blackstone.
1459
- * Add support for `source` option on gems in Gemfile. Pull request #1355 by
1460
- Michael Papis.
1461
- * Function correctly when string literals are frozen on Ruby 2.3. Pull request
1462
- #1408 by Samuel E. Giddins.
1463
-
1464
- === 2.5.1 / 2015-12-10
1465
-
1466
- Bug fixes:
1467
-
1468
- * Ensure platform sorting only uses strings. Affected binary installs on Windows.
1469
- Issue #1369 reported by Ryan Atball (among others).
1470
- Pull request #1375 by Samuel E. Giddins.
1471
- * Revert PR #1332. Unable to reproduce, and nil should be impossible.
1472
- * Gem::Specification#to_fullpath now returns .rb extensions when such a file
1473
- exists. Pull request #1114 by y-yagi.
1474
- * RubyGems now handles Net::HTTPFatalError instead of crashing. Pull
1475
- request #1314 by Samuel E. Giddins.
1476
- * Updated bundled Molinillo to 0.4.0. Pull request #1322, #1396 by Samuel E.
1477
- Giddins.
1478
- * Improved performance of spec loading by reducing likelihood of loading the
1479
- complete specification. Pull request #1373 by Aaron Patterson.
1480
- * Improved caching of requirable files Pull request #1377 by Aaron Patterson.
1481
- * Fixed activation of gems with development dependencies. Pull request #1388
1482
- by Samuel E. Giddins.
1483
- * RubyGems now uses the same Molinillo vendoring strategy as Bundler. Pull
1484
- request #1397 by Samuel E. Giddins.
1485
- * Fixed documentation of Gem::Requirement.parse. Pull request #1398 by
1486
- Juanito Fatas.
1487
- * RubyGems no longer warns when a prerelease gem has prerelease dependencies.
1488
- Pull request #1399 by Samuel E. Giddins.
1489
- * Fixed Gem::Version documentation example. Pull request #1401 by Guilherme
1490
- Goettems Schneider.
1491
- * Updated documentation links to https://. Pull request #1404 by Suriyaa
1492
- Kudo.
1493
- * Fixed double word typo. Pull request #1411 by Jake Worth.
1494
-
1495
- === 2.5.0 / 2015-11-03
1496
-
1497
- Major enhancements:
1498
-
1499
- * Added the Gem::Licenses class which provides a set of standard license
1500
- identifiers as set by spdx.org. This is now used by the
1501
- Gem::Specification#license attribute to try to standardize (though not
1502
- enforce) licenses set by gem authors.
1503
-
1504
- Pull request #1249 by Kyle Mitchell.
1505
-
1506
- Minor enhancements:
1507
-
1508
- * Use Molinillo as the resolver library. This is the same resolver as used by
1509
- Bundler. Pull request #1189 by Samuel E. Giddins.
1510
- * Add `--skip=gem_name` to Pristine command. Pull request #1018 by windwiny.
1511
- * The parsed gem dependencies file is now available via Gem.gemdeps following
1512
- Gem.use_gemdeps. Pull request #1224 by Hsing-Hui Hsu, issue #1213 by
1513
- Michal Papis.
1514
- * Moved description attribute to recommended for Gem::Specification.
1515
- Pull request #1046 by Michal Papis
1516
- * Moved `Gem::Indexer#abbreviate` and `#sanitize` to `Gem::Specification`.
1517
- Pull request #1145 by Arthur Nogueira Neves
1518
- * Cache Gem::Version segments for `#bump` and `#release`.
1519
- Pull request #1131 by Matijs van Zuijlen
1520
- * Fix edge case in `levenshtein_distance` for comparing longer strings.
1521
- Pull request #1173 by Richard Schneeman
1522
- * Remove duplication from List#to_a, improving from O(n^2) to O(n) time.
1523
- Pull request #1200 by Marc Siegel.
1524
- * Gem::Specification.add_specs is deprecated and will be removed from version
1525
- 3.0 with no replacement. To add specs, install the gem, then reset the
1526
- cache.
1527
- * Gem::Specification.add_spec is deprecated and will be removed from version
1528
- 3.0 with no replacement. To add specs, install the gem, then reset the
1529
- cache.
1530
- * Gem::Specification.remove_spec is deprecated and will be removed from version
1531
- 3.0 with no replacement. To remove specs, uninstall the gem, then reset the
1532
- cache by calling Gem::Specification.reset.
1533
- * Call Array#compact before calling Array#uniq for minor speed improvement in
1534
- the Gem::Specification#files method.
1535
- Pull request #1253 by Marat Amerov.
1536
- * Use stringio instead of custom String classes.
1537
- Pull request #1250 by Petr Skocik.
1538
- * Use URI#host instead of URI#hostname to retain backwards compatibility with
1539
- Ruby 1.9.2 and earlier in util library.
1540
- Pull request #1288 by Joe Rafaniello.
1541
- * Documentation update for gem sources.
1542
- Pull request #1324 by Ilya Vassilevsky.
1543
- * Documentation update for required_ruby_version.
1544
- Pull request #1321 by Matt Patterson.
1545
- * Documentation update for gem update.
1546
- Pull request #1306 by Tim Blair.
1547
- * Emit a warning on SRV resolve failure.
1548
- Pull request #1023 by Ivan Kuchin.
1549
- * Allow duplicate dependencies between runtime and development.
1550
- Pull request #1032 by Murray Steele.
1551
- * The gem env command now shows the user installation directory.
1552
- Pull request #1343 by Luis Sagastume.
1553
- * The Gem::Platform#=== method now treats a nil cpu arch the same as 'universal'.
1554
- Pull request #1356 by Daniel Berger.
1555
- * Improved memory performance in Gem::Specification.traverse. Pull request
1556
- #1188 by Aaron Patterson.
1557
- * RubyGems packages now support symlinks. Pull request #1209 by Samuel E.
1558
- Giddins.
1559
- * RubyGems no longer outputs mkmf.log if it does not exist. Pull request
1560
- #1222 by Andrew Hooker.
1561
- * Added Bitrig platform. Pull request #1233 by John C. Vernaleo.
1562
- * Improved error message for first-time RubyGems developers. Pull request
1563
- #1241 by André Arko
1564
- * Improved performance of Gem::Specification#load with cached specs. Pull
1565
- request #1297 by Samuel E. Giddins.
1566
- * Gem::RemoteFetcher allows users to set HTTP headers. Pull request #1363 by
1567
- Agis Anastasopoulos.
1568
-
1569
- Bug fixes:
1570
-
1571
- * Fixed Rake homepage url in example for Gem::Specification#homepage.
1572
- Pull request #1171 by Arthur Nogueira Neves
1573
- * Don't crash if partially uninstalled gem can't be found.
1574
- Pull request #1283 by Cezary Baginski.
1575
- * Test warning cleanup.
1576
- Pull request #1298 by Samuel E. Giddins.
1577
- * Documentation fix for GemDependencyAPI.
1578
- Pull request #1308 by Michael Papis.
1579
- * Fetcher now ignores ENOLCK errors in single threaded environments. This
1580
- handles an issue with gem installation on NFS as best we can. Addresses
1581
- issue #1176 by Ryan Moore.
1582
- Pull request #1327 by Daniel Berger.
1583
- * Fix some path quoting issues in the test suite.
1584
- Pull request #1328 by Gavin Miller.
1585
- * Fix NoMethodError in running ruby processes when gems are uninstalled.
1586
- Pull request #1332 by Peter Drake.
1587
- * Fixed a potential NoMethodError for gem cleanup.
1588
- Pull request #1333 by Peter Drake.
1589
- * Fixed gem help bug.
1590
- Issue #1352 reported by bogem, pull request #1357 by Luis Sagastume.
1591
- * Remove temporary directories after tests finish. Pull request #1181 by
1592
- Nobuyoshi Nokada.
1593
- * Update links in RubyGems documentation. Pull request #1185 by Darío Hereñú.
1594
- * Prerelease gem executables can now be run. Pull request #1186 by Samuel E.
1595
- Giddins.
1596
- * Updated RubyGems travis-ci ruby versions. Pull request #1187 by Samuel E.
1597
- Giddins.
1598
- * Fixed release date of RubyGems 2.4.6. Pull request #1190 by Frieder
1599
- Bluemle.
1600
- * Fixed bugs in gem activation. Pull request #1202 by Miklós Fazekas.
1601
- * Fixed documentation for `gem list`. Pull request #1228 by Godfrey Chan.
1602
- * Fixed #1200 history entry. Pull request #1234 by Marc Siegel.
1603
- * Fixed synchronization issue when resetting the Gem::Specification gem list.
1604
- Pull request #1239 by Samuel E. Giddins.
1605
- * Fixed running tests in parallel. Pull request #1257 by SHIBATA Hiroshi.
1606
- * Fixed running tests with `--program-prefix` or `--program-suffix` for ruby.
1607
- Pull request #1258 by Shane Gibbs.
1608
- * Fixed Gem::Specification#to_yaml. Pull request #1262 by Hiroaki Izu.
1609
- * Fixed taintedness of Gem::Specification#raw_require_paths. Pull request
1610
- #1268 by Sam Ruby.
1611
- * Fixed sorting of platforms when installing gems. Pull request #1271 by
1612
- nonsequitur.
1613
- * Use `--no-document` over deprecated documentation options when installing
1614
- dependencies on travis. Pull request #1272 by takiy33.
1615
- * Improved support for IPv6 addresses in URIs. Pull request #1275 by Joe
1616
- Rafaniello.
1617
- * Spec validation no longer crashes if a file does not exist. Pull request
1618
- #1278 by Samuel E. Giddins.
1619
- * Gems can now be installed within `rescue`. Pull request #1282 by Samuel E.
1620
- Giddins.
1621
- * Increased Diffie-Hellman key size for tests for modern OpenSSL. Pull
1622
- request #1290 by Vít Ondruch.
1623
- * RubyGems handles invalid config files better. Pull request #1367 by Agis
1624
- Anastasopoulos.
1625
-
1626
- === 2.4.8 / 2015-06-08
1627
-
1628
- Bug fixes:
1629
-
1630
- * Tightened API endpoint checks for CVE-2015-3900
1631
-
1632
- === 2.4.7 / 2015-05-14
1633
-
1634
- Bug fixes:
1635
-
1636
- * Limit API endpoint to original security domain for CVE-2015-3900.
1637
- Fix by claudijd
1638
-
1639
- === 2.4.6 / 2015-02-05
1640
-
1641
- Bug fixes:
1642
-
1643
- * Fixed resolving gems with both upper and lower requirement boundaries.
1644
- Issue #1141 by Jakub Jirutka.
1645
- * Moved extension directory after require_paths to fix missing constant bugs
1646
- in some gems with C extensions. Issue #784 by André Arko, pull request
1647
- #1137 by Barry Allard.
1648
- * Use Gem::Dependency#requirement when adding a dependency to an existing
1649
- dependency instance. Pull request #1101 by Josh Cheek.
1650
- * Fixed warning of shadowed local variable in Gem::Specification. Pull request
1651
- #1109 by Rohit Arondekar
1652
- * Gem::Requirement should always sort requirements before coercion to Hash.
1653
- Pull request #1139 by Eito Katagiri.
1654
- * The `gem open` command should change the current working directory before
1655
- opening the editor. Pull request #1142 by Alex Wood.
1656
- * Ensure quotes are stripped from the Windows launcher script used to install
1657
- gems. Pull request #1115 by Youngjun Song.
1658
- * Fixed errors when writing to NFS to to 0444 files. Issue #1161 by Emmanuel
1659
- Hadoux.
1660
- * Removed dead code in Gem::StreamUI. Pull request #1117 by mediaslave24.
1661
- * Fixed typos. Pull request #1096 by hakeda.
1662
- * Relaxed CMake dependency for RHEL 6 and CentOS 6. Pull request #1124 by Vít
1663
- Ondruch.
1664
- * Relaxed Psych dependency. Pull request #1128 by Vít Ondruch.
1665
-
1666
- === 2.4.5 / 2014-12-03
1667
-
1668
- Bug fixes:
1669
-
1670
- * Improved speed of requiring gems. (Around 25% for a 60 gem test). Pull
1671
- request #1060 by unak.
1672
- * RubyGems no longer attempts to look up gems remotely with the --local flag.
1673
- Pull request #1084 by Jeremy Evans.
1674
- * Executable stubs use the correct gem version when RUBYGEMS_GEMDEPS is
1675
- active. Issue #1072 by Michael Kaiser-Nyman.
1676
- * Fixed handling of pinned gems in lockfiles with versions. Issue #1078 by
1677
- Ian Ker-Seymer.
1678
- * Fixed handling of git@example:gem.git URIs. Issue #1054 by Mogutan Mogu.
1679
- * Fixed handling of platforms retrieved from the dependencies API. Issue
1680
- #1058 and patch suggestion by tux-mind.
1681
- * RubyGems now suggests a copy-pasteable `gem pristine` command when
1682
- extensions are missing. Pull request #1057 by Shannon Skipper.
1683
- * Improved errors for long file names when packaging. Pull request #1016 by
1684
- Piotrek Bator.
1685
- * `gem pristine` now skips gems cannot be found remotely. Pull request #1064
1686
- by Tuomas Kareinen.
1687
- * `gem pristine` now caches gems to the proper directory. Pull request #1064
1688
- by Tuomas Kareinen.
1689
- * `gem pristine` now skips bundled gems properly. Pull request #1064 by
1690
- Tuomas Kareinen.
1691
- * Improved interoperability of Vagrant with RubyGems. Pull request #1057 by
1692
- Vít Ondruch.
1693
- * Renamed CONTRIBUTING to CONTRIBUTING.rdoc to allow markup. Pull request
1694
- #1090 by Roberto Miranda.
1695
- * Switched from #partition to #reject as only one collection is used. Pull
1696
- request #1074 by Tuomas Kareinen.
1697
- * Fixed installation of gems on systems using memory-mapped files. Pull
1698
- request #1038 by Justin Li.
1699
- * Fixed bug in Gem::Text#min3 where `a == b < c`. Pull request #1026 by
1700
- fortissimo1997.
1701
- * Fixed uninitialized variable warning in BasicSpecification. Pull request
1702
- #1019 by Piotr Szotkowski.
1703
- * Removed unneeded exception handling for cyclic dependencies. Pull request
1704
- #1043 by Jens Wille.
1705
- * Fixed grouped expression warning. Pull request #1081 by André Arko.
1706
- * Fixed handling of platforms when writing lockfiles.
1707
-
1708
- === 2.4.4 / 2014-11-12
1709
-
1710
- Bug fixes:
1711
-
1712
- * Add alternate Root CA for upcoming certificate change. Fixes #1050 by
1713
- Protosac
1714
-
1715
- === 2.4.3 / 2014-11-10
1716
-
1717
- Bug fixes:
1718
-
1719
- * Fix redefine MirrorCommand issue. Pull request #1044 by @akr.
1720
- * Fix typo in platform= docs. Pull request #1048 by @jasonrclark
1721
- * Add root SSL certificates for upcoming certificate change. Fixes #1050 by
1722
- Protosac
1723
-
1724
- === 2.4.2 / 2014-10-01
1725
-
1726
- This release was sponsored by Ruby Central.
1727
-
1728
- Bug fixes:
1729
-
1730
- * RubyGems now correctly matches wildcard no_proxy hosts. Issue #997 by
1731
- voelzemo.
1732
- * Added support for missing git_source method in the gem dependencies API.
1733
- * Fixed handling of git gems with an alternate install directory.
1734
- * Lockfiles will no longer be truncated upon resolution errors.
1735
- * Fixed messaging for `gem owner -a`. Issue #1004 by Aaron Patterson, Ryan
1736
- Davis.
1737
- * Removed meaningless ensure. Pull request #1003 by gogotanaka.
1738
- * Improved wording of --source option help. Pull request #989 by Jason Clark.
1739
- * Empty build_info files are now ignored. Issue #903 by Adan Alvarado.
1740
- * Gem::Installer ignores dependency checks when installing development
1741
- dependencies. Issue #994 by Jens Willie.
1742
- * `gem update` now continues after dependency errors. Issue #993 by aaronchi.
1743
- * RubyGems no longer warns about semantic version dependencies for the 0.x
1744
- range. Issue #987 by Jeff Felchner, pull request #1006 by Hsing-Hui Hsu.
1745
- * Added minimal lock to allow multithread installation of gems. Issue #982
1746
- and pull request #1005 by Yorick Peterse
1747
- * RubyGems now considers prerelease dependencies as it did in earlier versions
1748
- when --prerelease is given. Issue #990 by Jeremy Tryba.
1749
- * Updated capitalization in README. Issue #1010 by Ben Bodenmiller.
1750
- * Fixed activating gems from a Gemfile for default gems. Issue #991 by khoan.
1751
- * Fixed windows stub script generation for Cygwin. Issue #1000 by Brett
1752
- DiFrischia.
1753
- * Allow gem bindir and ruby.exe to live in separate diretories. Pull request
1754
- #942 by Ian Flynn.
1755
- * Fixed handling of gemspec in gem dependencies files to match Bundler
1756
- behavior. Issue #1020 by Michal Papis.
1757
- * Fixed `gem update` when updating to prereleases. Issue #1028 by Santiago
1758
- Pastorino.
1759
- * RubyGems now fails immediately when a git reference cannot be found instead
1760
- of spewing git errors. Issue #1031 by Michal Papis
1761
-
1762
- === 2.4.1 / 2014-07-17
1763
-
1764
- Bug fixes:
1765
-
1766
- * RubyGems can now be updated on Ruby implementations that do not support
1767
- vendordir in RbConfig::CONFIG. Issue #974 by net1957.
1768
-
1769
- === 2.4.0 / 2014-07-16
1770
-
1771
- Minor enhancements:
1772
-
1773
- * The contents command now supports a --show-install-dir option that shows
1774
- only the directory the gem is installed in. Feature request #966 by Akinori
1775
- MUSHA.
1776
- * Added a --build-root option to the install command for packagers. Pull
1777
- request #965 by Marcus Rückert.
1778
- * Added vendor gem support to RubyGems. Package managers may now install gems
1779
- in Gem.vendor_dir with the --vendor option to gem install. Issue #943 by
1780
- Marcus Rückert.
1781
-
1782
- Bug fixes:
1783
-
1784
- * Kernel#gem now respects the prerelease flag when activating gems.
1785
- Previously this behavior was undefined which could lead to bugs when a
1786
- prerelease version was unintentionally activated. Bug #938 by Joe Ferris.
1787
- * RubyGems now prefers gems from git over installed gems. This allows gems
1788
- from git to override an installed gem with the same name and version. Bug
1789
- #944 by Thomas Kriechbaumer.
1790
- * Fixed handling of git gems in a lockfile with unversioned dependencies. Bug
1791
- #940 by Michael Kaiser-Nyman.
1792
- * The ruby directive in a gem dependencies file is ignored when installing.
1793
- Bug #941 by Michael Kaiser-Nyman.
1794
- * Added open to list of builtin commands (`gem open` now works). Reported by
1795
- Espen Antonsen.
1796
- * `gem open` now works with command-line editors. Pull request #962 by Tim
1797
- Pope.
1798
- * `gem install -g` now respects `--conservative`. Pull request #950 by Jeremy
1799
- Evans.
1800
- * RubyGems releases announcements now now include checksums. Bug #939 by
1801
- Alexander E. Fischer.
1802
- * RubyGems now expands ~ in $PATH when checking if installed executables will
1803
- be runnable. Pull request #945 by Alex Talker.
1804
- * Fixed `gem install -g --explain`. Issue #947 by Luis Lavena. Patch by
1805
- Hsing-Hui Hsu.
1806
- * RubyGems locks less during gem activation. Pull request #951 by Aaron
1807
- Patterson and Justin Searls, #969 by Jeremy Tryba.
1808
- * Kernel#gem is now thread-safe. Pull request #967 by Aaron Patterson.
1809
- * RubyGems now handles spaces in directory names for some parts of extension
1810
- building. Pull request #949 by Tristan Hill.
1811
- * RubyGems no longer defines an empty Date class. Pull Request #948 by Benoit
1812
- Daloze.
1813
- * RubyGems respects --document options for `gem update` again. Bug 946 by
1814
- jonforums. Patch by Hsing-Hui Hsu.
1815
- * RubyGems generates documentation again with --ignore-dependencies. Bug #961
1816
- by Pulfer.
1817
- * RubyGems can install extensions across partitions now. Pull request #970 by
1818
- Michael Scherer.
1819
- * `-s` is now short for `--source` which resolves an ambiguity with
1820
- --no-suggestions. Pull request #955 by Alexander Kahn.
1821
- * Added extra test for ~> for 0.0.X versions. Pull request #958 by Mark
1822
- Lorenz.
1823
- * Fixed typo in gem updated help. Pull request #952 by Per Modin.
1824
- * Clarified that the gem description should not be excessively long. Part of
1825
- bug #956 by Renier Morales.
1826
- * Hid documentation of outdated test_files related methods in Specification.
1827
- Guides issue #90 by Emil Soman.
1828
- * RubyGems now falls back to the old index if the rubygems.org API fails
1829
- during gem resolution.
1830
-
1831
-
1832
- === 2.3.0 / 2014-06-10
1833
-
1834
- Minor enhancements:
1835
-
1836
- * Added the `open` command which allows you to inspect the source of a gem
1837
- using your editor.
1838
- Issue #789 by Mike Perham. Pull request #804 by Vitali F.
1839
- * The `update` command shows a summary of which gems were and were not
1840
- updated. Issue #544 by Mark D. Blackwell.
1841
- Pull request #777 by Tejas Bubane.
1842
- * Improved "could not find 'gem'" error reporting. Pull request #913 by
1843
- Richard Schneeman.
1844
- * Gem.use_gemdeps now accepts an argument specifying the path of the gem
1845
- dependencies file. When the file is not found an ArgumentError is raised.
1846
- * Writing a .lock file for a gem dependencies file is now controlled by the
1847
- --[no-]lock option. Pull reuqest #774 by Jeremy Evans.
1848
- * Suggestion of alternate names and spelling corrections during install can be
1849
- suppressed with the --no-suggestions option. Issue #867 by Jimmy Cuadra.
1850
- * Added mswin64 support. Pull request #881 by U. Nakamura.
1851
- * A gem is installable from an IO again (as in RubyGems 1.8.x and older).
1852
- Pull request #716 by Xavier Shay.
1853
- * RubyGems no longer attempts to build extensions during activation. Instead
1854
- a warning is issued instructing you to run `gem pristine` which will build
1855
- the extensions for the current platform. Issue #796 by dunric.
1856
- * Added Gem::UserInteraction#verbose which prints when the --verbose option is
1857
- given. Pull request #811 by Aaron Patterson.
1858
- * RubyGems can now fetch gems from private repositories using S3. Pull
1859
- request #856 by Brian Palmer.
1860
- * Added Gem::ConflictError subclass of Gem::LoadError so you can distinguish
1861
- conflicts from other problems. Pull request #841 by Aaron Patterson.
1862
- * Cleaned up unneeded load_yaml bootstrapping in Rakefile. Pull request #815
1863
- by Zachary Scott.
1864
- * Improved performance of conflict resolution. Pull request #842 by Aaron
1865
- Patterson.
1866
- * Add documentation of "~> 0" to Gem::Version. Issue #896 by Aaron Suggs.
1867
- * Added CONTRIBUTING file. Pull request #849 by Mark Turner.
1868
- * Allow use of bindir in windows_stub_script in .bat
1869
- Pull request #818 by @unak and @nobu
1870
- * Use native File::PATH_SEPARATOR and remove $ before gem env on
1871
- Gem::Dependency#to_specs. Pull request #915 by @parkr
1872
- * RubyGems recommends SPDX IDs for licenses now. Pull request #917 by
1873
- Benjamin Fleischer.
1874
-
1875
- Bug fixes:
1876
-
1877
- * RubyGems now only fetches the latest specs to find misspellings which speeds
1878
- up gem suggestions. Pull request #808 by Aaron Patterson.
1879
- * The given .gem is installed again when multiple versions of the same gem
1880
- exist in the current directory. Bug #875 by Prem Sichanugrist.
1881
- * Local gems are preferred by name over remote gems again. Bug #834 by
1882
- jonforums.
1883
- * RubyGems can install local prerelease gems again. Pull request #866 by
1884
- Aaron Patterson. Issue #813 by André Arko.
1885
- * RubyGems installs development dependencies correctly again. Issue #893 by
1886
- Jens Wille.
1887
- * RubyGems only installs prerelease versions when they are requested again.
1888
- Issue #853 by Seth Vargo, special thanks to Zachary Scott and Ben Moss.
1889
- Issue #884 by Nathaniel Bibler.
1890
- * Fixed RubyGems list and search command help. Pull request #905 and #928 by
1891
- Gabriel Gilder.
1892
- * The list of gems to uninstall is always sorted now. Bug #918 by postmodern.
1893
- * The update command only updates exactly matching gem names now. Bug #919 by
1894
- postmodern.
1895
- * Gem::Server now supports prerelease versions. Bug #857 by Marcelo Alvim.
1896
- * RubyGems no longer raises an exception immediately when gems are missing
1897
- with RUBYGEMS_GEMDEPS. A warning is printed instead. Issue #886 by Michael
1898
- Kaiser-Nyman.
1899
- * Commands using the rubygems.org API no longer try to sign-in when a
1900
- non-rubygems API key has been chosen. Bug #826 by Ben Sedat.
1901
- * Updated documentation of Gem::Specification#executables to indicate that
1902
- only ruby scripts are allowed. Bug #830 by Geoff Nixon.
1903
- * Gem dependency API supports multiple platforms for #platform and #platforms
1904
- now. Bug #821 by johnny5-.
1905
- * Gem dependency API supports lockfiles without explicit sources. Bug #820 by
1906
- johnny5-.
1907
- * Gem dependency API supports lockfiles with multiple sources. Bug #822 by
1908
- johnny5-, bug #851 by sumit shah.
1909
- * Gem dependency API supports lockfiles with git sources using branch, tag and
1910
- ref. Bug #822 by johnny5-, #931 by Christoph Blank.
1911
- * Gem dependency API no longer raises an exception when a gem does not exist
1912
- in one of the configured sources. Bug #897 by Michael Kaiser-Nyman.
1913
- * Gem dependency API no longer lists development dependencies in the lockfile.
1914
- Bug #768 by Diego Viola, #916 by Santiago Pastorino.
1915
- * SSL configuration entries in ~/.gemrc are properly round-tripped. Bug #837
1916
- by Noah Luck Easterly.
1917
- * The environment command now shows the system configuration directory where
1918
- the all-users gemrc lives. Bug #827 by Ben Langfeld.
1919
- * Improved speed of conflict checking when activating gems. Pull request #843
1920
- by Aaron Patterson.
1921
- * Improved speed of levenshtein distance for gem suggestion misspellings.
1922
- Pull requests #809, #812 by Aaron Patterson.
1923
- * Restored persistent connections. Pull request #869 by Aaron Patterson.
1924
- * Reduced requests when fetching gems with the bundler API. Pull request #773
1925
- by Charlie Somerville.
1926
- * Reduced dependency prefetching to improve install speed. Pull requests
1927
- #871, #872 by Matthew Draper.
1928
- * RubyGems now avoids net/http auto-proxy detection. Issue #824 by HINOHARA
1929
- Hiroshi.
1930
- * Removed conversion of Gem::List (used for debugging installs) to unless
1931
- necessary. Pull request #870 by Aaron Patterson.
1932
- * RubyGems now prints release notes from the current release. Bug #814 by
1933
- André Arko.
1934
- * RubyGems allows installation of unsigned gems again with -P MediumSecurity
1935
- and lower. Bug #859 by Justin S. Collins.
1936
- * Fixed typo in Jim Weirich's name. Ruby pull request #577 by Mo Khan.
1937
- * Fixed typo in Gem.datadir documentation. Pull request #868 by Patrick
1938
- Jones.
1939
- * Fixed File.exists? warnings. Pull request #829 by SHIBATA Hiroshi.
1940
- * Fixed show_release_notes test for LANG=C. Issue #862 by Luis Lavena.
1941
- * Fixed Gem::Package from IO tests on windows. Patch from issue #861 by Luis
1942
- Lavena.
1943
- * Check for nil extensions as BasicSpecification does not initialize them.
1944
- Pull request #882 by André Arko.
1945
- * Fixed Gem::BasicSpecification#require_paths receives a String for
1946
- @require_paths. Pull requrest #904 by @danielpclark
1947
- * Fixed circular require warnings. Bug #908 by Zachary Scott.
1948
- * Gem::Specification#require_paths can no longer accidentally be an Array.
1949
- Pull requests #904, #909 by Daniel P. Clark.
1950
- * Don't build extensions if `build_dir/extensions` isn't writable.
1951
- Pull request #912 by @dunric
1952
- * Gem::BasicSpecification#require_paths respects default_ext_dir_for now. Bug
1953
- #852 by Vít Ondruch.
1954
-
1955
- === 2.2.5 / 2015-06-08
1956
-
1957
- Bug fixes:
1958
-
1959
- * Tightened API endpoint checks for CVE-2015-3900
1960
-
1961
- === 2.2.4 / 2015-05-14
1962
-
1963
- Bug fixes:
1964
-
1965
- * Backport: Limit API endpoint to original security domain for CVE-2015-3900.
1966
- Fix by claudijd
1967
-
1968
- === 2.2.3 / 2014-12-21
1969
-
1970
- Bug fixes:
1971
-
1972
- * Backport: Add alternate Root CA for upcoming certificate change.
1973
- Fixes #1050 by Protosac
1974
-
1975
- === 2.2.2 / 2014-02-05
1976
-
1977
- Bug fixes:
1978
-
1979
- * Fixed ruby tests when BASERUBY is not set. Patch for #778 by Nobuyoshi
1980
- Nakada.
1981
- * Removed double requests in RemoteFetcher#cache_update_path to improve remote
1982
- install speed. Pull request #772 by Charlie Somerville.
1983
- * The mkmf.log is now placed next to gem_make.out when building extensions.
1984
- * `gem install -g --local` no longer accesses the network. Bug #776 by Jeremy
1985
- Evans.
1986
- * RubyGems now correctly handles URL passwords with encoded characters. Pull
1987
- request #781 by Brian Fletcher.
1988
- * RubyGems now correctly escapes URL characters. Pull request #788 by Brian
1989
- Fletcher.
1990
- * RubyGems can now unpack tar files where the type flag is not given. Pull
1991
- request #790 by Cody Russell.
1992
- * Typo corrections. Pull request ruby/ruby#506 by windwiny.
1993
- * RubyGems now uses both the default certificates and ssl_ca_cert instead of
1994
- one or the other. Pull request #795 by zebardy.
1995
- * RubyGems can now use the bundler API against hosted gem servers in a
1996
- directory. Pull request #801 by Brian Fletcher.
1997
- * RubyGems bin stubs now ignore non-versions. This allows RubyGems bin stubs
1998
- to list file names like "_foo_". Issue #799 by Postmodern.
1999
- * Restored behavior of Gem::Version::new when subclassed. Issue #805 by
2000
- Sergio Rubio.
2001
-
2002
- === 2.2.1 / 2014-01-06
2003
-
2004
- Bug fixes:
2005
-
2006
- * Platforms in the Gemfile.lock GEM section are now handled correctly. Bug
2007
- #767 by Diego Viola.
2008
- * RubyGems now displays which gem couldn't be uninstalled from the home
2009
- directory. Pull request #757 by Michal Papis.
2010
- * Removed unused method Gem::Resolver#find_conflict_state. Pull request #759
2011
- by Smit Shah.
2012
- * Fixed installing gems from local files without dependencies. Issue #760 by
2013
- Arash Mousavi, pull request #764 by Tim Moore.
2014
- * Removed TODO about syntax that works in Ruby 1.8.7. Pull request #765 by
2015
- Benjamin Fleischer.
2016
- * Switched Gem.ruby_api_version to use RbConfig::CONFIG['ruby_version'] which
2017
- has the same value but is overridable by packagers through
2018
- --with-ruby-version= when configuring ruby. Bug #770 by Jeremy Evans.
2019
- * RubyGems now prefers the bundler API for `gem install` to reduce HTTP
2020
- requests. (This change was intended for RubyGems 2.2.0 but was missed.)
2021
- This should address bug #762 by Dan Peterson and bug #766 by mipearson.
2022
- * Added Gem::BasicSpecification#source_paths so documentation or analysis
2023
- tools can work properly as require_paths no longer returns extension source
2024
- directories. Bug #758 Vít Ondruch.
2025
- * Gem.read_binary can read read-only files again. This caused file://
2026
- repositories to stop working. Bug #761 by John Anderson.
2027
- * Fixed specification file sorting for Ruby 1.8.7 compatibility. Pull
2028
- request #763 by James Mead
2029
-
2030
- === 2.2.0 / 2013-12-26
2031
-
2032
- Special thanks to Vít Ondruch and Michal Papis for testing and finding bugs in
2033
- RubyGems as it was prepared for the 2.2.0 release.
2034
-
2035
- Major enhancements:
2036
-
2037
- * RubyGems can check for gem dependencies files (gem.deps.rb or Gemfile) when
2038
- rubygems executables are started and uses the found dependencies. This
2039
- means `rake` will work similar to `bundle exec rake`. To enable this set
2040
- the `RUBYGEMS_GEMDEPS` environment variable to the location of your
2041
- dependencies file.
2042
-
2043
- See Gem::use_gemdeps for further details.
2044
-
2045
- * A RubyGems directory may now be shared amongst multiple ruby versions. Upon
2046
- activation RubyGems will automatically compile missing extensions for the
2047
- current platform when the built objects are missing. Issue #596 by Michal
2048
- Papis
2049
-
2050
- By default different platforms do not share gem install locations so this
2051
- must be configured by setting GEM_HOME to a common directory. Some gems use
2052
- fixed paths for requiring extensions and are not compatible with sharing gem
2053
- directories.
2054
-
2055
- The default sharing location may be configured by RubyGems packagers through
2056
- Gem.default_ext_dir_for. Pull Request #744 by Vít Ondruch.
2057
-
2058
- Minor enhancements:
2059
-
2060
- * RubyGems checks the 'allowed_push_host' metadata value when pushing a gem to
2061
- prevent an accidental push to a public repository (such as rubygems.org).
2062
- If you have private gems you should set this value in your gem specification
2063
- metadata. Pull request #603 by Seamus Abshere.
2064
- * `gem list` now shows results for multiple arguments. Pull request #604 by
2065
- Zach Rabinovich.
2066
- * `gem pristine --extensions` will restore only gems with extensions. Issue
2067
- #619 by Postmodern.
2068
- * Gem::Specification#files is now sorted. Pull request #612 by Justin George.
2069
- * For `gem list` and friends, "LOCAL" and "REMOTE" headers are omitted if
2070
- only local or remote gem information is requested with --quiet. Pull
2071
- request #615 by Michal Papis.
2072
- * Added Gem::Specification#full_require_paths which is like require_paths, but
2073
- returns a fully-qualified results. Pull request #632 by Vít Ondruch.
2074
- * RubyGems now looks for the https_proxy environment variable for https://
2075
- sources. RubyGems will fall back to http_proxy if there is no https_proxy.
2076
- Issue #610 by mkristian.
2077
- * RubyGems now creates directories in .gem files. Issue #631 by marksolaris.
2078
- * RubyGems raises an exception when a specification includes its gem. Issue
2079
- #623 by notEthan.
2080
- * RubyGems now displays relevant release note information when updating
2081
- RubyGems. Issue #647 by Trevor Wennblom.
2082
- * Deprecated Gem::Installer::ExtensionBuildError in favor of
2083
- Gem::Ext::BuildError. The old constant is an alias for the new constant.
2084
- * When extensions are built the gem_make.out file is always written now, even
2085
- on success. This will help with debugging bad builds that report success.
2086
- * If a specification fails to validate RubyGems shows a link to the
2087
- specification reference guide. Issue #656 by Markus Heiler.
2088
- * When using `gem install -g`, RubyGems now detects the presence of an
2089
- Isolate, Gemfile or gem.deps.rb file.
2090
- * Added Gem::StubSpecification#stubbed? to help determine if a user should run
2091
- `gem pristine` to speed up gem loading. Pull request #694 and #701 by Jon
2092
- Leighton.
2093
- * RubyGems now warns when a gem has a pessimistic version dependency that may
2094
- be too strict.
2095
- * RubyGems now warns when a gem has an open-ended dependency.
2096
- * RubyGems now raises an exception when a dependency for a gem is defined
2097
- twice.
2098
- * Marked the license specification attribute as recommended. Pull request
2099
- #713 by Benjamin Fleischer.
2100
- * RubyGems uses io/console instead of `stty` when available. Pull request
2101
- #740 by Nobuyoshi Nakada
2102
- * Relaxed Gem.ruby tests for platforms that override where ruby lives. Pull
2103
- Request #755 by strzibny.
2104
-
2105
- Bug fixes:
2106
-
2107
- * RubyGems now returns an error status when any file given to `gem which`
2108
- cannot be found. Ruby bug #9004 by Eugene Vilensky.
2109
- * Fixed command escaping when building rake extensions. Pull request #721 by
2110
- Dmitry Ratnikov.
2111
- * Fixed uninstallation of gems when GEM_HOME is a relative directory. Issue
2112
- #708 by Ryan Davis.
2113
- * Default gems are now ignored by Gem::Validator#alien. Issue #717 by David
2114
- Bahar.
2115
- * Fixed typos in RubyGems. Pull requests #723, #725, #731 by Akira Matsuda,
2116
- pull request #736 by Leo Gallucci, pull request #746 by DV Suresh.
2117
- * RubyGems now holds exclusive locks on cached gem files to prevent incorrect
2118
- updates. Pull Request #737 by Smit Shah
2119
- * Improved speed of `gem install --ignore-dependencies`. Patch by Terence
2120
- Lee.
2121
-
2122
- === 2.1.11 / 2013-11-12
2123
-
2124
- Bug fixes:
2125
-
2126
- * Gem::Specification::remove_spec no longer checks for existence of the spec
2127
- to be removed. Issue #698 by Tiago Macedo.
2128
- * Restored wildcard handling when installing gems. Issue #697 by Chuck Remes.
2129
- * Added DigiCert High Assurance EV Root CA certificate for the cloudfront.net
2130
- certificate change.
2131
- * The Gem::RemoteFetcher tests now choose the test server port more reliably.
2132
- Pull Request #706 by akr.
2133
-
2134
- === 2.1.10 / 2013-10-24
2135
-
2136
- Bug fixes:
2137
-
2138
- * Use class check instead of :version method check when creating Gem::Version
2139
- objects. Fixes #674 by jkanywhere.
2140
- * Fail during `gem update` when an error occurs checking for newer versions.
2141
- This means RubyGems no longer reports "nothing to update" when it cannot
2142
- communicate with the server. Issue #688 by Jimmy Dee.
2143
- * Allow installation of gems when the home directory does not exist. Issue
2144
- #689 by Laurence Rowe
2145
- * Fix updating gems which have multiple platforms. Issue #693 by Ookami
2146
- Kenrou.
2147
- * The gem server now uses user-provided directories. Issue #696 by Marcelo
2148
- Alvim.
2149
- * Improved resolution of gems when specific versions have conflicting
2150
- dependencies.
2151
- * RubyGems installs local gems regardless of platform again. Issue #695
2152
- * The --ignore-dependencies option for gem installation works again. Issue
2153
- #695
2154
-
2155
- === 2.1.9 / 2013-10-14
2156
-
2157
- Bug fixes:
2158
-
2159
- * Reduce sorting when fetching specifications. This speeds up the update and
2160
- outdated commands, and others. Issue #657 by windwiny.
2161
- * Proxy usernames and passwords are now escaped properly. Ruby Bug #8979 by
2162
- Masahiro Tomita, Issue #668 by Kouhei Sutou.
2163
-
2164
- === 2.1.8 / 2013-10-10
2165
-
2166
- Bug fixes:
2167
-
2168
- * Fixed local installation of platform gem files. Issue #664 by Ryan Melton.
2169
- * Files starting with "." in the root directory are installed again. Issue
2170
- #680 by Ivo Wever, Pull Request #681 by Jeremy Evans.
2171
- * The index generator no longer indexes default gems. Issue #661 by
2172
- Jeremy Hinegardner.
2173
-
2174
- === 2.1.7 / 2013-10-09
2175
-
2176
- Bug fixes:
2177
-
2178
- * `gem sources --list` now displays a list of sources. Pull request #672 by
2179
- Nathan Marley.
2180
- * RubyGems no longer alters Gem::Specification.dirs when installing. Pull
2181
- Request #670 by Vít Ondruch
2182
- * Use RFC 2616-compatible time in HTTP headers. Pull request #655 by Larry
2183
- Marburger.
2184
- * RubyGems now gives a more descriptive message for missing licenses on
2185
- validation. Issue #656 by Markus Heiler.
2186
- * Expand unpack destination directory. This fixes problems when File.realpath
2187
- is missing and $GEM_HOME contains "..". Issue #679 by Charles Nutter.
2188
-
2189
- === 2.1.6 / 2013-10-08
2190
-
2191
- Bug fixes:
2192
-
2193
- * Added certificates to follow the s3.amazonaws.com certificate change. Fixes
2194
- #665 by emeyekayee. Fixes #671 by jonforums.
2195
- * Remove redundant built-in certificates not needed for https://rubygems.org
2196
- Fixes #654 by Vít Ondruch.
2197
- * Added test for missing certificates for https://s3.amazonaws.com or
2198
- https://rubygems.org. Pull request #673 by Hannes Georg.
2199
- * RubyGems now allows a Pathname for Kernel#require like the built-in
2200
- Kernel#require. Pull request #663 by Aaron Patterson.
2201
- * Required rbconfig in Gem::ConfigFile for Ruby 1.9.1 compatibility. (Ruby
2202
- 1.9.1 is no longer receiving security fixes, so please update to a newer
2203
- version.) Issue #676 by Michal Papis. Issue wayneeseguin/rvm#2262 by
2204
- Thomas Sänger.
2205
-
2206
- === 2.1.5 / 2013-09-24
2207
-
2208
- Security fixes:
2209
-
2210
- * RubyGems 2.1.4 and earlier are vulnerable to excessive CPU usage due to a
2211
- backtracking in Gem::Version validation. See CVE-2013-4363 for full details
2212
- including vulnerable APIs. Fixed versions include 2.1.5, 2.0.10, 1.8.27 and
2213
- 1.8.23.2 (for Ruby 1.9.3).
2214
-
2215
- === 2.1.4 / 2013-09-17
2216
-
2217
- Bug fixes:
2218
-
2219
- * `gem uninstall foo --all` now force-uninstalls all versions of foo. Issue
2220
- #650 by Kyle (remkade).
2221
- * Fixed uninstalling gems installed in the home directory (as in
2222
- `--user-install`). Issue #653 by Lin Jen-Shin.
2223
-
2224
- === 2.1.3 / 2013-09-12
2225
-
2226
- Bug fixes:
2227
-
2228
- * Gems with files entries starting with "./" no longer install 0 files. Issue
2229
- #644 by Darragh Curran, #645 by Brandon Turner, #646 by Alex Tambellini
2230
-
2231
- === 2.1.2 / 2013-09-11
2232
-
2233
- Bug fixes:
2234
-
2235
- * Restore concurrent requires following the fix for ruby bug #8374. Pull
2236
- request #637 and issue #640 by Charles Nutter.
2237
- * Gems with extensions are now installed correctly when the --install-dir
2238
- option is used. Issue #642 by Lin Jen-Shin.
2239
- * Gem fetch now fetches the newest (not oldest) gem when --version is given.
2240
- Issue #643 by Brian Shirai.
2241
-
2242
- === 2.1.1 / 2013-09-10
2243
-
2244
- Bug fixes:
2245
-
2246
- * Only matching gems matching your local platform are considered for
2247
- installation. Issue #638 by José M. Prieto, issue #639 by sawanoboly.
2248
-
2249
- === 2.1.0 / 2013-09-09
2250
-
2251
- Security fixes:
2252
-
2253
- * RubyGems 2.0.7 and earlier are vulnerable to excessive CPU usage due to a
2254
- backtracking in Gem::Version validation. See CVE-2013-4287 for full details
2255
- including vulnerable APIs. Fixed versions include 2.0.8, 1.8.26 and
2256
- 1.8.23.1 (for Ruby 1.9.3). Issue #626 by Damir Sharipov.
2257
-
2258
- Major enhancements:
2259
-
2260
- * RubyGems uses a new dependency resolver for gem installation which works
2261
- similar to the bundler resolver. The new resolver can resolve conflicts the
2262
- previous resolver could not and offers improved diagnostics when conflicts
2263
- are discovered.
2264
-
2265
- Minor enhancements:
2266
-
2267
- * RubyGems now has improved platform matching for the ARM architecture. Gems
2268
- built with a CPU of "arm" will match any specific ARM CPU. See `gem help
2269
- platform` for further details. Fixes #532 by Kim Burgestrand.
2270
- * The --version option now accepts compound requirements the same as in a gem
2271
- dependency. The following invocation will install rails between 4.0.0.beta
2272
- and 4.2:
2273
-
2274
- gem install rails -v '>= 4.0.0.beta, < 4.2'
2275
-
2276
- Fixes #531 by Gary S. Weaver
2277
- * `gem clean` now allows `-n` as an alias for `--dryrun`. Pull Request #517
2278
- by Gastón Ramos
2279
- * Added `gem update --system` to `gem help`. Pull Request #514 by Vince
2280
- Wadhwani
2281
- * Added PATH to `gem env` output. Pull Request #490 by Michal Papis
2282
- * Added --host option to `gem owner` to match other commands using the
2283
- gemcutter API. Pull Request #462 and issue #461 by Hugo Lopes Tavares
2284
- * Added --abort-on-dependent to `gem uninstall`. This will abort instead of
2285
- asking to uninstall a gem that is depended upon by another gem. Pull
2286
- request #549 by Philip Arndt.
2287
- * RubyGems no longer alters Gem::Specification.dirs when installing. Based on
2288
- Pull Request #452 by Vít Ondruch
2289
- * RubyGems uses ENV['MAKE'] or ENV['make'] over rbconfig.rb's make if present.
2290
- Pull Request #443 by Erik Hollensbe
2291
- * RubyGems can now save remote source cache files in an alternate directory
2292
- controlled by `ENV["GEM_SPEC_CACHE"]`. Pull Request #489 by Michal Papis
2293
- * Generated private keys are now encrypted. Pull Request #453 by pietro
2294
- * Separated Gem::Request from Gem::RemoteFetcher. Pull Request #283 by Steve
2295
- Klabnik.
2296
- * RubyGems indicates when a .gem's content is corrupt while verifying. Bug
2297
- #519 by William T Nelson.
2298
- * Refactored common installer setup. Pull request #520 by Gastón Ramos
2299
- * Moved activation tests to Gem::Specification. Pull request #521 by Gastón
2300
- Ramos
2301
- * When a --version option with a prerelease version is given RubyGems
2302
- automatically enables prerelease versions but only the last version is
2303
- used. If the first version is a prerelease version this is no longer sticky
2304
- unless an explicit --[no-]prerelease was also given. Fixes part of #531.
2305
- * RubyGems now supports an SSL client certificate. Pull request #550 by
2306
- Robert Kenny.
2307
- * RubyGems now suggests how to fix permission errors. Pull request #553 by
2308
- Odin Dutton.
2309
- * Added support for installing a gem as default gems for alternate ruby
2310
- implementations. Pull request #566 by Charles Nutter.
2311
- * Improved performance of Gem::Specification#load by caching the loaded
2312
- gemspec. Pull request #569 by Charlie Somerville.
2313
- * RubyGems now warns when an unsigned gem is verified if -P was given during
2314
- installation even if the security policy allows unsigned gems and warns when
2315
- an untrusted certificate is seen even if the security policy allows
2316
- untrusted certificates. Issue #474 by Grant Olson
2317
- * RubyGems can now rewrite executables with or without a shebang of
2318
- /usr/bin/env via <code>gem pristine --all --only-executables
2319
- --env-[no-]shebang</code>. Issue #579 by Paul Annesley.
2320
- * RubyGems can now run its tests without OpenSSL. Ruby Bug #8557 by nobu.
2321
- * Improved performance by caching Gem::Version objects and avoiding
2322
- method_missing in Gem::Specification. Pull request #447 by Jon Leighton.
2323
- * Files in a .gem now preserve their modification times. Pull request #582 by
2324
- Jesse Bowes
2325
- * Improved speed of looking up dependencies in SpecFetcher through
2326
- Array#bsearch (when present). Pull request #595 by Andras Suller
2327
- * Added `--all` option to `gem uninstall` which removes all gems in GEM_HOME.
2328
- Pull request #584 by Shannon Skipper.
2329
- * Added Gem.find_latest_files which is equivalent to Gem.find_files but only
2330
- returns matching files from the latest version of each gem. Issue #186 by
2331
- Ryan Davis.
2332
- * Improved performance of `gem outdated` by reducing duplicate work (it is
2333
- still slow, but I see a near 50% improvement for 250 gems on a fast
2334
- connection). See also Gem::Specification::outdated_and_latest_version
2335
-
2336
- Bug fixes:
2337
-
2338
- * rubygems_plugin.rb files are now only loaded from the latest installed gem.
2339
- * Fixed Gem.clear_paths when Security is defined at top-level. Pull request
2340
- #625 by elarkin
2341
- * Fixed credential creation for `gem push` when `--host` is not given. Pull
2342
- request #622 by Arthur Nogueira Neves
2343
-
2344
- === 2.0.17 / 2015-06-08
2345
-
2346
- Bug fixes:
2347
-
2348
- * Tightened API endpoint checks for CVE-2015-3900
2349
-
2350
- === 2.0.16 / 2015-05-14
2351
-
2352
- Bug fixes:
2353
-
2354
- * Backport: Limit API endpoint to original security domain for CVE-2015-3900.
2355
- Fix by claudijd
2356
-
2357
- === 2.0.15 / 2014-12-21
2358
-
2359
- Bug fixes:
2360
-
2361
- * Backport: Add alternate Root CA for upcoming certificate change.
2362
- Fixes #1050 by Protosac
2363
-
2364
- === 2.0.14 / 2013-11-12
2365
-
2366
- Bug fixes:
2367
-
2368
- * Gem::Specification::remove_spec no longer checks for existence of the spec
2369
- to be removed. Issue #698 by Tiago Macedo.
2370
- * Restored wildcard handling when installing gems. Issue #697 by Chuck Remes.
2371
- * Added DigiCert High Assurance EV Root CA certificate for the cloudfront.net
2372
- certificate change.
2373
- * The Gem::RemoteFetcher tests now choose the test server port more reliably.
2374
- Pull Request #706 by akr.
2375
-
2376
- === 2.0.13 / 2013-10-24
2377
-
2378
- Bug fixes:
2379
-
2380
- * Use class check instead of :version method check when creating Gem::Version
2381
- objects. Fixes #674 by jkanywhere.
2382
- * Allow installation of gems when the home directory does not exist. Issue
2383
- #689 by Laurence Rowe
2384
- * Fix updating gems which have multiple platforms. Issue #693 by Ookami
2385
- Kenrou.
2386
-
2387
- === 2.0.12 / 2013-10-14
2388
-
2389
- Bug fixes:
2390
-
2391
- * Proxy usernames and passwords are now escaped properly. Ruby Bug #8979 by
2392
- Masahiro Tomita, Issue #668 by Kouhei Sutou.
2393
-
2394
- === 2.0.11 / 2013-10-08
2395
-
2396
- Bug fixes:
2397
-
2398
- * Added certificates to follow the s3.amazonaws.com certificate change. Fixes
2399
- #665 by emeyekayee. Fixes #671 by jonforums.
2400
- * Remove redundant built-in certificates not needed for https://rubygems.org
2401
- Fixes #654 by Vít Ondruch.
2402
- * Added test for missing certificates for https://s3.amazonaws.com or
2403
- https://rubygems.org. Pull request #673 by Hannes Georg.
2404
- * RubyGems now allows a Pathname for Kernel#require like the built-in
2405
- Kernel#require. Pull request #663 by Aaron Patterson.
2406
- * Required rbconfig in Gem::ConfigFile for Ruby 1.9.1 compatibility. (Ruby
2407
- 1.9.1 is no longer receiving security fixes, so please update to a newer
2408
- version.) Issue #676 by Michal Papis. Issue wayneeseguin/rvm#2262 by
2409
- Thomas Sänger.
2410
-
2411
- === 2.0.10 / 2013-09-24
2412
-
2413
- Security fixes:
2414
-
2415
- * RubyGems 2.1.4 and earlier are vulnerable to excessive CPU usage due to a
2416
- backtracking in Gem::Version validation. See CVE-2013-4363 for full details
2417
- including vulnerable APIs. Fixed versions include 2.1.5, 2.0.10, 1.8.27 and
2418
- 1.8.23.2 (for Ruby 1.9.3).
2419
-
2420
- === 2.0.9 / 2013-09-13
2421
-
2422
- Bug fixes:
2423
-
2424
- * Gem fetch now fetches the newest (not oldest) gem when --version is given.
2425
- Issue #643 by Brian Shirai.
2426
- * Fixed credential creation for `gem push` when `--host` is not given. Pull
2427
- request #622 by Arthur Nogueira Neves
2428
-
2429
- === 2.0.8 / 2013-09-09
2430
-
2431
- Security fixes:
2432
-
2433
- * RubyGems 2.0.7 and earlier are vulnerable to excessive CPU usage due to a
2434
- backtracking in Gem::Version validation. See CVE-2013-4287 for full details
2435
- including vulnerable APIs. Fixed versions include 2.0.8, 1.8.26 and
2436
- 1.8.23.1 (for Ruby 1.9.3). Issue #626 by Damir Sharipov.
2437
-
2438
- Bug fixes:
2439
-
2440
- * Fixed Gem.clear_paths when Security is defined at top-level. Pull request
2441
- #625 by elarkin
2442
-
2443
- === 2.0.7 / 2013-08-15
2444
-
2445
- Bug fixes:
2446
-
2447
- * Extensions may now be built in parallel (therefore gems may be installed in
2448
- parallel). Bug #607 by Hemant Kumar.
2449
- * Changed broken link to RubyGems Bookshelf to point to RubyGems guides. Ruby
2450
- pull request #369 by 謝致邦.
2451
- * Fixed various test failures due to platform differences or poor tests.
2452
- Patches by Yui Naruse and Koichi Sasada.
2453
- * Fixed documentation for Kernel#require.
2454
-
2455
- === 2.0.6 / 2013-07-24
2456
-
2457
- Bug fixes:
2458
-
2459
- * Fixed the `--no-install` and `-I` options to `gem list` and friends. Bug
2460
- #593 by Blargel.
2461
- * Fixed crash when installing gems with extensions under the `-V` flag. Bug
2462
- #601 by Nick Hoffman.
2463
- * Fixed race condition retrieving HTTP connections in Gem::Request on JRuby.
2464
- Bug #597 by Hemant Kumar.
2465
- * Fixed building extensions on ruby 1.9.3 under mingw. Bug #594 by jonforums,
2466
- Bug #599 by Chris Riesbeck
2467
- * Restored default of remote search to `gem search`.
2468
-
2469
- === 2.0.5 / 2013-07-11
2470
-
2471
- * Fixed building of extensions that run ruby in their makefiles. Bug #589 by
2472
- Zachary Salzbank.
2473
-
2474
- === 2.0.4 / 2013-07-09
2475
-
2476
- Bug fixes:
2477
-
2478
- * Fixed error caused by gem install not finding the right platform for your
2479
- platform. Bug #576 by John Anderson
2480
- * Fixed pushing gems with the default host. Bug #495 by Utkarsh Kukreti
2481
- * Improved unhelpful error message from `gem owner --remove`. Bug #488 by
2482
- Steve Klabnik
2483
- * Fixed typo in `gem spec` help. Pull request #563 by oooooooo
2484
- * Fixed creation of build_info with --install-dir. Bug #457 by Vít Ondruch.
2485
- * RubyGems converts non-string dependency names to strings now. Bug #505 by
2486
- Terence Lee
2487
- * Outdated prerelease versions are now listed in `gem outdated`.
2488
- * RubyGems now only calls fsync() on the specification when installing, not
2489
- every file from the gem. This improves the performance of gem installation
2490
- on some systems. Pull Request #556 by Grzesiek Kolodziejczyk
2491
- * Removed surprise search term anchoring in `gem search` to restore 1.8-like
2492
- search behavior while still defaulting to --remote. Pull request #562 by
2493
- Ben Bleything
2494
- * Fixed handling of DESTDIR when building extensions. Pull request #573 by
2495
- Akinori MUSHA
2496
- * Fixed documentation of `gem pristine` defaults (--all is not a default).
2497
- Pull request #577 by Shannon Skipper
2498
- * Fixed a windows extension-building test failure. Pull request #575 by
2499
- Hiroshi Shirosaki
2500
- * Fixed issue with `gem update` where it would attempt to use a Version
2501
- instead of a Requirement to find the latest gem. Fixes #570 by Nick Cox.
2502
- * RubyGems now ignores an empty but set RUBYGEMS_HOST environment variable.
2503
- Based on pull request #558 by Robin Dupret.
2504
- * Removed duplicate creation of gem subdirectories in
2505
- Gem::DependencyInstaller. Pull Request #456 by Vít Ondruch
2506
- * RubyGems now works with Ruby built with `--with-ruby-version=''`. Pull
2507
- Request #455 by Vít Ondruch
2508
- * Fixed race condition when two threads require the same gem. Ruby bug report
2509
- #8374 by Joel VanderWerf
2510
- * Cleaned up siteconf between extension build and extension install. Pull
2511
- request #587 by Dominic Cleal
2512
- * Fix deprecation warnings when converting gemspecs to yaml. Ruby commit
2513
- r41148 by Yui Naruse
2514
-
2515
- === 2.0.3 / 2013-03-11
2516
-
2517
- * Bug fixes:
2518
- * Reverted automatic upgrade to HTTPS as it breaks RubyGems APIs. Fixes
2519
- #506 by André Arko
2520
- * Use File.realpath to remove extra / while checking if files are
2521
- installable. Issue #508 by Jacob Evans.
2522
- * When installing RubyGems on JRuby, the standard library is no longer
2523
- deleted. Fixes #504 by Juan Sanchez, #507 by Charles Oliver Nutter.
2524
- * When building extconf.rb extensions use the intermediate destination
2525
- directory. This addresses further issues with C extension building.
2526
- * Use the absolute path to the generated siteconf in case the extension
2527
- changes directories to run extconf.rb (like memcached). Fixes #498 by
2528
- Chris Morris.
2529
- * Fixed default gem key and cert locations. Pull request #511 by Samuel
2530
- Cochran.
2531
-
2532
- === 2.0.2 / 2013-03-06
2533
-
2534
- * Bug fixes:
2535
- * HTTPS URLs are preferred over HTTP URLs. RubyGems will now attempt to
2536
- upgrade any HTTP source to HTTPS. Credit to Alex Gaynor.
2537
- * SSL Certificates are now installed properly. Fixes #491 by hemanth.hm
2538
- * Fixed HTTP to HTTPS upgrade for rubygems.org.
2539
-
2540
- === 2.0.1 / 2013-03-05
2541
-
2542
- * Bug fixes:
2543
- * Lazily load RubyGems.org API credentials to avoid failure during
2544
- RubyGems installation. Bug #465 by Isaac Sanders.
2545
- * RubyGems now picks the latest prerelease to install. Fixes bug #468 by
2546
- Santiago Pastorino.
2547
- * Improved detection of missing Zlib::GzipReader encoding support. Works
2548
- around JRuby-only bug #472 by Matt Beedle.
2549
- * "Done installing documentation" is no longer displayed when documentation
2550
- generation is disabled. Fixes bug #469 by Jeff Sandberg
2551
- * The existing executable check now respects --format-executable. Pull
2552
- request #471 by Jeremy Evans.
2553
- * RubyGems no longer creates gem subdirectories when fetching gems. Fixes
2554
- #482 by Loren Segal.
2555
- * RubyGems does not require OpenSSL like RubyGems 1.8, but still prefers it.
2556
- Fixes #481 by André Arko.
2557
- * RubyGems only fetches specs for list, search and query commands when
2558
- needed like RubyGems 1.x. Fixes bug #487 by bitbuerster, Ruby bug #8019
2559
- by Ike Miller.
2560
- * Allow specification of mode for gem subdirectory creation.
2561
- Ruby bug #7713 by nobu
2562
- * Fix tests when an 'a.rb' exists. Ruby bug #7749 by nobu.
2563
-
2564
- === 2.0.0 / 2013-02-24
2565
-
2566
- RubyGems 2.0 includes several new features and many breaking changes. Some of
2567
- these changes will cause existing software to break. These changes are a
2568
- result of improvements to the internals of RubyGems that make it more
2569
- maintainable and improve APIs for RubyGems users.
2570
-
2571
- If you are using bundler be sure to install a 1.3.0.prerelease version or
2572
- newer. Older versions of bundler will not work with RubyGems 2.0.
2573
-
2574
- Changes since RubyGems 1.8.25 (including past pre-releases):
2575
-
2576
- * Breaking changes:
2577
-
2578
- * Deprecated Gem.unresolved_deps in favor of
2579
- Gem::Specification.unresolved_deps
2580
- * Merged Gem::Builder into Gem::Package. Use Gem::Package.build(spec)
2581
- instead of Gem::Builder.new(spec).build
2582
- * Merged Gem::Format into Gem::Package. Use Gem::Package.new instead
2583
- of Gem::Format.from_file_by_path
2584
- * Moved Gem::OldFormat to Gem::Package::Old. Gem::Package will
2585
- automatically detect old gems for you, so there is no need to refer to it.
2586
- * Removed Gem::DocManager, replaced by Gem::RDoc and done_installing hook
2587
- * Removed Gem::Package::TarInput in favor of Gem::Package
2588
- * Removed Gem::Package::TarOutput in favor of Gem::Package
2589
- * Removed Gem::RemoteFetcher#open_uri_or_path. (steveklabnik)
2590
- * Removed Gem::SSL in favor of using OpenSSL directly
2591
- * Removed Gem.loaded_path
2592
- * Removed RSS generation from the gem indexer
2593
- * Removed benchmark option from .gemrc
2594
- * Removed broken YAML gemspec support in `gem build`
2595
- * Removed support for Ruby 1.9.1
2596
- * Removed many deprecated methods
2597
-
2598
- * Major enhancements:
2599
-
2600
- * Improved support for default gems shipping with ruby 2.0.0+
2601
- * A gem can have arbitrary metadata through Gem::Specification#metadata
2602
- * `gem search` now defaults to --remote and is anchored like gem list. Fixes
2603
- #166
2604
- * Added --document to replace --rdoc and --ri. Use --no-document to disable
2605
- documentation, --document=rdoc to only generate rdoc.
2606
- * Only ri-format documentation is generated by default.
2607
- * `gem server` uses RDoc::Servlet from RDoc 4.0 to generate HTML
2608
- documentation.
2609
- * Add ability to install gems directly from a compatible gemdep
2610
- file (Gemfile, Isolate, gem.deps.rb)
2611
- <code>gem install --file path</code>
2612
- * Add ability to load gem activation information from a gemdeps
2613
- file (Gemfile, Isolate, gem.deps.rb).
2614
- Set RUBYGEMS_GEMDEPS=path to have it loaded. Use - as the path
2615
- to autodetect (current and parent directories are searched).
2616
-
2617
- * Minor enhancements:
2618
- * Added `gem check --doctor` to clean up after failed uninstallation. Bug
2619
- #419 by Erik Hollensbe
2620
- * RubyGems no longer defaults to uninstalling gems if a dependency would be
2621
- broken. Now you must manually say "yes". Pull Request #406 by Shannon
2622
- Skipper.
2623
- * Gem::DependencyInstaller now passes build_args down to the installer.
2624
- Pull Request #412 by Sam Rawlins.
2625
- * Added a cmake builder. Pull request #265 by Allan Espinosa.
2626
- * Removed rubyforge page from gem list output
2627
- * Added --only-executables option to `gem pristine`. Fixes #326
2628
- * Added -I flag for 'gem query' to exclude installed items
2629
- * Added Gem.install(name, version=default) for interactive sessions
2630
- * Added Gem::FilePermissionError#directory
2631
- * Added Gem::rubygems_version which is like Gem::ruby_version
2632
- * Added RUBYGEMS_HOST documentation to `gem env`
2633
- * Added a post_installs hook that runs after Gem::DependencyInstaller
2634
- finishes installing a set of gems
2635
- * Added a usage method for Gem::Commands::OwnerCommand. (ffmike)
2636
- * Added an optional type parameter to Gem::Specification#doc_dir.
2637
- * Added announcements url and clarified how to file tickets
2638
- * Added guidance for how to use rdoc and ri in setup command. (jjb)
2639
- * Attempting to install multiple gems with --version is now an error. You
2640
- can specify per-gem versions like <code>rake:0.9.5</code>
2641
- * Clarified Gem::CommandManager example code to avoid multi load problems.
2642
- (baroquebobcat)
2643
- * Corrupt or bad cached specs are now re-downloaded. (cookrn)
2644
- * Extension build arguments are saved from install and reused for pristine
2645
- * If the OS allows it, documentation is built in a forked background
2646
- process. (alexch)
2647
- * Imported gem yank from the gemcutter gem. Fixes #177, #343
2648
- * Packaged gems now contain and verify SHA1 checksums
2649
- * Removed commas from gem update summary so you can paste it back to
2650
- cleanup. (amatsuda)
2651
- * RubyGems will now warn when building gems with prerelease dependencies.
2652
- Fixes #255
2653
- * The RUBYGEMS_HOST environment variable is used to determine appropriate
2654
- API key for pushing or yanking gems
2655
- * Uninstall is now performed in reverse topological order.
2656
- * Users are told what to type when they try to uninstall a gem outside
2657
- GEM_HOME
2658
- * When building gems with non-world-readable files a warning is shown.
2659
-
2660
- * Bug fixes:
2661
- * Gem.refresh now maintains the active gem list. Clearing the list would
2662
- cause double-loads which would cause other bugs. Pull Request #427 by
2663
- Jeremy Evans
2664
- * RubyGems now refuses to read the gem push credentials file if it has
2665
- insecure permissions. Pull Request #438 by Shannon Skipper
2666
- * RubyGems now requires a local gem name to end in '.gem'. Issue #407 by
2667
- Santiago Pastorino.
2668
- * Do not allow old-format gems to be installed with a security policy that
2669
- verifies data.
2670
- * Gem installation will fail if RubyGems cannot load the specification from
2671
- the gem. Bug #419 by Erik Hollensbe
2672
- * RubyGems tests now run in FIPS mode. Issue #365 by Vít Ondruch
2673
- * Only update the spec cache when we have permission. Ruby Bug #7509
2674
- * gem install now ignores directories and non .gem files that match the gem
2675
- to install. Bug #407 by Santiago Pastorino.
2676
- * Added PID to setup bin_file while installing RubyGems to protect against
2677
- errors. Fixes #328 by ConradIrwin
2678
- * Added missing require in Gem::Uninstaller when format_executable is set.
2679
- (sakuro)
2680
- * Exact gem command name matches are now chosen even if a longer command
2681
- overlaps the exact name
2682
- * Fixed Gem.loaded_path? with a Pathname instance. (mattetti)
2683
- * Fixed Gem::Dependency.new mismatch with rubygems.org checks
2684
- * Fixed SecurityError in Gem::Specification.load when $SAFE=1. (ged)
2685
- * Fixed SystemStackError with "gem list -r -a" on 1.9 (cldwalker)
2686
- * Fixed `gem owners` command so that exceptions don't stop the rest of the
2687
- command from completing
2688
- * Fixed `gem unpack uninstalled_gem` default version picker.
2689
- * Fixed defunct rubyforge urls in gem command line help
2690
- * Fixed documentation for the various hooks collections
2691
- * Fixed documentation generation on setup when the gem directory does not
2692
- exist. Fixes #253
2693
- * Fixed documentation to reflect where defaults overrides are loaded from.
2694
- (ferrous26)
2695
- * Fixed editing of a Makefile with 8-bit characters. Fixes #181
2696
- * Fixed gem loading issue caused by dependencies not resolving.
2697
- * Fixed independent testing of test_gem_package_tar_output. Ruby Bug #4686
2698
- by Shota Fukumori
2699
- * Fixed typo in uninstall message. (sandal)
2700
- * Gem::Requirement#<=> returns nil on non-requirement arg.
2701
- * Gem::Requirement.satisfied_by? raises ArgumentError if given a non-version
2702
- argument
2703
- * Gem::Version#initialize no longer modifies its parameter. (miaout17)
2704
- * Group-writable permissions are now allowed for gem repositories. (ctcherry)
2705
- * Memoized values in Gem::Specification are now reset the version or
2706
- platform changes. Fixes #78
2707
- * More specific errors are raised for bad requirements. (arsduo)
2708
- * Removed reference to 'sources' gem in documentation
2709
- * Removed unused block arguments to avoid creating Proc objects. (k-tsj)
2710
- * RubyGems now asks before overwriting executable wrappers. Ruby Bug #1800
2711
- * The bindir is now created with mkdir_p during install. (voxik)
2712
- * URI scheme matching is no longer case-sensitive. Fixes #322
2713
- * ext/builder now checks $MAKE as well as $make (okkez)
2714
-
2715
- Changes since RubyGems 2.0.0.rc.2:
2716
-
2717
- * Bug fixes:
2718
- * Gem.gzip and Gem.gunzip now return strings with BINARY encoding. Issue
2719
- #450 by Jeremy Kemper
2720
- * Fixed placement of executables with --user-install. Ruby bug #7779 by Jon
2721
- Forums.
2722
- * Fixed `gem update` with --user-install. Ruby bug #7779 by Jon Forums.
2723
- * Fixed test_initialize_user_install for windows. Ruby bug #7885 by Luis
2724
- Lavena.
2725
- * Create extension destination directory before building extensions. Ruby
2726
- Bug #7897 and patch by Kenta Murata.
2727
- * Fixed verification of gems at LowSecurity due to missing signature.
2728
- Thanks to André Arko.
2729
-
2730
- === 2.0.0.rc.2 / 2013-02-08
2731
-
2732
- * Bug fixes:
2733
- * Fixed signature verification of gems which was broken only on master.
2734
- Thanks to Brian Buchanan.
2735
- * Proper exceptions are raised when verifying an unsigned gem. Thanks to
2736
- André Arko.
2737
-
2738
- === 2.0.0.rc.1 / 2013-01-08
2739
-
2740
- * Minor enhancements:
2741
- * This release of RubyGems can push gems to rubygems.org. Ordinarily
2742
- prerelease versions of RubyGems cannot push gems.
2743
- * Added `gem check --doctor` to clean up after failed uninstallation. Bug
2744
- #419 by Erik Hollensbe
2745
-
2746
- * Bug fixes:
2747
- * Fixed exception raised when attempting to push gems to rubygems.org. Bug
2748
- #418 by André Arko
2749
- * Gem installation will fail if RubyGems cannot load the specification from
2750
- the gem. Bug #419 by Erik Hollensbe
2751
-
2752
- === 2.0.0.preview2.2 / 2012-12-14
2753
-
2754
- * Minor enhancements:
2755
- * Added a cmake builder. Pull request #265 by Allan Espinosa.
2756
- * Removed rubyforge page from gem list output
2757
-
2758
- * Bug fixes:
2759
- * Restored RubyGems 1.8 packaging behavior of omitting directories. Bug
2760
- #413 by Jeremy Kemper.
2761
-
2762
- === 2.0.0.preview2.1 / 2012-12-08
2763
-
2764
- * Minor enhancements:
2765
- * Gem::DependencyInstaller now passes build_args down to the installer.
2766
- Pull Request #412 by Sam Rawlins.
2767
- * RubyGems no longer defaults to uninstalling gems if a dependency would be
2768
- broken. Now you must manually say "yes". Pull Request #406 by Shannon
2769
- Skipper.
2770
-
2771
- * Bug fixes:
2772
- * RubyGems tests now run in FIPS mode. Issue #365 by Vít Ondruch
2773
- * Fixed Gem::Specification#base_dir for default gems. Ruby Bug #7469
2774
- * Only update the spec cache when we have permission. Ruby Bug #7509
2775
- * Restored order of version marking. Fixes an issue with bundler. Thanks
2776
- to Aaron Patterson and Terence Lee.
2777
- * Gem cleanup now skips default gems. Pull Request #409 by Kouhei Sutou
2778
- * gem list, search and query can show remote gems again. Bug #410 by
2779
- Henry Maddocks
2780
- * gem install now ignores directories that match the gem to install. Bug
2781
- #407 by Santiago Pastorino.
2782
-
2783
- === 2.0.0.preview2 / 2012-12-01
2784
-
2785
- This release contains two commits not present in Ruby 2.0.0.preview2. One
2786
- commit is for ruby 1.8.7 support, the second allows RubyGems to work under
2787
- $SAFE=1. There is no functional difference compared to Ruby 2.0.0.preview2
2788
-
2789
- * Breaking changes:
2790
-
2791
- * Deprecated Gem.unresolved_deps in favor of
2792
- Gem::Specification.unresolved_deps
2793
- * Merged Gem::Builder into Gem::Package. Use Gem::Package.build(spec)
2794
- instead of Gem::Builder.new(spec).build
2795
- * Merged Gem::Format into Gem::Package. Use Gem::Package.new instead
2796
- of Gem::Format.from_file_by_path
2797
- * Moved Gem::OldFormat to Gem::Package::Old. Gem::Package will
2798
- automatically detect old gems for you, so there is no need to refer to it.
2799
- * Removed Gem::DocManager, replaced by Gem::RDoc and done_installing hook
2800
- * Removed Gem::Package::TarInput in favor of Gem::Package
2801
- * Removed Gem::Package::TarOutput in favor of Gem::Package
2802
- * Removed Gem::RemoteFetcher#open_uri_or_path. (steveklabnik)
2803
- * Removed Gem::SSL in favor of using OpenSSL directly
2804
- * Removed Gem.loaded_path
2805
- * Removed RSS generation from the gem indexer
2806
- * Removed benchmark option from .gemrc
2807
- * Removed broken YAML gemspec support in `gem build`
2808
- * Removed support for Ruby 1.9.1
2809
- * Removed many deprecated methods
2810
-
2811
- * Major enhancements:
2812
-
2813
- * Improved support for default gems shipping with ruby 2.0.0+
2814
- * A gem can have arbitrary metadata through Gem::Specification#metadata
2815
- * `gem search` now defaults to --remote and is anchored like gem list. Fixes
2816
- #166
2817
- * Added --document to replace --rdoc and --ri. Use --no-document to disable
2818
- documentation, --document=rdoc to only generate rdoc.
2819
- * Only ri-format documentation is generated by default.
2820
- * `gem server` uses RDoc::Servlet from RDoc 4.0 to generate HTML
2821
- documentation.
2822
- * Add ability to install gems directly from a compatible gemdep
2823
- file (Gemfile, Isolate, gem.deps.rb)
2824
- <code>gem install --file path</code>
2825
- * Add ability to load gem activation information from a gemdeps
2826
- file (Gemfile, Isolate, gem.deps.rb).
2827
- Set RUBYGEMS_GEMDEPS=path to have it loaded. Use - as the path
2828
- to autodetect (current and parent directories are searched).
2829
-
2830
- * Minor enhancements:
2831
-
2832
- * Added --only-executables option to `gem pristine`. Fixes #326
2833
- * Added -I flag for 'gem query' to exclude installed items
2834
- * Added Gem.install(name, version=default) for interactive sessions
2835
- * Added Gem::FilePermissionError#directory
2836
- * Added Gem::rubygems_version which is like Gem::ruby_version
2837
- * Added RUBYGEMS_HOST documentation to `gem env`
2838
- * Added a post_installs hook that runs after Gem::DependencyInstaller
2839
- finishes installing a set of gems
2840
- * Added a usage method for Gem::Commands::OwnerCommand. (ffmike)
2841
- * Added an optional type parameter to Gem::Specification#doc_dir.
2842
- * Added announcements url and clarified how to file tickets
2843
- * Added guidance for how to use rdoc and ri in setup command. (jjb)
2844
- * Attempting to install multiple gems with --version is now an error. You
2845
- can specify per-gem versions like <code>rake:0.9.5</code>
2846
- * Clarified Gem::CommandManager example code to avoid multi load problems.
2847
- (baroquebobcat)
2848
- * Corrupt or bad cached specs are now re-downloaded. (cookrn)
2849
- * Extension build arguments are saved from install and reused for pristine
2850
- * If the OS allows it, documentation is built in a forked background
2851
- process. (alexch)
2852
- * Imported gem yank from the gemcutter gem. Fixes #177, #343
2853
- * Packaged gems now contain and verify SHA1 checksums
2854
- * Removed commas from gem update summary so you can paste it back to
2855
- cleanup. (amatsuda)
2856
- * RubyGems will now warn when building gems with prerelease dependencies.
2857
- Fixes #255
2858
- * The RUBYGEMS_HOST environment variable is used to determine appropriate
2859
- API key for pushing or yanking gems
2860
- * Uninstall is now performed in reverse topological order.
2861
- * Users are told what to type when they try to uninstall a gem outside
2862
- GEM_HOME
2863
- * When building gems with non-world-readable files a warning is shown.
2864
-
2865
- * Bug fixes:
2866
-
2867
- * Added PID to setup bin_file while installing RubyGems to protect against
2868
- errors. Fixes #328 by ConradIrwin
2869
- * Added missing require in Gem::Uninstaller when format_executable is set.
2870
- (sakuro)
2871
- * Exact gem command name matches are now chosen even if a longer command
2872
- overlaps the exact name
2873
- * Fixed Gem.loaded_path? with a Pathname instance. (mattetti)
2874
- * Fixed Gem::Dependency.new mismatch with rubygems.org checks
2875
- * Fixed SecurityError in Gem::Specification.load when $SAFE=1. (ged)
2876
- * Fixed SystemStackError with "gem list -r -a" on 1.9 (cldwalker)
2877
- * Fixed `gem owners` command so that exceptions don't stop the rest of the
2878
- command from completing
2879
- * Fixed `gem unpack uninstalled_gem` default version picker.
2880
- * Fixed defunct rubyforge urls in gem command line help
2881
- * Fixed documentation for the various hooks collections
2882
- * Fixed documentation generation on setup when the gem directory does not
2883
- exist. Fixes #253
2884
- * Fixed documentation to reflect where defaults overrides are loaded from.
2885
- (ferrous26)
2886
- * Fixed editing of a Makefile with 8-bit characters. Fixes #181
2887
- * Fixed gem loading issue caused by dependencies not resolving.
2888
- * Fixed independent testing of test_gem_package_tar_output. Ruby Bug #4686
2889
- by Shota Fukumori
2890
- * Fixed typo in uninstall message. (sandal)
2891
- * Gem::Requirement#<=> returns nil on non-requirement arg.
2892
- * Gem::Requirement.satisfied_by? raises ArgumentError if given a non-version
2893
- argument
2894
- * Gem::Version#initialize no longer modifies its parameter. (miaout17)
2895
- * Group-writable permissions are now allowed for gem repositories. (ctcherry)
2896
- * Memoized values in Gem::Specification are now reset the version or
2897
- platform changes. Fixes #78
2898
- * More specific errors are raised for bad requirements. (arsduo)
2899
- * Removed reference to 'sources' gem in documentation
2900
- * Removed unused block arguments to avoid creating Proc objects. (k-tsj)
2901
- * RubyGems now asks before overwriting executable wrappers. Ruby Bug #1800
2902
- * The bindir is now created with mkdir_p during install. (voxik)
2903
- * URI scheme matching is no longer case-sensitive. Fixes #322
2904
- * ext/builder now checks $MAKE as well as $make (okkez)
2905
-
2906
- === 1.8.29 / 2013-11-23
2907
-
2908
- Bug fixes:
2909
-
2910
- * Fixed installation when the LANG environment variable is empty.
2911
- * Added DigiCert High Assurance EV Root CA to the default SSL certificates for
2912
- cloudfront.
2913
-
2914
- === 1.8.28 / 2013-10-08
2915
-
2916
- Bug fixes:
2917
-
2918
- * Added the Verisign Class 3 Public Primary Certification Authority G5
2919
- certificate and its intermediary to follow the s3.amazonaws.com certificate
2920
- change. Fixes #665 by emeyekayee. Fixes #671 by jonforums.
2921
- * Remove redundant built-in certificates not needed for https://rubygems.org
2922
- Fixes #654 by Vít Ondruch.
2923
- * Added test for missing certificates for https://s3.amazonaws.com or
2924
- https://rubygems.org. Pull request #673 by Hannes Georg.
2925
-
2926
- === 1.8.27 / 2013-09-24
2927
-
2928
- Security fixes:
2929
-
2930
- * RubyGems 2.1.4 and earlier are vulnerable to excessive CPU usage due to a
2931
- backtracking in Gem::Version validation. See CVE-2013-4363 for full details
2932
- including vulnerable APIs. Fixed versions include 2.1.5, 2.0.10, 1.8.27 and
2933
- 1.8.23.2 (for Ruby 1.9.3).
2934
-
2935
- === 1.8.26 / 2013-09-09
2936
-
2937
- Security fixes:
2938
-
2939
- * RubyGems 2.0.7 and earlier are vulnerable to excessive CPU usage due to a
2940
- backtracking in Gem::Version validation. See CVE-2013-4287 for full details
2941
- including vulnerable APIs. Fixed versions include 2.0.8, 1.8.26 and
2942
- 1.8.23.1 (for Ruby 1.9.3). Issue #626 by Damir Sharipov.
2943
-
2944
- Bug fixes:
2945
-
2946
- * Fixed editing of a Makefile with 8-bit characters. Fixes #181
2947
-
2948
- === 1.8.25 / 2013-01-24
2949
-
2950
- * Bug fixes:
2951
- * Added 11627 to setup bin_file location to protect against errors. Fixes
2952
- #328 by ConradIrwin
2953
- * Specification#ruby_code didn't handle Requirement with multiple
2954
- * Fix error on creating a Version object with a frozen string.
2955
- * Fix incremental index updates
2956
- * Fix missing load_yaml in YAML-related requirement.rb code.
2957
- * Manually backport encoding-aware YAML gemspec
2958
-
2959
- === 1.8.24 / 2012-04-27
2960
-
2961
- * 1 bug fix:
2962
-
2963
- * Install the .pem files properly. Fixes #320
2964
- * Remove OpenSSL dependency from the http code path
2965
-
2966
- === 1.8.23.2 / 2013-09-24
2967
-
2968
- Security fixes:
2969
-
2970
- * RubyGems 2.1.4 and earlier are vulnerable to excessive CPU usage due to a
2971
- backtracking in Gem::Version validation. See CVE-2013-4363 for full details
2972
- including vulnerable APIs. Fixed versions include 2.1.5, 2.0.10, 1.8.27 and
2973
- 1.8.23.2 (for Ruby 1.9.3).
2974
-
2975
- === 1.8.23.1 / 2013-09-09
2976
-
2977
- Security fixes:
2978
-
2979
- * RubyGems 2.0.7 and earlier are vulnerable to excessive CPU usage due to a
2980
- backtracking in Gem::Version validation. See CVE-2013-4287 for full details
2981
- including vulnerable APIs. Fixed versions include 2.0.8, 1.8.26 and
2982
- 1.8.23.1 (for Ruby 1.9.3). Issue #626 by Damir Sharipov.
2983
-
2984
- === 1.8.23 / 2012-04-19
2985
-
2986
- This release increases the security used when RubyGems is talking to
2987
- an https server. If you use a custom RubyGems server over SSL, this
2988
- release will cause RubyGems to no longer connect unless your SSL cert
2989
- is globally valid.
2990
-
2991
- You can configure SSL certificate usage in RubyGems through the
2992
- :ssl_ca_cert and :ssl_verify_mode options in ~/.gemrc and /etc/gemrc.
2993
- The recommended way is to set :ssl_ca_cert to the CA certificate for
2994
- your server or a certificate bundle containing your CA certification.
2995
-
2996
- You may also set :ssl_verify_mode to 0 to completely disable SSL
2997
- certificate checks, but this is not recommended.
2998
-
2999
-
3000
- * 2 security fixes:
3001
- * Disallow redirects from https to http
3002
- * Turn on verification of server SSL certs
3003
-
3004
- * 1 minor feature:
3005
- * Add --clear-sources to fetch
3006
-
3007
- * 2 bug fixes:
3008
- * Use File.identical? to check if two files are the same.
3009
- * Fixed init_with warning when using psych
3010
-
3011
- === 1.8.22 / 2012-04-13
3012
-
3013
- * 4 bug fixes:
3014
-
3015
- * Workaround for psych/syck YAML date parsing issue
3016
- * Don't trust the encoding of ARGV. Fixes #307
3017
- * Quiet default warnings about missing spec variables
3018
- * Read a binary file properly (windows fix)
3019
-
3020
- === 1.8.21 / 2012-03-22
3021
-
3022
- * 2 bug fixes:
3023
-
3024
- * Add workaround for buggy yaml output from 1.9.2
3025
- * Force 1.9.1 to remove it's prelude code. Fixes #305
3026
-
3027
- === 1.8.20 / 2012-03-21
3028
-
3029
- * 4 bug fixes:
3030
-
3031
- * Add --force to `gem build` to skip validation. Fixes #297
3032
- * Gracefully deal with YAML::PrivateType objects in Marshal'd gemspecs
3033
- * Treat the source as a proper url base. Fixes #304
3034
- * Warn when updating the specs cache fails. Fixes #300
3035
-
3036
- === 1.8.19 / 2012-03-14
3037
-
3038
- * 3 bug fixes:
3039
-
3040
- * Handle loading psych vs syck properly. Fixes #298
3041
- * Make sure Date objects don't leak in via Marshal
3042
- * Perform Date => Time coercion on yaml loading. Fixes #266
3043
-
3044
- === 1.8.18 / 2012-03-11
3045
-
3046
- * 4 bug fixes:
3047
-
3048
- * Use Psych API to emit more compatible YAML
3049
- * Download and write inside `gem fetch` directly. Fixes #289
3050
- * Honor sysconfdir on 1.8. Fixes #291
3051
- * Search everywhere for a spec for `gem spec`. Fixes #288
3052
- * Fix Gem.all_load_path. Fixes #171
3053
-
3054
- === 1.8.17 / 2012-02-17
3055
-
3056
- * 2 minor enhancements:
3057
-
3058
- * Add MacRuby to the list of special cases for platforms (ferrous26)
3059
- * Add a default for where to install rubygems itself
3060
-
3061
- * 3 bug fixes:
3062
-
3063
- * Fixed gem loading issue caused by dependencies not resolving.
3064
- * Fixed umask error when stdlib is required and unresolved dependencies exist.
3065
- * Shebang munging would only take one arg after the cmd
3066
- * Define SUCKAGE better, ie only MRI 1.9.2
3067
- * Propagate env-shebang to the pristine command if set for install.
3068
-
3069
- === 1.8.16 / 2012-02-12
3070
-
3071
- * 3 bug fixes:
3072
-
3073
- * Fix gem specification loading when encoding is not UTF-8. #146
3074
- * Allow group writable if umask allows it already.
3075
- * Uniquify the spec list based on directory order priority
3076
-
3077
- === 1.8.15 / 2012-01-06
3078
-
3079
- * 1 bug fix:
3080
-
3081
- * Don't eager load yaml, it creates a bad loop. Fixes #256
3082
-
3083
- === 1.8.14 / 2012-01-05
3084
-
3085
- * 2 bug fixes:
3086
-
3087
- * Ignore old/bad cache data in Version
3088
- * Make sure our YAML workarounds are loaded properly. Fixes #250.
3089
-
3090
- === 1.8.13 / 2011-12-21
3091
-
3092
- * 1 bug fix:
3093
-
3094
- * Check loaded_specs properly when trying to satisfy a dep
3095
-
3096
- * 2 minor enhancements:
3097
-
3098
- * Remove using #loaded_path? for performance
3099
- * Remove Zlib workaround for Windows build.
3100
-
3101
- === 1.8.12 / 2011-12-02
3102
-
3103
- * Bug fix:
3104
- * Handle more cases where Syck's DefaultKey showed up in requirements
3105
- and wasn't cleaned out.
3106
-
3107
- === 1.8.11 / 2011-10-03
3108
-
3109
- * Bug fix:
3110
- * Deprecate was moved to Gem::Deprecate to stop polluting the top-level
3111
- namespace.
3112
-
3113
- === 1.8.10 / 2011-08-25
3114
-
3115
- RubyGems 1.8.10 contains a security fix that prevents malicious gems from
3116
- executing code when their specification is loaded. See
3117
- https://github.com/rubygems/rubygems/pull/165 for details.
3118
-
3119
- * 5 bug fixes:
3120
-
3121
- * RubyGems escapes strings in ruby-format specs using #dump instead of #to_s
3122
- and %q to prevent code injection. Issue #165 by Postmodern
3123
- * RubyGems attempt to activate the psych gem now to obtain bugfixes from
3124
- psych.
3125
- * Gem.dir has been restored to the front of Gem.path. Fixes remaining
3126
- problem with Issue #115
3127
- * Fixed Syck DefaultKey infecting ruby-format specifications.
3128
- * `gem uninstall a b` no longer stops if gem "a" is not installed.
3129
-
3130
- === 1.8.9 / 2011-08-23
3131
-
3132
- * Bug fixes:
3133
-
3134
- * Fixed uninstalling multiple gems using `gem uninstall`
3135
- * Gem.use_paths splatted to take multiple paths! Issue #148
3136
-
3137
- === 1.8.8 / 2011-08-11
3138
-
3139
- * Bug fix:
3140
- * The encoding of a gem's YAML spec is now UTF-8. Issue #149
3141
-
3142
- === 1.8.7 / 2011-08-04
3143
-
3144
- * Bug fixes:
3145
- * Added missing require for `gem uninstall --format-executable`
3146
- * The correct name of the executable being uninstalled is now displayed with
3147
- --format-executable
3148
- * Fixed `gem unpack uninstalled_gem` default version picker
3149
- * RubyGems no longer claims a nonexistent gem can be uninstalled
3150
- * `gem which` no longer claims directories are requirable files
3151
- * `gem cleanup` continues cleaning up gems if one can't be uninstalled due
3152
- to permissions. Issue #82
3153
- * Gem repository directories are no longer created world-writable. Patch by
3154
- Sakuro OZAWA. Ruby Bug #4930
3155
-
3156
- === 1.8.6 / 2011-07-25
3157
-
3158
- * 1 minor enhancement:
3159
-
3160
- * Add autorequires and delay startup of RubyGems until require is called.
3161
- See Ruby bug #4962
3162
-
3163
- * 9 bug fixes:
3164
-
3165
- * Restore behavior of Gem::Specification#loaded? Ruby Bug #5032
3166
- * Clean up SourceIndex.add_specs to not be so damn noisy. (tadman)
3167
- * Added missing APPLE_GEM_HOME in paths.
3168
- * Extend YAML::Syck::DefaultKey fixing to `marshal_dump` as well.
3169
- * Fix #29216: check correct bin_dir in check_that_user_bin_dir_is_in_path.
3170
- * Revert Gem.latest_load_paths to working order (PathSupport revert).
3171
- * Restore normalization of GEM_HOME.
3172
- * Handle the Syck DefaultKey problem once and for all.
3173
- * Fix SystemStackError occurring with "gem list -r -a" on 1.9.
3174
-
3175
- === 1.8.5 / 2011-05-31
3176
-
3177
- * 2 minor enhancement:
3178
-
3179
- * The -u option to 'update local source cache' is official deprecated.
3180
- * Remove has_rdoc deprecations from Specification.
3181
-
3182
- * 2 bug fixes:
3183
-
3184
- * Handle bad specs more gracefully.
3185
- * Reset any Gem paths changed in the installer.
3186
-
3187
- === 1.8.4 / 2011-05-25
3188
-
3189
- * 1 minor enhancement:
3190
-
3191
- * Removed default_executable deprecations from Specification.
3192
-
3193
- === 1.8.3 / 2011-05-19
3194
-
3195
- * 4 bug fixes:
3196
-
3197
- * Fix independent testing of test_gem_package_tar_output. Ruby Bug #4686 by
3198
- Shota Fukumori
3199
- * Fix test failures for systems with separate ruby versions. Ruby Bug #3808
3200
- by Jeremy Evans
3201
- * Fixed some bad calls left behind after rolling out some refactorings.
3202
- * Syck has a parse error on (good) times output from Psych. (dazuma, et al)
3203
-
3204
- === 1.8.2 / 2011-05-11
3205
-
3206
- * 2 minor enhancements:
3207
-
3208
- * Moved #outdated from OutdatedCommand to Specification (for Isolate).
3209
- * Print out a warning about missing executables.
3210
-
3211
- * 3 bug fixes:
3212
-
3213
- * Added missing requires to fix various upgrade issues.
3214
- * `gem pristine` respects multiple gem repositories.
3215
- * setup.rb now execs with --disable-gems when possible
3216
-
3217
- === 1.8.1 / 2011-05-05
3218
-
3219
- * 1 minor enhancement:
3220
-
3221
- * Added Gem::Requirement#specific? and Gem::Dependency#specific?
3222
-
3223
- * 4 bug fixes:
3224
-
3225
- * Typo on Indexer rendered it useless on Windows
3226
- * gem dep can fetch remote dependencies for non-latest gems again.
3227
- * gem uninstall with multiple versions no longer crashes with ArgumentError
3228
- * Always use binary mode for File.open to keep Windows happy
3229
-
3230
- === 1.8.0 / 2011-04-34
3231
-
3232
- This release focused on properly encapsulating functionality. Most of this
3233
- work focused on moving functionality out of Gem::SourceIndex and
3234
- Gem::GemPathSearcher into Gem::Specification where it belongs.
3235
-
3236
- After installing RubyGems 1.8.0 you will see deprecations when loading your
3237
- exsting gems. Run `gem pristine --all --no-extensions` to regenerate your
3238
- gem specifications safely.
3239
-
3240
- Currently RubyGems does not save the build arguments used to build gems with
3241
- extensions. You will need to run `gem pristine gem_with_extension --
3242
- --build-arg` to regenerate a gem with an extension where it requires special
3243
- build arguments.
3244
-
3245
- * 24(+) Deprecations (WOOT!):
3246
-
3247
- * DependencyList.from_source_index deprecated the source_index argument.
3248
- * Deprecated Dependency.new(/regex/).
3249
- * Deprecated Gem.searcher.
3250
- * Deprecated Gem.source_index and Gem.available?
3251
- * Deprecated Gem: activate_dep, activate_spec, activate,
3252
- report_activate_error, and required_location.
3253
- * Deprecated Gem::all_partials
3254
- * Deprecated Gem::cache_dir
3255
- * Deprecated Gem::cache_gem
3256
- * Deprecated Gem::default_system_source_cache_dir
3257
- * Deprecated Gem::default_user_source_cache_dir
3258
- * Deprecated Platform#empty?
3259
- * Deprecated Specification.cache_gem
3260
- * Deprecated Specification.installation_path
3261
- * Deprecated Specification.loaded, loaded?, and loaded=
3262
- * Deprecated all of Gem::SourceIndex.
3263
- * Deprecated all of Gem::GemPathSearcher.
3264
- * Deprecated Gem::Specification#default_executable.
3265
-
3266
- * 2 major enhancements:
3267
-
3268
- * Gem::SourceIndex functionality has been moved to Gem::Specification.
3269
- Gem::SourceIndex is completely disconnected from Gem::Specification
3270
- * Refactored GemPathSearcher entirely out. RIPMF
3271
-
3272
- * 41 minor enhancements:
3273
-
3274
- * Added CommandManager#unregister_command
3275
- * Added Dependency#matching_specs + to_specs.
3276
- * Added Dependency#to_spec
3277
- * Added Gem.pre_reset_hook/s and post_reset_hook/s.
3278
- * Added GemCommand.reset to reinitialize the singleton
3279
- * Added Specification#activate.
3280
- * Added Specification#activated, activated=, and activated?
3281
- * Added Specification#base_dir.
3282
- * Added Specification#bin_dir and bin_file.
3283
- * Added Specification#cache_dir and cache_file. Aliased cache_gem.
3284
- * Added Specification#doc_dir and ri_dir.
3285
- * Added Specification#find(name_or_dep, *requirements).
3286
- * Added Specification#gem_dir and gems_dir.
3287
- * Added Specification#spec_dir and spec_file.
3288
- * Added Specification.add_spec, add_specs, and remove_spec.
3289
- * Added Specification.all=. If you use this, we will light you on fire.
3290
- * Added Specification.all_names.
3291
- * Added Specification.dirs and dirs=. dirs= resets.
3292
- * Added Specification.find_all_by_name(name, *reqs)
3293
- * Added Specification.latest_specs. SO TINY!
3294
- * Added TestCase#all_spec_names to help clean up tests
3295
- * Added TestCase#assert_path_exists and refute_path_exists. Will move to
3296
- minitest.
3297
- * Gem.sources no longer tries to load sources gem. Only uses default_sources.
3298
- * Installer no longer accepts a source_index option.
3299
- * More low-level integration.
3300
- * Removed Gem::FileOperations since it is a dummy class
3301
- * Removed a comment because I am dumb
3302
- * Removed pkgs/sources/lib/sources.rb
3303
- * Revamped indexer to mostly not use SourceIndex (legacy index requires it).
3304
- * Rewrote our last functional test suite to be happy and fast
3305
- * RubyGems is now under the Ruby License or the MIT license
3306
- * Specification#== now only checks name, version, and platform.
3307
- * Specification#authors= now forcefully flattens contents (bad rspec! no
3308
- cookie!)
3309
- * Specification#eql? checks all fields.
3310
- * Specification#installation_path no longer raises if it hasn't been
3311
- activated.
3312
- * Specification#validate now ensures that authors is not empty.
3313
- * TestCase.util_setup_spec_fetcher no longer returns a SourceIndex.
3314
- * Uninstaller no longer passes around SourceIndex instances
3315
- * Warn on loading bad spec array values (ntlm-http gem has nil in its cert
3316
- chain)
3317
- * `gem pristine` now accepts --no-executables to skip restoring gems with
3318
- extensions.
3319
- * `gem pristine` can now restore multiple gems.
3320
-
3321
- * 6 bug fixes:
3322
-
3323
- * DependencyInstaller passed around a source_index instance but used
3324
- Gem.source_index.
3325
- * Fixed Platform#== and #hash so instances may be used as hash keys.
3326
- * Fixed broken Specification#original_platform. It should never be nil.
3327
- * Gem::Text#format_text now strips trailing whitespace
3328
- * Normalize LOAD_PATH with File.expand_path
3329
- * `gem build` errors should exit 1.
3330
- * `gem pristine` can now restore non-latest gems where the cached gem was
3331
- removed.
3332
-
3333
- === 1.7.1 / 2011-03-32
3334
-
3335
- * 1 bug fix:
3336
- * Fixed missing file in Manifest.txt. (Also a bug in hoe was fixed where
3337
- `rake check_manifest` showing a diff would not exit with an error.)
3338
-
3339
- === 1.7.0 / 2011-03-32
3340
-
3341
- * 16 Deprecations (woot!)
3342
- * Deprecated Gem.all_load_paths, latest_load_paths, promote_load_path, and
3343
- cache.
3344
- * Deprecated RemoteFetcher#open_uri_or_path.
3345
- * Deprecated SourceIndex#all_gems.
3346
- * Deprecated SourceIndex#initialize(hash_of_specs).
3347
- * Deprecated SourceIndex.from_installed_gems, from_gems_in, and
3348
- load_specification.
3349
- * Deprecated Specification#has_rdoc, default_executable, and
3350
- test_suite_file(=).
3351
- * Deprecated Specification#has_rdoc= and default_executable=
3352
-
3353
- * 26 minor enhancements:
3354
- * Added stupid simple deprecation module.
3355
- * Added --spec option to `gem unpack` to output a gem's original metadata
3356
- * Added packaging option to Specification#validate
3357
- * Gem.bin_path requires the exec_name argument.
3358
- * Read from cached specs if fetch fails for some reason
3359
- * Refactored Specification#assign_defaults into #initialize.
3360
- * RemoteFetcher#fetch_path now dispatches dynamically to 'fetch_<uri.schema>'
3361
- * Removed Specification @@gather.
3362
- * Removed Specification.attribute.
3363
- * Removed Specification.attribute_alias_singular.
3364
- * Removed Specification.attribute_defaults.
3365
- * Removed Specification.attributes
3366
- * Removed Specification.overwrite_accessor.
3367
- * Removed Specification.read_only.
3368
- * Removed Specification.required_attribute.
3369
- * Removed Specification::SPECIFICATION_VERSION_HISTORY and turned into rdoc
3370
- * Removed blanket rescue in default_executable. Hope it doesn't blow up! :P
3371
- * Removed nearly all metaprogramming from Specification. Yay for
3372
- attr_accessor!
3373
- * SourceIndex#initialize changed to prefer an array of spec dirs, defaulting
3374
- to none.
3375
- * SourceIndex.new is now the preferred way to create SourceIndex instances.
3376
- *gasp*
3377
- * Specification#validate now checks that array attribs are indeed arrays.
3378
- * Specification.default_value is now an instance method.
3379
- * Switched Specification::TODAY to be proper midnight @ UTC
3380
- * Update Gem::RemoteFetcher\'s User-Agent to handle RUBY_ENGINE and
3381
- RUBY_REVISION when patchlevel is -1
3382
- * UpdateCommand#gems_to_update now returns (name, version) pairs.
3383
- * UpdateCommand#which_to_update now takes an optional system argument.
3384
-
3385
- * 11 bug fixes:
3386
- * Added missing remote fetcher require to pristine command (aarnell)
3387
- * Building gems now checks to ensure all required fields are non-nil
3388
- * Fix option parser when summary is nil.
3389
- * Fixed `gem contents` to work with the lightweight specifications
3390
- * Fixed `gem update --system x.y.z` where x.y.z == latest version. (MGPalmer)
3391
- * Fixed gem contents sorting and tests. (MGPalmer)
3392
- * Fixed intermittant problem in `gem fetch` with --platform specified (quix)
3393
- * Fixed lightweight specifications so `gem rdoc` will generate proper
3394
- documentation
3395
- * MockGemUI#terminate_interaction should not raise Gem::SystemExitException.
3396
- (MGPalmer)
3397
- * RubyGems now raises a better error for broken .gem files. Bug #29067 by
3398
- Elias Baixas
3399
- * `gem update` now uniq's command line arguments.
3400
-
3401
- === 1.6.2 / 2011-03-08
3402
-
3403
- Bug Fixes:
3404
-
3405
- * require of an activated gem could cause activation conflicts. Fixes
3406
- Bug #29056 by Dave Verwer.
3407
- * `gem outdated` now works with up-to-date prerelease gems.
3408
-
3409
- === 1.6.1 / 2011-03-03
3410
-
3411
- Bug Fixes:
3412
-
3413
- * Installation no longer fails when a dependency from a version that won't be
3414
- installed is unsatisfied.
3415
- * README.rdoc now shows how to file tickets and get help. Pull Request #40 by
3416
- Aaron Patterson.
3417
- * Gem files are cached correctly again. Patch #29051 by Mamoru Tasaka.
3418
- * Tests now pass with non-022 umask. Patch #29050 by Mamoru Tasaka.
3419
-
3420
- === 1.6.0 / 2011-02-29
3421
-
3422
- 4 Deprecations:
3423
-
3424
- * RubyGems no longer requires 'thread'. Rails < 3 will need to add require
3425
- 'thread' to their applications.
3426
- * Gem.cache is deprecated. Use Gem.source_index.
3427
- * RbConfig.datadir is deprecated. Use Gem.datadir.
3428
- * Gem::LoadError#version_requirements has been removed. Use
3429
- Gem::LoadError#requirement.
3430
-
3431
- 2 Major Enhancements:
3432
-
3433
- * Rewrote how Gem::activate (gem and require) resolves dependencies.
3434
- * Gem::LoadError#version_requirement has been removed. Use
3435
- Gem::LoadError#requirement.
3436
-
3437
- 17 Minor Enhancments:
3438
-
3439
- * Added --key to `gem push` for setting alternate API keys.
3440
- * Added --format-executable support to gem uninstall.
3441
- * Added Gem::DependencyList#clear.
3442
- * Added Gem::DependencyList#remove_specs_unsatisfied_by
3443
- * Added Gem.latest_spec_for, latest_version_for, and latest_rubygems_version.
3444
- * Added Gem::Dependency#merge which merges requirements for two
3445
- dependencies.
3446
- * Added Gem::TestCase#util_spec for faster tests.
3447
- * Added Gem::Specification#dependent_specs.
3448
- * Added Gem::TestCase#new_spec and Gem::TestCase#install_specs.
3449
- * Added flag to include prerelease gems in Gem::SourceIndex#latest_specs.
3450
- * Gem.cache_dir always references the proper cache dir.
3451
- Pass true to support a user path.
3452
- * Gem.cache_gem, given a filename always references the cache gem.
3453
- Pass true to support a user path.
3454
- * Added Gem::Specification#conflicts
3455
- * Removed rdoc gem/require from test_case.rb.
3456
- * Rubygems will no longer let you push if you're using beta or unreleased
3457
- rubygems.
3458
- * Save RAM / GC churn by removing spec.files and rdoc options from
3459
- locally cached gem specifications.
3460
- * SpecFetcher.fetch_spec can now take a string source_uri.
3461
-
3462
- 10 Bug Fixes:
3463
-
3464
- * Added missing require of Gem::RemoteFetcher to the unpack command.
3465
- * RubyGems now completely removes a previous install when reinstalling.
3466
- * Fixed Gem::Installer#generate_bin to only chmod files that exist.
3467
- * Fixed handling of Windows style file:/// uris.
3468
- * Fixed requires in tests. (shota)
3469
- * Fixed script generation on Windows.
3470
- * Fixed test issues if you have older rubygems installed.
3471
- * Gem::DependencyInstaller tests use Gem::Security, add the missing require.
3472
- * Gem::Security used FileUtils but didn't require it. Reported by Elia Schito.
3473
- * Gem::Uninstaller now respects --format-executable.
3474
-
3475
- === 1.5.3 / 2011-02-26
3476
-
3477
- Bug Fixes:
3478
-
3479
- * Fix for a bug in Syck which causes install failures for gems packaged with
3480
- Psych. Bug #28965 by Aaron Patterson.
3481
-
3482
- === 1.5.2 / 2011-02-10
3483
-
3484
- Bug Fixes:
3485
-
3486
- * Fixed <tt>gem update --system</tt>. RubyGems can now update itself again.
3487
-
3488
- === 1.5.1 / 2011-02-09
3489
-
3490
- ==== NOTE: `gem update --system` is broken. See UPGRADING.rdoc.
3491
-
3492
- Minor Enhancement:
3493
-
3494
- * Added ability to do gem update --system X.Y.Z.
3495
-
3496
- Bug Fixes:
3497
-
3498
- * Scrub !!null YAML from 1.9.2 (install and build).
3499
- * Added missing requires for user_interaction.
3500
- * Wrote option processing tests for gem update.
3501
- * Updated upgrading doco for new gem update --system option.
3502
- * Fixed SilentUI for cygwin; try /dev/null first then fall back to NUL.
3503
- * RubyGems now enforces ruby 1.8.7 or newer.
3504
-
3505
- === 1.5.0 / 2011-01-31
3506
-
3507
- ==== NOTE: `gem update --system` is broken. See UPGRADING.rdoc.
3508
-
3509
- Major Enhancements:
3510
-
3511
- * Finally fixed all known 1.9.x issues. Upgrading is now possible!
3512
- * Merged huge 1.3.7/ruby-core changes to master.
3513
-
3514
- Minor Enhancements:
3515
-
3516
- * Added UPGRADING.rdoc to help deal with 1.9 issues.
3517
- * Gem::Format now gives better errors for corrupt gem files and includes paths
3518
- * Pre-install hooks can now abort gem installation by returning false
3519
- * Move shareable TestCase classes to lib/ to help plugin authors with tests.
3520
- * Add post-build hooks that can cancel the gem install
3521
- * Always require custom_require now that require_gem is gone
3522
- * Added GemInstaller accessors for @options so plugins can reference them.
3523
- * Optimized Gem.find_files. ~10% faster than 1.4.2. ~40% faster than ruby 1.9.
3524
- * Gem::SilentUI now behaves like Gem::StreamUI for asking questions. Patch by
3525
- Erik Hollensbe.
3526
-
3527
- Bug Fixes:
3528
-
3529
- * `gem update` was implicitly doing --system.
3530
- * 1.9.3: Fixed encoding errors causing gem installs to die during rdoc phase.
3531
- * Add RubyForge URL to README. Closes #28825
3532
- * 1.9.3: Use chdir {} when building extensions to prevent warnings. Fixes #4337
3533
- * 1.9.2: Fix circular require warning.
3534
- * Make requiring openssl even lazier at request of NaHi
3535
- * `gem unpack` will now download the gem if it is not in the cache. Patch by
3536
- Erik Hollensbe.
3537
- * rubygems-update lists its development dependencies again
3538
-
3539
- === 1.4.2 / 2011-01-06
3540
-
3541
- Bug fixes:
3542
-
3543
- * Gem::Versions: "1.b1" != "1.b.1", but "1.b1" eql? "1.b.1". Fixes gem indexing.
3544
- * Fixed Gem.find_files.
3545
- * Removed otherwise unused #find_all_dot_rb. Only 6 days old and hella buggy.
3546
-
3547
- === 1.4.1 / 2010-12-31
3548
-
3549
- Since apparently nobody reads my emails, blog posts or the README:
3550
-
3551
- DO NOT UPDATE RUBYGEMS ON RUBY 1.9! See UPGRADING.rdoc for details.
3552
-
3553
- Bug fix:
3554
-
3555
- * Specification#load was untainting a frozen string (via `gem build *.spec`)
3556
-
3557
- === 1.4.0 / 2010-12-30
3558
-
3559
- NOTE: In order to better maintain rubygems and to get it in sync with
3560
- the world (eg, 1.9's 1.3.7 is different from our 1.3.7), rubygems is
3561
- switching to a 4-6 week release schedule. This release is the
3562
- precursor to that process and as such may be a bit on the wild side!
3563
- You have been warned!
3564
-
3565
- NOTE: We've switched to git/github. See README.rdoc for details.
3566
-
3567
- New features:
3568
-
3569
- * Added --launch option to `gem server`. (gthiesfeld)
3570
- * Added fuzzy name matching on install failures. (gstark/presidentbeef)
3571
- * Allow searching w/ file extensions: gem which fileutils.rb
3572
- * Progress indicator during download (Ryan Melton)
3573
- * Speed up Gem::Version#<=> by 2-3x in common cases. (raggi)
3574
- * --source is now additive with your current sources.
3575
- Use --clear-sources first to maintain previous behavior.
3576
-
3577
- Bug fixes:
3578
-
3579
- * Dependency "~>"s now respect lower-bound prerelease versions.
3580
- * Ensure the gem directories exist on download.
3581
- * Expand Windows user home candidates for Ruby 1.8. Bug #28371 & #28494
3582
- * Fix find_files to order by version.
3583
- * Fix ivar typo. [Josh Peek]
3584
- * Normalized requires and made many of them lazy.
3585
- Do not depend on rubygems to require stdlib stuff for you. (raggi/tmm1)
3586
- * Treat 1.0.a10 like 1.0.a.10 for sorting, etc. Fixes #27903. (dchelimsky)
3587
-
3588
- === 1.3.7 / 2010-05-13
3589
-
3590
- NOTE:
3591
-
3592
- https://rubygems.org/ is now the default source for downloading gems.
3593
-
3594
- You may have sources set via ~/.gemrc, so you should replace
3595
- http://gems.rubyforge.org with https://rubygems.org/
3596
-
3597
- http://gems.rubyforge.org will continue to work for the foreseeable future.
3598
-
3599
- New features:
3600
-
3601
- * `gem` commands
3602
- * `gem install` and `gem fetch` now report alternate platforms when a
3603
- matching one couldn't be found.
3604
- * `gem contents` --prefix is now the default as specified in --help. Bug
3605
- #27211 by Mamoru Tasaka.
3606
- * `gem fetch` can fetch of old versions again. Bug #27960 by Eric Hankins.
3607
- * `gem query` and friends output now lists platforms. Bug #27856 by Greg
3608
- Hazel.
3609
- * `gem server` now allows specification of multiple gem dirs for
3610
- documentation. Bug #27573 by Yuki Sonoda.
3611
- * `gem unpack` can unpack gems again. Bug #27872 by Timothy Jones.
3612
- * `gem unpack` now unpacks remote gems.
3613
- * --user-install is no longer the default. If you really liked it, see
3614
- Gem::ConfigFile to learn how to set it by default. (This change was made
3615
- in 1.3.6)
3616
- * RubyGems now has platform support for IronRuby. Patch #27951 by Will Green.
3617
-
3618
- Bug fixes:
3619
-
3620
- * Require rubygems/custom_require if --disable-gem was set. Bug #27700 by
3621
- Roger Pack.
3622
- * RubyGems now protects against exceptions being raised by plugins.
3623
- * rubygems/builder now requires user_interaction. Ruby Bug #1040 by Phillip
3624
- Toland.
3625
- * Gem::Dependency support #version_requirements= with a warning. Fix for old
3626
- Rails versions. Bug #27868 by Wei Jen Lu.
3627
- * Gem::PackageTask depends on the package dir like the other rake package
3628
- tasks so dependencies can be hooked up correctly.
3629
-
3630
- === 1.3.6 / 2010-02-17
3631
-
3632
- New features:
3633
-
3634
- * `gem` commands
3635
- * Added `gem push` and `gem owner` for interacting with modern/Gemcutter
3636
- sources
3637
- * `gem dep` now supports --prerelease.
3638
- * `gem fetch` now supports --prerelease.
3639
- * `gem server` now supports --bind. Patch #27357 by Bruno Michel.
3640
- * `gem rdoc` no longer overwrites built documentation. Use --overwrite
3641
- force rebuilding. Patch #25982 by Akinori MUSHA.
3642
- * Capital letters are now allowed in prerelease versions.
3643
-
3644
- Bug fixes:
3645
-
3646
- * Development deps are no longer added to rubygems-update gem so older
3647
- versions can update successfully.
3648
- * Installer bugs:
3649
- * Prerelease gems can now depend on non-prerelease gems.
3650
- * Development dependencies are ignored unless explicitly needed. Bug #27608
3651
- by Roger Pack.
3652
- * `gem` commands
3653
- * `gem which` now fails if no paths were found. Adapted patch #27681 by
3654
- Caio Chassot.
3655
- * `gem server` no longer has invalid markup. Bug #27045 by Eric Young.
3656
- * `gem list` and friends show both prerelease and regular gems when
3657
- --prerelease --all is given
3658
- * Gem::Format no longer crashes on empty files. Bug #27292 by Ian Ragsdale.
3659
- * Gem::GemPathSearcher handles nil require_paths. Patch #27334 by Roger Pack.
3660
- * Gem::RemoteFetcher no longer copies the file if it is where we want it.
3661
- Patch #27409 by Jakub Šťastný.
3662
-
3663
- Deprecation Notices:
3664
-
3665
- * lib/rubygems/timer.rb has been removed.
3666
- * Gem::Dependency#version_requirements is deprecated and will be removed on or
3667
- after August 2010.
3668
- * Bulk index update is no longer supported.
3669
- * Gem::manage_gems was removed in 1.3.3.
3670
- * Time::today was removed in 1.3.3.
3671
-
3672
- === 1.3.5 / 2009-07-21
3673
-
3674
- Bug fixes:
3675
-
3676
- * Fix use of prerelease gems.
3677
- * Gem.bin_path no longer escapes path with spaces. Bug #25935 and #26458.
3678
-
3679
- Deprecation Notices:
3680
-
3681
- * Bulk index update is no longer supported (the code currently remains, but not
3682
- the tests)
3683
- * Gem::manage_gems was removed in 1.3.3.
3684
- * Time::today was removed in 1.3.3.
3685
-
3686
- === 1.3.4 / 2009-05-03
3687
-
3688
- Bug Fixes:
3689
-
3690
- * Fixed various warnings
3691
- * Gem::ruby_version works correctly for 1.8 branch and trunk
3692
- * Prerelease gems now show up in `gem list` and can be used
3693
- * Fixed option name for `gem setup --format-executable`
3694
- * RubyGems now matches Ruby > 1.9.1 gem paths
3695
- * Gem::RemoteFetcher#download now works for explicit Windows paths across
3696
- drives. Bug #25882 by Lars Christensen
3697
- * Fix typo in Gem::Requirement#parse. Bug #26000 by Mike Gunderloy.
3698
-
3699
- Deprecation Notices:
3700
-
3701
- * Bulk index update is no longer supported (the code currently remains, but not
3702
- the tests)
3703
- * Gem::manage_gems was removed in 1.3.3.
3704
- * Time::today was removed in 1.3.3.
3705
-
3706
- === 1.3.3 / 2009-05-04
3707
-
3708
- New Features:
3709
-
3710
- * `gem server` allows port names (from /etc/services) with --port.
3711
- * `gem server` now has search that jumps to RDoc. Patch #22959 by Vladimir
3712
- Dobriakov.
3713
- * `gem spec` can retrieve single fields from a spec (like `gem spec rake
3714
- authors`).
3715
- * Gem::Specification#has_rdoc= is deprecated and ignored (defaults to true)
3716
- * RDoc is now generated regardless of Gem::Specification#has_rdoc?
3717
-
3718
- Bug Fixes:
3719
-
3720
- * `gem clean` now cleans up --user-install gems. Bug #25516 by Brett
3721
- Eisenberg.
3722
- * Gem.bin_path now escapes paths with spaces.
3723
- * Rake extension builder uses explicit correctly loads rubygems when invoking
3724
- rake.
3725
- * Prerelease versions now match "~>" correctly. Patch #25759 by Yossef
3726
- Mendelssohn.
3727
- * Check bindir for executables, not root when validating. Bug reported by
3728
- David Chelimsky.
3729
- * Remove Time.today, no way to override it before RubyGems loads. Bug #25564
3730
- by Emanuele Vicentini
3731
- * Raise Gem::Exception for #installation_path when not installed. Bug #25741
3732
- by Daniel Berger.
3733
- * Don't raise in Gem::Specification#validate when homepage is nil. Bug #25677
3734
- by Mike Burrows.
3735
- * Uninstall executables from the correct directory. Bug #25555 by Brett
3736
- Eisenberg.
3737
- * Raise Gem::LoadError if Kernel#gem fails due to previously-loaded gem. Bug
3738
- reported by Alf Mikula.
3739
-
3740
- Deprecation Notices:
3741
-
3742
- * Gem::manage_gems has been removed.
3743
- * Time::today has been removed early. There was no way to make it warn and be
3744
- easy to override with user code.
3745
-
3746
- === 1.3.2 / 2009-04-15
3747
-
3748
- Select New Features:
3749
-
3750
- * RubyGems now loads plugins from rubygems_plugin.rb in installed gems.
3751
- This can be used to add commands (See Gem::CommandManager) or add
3752
- install/uninstall hooks (See Gem::Installer and Gem::Uninstaller).
3753
- * Gem::Version now understands prerelease versions using letters. (eg.
3754
- '1.2.1.b') Thanks to Josh Susser, Alex Vollmer and Phil Hagelberg.
3755
- * RubyGems now includes a Rake task for creating gems which replaces rake's
3756
- Rake::GemPackageTask. See Gem::PackageTask.
3757
- * Gem::find_files now returns paths in $LOAD_PATH.
3758
- * Added Gem::promote_load_path for use with Gem::find_files
3759
- * Added Gem::bin_path to make finding executables easier. Patch #24114 by
3760
- James Tucker.
3761
- * Various improvements to build arguments for installing gems.
3762
- * `gem contents` added --all and --no-prefix.
3763
- * Gem::Specification
3764
- * #validate strips directories and errors on not-files.
3765
- * #description no longer removes newlines.
3766
- * #name must be a String.
3767
- * FIXME and TODO are no longer allowed in various fields.
3768
- * Added support for a license attribute. Feature #11041 (partial).
3769
- * Removed Gem::Specification::list, too much process growth. Bug #23668 by
3770
- Steve Purcell.
3771
- * `gem generate_index`
3772
- * Can now generate an RSS feed.
3773
- * Modern indicies can now be updated incrementally.
3774
- * Legacy indicies can be updated separately from modern.
3775
-
3776
- Select Bugs Fixed:
3777
-
3778
- * Better gem activation error message. Patch #23082.
3779
- * Kernel methods are now private. Patch #20801 by James M. Lawrence.
3780
- * Fixed various usability issues with `gem check`.
3781
- * `gem update` now rescues InstallError and continues. Bug #19268 by Gabriel
3782
- Wilkins.
3783
- * Allow 'https', 'file' as a valid schemes for --source. Patch #22485.
3784
- * `gem install`
3785
- * Now removes existing path before installing. Bug #22837.
3786
- * Uses Gem::bin_path in executable stubs to work around Kernel#load bug in
3787
- 1.9.
3788
- * Correctly handle build args (after --) via the API. Bug #23210.
3789
- * --user-install
3790
- * `gem install --no-user-install` now works. Patch #23573 by Alf Mikula.
3791
- * `gem uninstall` can now uninstall from ~/.gem. Bug #23760 by Roger Pack.
3792
- * setup.rb
3793
- * Clarify RubyGems RDoc installation location. Bug #22656 by Gian Marco
3794
- Gherardi.
3795
- * Allow setup to run from read-only location. Patch #21862 by Luis Herrera.
3796
- * Fixed overwriting ruby executable when BASERUBY was not set. Bug #24958
3797
- by Michael Soulier.
3798
- * Ensure we're in a RubyGems dir when installing.
3799
- * Deal with extraneous quotation mark when autogenerating .bat file on MS
3800
- Windows. Bug #22712.
3801
-
3802
- Deprecation Notices:
3803
-
3804
- * Gem::manage_gems has been removed.
3805
- * Time::today will be removed in RubyGems 1.4.
3806
-
3807
- Special thanks to Chad Wooley for backwards compatibility testing and Luis
3808
- Lavena and Daniel Berger for continuing windows support.
3809
-
3810
- === 1.3.1 / 2008-10-28
3811
-
3812
- Bugs fixed:
3813
-
3814
- * Disregard ownership of ~ under Windows while creating ~/.gem. Fixes
3815
- issues related to no uid support under Windows.
3816
- * Fix requires for Gem::inflate, Gem::deflate, etc.
3817
- * Make Gem.dir respect :gemhome value from config. (Note: this feature may be
3818
- removed since it is hard to implement on 1.9.)
3819
- * Kernel methods are now private. Patch #20801 by James M. Lawrence.
3820
- * Gem::location_of_caller now behaves on Windows. Patch by Daniel Berger.
3821
- * Silence PATH warning.
3822
-
3823
- Deprecation Notices:
3824
-
3825
- * Gem::manage_gems will be removed on or after March 2009.
3826
-
3827
- === 1.3.0 / 2008-09-25
3828
-
3829
- New features:
3830
-
3831
- * RubyGems doesn't print LOCAL/REMOTE titles for `gem query` and friends if
3832
- stdout is not a TTY, except with --both.
3833
- * Added Gem.find_files, allows a gem to discover features provided by other
3834
- gems.
3835
- * Added pre/post (un)install hooks for packagers of RubyGems. (Not for gems
3836
- themselves).
3837
- * RubyGems now installs gems into ~/.gem if GEM_HOME is not writable. Use
3838
- --no-user-install command-line switch to disable this behavior.
3839
- * Fetching specs for update now uses If-Modified-Since requests.
3840
- * RubyGems now updates the ri cache when the rdoc gem is installed and
3841
- documentation is generated.
3842
-
3843
- Deprecation Notices:
3844
-
3845
- * Gem::manage_gems now warns when called. It will be removed on or after March
3846
- 2009.
3847
-
3848
- Bugs Fixed:
3849
-
3850
- * RubyGems 1.3.0+ now updates when no previous rubygems-update is installed.
3851
- Bug #20775 by Hemant Kumar.
3852
- * RubyGems now uses the regexp we already have for `gem list --installed`. Bug
3853
- #20876 by Nick Hoffman.
3854
- * Platform is now forced to Gem::Platform::RUBY when nil or blank in the
3855
- indexer. Fixes various uninstallable gems.
3856
- * Handle EINVAL on seek. Based on patch in bug #20791 by Neil Wilson.
3857
- * Fix HTTPS support. Patch #21072 by Alex Arnell.
3858
- * RubyGems now loads all cache files even if latest has been loaded. Bug
3859
- #20776 by Uwe Kubosch.
3860
- * RubyGems checks for support of development dependencies for #to_ruby. Bug
3861
- #20778 by Evan Weaver.
3862
- * Now specifications from the future can be loaded.
3863
- * Binary script uninstallation fixed. Bug #21234 by Neil Wilson.
3864
- * Uninstallation with -i fixed. Bug #20812 by John Clayton.
3865
- * Gem::Uninstaller#remove_all now calls Gem::Uninstaller#uninstall_gem so hooks
3866
- get called. Bug #21242 by Neil Wilson.
3867
- * Gem.ruby now properly escaped on windows. Fixes problem with extension
3868
- compilation.
3869
- * `gem lock --strict` works again. Patch #21814 by Sven Engelhardt.
3870
- * Platform detection for Solaris was improved. Patch #21911 by Bob Remeika.
3871
-
3872
- Other Changes Include:
3873
-
3874
- * `gem help install` now describes _version_ argument to executable stubs
3875
- * `gem help environment` describes environment variables and ~/.gemrc and
3876
- /etc/gemrc
3877
- * On-disk gemspecs are now read in UTF-8 and written with a UTF-8 magic comment
3878
- * Rakefile
3879
- * If the SETUP_OPTIONS environment variable is set, pass its contents as
3880
- arguments to setup.rb
3881
- * lib/rubygems/platform.rb
3882
- * Remove deprecated constant warnings and really deprecate them. (WIN32,
3883
- etc).
3884
- * lib/rubygems/remote_fetcher.rb
3885
- * Now uses ~/.gem/cache if the cache dir in GEM_HOME is not writable.
3886
- * lib/rubygems/source_index.rb
3887
- * Deprecate options to 'search' other than Gem::Dependency instances and
3888
- issue warning until November 2008.
3889
- * setup.rb
3890
- * --destdir folder structure now built using Pathname, so it works for
3891
- Windows platforms.
3892
- * test/*
3893
- * Fixes to run tests when under test/rubygems/. Patch by Yusuke ENDOH
3894
- [ruby-core:17353].
3895
- * test/test_ext_configure_builder.rb
3896
- * Locale-free patch by Yusuke Endoh [ruby-core:17444].
3897
-
3898
- === 1.2.0 / 2008-06-21
3899
-
3900
- New features:
3901
-
3902
- * RubyGems no longer performs bulk updates and instead only fetches the gemspec
3903
- files it needs. Alternate sources will need to upgrade to RubyGems 1.2 to
3904
- allow RubyGems to take advantage of the new metadata updater. If a pre 1.2
3905
- remote source is in the sources list, RubyGems will revert to the bulk update
3906
- code for compatibility.
3907
- * RubyGems now has runtime and development dependency types. Use
3908
- #add_development_dependency and #add_runtime_dependency. All typeless
3909
- dependencies are considered to be runtime dependencies.
3910
- * RubyGems will now require rubygems/defaults/operating_system.rb and
3911
- rubygems/defaults/#{RBX_ENGINE}.rb if they exist. This allows packagers and
3912
- ruby implementers to add custom behavior to RubyGems via these files. (If
3913
- the RubyGems API is insufficient, please suggest improvements via the
3914
- RubyGems list.)
3915
- * /etc/gemrc (and windows equivalent) for global settings
3916
- * setup.rb now handles --vendor and --destdir for packagers
3917
- * `gem stale` command that lists gems by last access time
3918
-
3919
- Bugs Fixed:
3920
-
3921
- * File modes from gems are now honored, patch #19737
3922
- * Marshal Gem::Specification objects from the future can now be loaded.
3923
- * A trailing / is now added to remote sources when missing, bug #20134
3924
- * Gems with legacy platforms will now be correctly uninstalled, patch #19877
3925
- * `gem install --no-wrappers` followed by `gem install --wrappers` no longer
3926
- overwrites executables
3927
- * `gem pristine` now forces reinstallation of gems, bug #20387
3928
- * RubyGems gracefully handles ^C while loading .gemspec files from disk, bug
3929
- #20523
3930
- * Paths are expanded in more places, bug #19317, bug #19896
3931
- * Gem::DependencyInstaller resets installed gems every install, bug #19444
3932
- * Gem.default_path is now honored if GEM_PATH is not set, patch #19502
3933
-
3934
- Other Changes Include:
3935
-
3936
- * setup.rb
3937
- * stub files created by RubyGems 0.7.x and older are no longer removed. When
3938
- upgrading from these ancient versions, upgrade to 1.1.x first to clean up
3939
- stubs.
3940
- * RDoc is no longer required until necessary, patch #20414
3941
- * `gem server`
3942
- * Now completely matches the output of `gem generate_index` and
3943
- has correct content types
3944
- * Refreshes from source directories for every hit. The server will no longer
3945
- need to be restarted after installing gems.
3946
- * `gem query --details` and friends now display author, homepage, rubyforge url
3947
- and installed location
3948
- * `gem install` without -i no longer reinstalls dependencies if they are in
3949
- GEM_PATH but not in GEM_HOME
3950
- * Gem::RemoteFetcher now performs persistent connections for HEAD requests,
3951
- bug #7973
3952
-
3953
- === 1.1.1 / 2008-04-11
3954
-
3955
- Bugs Fixed:
3956
-
3957
- * Gem.prefix now returns non-nil only when RubyGems was installed outside
3958
- sitelibdir or libdir.
3959
- * The `gem server` gem list now correctly links to gem details.
3960
- * `gem update --system` now passes --no-format-executable to setup.rb.
3961
- * Gem::SourceIndex#refresh! now works with multiple gem repositories.
3962
- * Downloaded gems now go into --install-dir's cache directory.
3963
- * Various fixes to downloading gem metadata.
3964
- * `gem install --force` now ignores network errors too.
3965
- * `gem pristine` now rebuilds extensions.
3966
- * `gem update --system` now works on virgin Apple ruby.
3967
- * Gem::RemoteFetcher handles Errno::ECONNABORTED.
3968
- * Printing of release notes fixed.
3969
-
3970
- === 1.1.0 / 2008-03-29
3971
-
3972
- New features:
3973
-
3974
- * RubyGems now uses persistent connections on index updates. Index updates are
3975
- much faster now.
3976
- * RubyGems only updates from a latest index by default, cutting candidate gems
3977
- for updates to roughly 1/4 (at present). Index updates are even faster
3978
- still.
3979
- * `gem list -r` may only show the latest version of a gem, add --all to see
3980
- all gems.
3981
- * `gem spec` now extracts specifications from .gem files.
3982
- * `gem query --installed` to aid automation of checking for gems.
3983
-
3984
- Bugs Fixed:
3985
-
3986
- * RubyGems works with both Config and RbConfig now.
3987
- * Executables are now cleaned upon uninstall.
3988
- * You can now uninstall from a particular directory.
3989
- * Updating from non-default sources fixed.
3990
- * Executable stubs now use ruby install name in shebang.
3991
- * `gem unpack` checks every directory in Gem.path now.
3992
- * `gem install` now exits with non-zero exit code when appropriate.
3993
- * `gem update` only updates gems that need updates.
3994
- * `gem update` doesn't force remote-only updates.
3995
- * `gem update` handles dependencies properly when updating.
3996
- * Gems are now loaded in Gem.path order.
3997
- * Gem stub scripts on windows now work outside Gem.bindir.
3998
- * `gem sources -r` now works without network access.
3999
-
4000
- Other Changes Include:
4001
-
4002
- * RubyGems now requires Ruby > 1.8.3.
4003
- * Release notes are now printed upon installation.
4004
- * `gem env path` now prints a usable path.
4005
- * `gem install` reverts to local-only installation upon network error.
4006
- * Tar handling code refactoring and cleanup.
4007
- * Gem::DependencyInstaller's API has changed.
4008
-
4009
- For a full list of changes to RubyGems, see the ChangeLog file.
4010
-
4011
- === 1.0.1 / 2007-12-20
4012
-
4013
- Bugs Fixed:
4014
-
4015
- * Installation on Ruby 1.8.3 through 1.8.5 fixed
4016
- * `gem build` on 1.8.3 fixed
4017
-
4018
- Other Changes Include:
4019
-
4020
- * Since RubyGems 0.9.5, RubyGems is no longer supported on Ruby 1.8.2 or older,
4021
- this is official in RubyGems 1.0.1.
4022
-
4023
- === 1.0.0 / 2007-12-20
4024
-
4025
- Major New Features Include:
4026
-
4027
- * RubyGems warns about various problems with gemspecs during gem building
4028
- * More-consistent versioning for the RubyGems software
4029
-
4030
- Other Changes Include:
4031
-
4032
- * Fixed various bugs and problems with installing gems on Windows
4033
- * Fixed using `gem server` for installing gems
4034
- * Various operations are even more verbose with --verbose
4035
- * Built gems are now backwards compatible with 0.9.4
4036
- * Improved detection of RUBYOPT loading rubygems
4037
- * `ruby setup.rb` now has a --help option
4038
- * Gem::Specification#bindir is now respected on installation
4039
- * Executable stubs can now be installed to match ruby's name, so if ruby is
4040
- installed as 'ruby18', foo_exec will be installed as 'foo_exec18'
4041
- * `gem unpack` can now unpack into a specific directory with --target
4042
- * OpenSSL is no longer required by default
4043
-
4044
- Deprecations and Deletions:
4045
-
4046
- * Kernel#require_gem has been removed
4047
- * Executables without a shebang will not be wrapped in a future version, this
4048
- may cause such executables to fail to operate on installation
4049
- * Gem::Platform constants other than RUBY and CURRENT have been removed
4050
- * Gem::RemoteInstaller was removed
4051
- * Gem::Specification#test_suite_file and #test_suite_file= are deprecated in
4052
- favor of #test_file and #test_file=
4053
- * Gem::Specification#autorequire= has been deprecated
4054
- * Time::today will be removed in a future version
4055
-
4056
- === 0.9.5 / 2007-11-19
4057
-
4058
- Major New Features Include:
4059
-
4060
- * Platform support
4061
- * Automatic installation of platform gems
4062
- * New bandwidth and memory friendlier index file format
4063
- * "Offline" mode (--no-update-sources)
4064
- * Bulk update threshold can be specified (-B, --bulk-threshold)
4065
- * New `gem fetch` command
4066
- * `gem` now has "really verbose" output when you specify -v
4067
- * Improved stubs and `gem.bat` on mswin, including better compatibility
4068
- with the One-Click Installer.
4069
-
4070
- Other Changes Include:
4071
-
4072
- * Time::today is deprecated and will be removed at a future date
4073
- * Gem::manage_gems is deprecated and will be removed at a future date
4074
- * `gem install --include-dependencies` (-y) is now deprecated since it is the
4075
- default, use --ignore-dependencies to turn off automatic dependency
4076
- installation
4077
- * Multi-version diamond dependencies only are installed once
4078
- * Processing a YAML bulk index update takes less memory
4079
- * `gem install -i` makes sure all depenencies are installed
4080
- * `gem update --system` reinstalls into the prefix it was originally installed
4081
- in
4082
- * `gem update --system` respects --no-rdoc and --no-ri flags
4083
- * HTTP basic authentication support for proxies
4084
- * Gem::Specification#platforms should no longer be a String, use
4085
- Gem::Platform::CURRENT when building binary gems instead
4086
- * `gem env` has more diagnostic information
4087
- * require 'rubygems' loads less code
4088
- * sources.gem is gone, RubyGems now uses built-in defaults
4089
- * `gem install --source` will no longer add --source by default, use `gem
4090
- sources --add` to make it a permanent extra source
4091
- * `gem query` (list) no longer prints details by default
4092
- * Exact gem names are matched in various places
4093
- * mkrf extensions are now supported
4094
- * A gem can depend on a specific RubyGems version
4095
- * `gem_server` is now `gem server`
4096
- * `gemlock` is now `gem lock`
4097
- * `gem_mirror` is now `gem mirror`
4098
- * `gemwhich` is now `gem which`
4099
- * `gemri` is no longer included with RubyGems
4100
- * `index_gem_repository.rb` is now `gem generate_index`
4101
- * `gem` performs more validation of parameters
4102
- * Custom rdoc styles are now supported
4103
- * Gem indexer no longer removes quick index during index creation
4104
- * Kernel#require only rescues a LoadError for the file being required now
4105
- * `gem dependencies` can now display some information for remote gems
4106
- * Updating RubyGems now works with RUBYOPT=-rubygems
4107
-
4108
- Special thanks to:
4109
-
4110
- * Daniel Berger
4111
- * Luis Lavena
4112
- * Tom Copeland
4113
- * Wilson Bilkovich
4114
-
4115
- === 0.9.4 / 2007-05-23
4116
-
4117
- If you are experiencing problems with the source index (e.g. strange
4118
- "No Method" errors), or problems with zlib (e.g. "Buffer Error"
4119
- messsage), we recommend upgrading to RubyGems 0.9.4.
4120
-
4121
- Bug Fixes Include:
4122
-
4123
- * Several people have been experiencing problems with no method errors
4124
- on the source index cache. The source index cache is now a bit more
4125
- self healing. Furthermore, if the source index cache is
4126
- irreparable, then it is automatically dropped and reloaded.
4127
- * The source cache files may now be dropped with the "gem sources
4128
- --clear-all" command. (This command may require root is the system
4129
- source cache is in a root protected area).
4130
- * Several sub-commands were accidentally dropped from the "gem" command.
4131
- These commands have been restored.
4132
-
4133
- === 0.9.3 / 2007-05-10
4134
-
4135
- Bug Fixes Include:
4136
-
4137
- The ZLib library on Windows will occasionally complains about a buffer error
4138
- when unpacking gems. The Gems software has a workaround for that problem, but
4139
- the workaround was only enabled for versions of ZLib 1.2.1 or earlier. We
4140
- have received several reports of the error occurring with ZLib 1.2.3, so we
4141
- have permanently enabled the work around on all versions.
4142
-
4143
- === 0.9.2 / 2007-02-05
4144
-
4145
- Bug Fixes Include:
4146
-
4147
- * The "unpack" command now works properly.
4148
- * User name and password are now passed properly to the authenticating
4149
- proxy when downloading gems.
4150
-
4151
- === 0.9.1 / 2007-01-16
4152
-
4153
- See ChangeLog
4154
-
4155
- === 0.9.0 / 2006-06-28
4156
-
4157
- Finally, the much anticipated RubyGems version 0.9.0 is now available.
4158
- This release includes a number of new features and bug fixes. The
4159
- number one change is that we can now download the gem index
4160
- incrementally. This will greatly speed up the gem command when only a
4161
- few gems are out of date.
4162
-
4163
- Major Enhancments include:
4164
-
4165
- * The gem index is now downloaded incrementally, only updating entries
4166
- that are out of date. If more than 50 entries are out of date, we
4167
- revert back to a bulk download.
4168
- * Several patches related to allowing RubyGems to work with
4169
- authenticating proxies (from Danie Roux and Anatol Pomozov). Just
4170
- put the user and password in the proxy URL (e.g. -p
4171
- http://user:password@proxy.address.com:8080) or use the
4172
- HTTP_PROXY_USER and HTTP_PROXY_PASS environment variables.
4173
- * The gem unpack command can now accept a file path rather than just a
4174
- install gem name.
4175
- * Both RI and RDOC documents are now generated by default.
4176
- * A gemri command is included to read gem RI docs (only needed for
4177
- Ruby 1.8.4 or earlier).
4178
-
4179
- Minor enhancements include:
4180
-
4181
- * Version 0.0.0 is now a valid gem version.
4182
- * Better detection of missing SSL functionality.
4183
- * SSL is not required if the security policy does not require
4184
- signature checking.
4185
- * Rake built extensions are now supported (Tilman Sauerbeck).
4186
- * Several autorequire bug fixes.
4187
- * --traceback is now an alias for --backtrace (I can never remember
4188
- which one it is).
4189
- * SAFE=1 compatibility fixes.
4190
- * .rbw is now a supported suffix for RubyGem's custom require.
4191
- * Several Ruby 1.9 compatibility fixes (Eric Hodel).
4192
-
4193
- Bug Fixes:
4194
-
4195
- * Added dashes to gemspecs generated in Ruby 1.8.3. This solves some
4196
- cross-Ruby version compatibility issues.
4197
- * Fixed bug where the wrong executables could be uninstalled (Eric
4198
- Hodel).
4199
- * Fixed bug where gem unpack occasionally unpacked the wrong gem.
4200
- * Fixed bug where a fatal error occurred when permissions on .gemrc
4201
- were too restrictive (reported by Luca Pireddu).
4202
- * Fixed prefix handling for native expressions (patch by Aaron Patterson).
4203
- * Fixed several Upgrade => Update typos.
4204
-
4205
- === 0.8.11 / 2005-07-13
4206
-
4207
- * -y is a synonym for --include-dependencies.
4208
- * Better handling of errors in the top level rescue clause.
4209
- * Package list command (e.g. gem inspect GEM).
4210
- * .gemrc now allows cvsrc-like options to set defaults per subcommand.
4211
- * The autorequire gem spec field will now accept a list.
4212
- * Substituted Time for Date in specs, increasing performance
4213
- dramatically.
4214
- * Fixed reported bug of gem directories ending in "-" (reported by
4215
- Erik Hatcher).
4216
- * Fixed but in installer that caused dependency installation to not
4217
- work.
4218
- * Added Paul Duncan's gem signing patch.
4219
- * Added Mark Hubbart's Framework patch (for better integration with OS
4220
- X).
4221
- * Added David Glasser's install-from-mirror patch.
4222
- * Additional internal structural cleanup and test reorganization.
4223
-
4224
- === 0.8.10 / 2005-03-27
4225
-
4226
- * In multi-user environments, it is common to supply multiple versions of gems
4227
- (for example Rails), allowing individual users to select the version of the
4228
- gem they desire. This allows a user to be insulated from updates to that
4229
- gem. RubyGems 0.8.10 fixes a problem where gems could occasionally become
4230
- confused about the current versions of libraries selected by the user.
4231
- * The other annoying bug is that if there are any existing rubygems-update gems
4232
- installed, then the "gem update --system" command will download a new
4233
- update, but install the latest update prior to the download.
4234
-
4235
- === 0.8.9
4236
-
4237
- Never released
4238
-
4239
- === 0.8.8 / 2005-03-14
4240
-
4241
- * Moved the master definition of class Requirement back under version.
4242
- Kept the body of Requirement under Gem.
4243
-
4244
- === 0.8.7 / 2005-03-14
4245
-
4246
- Even though it has only been a few weeks since that last release,
4247
- there are quite a number of new features in 0.8.7. A complete list of
4248
- new features will be given below, but here is a summary of the hot
4249
- items.
4250
-
4251
- * The bug that prevented some users from installing rails has been
4252
- squashed. A big thanks to Bill Guindon (aGorilla) for helping track
4253
- that one down.
4254
-
4255
- There are several new commands available on the gem command:
4256
-
4257
- * gem cleanup GEMNAME -- Cleanup (uninstall) all the old versions of
4258
- gem. If the gem name is omitted, the entire repository is cleaned.
4259
- * gem dependency GEMNAME -- Show the dependencies for the named gems.
4260
- This is really helpful when trying to figure out what gem needs what
4261
- other gem.
4262
-
4263
- There changes to the existing commands as well.
4264
-
4265
- * gem uninstall is much smarter about removing gems from the
4266
- repository. Lists of gems are now uninstalled in proper dependency
4267
- order (ie. if A depends on B, A is uninstalled first). Also,
4268
- warnings about broken dependencies occur only when removing the
4269
- *last* gem that supports a dependency is removed.
4270
-
4271
- Both gem install and gem uninstall support some new command line
4272
- options that can reduce the amount of yes/no queries given the user.
4273
- For install we have:
4274
-
4275
- * --ignore-dependencies -- Only install requests gems, no
4276
- dependendecies are automatically installed.
4277
- * --include-dependencies -- Automatically install dependencies,
4278
- without confirmation.
4279
-
4280
- For gem uninstall, the new options are:
4281
-
4282
- * --all -- Uninstall all matching gems without confirmation.
4283
- * --ignore-dependencies -- Uninstall, even if dependencies are broken.
4284
- * --executables -- Remove executables without confirmation
4285
-
4286
- Under general cleanup, gems will not, by default, run RDoc on packages
4287
- that do not have the RDoc flag set.
4288
-
4289
- And finally there is a new library file 'gemconfigure' to aid in
4290
- writing version sensitive applications (without undue dependencies on
4291
- RubyGems); and 'gemwhich', a short script to locate libraries in the
4292
- file system. You can read more about them here:
4293
-
4294
- * gemconfigure: http://docs.rubygems.org/read/chapter/4#page73
4295
- * gemwhich: http://docs.rubygems.org/read/chapter/17
4296
-
4297
- === 0.8.6 / 2005-02-27
4298
-
4299
- * Fixed a small bug with shebang construction
4300
-
4301
- === 0.8.5 / 2005-02-26
4302
-
4303
- Do you know how you used to dread getting the following message while
4304
- installing gems?
4305
-
4306
- Updating Gem source index for: http://gems.rubyforge.org
4307
-
4308
- It could take up to 30 seconds (on my machine, even worse on others) for
4309
- that crazy source index to update.
4310
-
4311
- This latest release of RubyGems speeds that wait time up considerably.
4312
- The following table gives the following times for installing RedCloth
4313
- with a required source index update on three system we had available to
4314
- us. No RDoc generation was included in the following times.
4315
-
4316
- RubyGems Linux Mac OSX Windows
4317
- 0.8.4 33 secs 73 secs 58 secs
4318
- 0.8.5 8 secs 14 secs 21 secs
4319
-
4320
- The new caching code is at least 3x faster than previous versions. Woo
4321
- Hoo!
4322
-
4323
- === 0.8.4 / 2005-01-01
4324
-
4325
- * Rubygems 0.8.3's installer was broken unless you already had an older
4326
- version of RubyGems installed. That's fixed.
4327
- * Change in the way Gem::Specification internally deals with lazy attributes
4328
- and defaults, bringing (with some loadpath_manager changes) a fairly
4329
- significant increase in speed.
4330
- * Support for lower-cased Gem file names (for you, Paul Duncan :)
4331
- * Erik Veenstra's patch for making Gem versions sortable.
4332
-
4333
- === 0.8.3 / 2004-12-07
4334
-
4335
- No real earth shattering news here, but there were a number of really
4336
- annoying issues involving other libraries that RubyGems depends upon.
4337
- 0.8.3 contains some workarounds for these issues. In particular:
4338
-
4339
- * Added workaround for the null byte in Dir string issue. (see
4340
- http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/121702).
4341
- (Thanks to Mauricio Fernández for the quick response on this one).
4342
- * Added workaround for old version of Zlib on windows that caused
4343
- Ruwiki to fail to install. (see
4344
- http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/121770)
4345
- * Added workaround for large YAML file issues. (We dynamically cut
4346
- down the size of the source index YAML file and seem to have worked
4347
- around immediate issues.
4348
-
4349
- There has been some minor usability enhancements and changes ...
4350
-
4351
- * A user specific source index cache can be used when the site-wide
4352
- cache is unwritable (i.e. because you are running as a non-admin).
4353
- This *greatly* speeds up gem commands run in non-admin mode when the
4354
- site-wide cache is out of date.
4355
- * The gem command now used an HTTP HEAD command to detect if the
4356
- server's source index needs to be downloaed.
4357
- * gem check gemname --test will run unit tests on installed gems that
4358
- have unit tests.
4359
- * Multiple gem names are allowed on the gem install command line.
4360
- This means you can do:
4361
-
4362
- gem install rake rails needle postgres-pr pimki
4363
-
4364
- (Ok, you get the idea)
4365
- * Multiple authors my be specified in a Gem spec.
4366
- * Switched to using setup.rb (rather than a custom install script) for
4367
- the installation of RubyGems itself. If you have installed RubyGems
4368
- before, double check the installation instructions and make sure you
4369
- use setup.rb instead of install.rb.
4370
- * Ryan Davis has provided a patch so you can use an env variable
4371
- (GEM_SKIP), to tell loadpath_manager not to load gems of those
4372
- names. This was useful for him while testing libs that he had in
4373
- development.
4374
-
4375
- === 0.8.1 / 2004-09-17
4376
-
4377
- * Quick release to capture some bug fixes.
4378
-
4379
- === 0.8.0 / 2004-09-15
4380
-
4381
- * Remove need for library stubs. Set the RUBYOPT environment variable to
4382
- include "rrubygems", and a normal require will find gem files. Continue to
4383
- use 'require_gem gem_name, version' to specify gem versions.
4384
- * Deprecated "test_suite_file" gemspec attribute in favor of "test_files" array.
4385
- * Generates rdoc by default on installs.
4386
- * Adopted tar/gzip file format, thanks to Mauricio Fernandez.
4387
- * "gem rdoc" allows generation of rdoc after gem installation (will add a "gem
4388
- test"
4389
- * Application stubs can now accept an optional parameter of _VERSION_ that will
4390
- run an arbitrary version of the application requested.
4391
- * Various bug fixes
4392
- * Various platform-independency improvements
4393
- * "gem spec --all" displays spec info for all installed version of a given gem.
4394
- * Dynamic caching of sources
4395
- * Support for user-definable sources on the command line (thanks Assaph Mehr)
4396
- * More intelligent support for platform-dependent gems. Use Platform::CURRENT
4397
- when building a gem to set its platform to the one you're building on.
4398
- Installation displays a choice of platform-dependent gems, allowing the user
4399
- to pick.
4400
- * Added "gem unpack" for "unpacking" a gem to the current directory
4401
-
4402
- === 0.7.0 / 2004-07-09
4403
-
4404
- See ChangeLog
4405
-
4406
- === 0.6.1 / 2004-06-08
4407
-
4408
- See ChangeLog
4409
-
4410
- === 0.6.0 / 2004-06-08
4411
-
4412
- * Collapse output of --search and --list (and gem_server) operations so that
4413
- each gem is listed only once, with each of its versions listed on the same
4414
- line.
4415
- * bin/gem: new --upgrade-all option allows one to upgrade every installed gem
4416
- * new #required_ruby_version attribute added to gem specification for
4417
- specifying a dependency on which version of ruby the gem needs. Format it
4418
- accepts is the same as the Gem::Version::Requirement format:
4419
-
4420
- spec.required_ruby_version = "> 1.8.0"
4421
- * --install-stub defaults to true, so library stubs are created
4422
-
4423
- === 0.5.0 / 2004-06-06
4424
-
4425
- * Jim added the ability to specify version constraints to avoid API
4426
- incompatibilities. This has been the subject of much debate for the past
4427
- couple of months, with many ideas and code contributed by Eivind Eklund and
4428
- Mauricio Fernandez. The following set of assertions shows how it works:
4429
-
4430
- assert_inadequate("1.3", "~> 1.4")
4431
- assert_adequate( "1.4", "~> 1.4")
4432
- assert_adequate( "1.5", "~> 1.4")
4433
- assert_inadequate("2.0", "~> 1.4") # This one is key--the new operator
4434
- # disallows major version number
4435
- # differences.
4436
- * Group gem search output when multiple versions exist for a given gem:
4437
-
4438
- activerecord (0.7.8, 0.7.7, 0.7.6, 0.7.5)
4439
- Implements the ActiveRecord pattern for ORM.
4440
- * Add arbitrary RDoc-able files via gemspec (not just Ruby source files) for
4441
- people who have, for example, README.rdoc in their distributions. Add to
4442
- gemspec via: spec.extra_rdoc_files = ["list", "of", "files"]. Ruby files are
4443
- automatically included.
4444
- * Some small bug fixes
4445
-
4446
- === 0.4.0 / 2004-05-30
4447
-
4448
- * Minor bug fixes including Windows compatibility issues
4449
-
4450
- === 0.3.0 / 2004-04-30
4451
-
4452
- * Cleanup of command-line arguments and handling. Most commands accept a
4453
- --local or --remote modifier.
4454
- * Creation of Application Gems (packages that include executable programs).
4455
- See http://rubygems.rubyforge.org/wiki/wiki.pl?DeveloperGuide for information
4456
- on how to use it.
4457
- * Basic functionality for installing binary gems from source (:extensions
4458
- property of gem specification holds an array of paths to extconf.rb files to
4459
- be used for compilation)
4460
- * Install library "stub" allowing a normal 'require' to work (which then does
4461
- the rubygems require and 'require_gem'
4462
- * --run-tests runs the test suite specified by the "test_suite_file" property
4463
- of a gem specification
4464
- * HTTP Proxy support works. Rewrite of HTTP code.
4465
- * Unit and functional tests added (see Rakefile).
4466
- * Prompt before remote-installing dependencies during gem installation.
4467
- * Config file for storing preferences for 'gem' command usage.
4468
- * Generally improved error messages (still more work to do)
4469
- * Rearranged gem directory structure for cleanliness.
4470
-
4471
- === 0.2.0 / 2004-03-14
4472
-
4473
- * Initial public release