rubygems-update 2.6.0 → 3.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (812) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +5941 -0
  3. data/CODE_OF_CONDUCT.md +76 -35
  4. data/CONTRIBUTING.md +231 -0
  5. data/MAINTAINERS.txt +8 -0
  6. data/Manifest.txt +439 -216
  7. data/POLICIES.md +135 -0
  8. data/README.md +112 -0
  9. data/UPGRADING.md +15 -0
  10. data/bundler/CHANGELOG.md +4753 -0
  11. data/bundler/LICENSE.md +22 -0
  12. data/bundler/README.md +58 -0
  13. data/bundler/UPGRADING.md +222 -0
  14. data/bundler/bundler.gemspec +46 -0
  15. data/bundler/exe/bundle +29 -0
  16. data/bundler/exe/bundler +4 -0
  17. data/bundler/lib/bundler/.document +1 -0
  18. data/bundler/lib/bundler/build_metadata.rb +45 -0
  19. data/bundler/lib/bundler/capistrano.rb +22 -0
  20. data/bundler/lib/bundler/checksum.rb +254 -0
  21. data/bundler/lib/bundler/ci_detector.rb +75 -0
  22. data/bundler/lib/bundler/cli/add.rb +47 -0
  23. data/bundler/lib/bundler/cli/binstubs.rb +57 -0
  24. data/bundler/lib/bundler/cli/cache.rb +43 -0
  25. data/bundler/lib/bundler/cli/check.rb +40 -0
  26. data/bundler/lib/bundler/cli/clean.rb +25 -0
  27. data/bundler/lib/bundler/cli/common.rb +138 -0
  28. data/bundler/lib/bundler/cli/config.rb +204 -0
  29. data/bundler/lib/bundler/cli/console.rb +44 -0
  30. data/bundler/lib/bundler/cli/doctor.rb +157 -0
  31. data/bundler/lib/bundler/cli/exec.rb +88 -0
  32. data/bundler/lib/bundler/cli/fund.rb +36 -0
  33. data/bundler/lib/bundler/cli/gem.rb +471 -0
  34. data/bundler/lib/bundler/cli/info.rb +83 -0
  35. data/bundler/lib/bundler/cli/init.rb +51 -0
  36. data/bundler/lib/bundler/cli/inject.rb +60 -0
  37. data/bundler/lib/bundler/cli/install.rb +190 -0
  38. data/bundler/lib/bundler/cli/issue.rb +41 -0
  39. data/bundler/lib/bundler/cli/list.rb +66 -0
  40. data/bundler/lib/bundler/cli/lock.rb +73 -0
  41. data/bundler/lib/bundler/cli/open.rb +29 -0
  42. data/bundler/lib/bundler/cli/outdated.rb +297 -0
  43. data/bundler/lib/bundler/cli/platform.rb +48 -0
  44. data/bundler/lib/bundler/cli/plugin.rb +34 -0
  45. data/bundler/lib/bundler/cli/pristine.rb +60 -0
  46. data/bundler/lib/bundler/cli/remove.rb +17 -0
  47. data/bundler/lib/bundler/cli/show.rb +75 -0
  48. data/bundler/lib/bundler/cli/update.rb +123 -0
  49. data/bundler/lib/bundler/cli/viz.rb +31 -0
  50. data/bundler/lib/bundler/cli.rb +846 -0
  51. data/bundler/lib/bundler/compact_index_client/cache.rb +121 -0
  52. data/bundler/lib/bundler/compact_index_client/cache_file.rb +153 -0
  53. data/bundler/lib/bundler/compact_index_client/gem_parser.rb +32 -0
  54. data/bundler/lib/bundler/compact_index_client/updater.rb +115 -0
  55. data/bundler/lib/bundler/compact_index_client.rb +126 -0
  56. data/bundler/lib/bundler/constants.rb +7 -0
  57. data/bundler/lib/bundler/current_ruby.rb +92 -0
  58. data/bundler/lib/bundler/definition.rb +1015 -0
  59. data/bundler/lib/bundler/dependency.rb +105 -0
  60. data/bundler/lib/bundler/deployment.rb +69 -0
  61. data/bundler/lib/bundler/deprecate.rb +44 -0
  62. data/bundler/lib/bundler/digest.rb +71 -0
  63. data/bundler/lib/bundler/dsl.rb +604 -0
  64. data/bundler/lib/bundler/endpoint_specification.rb +147 -0
  65. data/bundler/lib/bundler/env.rb +148 -0
  66. data/bundler/lib/bundler/environment_preserver.rb +86 -0
  67. data/bundler/lib/bundler/errors.rb +233 -0
  68. data/bundler/lib/bundler/feature_flag.rb +53 -0
  69. data/bundler/lib/bundler/fetcher/base.rb +52 -0
  70. data/bundler/lib/bundler/fetcher/compact_index.rb +129 -0
  71. data/bundler/lib/bundler/fetcher/dependency.rb +78 -0
  72. data/bundler/lib/bundler/fetcher/downloader.rb +91 -0
  73. data/bundler/lib/bundler/fetcher/gem_remote_fetcher.rb +16 -0
  74. data/bundler/lib/bundler/fetcher/index.rb +25 -0
  75. data/bundler/lib/bundler/fetcher.rb +324 -0
  76. data/bundler/lib/bundler/force_platform.rb +18 -0
  77. data/bundler/lib/bundler/friendly_errors.rb +126 -0
  78. data/bundler/lib/bundler/gem_helper.rb +237 -0
  79. data/bundler/lib/bundler/gem_helpers.rb +127 -0
  80. data/bundler/lib/bundler/gem_tasks.rb +7 -0
  81. data/bundler/lib/bundler/gem_version_promoter.rb +145 -0
  82. data/bundler/lib/bundler/graph.rb +152 -0
  83. data/bundler/lib/bundler/index.rb +205 -0
  84. data/bundler/lib/bundler/injector.rb +287 -0
  85. data/bundler/lib/bundler/inline.rb +73 -0
  86. data/bundler/lib/bundler/installer/gem_installer.rb +84 -0
  87. data/bundler/lib/bundler/installer/parallel_installer.rb +202 -0
  88. data/bundler/lib/bundler/installer/standalone.rb +116 -0
  89. data/bundler/lib/bundler/installer.rb +267 -0
  90. data/bundler/lib/bundler/lazy_specification.rb +172 -0
  91. data/bundler/lib/bundler/lockfile_generator.rb +104 -0
  92. data/bundler/lib/bundler/lockfile_parser.rb +289 -0
  93. data/bundler/lib/bundler/man/.document +1 -0
  94. data/bundler/lib/bundler/man/bundle-add.1 +59 -0
  95. data/bundler/lib/bundler/man/bundle-add.1.ronn +58 -0
  96. data/bundler/lib/bundler/man/bundle-binstubs.1 +30 -0
  97. data/bundler/lib/bundler/man/bundle-binstubs.1.ronn +41 -0
  98. data/bundler/lib/bundler/man/bundle-cache.1 +40 -0
  99. data/bundler/lib/bundler/man/bundle-cache.1.ronn +79 -0
  100. data/bundler/lib/bundler/man/bundle-check.1 +22 -0
  101. data/bundler/lib/bundler/man/bundle-check.1.ronn +26 -0
  102. data/bundler/lib/bundler/man/bundle-clean.1 +17 -0
  103. data/bundler/lib/bundler/man/bundle-clean.1.ronn +18 -0
  104. data/bundler/lib/bundler/man/bundle-config.1 +321 -0
  105. data/bundler/lib/bundler/man/bundle-config.1.ronn +411 -0
  106. data/bundler/lib/bundler/man/bundle-console.1 +35 -0
  107. data/bundler/lib/bundler/man/bundle-console.1.ronn +44 -0
  108. data/bundler/lib/bundler/man/bundle-doctor.1 +30 -0
  109. data/bundler/lib/bundler/man/bundle-doctor.1.ronn +33 -0
  110. data/bundler/lib/bundler/man/bundle-exec.1 +104 -0
  111. data/bundler/lib/bundler/man/bundle-exec.1.ronn +151 -0
  112. data/bundler/lib/bundler/man/bundle-gem.1 +69 -0
  113. data/bundler/lib/bundler/man/bundle-gem.1.ronn +117 -0
  114. data/bundler/lib/bundler/man/bundle-help.1 +9 -0
  115. data/bundler/lib/bundler/man/bundle-help.1.ronn +12 -0
  116. data/bundler/lib/bundler/man/bundle-info.1 +14 -0
  117. data/bundler/lib/bundler/man/bundle-info.1.ronn +17 -0
  118. data/bundler/lib/bundler/man/bundle-init.1 +20 -0
  119. data/bundler/lib/bundler/man/bundle-init.1.ronn +31 -0
  120. data/bundler/lib/bundler/man/bundle-inject.1 +23 -0
  121. data/bundler/lib/bundler/man/bundle-inject.1.ronn +24 -0
  122. data/bundler/lib/bundler/man/bundle-install.1 +215 -0
  123. data/bundler/lib/bundler/man/bundle-install.1.ronn +383 -0
  124. data/bundler/lib/bundler/man/bundle-list.1 +35 -0
  125. data/bundler/lib/bundler/man/bundle-list.1.ronn +33 -0
  126. data/bundler/lib/bundler/man/bundle-lock.1 +60 -0
  127. data/bundler/lib/bundler/man/bundle-lock.1.ronn +94 -0
  128. data/bundler/lib/bundler/man/bundle-open.1 +32 -0
  129. data/bundler/lib/bundler/man/bundle-open.1.ronn +27 -0
  130. data/bundler/lib/bundler/man/bundle-outdated.1 +100 -0
  131. data/bundler/lib/bundler/man/bundle-outdated.1.ronn +106 -0
  132. data/bundler/lib/bundler/man/bundle-platform.1 +49 -0
  133. data/bundler/lib/bundler/man/bundle-platform.1.ronn +49 -0
  134. data/bundler/lib/bundler/man/bundle-plugin.1 +55 -0
  135. data/bundler/lib/bundler/man/bundle-plugin.1.ronn +59 -0
  136. data/bundler/lib/bundler/man/bundle-pristine.1 +23 -0
  137. data/bundler/lib/bundler/man/bundle-pristine.1.ronn +34 -0
  138. data/bundler/lib/bundler/man/bundle-remove.1 +21 -0
  139. data/bundler/lib/bundler/man/bundle-remove.1.ronn +23 -0
  140. data/bundler/lib/bundler/man/bundle-show.1 +16 -0
  141. data/bundler/lib/bundler/man/bundle-show.1.ronn +21 -0
  142. data/bundler/lib/bundler/man/bundle-update.1 +275 -0
  143. data/bundler/lib/bundler/man/bundle-update.1.ronn +351 -0
  144. data/bundler/lib/bundler/man/bundle-version.1 +22 -0
  145. data/bundler/lib/bundler/man/bundle-version.1.ronn +24 -0
  146. data/bundler/lib/bundler/man/bundle-viz.1 +30 -0
  147. data/bundler/lib/bundler/man/bundle-viz.1.ronn +32 -0
  148. data/bundler/lib/bundler/man/bundle.1 +102 -0
  149. data/bundler/lib/bundler/man/bundle.1.ronn +116 -0
  150. data/bundler/lib/bundler/man/gemfile.5 +470 -0
  151. data/bundler/lib/bundler/man/gemfile.5.ronn +552 -0
  152. data/bundler/lib/bundler/man/index.txt +29 -0
  153. data/bundler/lib/bundler/match_metadata.rb +17 -0
  154. data/bundler/lib/bundler/match_platform.rb +23 -0
  155. data/bundler/lib/bundler/match_remote_metadata.rb +29 -0
  156. data/bundler/lib/bundler/mirror.rb +221 -0
  157. data/bundler/lib/bundler/plugin/api/source.rb +321 -0
  158. data/bundler/lib/bundler/plugin/api.rb +81 -0
  159. data/bundler/lib/bundler/plugin/dsl.rb +53 -0
  160. data/bundler/lib/bundler/plugin/events.rb +61 -0
  161. data/bundler/lib/bundler/plugin/index.rb +193 -0
  162. data/bundler/lib/bundler/plugin/installer/git.rb +34 -0
  163. data/bundler/lib/bundler/plugin/installer/rubygems.rb +19 -0
  164. data/bundler/lib/bundler/plugin/installer.rb +112 -0
  165. data/bundler/lib/bundler/plugin/source_list.rb +31 -0
  166. data/bundler/lib/bundler/plugin.rb +359 -0
  167. data/bundler/lib/bundler/process_lock.rb +24 -0
  168. data/bundler/lib/bundler/remote_specification.rb +121 -0
  169. data/bundler/lib/bundler/resolver/base.rb +107 -0
  170. data/bundler/lib/bundler/resolver/candidate.rb +94 -0
  171. data/bundler/lib/bundler/resolver/incompatibility.rb +15 -0
  172. data/bundler/lib/bundler/resolver/package.rb +77 -0
  173. data/bundler/lib/bundler/resolver/root.rb +25 -0
  174. data/bundler/lib/bundler/resolver/spec_group.rb +79 -0
  175. data/bundler/lib/bundler/resolver.rb +462 -0
  176. data/bundler/lib/bundler/retry.rb +66 -0
  177. data/bundler/lib/bundler/ruby_dsl.rb +53 -0
  178. data/bundler/lib/bundler/ruby_version.rb +131 -0
  179. data/bundler/lib/bundler/rubygems_ext.rb +328 -0
  180. data/bundler/lib/bundler/rubygems_gem_installer.rb +137 -0
  181. data/bundler/lib/bundler/rubygems_integration.rb +493 -0
  182. data/bundler/lib/bundler/runtime.rb +307 -0
  183. data/bundler/lib/bundler/safe_marshal.rb +31 -0
  184. data/bundler/lib/bundler/self_manager.rb +186 -0
  185. data/bundler/lib/bundler/settings/validator.rb +102 -0
  186. data/bundler/lib/bundler/settings.rb +588 -0
  187. data/bundler/lib/bundler/setup.rb +33 -0
  188. data/bundler/lib/bundler/shared_helpers.rb +380 -0
  189. data/bundler/lib/bundler/similarity_detector.rb +63 -0
  190. data/bundler/lib/bundler/source/gemspec.rb +18 -0
  191. data/bundler/lib/bundler/source/git/git_proxy.rb +455 -0
  192. data/bundler/lib/bundler/source/git.rb +380 -0
  193. data/bundler/lib/bundler/source/metadata.rb +62 -0
  194. data/bundler/lib/bundler/source/path/installer.rb +53 -0
  195. data/bundler/lib/bundler/source/path.rb +261 -0
  196. data/bundler/lib/bundler/source/rubygems/remote.rb +68 -0
  197. data/bundler/lib/bundler/source/rubygems.rb +516 -0
  198. data/bundler/lib/bundler/source/rubygems_aggregate.rb +68 -0
  199. data/bundler/lib/bundler/source.rb +116 -0
  200. data/bundler/lib/bundler/source_list.rb +227 -0
  201. data/bundler/lib/bundler/source_map.rb +71 -0
  202. data/bundler/lib/bundler/spec_set.rb +296 -0
  203. data/bundler/lib/bundler/stub_specification.rb +119 -0
  204. data/bundler/lib/bundler/templates/.document +1 -0
  205. data/bundler/lib/bundler/templates/Executable +27 -0
  206. data/bundler/lib/bundler/templates/Executable.bundler +109 -0
  207. data/bundler/lib/bundler/templates/Executable.standalone +14 -0
  208. data/bundler/lib/bundler/templates/Gemfile +5 -0
  209. data/bundler/lib/bundler/templates/newgem/CHANGELOG.md.tt +5 -0
  210. data/bundler/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +84 -0
  211. data/bundler/lib/bundler/templates/newgem/Cargo.toml.tt +7 -0
  212. data/bundler/lib/bundler/templates/newgem/Gemfile.tt +26 -0
  213. data/bundler/lib/bundler/templates/newgem/LICENSE.txt.tt +21 -0
  214. data/bundler/lib/bundler/templates/newgem/README.md.tt +45 -0
  215. data/bundler/lib/bundler/templates/newgem/Rakefile.tt +67 -0
  216. data/bundler/lib/bundler/templates/newgem/bin/console.tt +11 -0
  217. data/bundler/lib/bundler/templates/newgem/bin/setup.tt +8 -0
  218. data/bundler/lib/bundler/templates/newgem/circleci/config.yml.tt +25 -0
  219. data/bundler/lib/bundler/templates/newgem/exe/newgem.tt +3 -0
  220. data/bundler/lib/bundler/templates/newgem/ext/newgem/Cargo.toml.tt +15 -0
  221. data/bundler/lib/bundler/templates/newgem/ext/newgem/extconf-c.rb.tt +10 -0
  222. data/bundler/lib/bundler/templates/newgem/ext/newgem/extconf-rust.rb.tt +6 -0
  223. data/bundler/lib/bundler/templates/newgem/ext/newgem/newgem.c.tt +9 -0
  224. data/bundler/lib/bundler/templates/newgem/ext/newgem/newgem.h.tt +6 -0
  225. data/bundler/lib/bundler/templates/newgem/ext/newgem/src/lib.rs.tt +12 -0
  226. data/bundler/lib/bundler/templates/newgem/github/workflows/main.yml.tt +37 -0
  227. data/bundler/lib/bundler/templates/newgem/gitignore.tt +23 -0
  228. data/bundler/lib/bundler/templates/newgem/gitlab-ci.yml.tt +18 -0
  229. data/bundler/lib/bundler/templates/newgem/lib/newgem/version.rb.tt +9 -0
  230. data/bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt +15 -0
  231. data/bundler/lib/bundler/templates/newgem/newgem.gemspec.tt +51 -0
  232. data/bundler/lib/bundler/templates/newgem/rspec.tt +3 -0
  233. data/bundler/lib/bundler/templates/newgem/rubocop.yml.tt +13 -0
  234. data/bundler/lib/bundler/templates/newgem/sig/newgem.rbs.tt +8 -0
  235. data/bundler/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt +11 -0
  236. data/bundler/lib/bundler/templates/newgem/spec/spec_helper.rb.tt +15 -0
  237. data/bundler/lib/bundler/templates/newgem/standard.yml.tt +3 -0
  238. data/bundler/lib/bundler/templates/newgem/test/minitest/test_helper.rb.tt +6 -0
  239. data/bundler/lib/bundler/templates/newgem/test/minitest/test_newgem.rb.tt +13 -0
  240. data/bundler/lib/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt +15 -0
  241. data/bundler/lib/bundler/templates/newgem/test/test-unit/test_helper.rb.tt +6 -0
  242. data/bundler/lib/bundler/ui/rg_proxy.rb +19 -0
  243. data/bundler/lib/bundler/ui/shell.rb +165 -0
  244. data/bundler/lib/bundler/ui/silent.rb +85 -0
  245. data/bundler/lib/bundler/ui.rb +9 -0
  246. data/bundler/lib/bundler/uri_credentials_filter.rb +43 -0
  247. data/bundler/lib/bundler/uri_normalizer.rb +23 -0
  248. data/bundler/lib/bundler/vendor/.document +1 -0
  249. data/bundler/lib/bundler/vendor/connection_pool/.document +1 -0
  250. data/bundler/lib/bundler/vendor/connection_pool/LICENSE +20 -0
  251. data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +174 -0
  252. data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb +3 -0
  253. data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb +56 -0
  254. data/bundler/lib/bundler/vendor/connection_pool/lib/connection_pool.rb +175 -0
  255. data/bundler/lib/bundler/vendor/fileutils/.document +1 -0
  256. data/bundler/lib/bundler/vendor/fileutils/LICENSE.txt +22 -0
  257. data/bundler/lib/bundler/vendor/fileutils/lib/fileutils.rb +2694 -0
  258. data/bundler/lib/bundler/vendor/net-http-persistent/.document +1 -0
  259. data/bundler/lib/bundler/vendor/net-http-persistent/README.rdoc +82 -0
  260. data/bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb +41 -0
  261. data/bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb +65 -0
  262. data/bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb +79 -0
  263. data/bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +1073 -0
  264. data/bundler/lib/bundler/vendor/pub_grub/.document +1 -0
  265. data/bundler/lib/bundler/vendor/pub_grub/LICENSE.txt +21 -0
  266. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/assignment.rb +20 -0
  267. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/basic_package_source.rb +189 -0
  268. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/failure_writer.rb +182 -0
  269. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/incompatibility.rb +150 -0
  270. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/package.rb +43 -0
  271. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/partial_solution.rb +121 -0
  272. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/rubygems.rb +45 -0
  273. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb +19 -0
  274. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/static_package_source.rb +60 -0
  275. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/term.rb +105 -0
  276. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/version.rb +3 -0
  277. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/version_constraint.rb +129 -0
  278. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/version_range.rb +411 -0
  279. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb +248 -0
  280. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub/version_union.rb +178 -0
  281. data/bundler/lib/bundler/vendor/pub_grub/lib/pub_grub.rb +31 -0
  282. data/bundler/lib/bundler/vendor/thor/.document +1 -0
  283. data/bundler/lib/bundler/vendor/thor/LICENSE.md +20 -0
  284. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/create_file.rb +105 -0
  285. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +61 -0
  286. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/directory.rb +108 -0
  287. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +143 -0
  288. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +373 -0
  289. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +130 -0
  290. data/bundler/lib/bundler/vendor/thor/lib/thor/actions.rb +340 -0
  291. data/bundler/lib/bundler/vendor/thor/lib/thor/base.rb +825 -0
  292. data/bundler/lib/bundler/vendor/thor/lib/thor/command.rb +151 -0
  293. data/bundler/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +107 -0
  294. data/bundler/lib/bundler/vendor/thor/lib/thor/error.rb +106 -0
  295. data/bundler/lib/bundler/vendor/thor/lib/thor/group.rb +281 -0
  296. data/bundler/lib/bundler/vendor/thor/lib/thor/invocation.rb +178 -0
  297. data/bundler/lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb +37 -0
  298. data/bundler/lib/bundler/vendor/thor/lib/thor/line_editor/readline.rb +88 -0
  299. data/bundler/lib/bundler/vendor/thor/lib/thor/line_editor.rb +17 -0
  300. data/bundler/lib/bundler/vendor/thor/lib/thor/nested_context.rb +29 -0
  301. data/bundler/lib/bundler/vendor/thor/lib/thor/parser/argument.rb +89 -0
  302. data/bundler/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +195 -0
  303. data/bundler/lib/bundler/vendor/thor/lib/thor/parser/option.rb +178 -0
  304. data/bundler/lib/bundler/vendor/thor/lib/thor/parser/options.rb +293 -0
  305. data/bundler/lib/bundler/vendor/thor/lib/thor/parser.rb +4 -0
  306. data/bundler/lib/bundler/vendor/thor/lib/thor/rake_compat.rb +72 -0
  307. data/bundler/lib/bundler/vendor/thor/lib/thor/runner.rb +335 -0
  308. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +388 -0
  309. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/color.rb +112 -0
  310. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/column_printer.rb +29 -0
  311. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/html.rb +81 -0
  312. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/table_printer.rb +134 -0
  313. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/terminal.rb +42 -0
  314. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/wrapped_printer.rb +38 -0
  315. data/bundler/lib/bundler/vendor/thor/lib/thor/shell.rb +81 -0
  316. data/bundler/lib/bundler/vendor/thor/lib/thor/util.rb +285 -0
  317. data/bundler/lib/bundler/vendor/thor/lib/thor/version.rb +3 -0
  318. data/bundler/lib/bundler/vendor/thor/lib/thor.rb +663 -0
  319. data/bundler/lib/bundler/vendor/tsort/.document +1 -0
  320. data/bundler/lib/bundler/vendor/tsort/LICENSE.txt +22 -0
  321. data/bundler/lib/bundler/vendor/tsort/lib/tsort.rb +455 -0
  322. data/bundler/lib/bundler/vendor/uri/.document +1 -0
  323. data/bundler/lib/bundler/vendor/uri/LICENSE.txt +22 -0
  324. data/bundler/lib/bundler/vendor/uri/lib/uri/common.rb +853 -0
  325. data/bundler/lib/bundler/vendor/uri/lib/uri/file.rb +100 -0
  326. data/bundler/lib/bundler/vendor/uri/lib/uri/ftp.rb +267 -0
  327. data/bundler/lib/bundler/vendor/uri/lib/uri/generic.rb +1588 -0
  328. data/bundler/lib/bundler/vendor/uri/lib/uri/http.rb +125 -0
  329. data/bundler/lib/bundler/vendor/uri/lib/uri/https.rb +23 -0
  330. data/bundler/lib/bundler/vendor/uri/lib/uri/ldap.rb +261 -0
  331. data/bundler/lib/bundler/vendor/uri/lib/uri/ldaps.rb +22 -0
  332. data/bundler/lib/bundler/vendor/uri/lib/uri/mailto.rb +293 -0
  333. data/bundler/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +539 -0
  334. data/bundler/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +183 -0
  335. data/bundler/lib/bundler/vendor/uri/lib/uri/version.rb +6 -0
  336. data/bundler/lib/bundler/vendor/uri/lib/uri/ws.rb +83 -0
  337. data/bundler/lib/bundler/vendor/uri/lib/uri/wss.rb +23 -0
  338. data/bundler/lib/bundler/vendor/uri/lib/uri.rb +104 -0
  339. data/bundler/lib/bundler/vendored_fileutils.rb +4 -0
  340. data/bundler/lib/bundler/vendored_net_http.rb +8 -0
  341. data/bundler/lib/bundler/vendored_persistent.rb +11 -0
  342. data/bundler/lib/bundler/vendored_pub_grub.rb +4 -0
  343. data/bundler/lib/bundler/vendored_thor.rb +8 -0
  344. data/bundler/lib/bundler/vendored_timeout.rb +8 -0
  345. data/bundler/lib/bundler/vendored_tsort.rb +4 -0
  346. data/bundler/lib/bundler/vendored_uri.rb +4 -0
  347. data/bundler/lib/bundler/version.rb +13 -0
  348. data/bundler/lib/bundler/vlad.rb +17 -0
  349. data/bundler/lib/bundler/worker.rb +117 -0
  350. data/bundler/lib/bundler/yaml_serializer.rb +93 -0
  351. data/bundler/lib/bundler.rb +663 -0
  352. data/{test/rubygems/bogussources.rb → exe/gem} +5 -2
  353. data/exe/update_rubygems +38 -0
  354. data/hide_lib_for_update/note.txt +0 -4
  355. data/lib/rubygems/available_set.rb +12 -12
  356. data/lib/rubygems/basic_specification.rb +82 -59
  357. data/lib/rubygems/bundler_version_finder.rb +77 -0
  358. data/lib/rubygems/ci_detector.rb +75 -0
  359. data/lib/rubygems/command.rb +144 -71
  360. data/lib/rubygems/command_manager.rb +64 -27
  361. data/lib/rubygems/commands/build_command.rb +88 -17
  362. data/lib/rubygems/commands/cert_command.rb +131 -83
  363. data/lib/rubygems/commands/check_command.rb +30 -27
  364. data/lib/rubygems/commands/cleanup_command.rb +57 -40
  365. data/lib/rubygems/commands/contents_command.rb +37 -39
  366. data/lib/rubygems/commands/dependency_command.rb +53 -65
  367. data/lib/rubygems/commands/environment_command.rb +32 -16
  368. data/lib/rubygems/commands/exec_command.rb +249 -0
  369. data/lib/rubygems/commands/fetch_command.rb +36 -19
  370. data/lib/rubygems/commands/generate_index_command.rb +40 -74
  371. data/lib/rubygems/commands/help_command.rb +22 -22
  372. data/lib/rubygems/commands/info_command.rb +38 -0
  373. data/lib/rubygems/commands/install_command.rb +67 -143
  374. data/lib/rubygems/commands/list_command.rb +10 -9
  375. data/lib/rubygems/commands/lock_command.rb +12 -14
  376. data/lib/rubygems/commands/mirror_command.rb +4 -4
  377. data/lib/rubygems/commands/open_command.rb +28 -26
  378. data/lib/rubygems/commands/outdated_command.rb +6 -6
  379. data/lib/rubygems/commands/owner_command.rb +51 -27
  380. data/lib/rubygems/commands/pristine_command.rb +99 -71
  381. data/lib/rubygems/commands/push_command.rb +53 -46
  382. data/lib/rubygems/commands/query_command.rb +21 -328
  383. data/lib/rubygems/commands/rdoc_command.rb +33 -33
  384. data/lib/rubygems/commands/search_command.rb +9 -9
  385. data/lib/rubygems/commands/server_command.rb +15 -76
  386. data/lib/rubygems/commands/setup_command.rb +370 -186
  387. data/lib/rubygems/commands/signin_command.rb +34 -0
  388. data/lib/rubygems/commands/signout_command.rb +32 -0
  389. data/lib/rubygems/commands/sources_command.rb +57 -41
  390. data/lib/rubygems/commands/specification_command.rb +38 -28
  391. data/lib/rubygems/commands/stale_command.rb +6 -5
  392. data/lib/rubygems/commands/uninstall_command.rb +96 -62
  393. data/lib/rubygems/commands/unpack_command.rb +44 -53
  394. data/lib/rubygems/commands/update_command.rb +153 -99
  395. data/lib/rubygems/commands/which_command.rb +14 -17
  396. data/lib/rubygems/commands/yank_command.rb +28 -32
  397. data/lib/rubygems/compatibility.rb +13 -32
  398. data/lib/rubygems/config_file.rb +214 -119
  399. data/lib/rubygems/core_ext/kernel_gem.rb +10 -16
  400. data/lib/rubygems/core_ext/kernel_require.rb +92 -90
  401. data/lib/rubygems/core_ext/kernel_warn.rb +49 -0
  402. data/lib/rubygems/core_ext/tcpsocket_init.rb +54 -0
  403. data/lib/rubygems/defaults.rb +184 -54
  404. data/lib/rubygems/dependency.rb +75 -62
  405. data/lib/rubygems/dependency_installer.rb +74 -230
  406. data/lib/rubygems/dependency_list.rb +32 -33
  407. data/lib/rubygems/deprecate.rb +113 -17
  408. data/lib/rubygems/doctor.rb +31 -31
  409. data/lib/rubygems/errors.rb +51 -13
  410. data/lib/rubygems/exceptions.rb +65 -35
  411. data/lib/rubygems/ext/build_error.rb +3 -1
  412. data/lib/rubygems/ext/builder.rb +103 -77
  413. data/lib/rubygems/ext/cargo_builder/link_flag_converter.rb +27 -0
  414. data/lib/rubygems/ext/cargo_builder.rb +360 -0
  415. data/lib/rubygems/ext/cmake_builder.rb +6 -7
  416. data/lib/rubygems/ext/configure_builder.rb +6 -9
  417. data/lib/rubygems/ext/ext_conf_builder.rb +40 -61
  418. data/lib/rubygems/ext/rake_builder.rb +18 -21
  419. data/lib/rubygems/ext.rb +8 -7
  420. data/lib/rubygems/gem_runner.rb +19 -21
  421. data/lib/rubygems/gemcutter_utilities/webauthn_listener/response.rb +163 -0
  422. data/lib/rubygems/gemcutter_utilities/webauthn_listener.rb +105 -0
  423. data/lib/rubygems/gemcutter_utilities/webauthn_poller.rb +78 -0
  424. data/lib/rubygems/gemcutter_utilities.rb +246 -43
  425. data/lib/rubygems/install_default_message.rb +3 -3
  426. data/lib/rubygems/install_message.rb +3 -3
  427. data/lib/rubygems/install_update_options.rb +104 -98
  428. data/lib/rubygems/installer.rb +407 -225
  429. data/lib/rubygems/installer_uninstaller_utils.rb +27 -0
  430. data/lib/rubygems/local_remote_options.rb +29 -32
  431. data/lib/rubygems/name_tuple.rb +18 -23
  432. data/lib/rubygems/net/http.rb +3 -0
  433. data/lib/rubygems/net-http/.document +1 -0
  434. data/lib/rubygems/net-http/LICENSE.txt +22 -0
  435. data/lib/rubygems/net-http/lib/net/http/backward.rb +40 -0
  436. data/lib/rubygems/net-http/lib/net/http/exceptions.rb +34 -0
  437. data/lib/rubygems/net-http/lib/net/http/generic_request.rb +414 -0
  438. data/lib/rubygems/net-http/lib/net/http/header.rb +981 -0
  439. data/lib/rubygems/net-http/lib/net/http/proxy_delta.rb +17 -0
  440. data/lib/rubygems/net-http/lib/net/http/request.rb +88 -0
  441. data/lib/rubygems/net-http/lib/net/http/requests.rb +425 -0
  442. data/lib/rubygems/net-http/lib/net/http/response.rb +738 -0
  443. data/lib/rubygems/net-http/lib/net/http/responses.rb +1174 -0
  444. data/lib/rubygems/net-http/lib/net/http/status.rb +84 -0
  445. data/lib/rubygems/net-http/lib/net/http.rb +2496 -0
  446. data/lib/rubygems/net-http/lib/net/https.rb +23 -0
  447. data/lib/rubygems/net-protocol/.document +1 -0
  448. data/lib/rubygems/net-protocol/LICENSE.txt +22 -0
  449. data/lib/rubygems/net-protocol/lib/net/protocol.rb +544 -0
  450. data/lib/rubygems/openssl.rb +7 -0
  451. data/lib/rubygems/optparse/.document +1 -0
  452. data/lib/rubygems/optparse/COPYING +56 -0
  453. data/lib/rubygems/optparse/lib/optionparser.rb +2 -0
  454. data/lib/rubygems/optparse/lib/optparse/ac.rb +54 -0
  455. data/lib/rubygems/optparse/lib/optparse/date.rb +18 -0
  456. data/lib/rubygems/optparse/lib/optparse/kwargs.rb +22 -0
  457. data/lib/rubygems/optparse/lib/optparse/shellwords.rb +7 -0
  458. data/lib/rubygems/optparse/lib/optparse/time.rb +11 -0
  459. data/lib/rubygems/optparse/lib/optparse/uri.rb +7 -0
  460. data/lib/rubygems/optparse/lib/optparse/version.rb +71 -0
  461. data/lib/rubygems/optparse/lib/optparse.rb +2330 -0
  462. data/lib/rubygems/optparse.rb +3 -0
  463. data/lib/rubygems/package/digest_io.rb +5 -7
  464. data/lib/rubygems/package/file_source.rb +6 -8
  465. data/lib/rubygems/package/io_source.rb +6 -4
  466. data/lib/rubygems/package/old.rb +19 -28
  467. data/lib/rubygems/package/source.rb +1 -1
  468. data/lib/rubygems/package/tar_header.rb +114 -93
  469. data/lib/rubygems/package/tar_reader/entry.rb +116 -22
  470. data/lib/rubygems/package/tar_reader.rb +18 -40
  471. data/lib/rubygems/package/tar_writer.rb +42 -56
  472. data/lib/rubygems/package.rb +254 -144
  473. data/lib/rubygems/package_task.rb +8 -14
  474. data/lib/rubygems/path_support.rb +21 -16
  475. data/lib/rubygems/platform.rb +135 -74
  476. data/lib/rubygems/psych_tree.rb +3 -2
  477. data/lib/rubygems/query_utils.rb +349 -0
  478. data/lib/rubygems/rdoc.rb +4 -326
  479. data/lib/rubygems/remote_fetcher.rb +99 -181
  480. data/lib/rubygems/request/connection_pools.rb +31 -24
  481. data/lib/rubygems/request/http_pool.rb +6 -7
  482. data/lib/rubygems/request/https_pool.rb +2 -3
  483. data/lib/rubygems/request.rb +107 -57
  484. data/lib/rubygems/request_set/gem_dependency_api.rb +182 -190
  485. data/lib/rubygems/request_set/lockfile/parser.rb +42 -52
  486. data/lib/rubygems/request_set/lockfile/tokenizer.rb +34 -24
  487. data/lib/rubygems/request_set/lockfile.rb +32 -35
  488. data/lib/rubygems/request_set.rb +115 -71
  489. data/lib/rubygems/requirement.rb +77 -68
  490. data/lib/rubygems/resolv/.document +1 -0
  491. data/lib/rubygems/resolv/LICENSE.txt +22 -0
  492. data/lib/rubygems/resolv/lib/resolv.rb +3387 -0
  493. data/lib/rubygems/resolver/activation_request.rb +34 -61
  494. data/lib/rubygems/resolver/api_set/gem_parser.rb +24 -0
  495. data/lib/rubygems/resolver/api_set.rb +40 -32
  496. data/lib/rubygems/resolver/api_specification.rb +37 -18
  497. data/lib/rubygems/resolver/best_set.rb +15 -17
  498. data/lib/rubygems/resolver/composed_set.rb +9 -11
  499. data/lib/rubygems/resolver/conflict.rb +19 -33
  500. data/lib/rubygems/resolver/current_set.rb +2 -4
  501. data/lib/rubygems/resolver/dependency_request.rb +8 -9
  502. data/lib/rubygems/resolver/git_set.rb +8 -10
  503. data/lib/rubygems/resolver/git_specification.rb +11 -13
  504. data/lib/rubygems/resolver/index_set.rb +13 -15
  505. data/lib/rubygems/resolver/index_specification.rb +42 -11
  506. data/lib/rubygems/resolver/installed_specification.rb +9 -11
  507. data/lib/rubygems/resolver/installer_set.rb +93 -47
  508. data/lib/rubygems/resolver/local_specification.rb +5 -7
  509. data/lib/rubygems/resolver/lock_set.rb +13 -15
  510. data/lib/rubygems/resolver/lock_specification.rb +13 -15
  511. data/lib/rubygems/resolver/molinillo/.document +1 -0
  512. data/lib/rubygems/resolver/molinillo/LICENSE +9 -0
  513. data/lib/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb +57 -0
  514. data/lib/rubygems/resolver/molinillo/lib/molinillo/delegates/specification_provider.rb +88 -0
  515. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/action.rb +36 -0
  516. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +66 -0
  517. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +62 -0
  518. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +63 -0
  519. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +61 -0
  520. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/log.rb +126 -0
  521. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/set_payload.rb +46 -0
  522. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/tag.rb +36 -0
  523. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/vertex.rb +164 -0
  524. data/lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb +110 -146
  525. data/lib/rubygems/resolver/molinillo/lib/molinillo/errors.rb +83 -9
  526. data/lib/rubygems/resolver/molinillo/lib/molinillo/gem_metadata.rb +2 -1
  527. data/lib/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb +13 -1
  528. data/lib/rubygems/resolver/molinillo/lib/molinillo/modules/ui.rb +3 -1
  529. data/lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb +552 -172
  530. data/lib/rubygems/resolver/molinillo/lib/molinillo/resolver.rb +3 -2
  531. data/lib/rubygems/resolver/molinillo/lib/molinillo/state.rb +12 -6
  532. data/lib/rubygems/resolver/molinillo/lib/molinillo.rb +6 -5
  533. data/lib/rubygems/resolver/molinillo.rb +2 -1
  534. data/lib/rubygems/resolver/requirement_list.rb +2 -2
  535. data/lib/rubygems/resolver/set.rb +3 -5
  536. data/lib/rubygems/resolver/source_set.rb +6 -7
  537. data/lib/rubygems/resolver/spec_specification.rb +16 -4
  538. data/lib/rubygems/resolver/specification.rb +25 -10
  539. data/lib/rubygems/resolver/stats.rb +1 -0
  540. data/lib/rubygems/resolver/vendor_set.rb +6 -8
  541. data/lib/rubygems/resolver/vendor_specification.rb +6 -8
  542. data/lib/rubygems/resolver.rb +121 -72
  543. data/lib/rubygems/s3_uri_signer.rb +177 -0
  544. data/lib/rubygems/safe_marshal/elements.rb +146 -0
  545. data/lib/rubygems/safe_marshal/reader.rb +308 -0
  546. data/lib/rubygems/safe_marshal/visitors/stream_printer.rb +31 -0
  547. data/lib/rubygems/safe_marshal/visitors/to_ruby.rb +415 -0
  548. data/lib/rubygems/safe_marshal/visitors/visitor.rb +74 -0
  549. data/lib/rubygems/safe_marshal.rb +74 -0
  550. data/lib/rubygems/safe_yaml.rb +36 -0
  551. data/lib/rubygems/security/policies.rb +49 -51
  552. data/lib/rubygems/security/policy.rb +46 -53
  553. data/lib/rubygems/security/signer.rb +86 -29
  554. data/lib/rubygems/security/trust_dir.rb +22 -24
  555. data/lib/rubygems/security.rb +101 -82
  556. data/lib/rubygems/security_option.rb +43 -0
  557. data/lib/rubygems/shellwords.rb +3 -0
  558. data/lib/rubygems/source/git.rb +40 -42
  559. data/lib/rubygems/source/installed.rb +5 -9
  560. data/lib/rubygems/source/local.rb +30 -33
  561. data/lib/rubygems/source/lock.rb +10 -10
  562. data/lib/rubygems/source/specific_file.rb +7 -9
  563. data/lib/rubygems/source/vendor.rb +3 -7
  564. data/lib/rubygems/source.rb +78 -68
  565. data/lib/rubygems/source_list.rb +11 -15
  566. data/lib/rubygems/spec_fetcher.rb +71 -83
  567. data/lib/rubygems/specification.rb +833 -1115
  568. data/lib/rubygems/specification_policy.rb +538 -0
  569. data/lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA.pem +21 -0
  570. data/lib/rubygems/ssl_certs/rubygems.org/GlobalSignRootCA_R3.pem +21 -0
  571. data/lib/rubygems/stub_specification.rb +55 -57
  572. data/lib/rubygems/text.rb +39 -27
  573. data/lib/rubygems/timeout/.document +1 -0
  574. data/lib/rubygems/timeout/LICENSE.txt +22 -0
  575. data/lib/rubygems/timeout/lib/timeout.rb +199 -0
  576. data/lib/rubygems/timeout.rb +3 -0
  577. data/lib/rubygems/tsort/.document +1 -0
  578. data/lib/rubygems/tsort/LICENSE.txt +22 -0
  579. data/lib/rubygems/tsort/lib/tsort.rb +455 -0
  580. data/lib/rubygems/tsort.rb +3 -0
  581. data/lib/rubygems/uninstaller.rb +150 -87
  582. data/lib/rubygems/unknown_command_spell_checker.rb +21 -0
  583. data/lib/rubygems/update_suggestion.rb +56 -0
  584. data/lib/rubygems/uri.rb +126 -0
  585. data/lib/rubygems/uri_formatter.rb +4 -7
  586. data/lib/rubygems/user_interaction.rb +92 -146
  587. data/lib/rubygems/util/licenses.rb +712 -317
  588. data/lib/rubygems/util/list.rb +5 -2
  589. data/lib/rubygems/util.rb +58 -75
  590. data/lib/rubygems/validator.rb +26 -48
  591. data/lib/rubygems/version.rb +106 -56
  592. data/lib/rubygems/version_option.rb +22 -14
  593. data/lib/rubygems/yaml_serializer.rb +93 -0
  594. data/lib/rubygems.rb +453 -358
  595. data/rubygems-update.gemspec +38 -0
  596. data/setup.rb +13 -27
  597. metadata +511 -363
  598. data/.autotest +0 -71
  599. data/.document +0 -5
  600. data/.travis.yml +0 -46
  601. data/CONTRIBUTING.rdoc +0 -129
  602. data/CVE-2013-4287.txt +0 -35
  603. data/CVE-2013-4363.txt +0 -45
  604. data/CVE-2015-3900.txt +0 -40
  605. data/History.txt +0 -3094
  606. data/MAINTAINERS.md +0 -5
  607. data/POLICIES.rdoc +0 -61
  608. data/README.rdoc +0 -54
  609. data/Rakefile +0 -449
  610. data/UPGRADING.rdoc +0 -92
  611. data/appveyor.yml +0 -36
  612. data/bin/gem +0 -25
  613. data/bin/update_rubygems +0 -37
  614. data/lib/gauntlet_rubygems.rb +0 -51
  615. data/lib/rubygems/indexer.rb +0 -434
  616. data/lib/rubygems/installer_test_case.rb +0 -194
  617. data/lib/rubygems/mock_gem_ui.rb +0 -89
  618. data/lib/rubygems/package/tar_test_case.rb +0 -147
  619. data/lib/rubygems/psych_additions.rb +0 -10
  620. data/lib/rubygems/server.rb +0 -869
  621. data/lib/rubygems/source_local.rb +0 -6
  622. data/lib/rubygems/source_specific_file.rb +0 -5
  623. data/lib/rubygems/ssl_certs/AddTrustExternalCARoot-2048.pem +0 -25
  624. data/lib/rubygems/ssl_certs/AddTrustExternalCARoot.pem +0 -32
  625. data/lib/rubygems/ssl_certs/Class3PublicPrimaryCertificationAuthority.pem +0 -14
  626. data/lib/rubygems/ssl_certs/DigiCertHighAssuranceEVRootCA.pem +0 -23
  627. data/lib/rubygems/ssl_certs/EntrustnetSecureServerCertificationAuthority.pem +0 -28
  628. data/lib/rubygems/ssl_certs/GeoTrustGlobalCA.pem +0 -20
  629. data/lib/rubygems/syck_hack.rb +0 -77
  630. data/lib/rubygems/test_case.rb +0 -1496
  631. data/lib/rubygems/test_utilities.rb +0 -384
  632. data/lib/ubygems.rb +0 -11
  633. data/test/rubygems/alternate_cert.pem +0 -18
  634. data/test/rubygems/alternate_cert_32.pem +0 -18
  635. data/test/rubygems/alternate_key.pem +0 -27
  636. data/test/rubygems/bad_rake.rb +0 -2
  637. data/test/rubygems/ca_cert.pem +0 -68
  638. data/test/rubygems/child_cert.pem +0 -18
  639. data/test/rubygems/child_cert_32.pem +0 -18
  640. data/test/rubygems/child_key.pem +0 -27
  641. data/test/rubygems/client.pem +0 -49
  642. data/test/rubygems/data/gem-private_key.pem +0 -27
  643. data/test/rubygems/data/gem-public_cert.pem +0 -20
  644. data/test/rubygems/data/null-type.gemspec.rz +0 -0
  645. data/test/rubygems/encrypted_private_key.pem +0 -30
  646. data/test/rubygems/expired_cert.pem +0 -18
  647. data/test/rubygems/fake_certlib/openssl.rb +0 -8
  648. data/test/rubygems/fix_openssl_warnings.rb +0 -13
  649. data/test/rubygems/foo/discover.rb +0 -1
  650. data/test/rubygems/future_cert.pem +0 -18
  651. data/test/rubygems/future_cert_32.pem +0 -18
  652. data/test/rubygems/good_rake.rb +0 -2
  653. data/test/rubygems/grandchild_cert.pem +0 -18
  654. data/test/rubygems/grandchild_cert_32.pem +0 -18
  655. data/test/rubygems/grandchild_key.pem +0 -27
  656. data/test/rubygems/invalid_client.pem +0 -49
  657. data/test/rubygems/invalid_issuer_cert.pem +0 -18
  658. data/test/rubygems/invalid_issuer_cert_32.pem +0 -18
  659. data/test/rubygems/invalid_key.pem +0 -27
  660. data/test/rubygems/invalid_signer_cert.pem +0 -18
  661. data/test/rubygems/invalid_signer_cert_32.pem +0 -18
  662. data/test/rubygems/invalidchild_cert.pem +0 -18
  663. data/test/rubygems/invalidchild_cert_32.pem +0 -18
  664. data/test/rubygems/invalidchild_key.pem +0 -27
  665. data/test/rubygems/plugin/exception/rubygems_plugin.rb +0 -3
  666. data/test/rubygems/plugin/load/rubygems_plugin.rb +0 -4
  667. data/test/rubygems/plugin/standarderror/rubygems_plugin.rb +0 -3
  668. data/test/rubygems/private_key.pem +0 -27
  669. data/test/rubygems/public_cert.pem +0 -18
  670. data/test/rubygems/public_cert_32.pem +0 -18
  671. data/test/rubygems/public_key.pem +0 -9
  672. data/test/rubygems/rubygems/commands/crash_command.rb +0 -6
  673. data/test/rubygems/rubygems_plugin.rb +0 -22
  674. data/test/rubygems/sff/discover.rb +0 -1
  675. data/test/rubygems/simple_gem.rb +0 -67
  676. data/test/rubygems/specifications/bar-0.0.2.gemspec +0 -9
  677. data/test/rubygems/specifications/foo-0.0.1-x86-mswin32.gemspec +0 -0
  678. data/test/rubygems/ssl_cert.pem +0 -19
  679. data/test/rubygems/ssl_key.pem +0 -15
  680. data/test/rubygems/test_bundled_ca.rb +0 -59
  681. data/test/rubygems/test_config.rb +0 -24
  682. data/test/rubygems/test_deprecate.rb +0 -77
  683. data/test/rubygems/test_gem.rb +0 -1679
  684. data/test/rubygems/test_gem_available_set.rb +0 -130
  685. data/test/rubygems/test_gem_command.rb +0 -248
  686. data/test/rubygems/test_gem_command_manager.rb +0 -264
  687. data/test/rubygems/test_gem_commands_build_command.rb +0 -121
  688. data/test/rubygems/test_gem_commands_cert_command.rb +0 -671
  689. data/test/rubygems/test_gem_commands_check_command.rb +0 -69
  690. data/test/rubygems/test_gem_commands_cleanup_command.rb +0 -197
  691. data/test/rubygems/test_gem_commands_contents_command.rb +0 -240
  692. data/test/rubygems/test_gem_commands_dependency_command.rb +0 -230
  693. data/test/rubygems/test_gem_commands_environment_command.rb +0 -154
  694. data/test/rubygems/test_gem_commands_fetch_command.rb +0 -127
  695. data/test/rubygems/test_gem_commands_generate_index_command.rb +0 -51
  696. data/test/rubygems/test_gem_commands_help_command.rb +0 -75
  697. data/test/rubygems/test_gem_commands_install_command.rb +0 -987
  698. data/test/rubygems/test_gem_commands_list_command.rb +0 -34
  699. data/test/rubygems/test_gem_commands_lock_command.rb +0 -69
  700. data/test/rubygems/test_gem_commands_mirror.rb +0 -20
  701. data/test/rubygems/test_gem_commands_open_command.rb +0 -70
  702. data/test/rubygems/test_gem_commands_outdated_command.rb +0 -33
  703. data/test/rubygems/test_gem_commands_owner_command.rb +0 -205
  704. data/test/rubygems/test_gem_commands_pristine_command.rb +0 -491
  705. data/test/rubygems/test_gem_commands_push_command.rb +0 -330
  706. data/test/rubygems/test_gem_commands_query_command.rb +0 -657
  707. data/test/rubygems/test_gem_commands_search_command.rb +0 -18
  708. data/test/rubygems/test_gem_commands_server_command.rb +0 -60
  709. data/test/rubygems/test_gem_commands_setup_command.rb +0 -136
  710. data/test/rubygems/test_gem_commands_sources_command.rb +0 -249
  711. data/test/rubygems/test_gem_commands_specification_command.rb +0 -251
  712. data/test/rubygems/test_gem_commands_stale_command.rb +0 -43
  713. data/test/rubygems/test_gem_commands_uninstall_command.rb +0 -283
  714. data/test/rubygems/test_gem_commands_unpack_command.rb +0 -209
  715. data/test/rubygems/test_gem_commands_update_command.rb +0 -514
  716. data/test/rubygems/test_gem_commands_which_command.rb +0 -87
  717. data/test/rubygems/test_gem_commands_yank_command.rb +0 -100
  718. data/test/rubygems/test_gem_config_file.rb +0 -491
  719. data/test/rubygems/test_gem_dependency.rb +0 -362
  720. data/test/rubygems/test_gem_dependency_installer.rb +0 -1235
  721. data/test/rubygems/test_gem_dependency_list.rb +0 -260
  722. data/test/rubygems/test_gem_dependency_resolution_error.rb +0 -29
  723. data/test/rubygems/test_gem_doctor.rb +0 -169
  724. data/test/rubygems/test_gem_ext_builder.rb +0 -341
  725. data/test/rubygems/test_gem_ext_cmake_builder.rb +0 -87
  726. data/test/rubygems/test_gem_ext_configure_builder.rb +0 -87
  727. data/test/rubygems/test_gem_ext_ext_conf_builder.rb +0 -211
  728. data/test/rubygems/test_gem_ext_rake_builder.rb +0 -65
  729. data/test/rubygems/test_gem_gem_runner.rb +0 -69
  730. data/test/rubygems/test_gem_gemcutter_utilities.rb +0 -235
  731. data/test/rubygems/test_gem_impossible_dependencies_error.rb +0 -62
  732. data/test/rubygems/test_gem_indexer.rb +0 -367
  733. data/test/rubygems/test_gem_install_update_options.rb +0 -197
  734. data/test/rubygems/test_gem_installer.rb +0 -1552
  735. data/test/rubygems/test_gem_local_remote_options.rb +0 -134
  736. data/test/rubygems/test_gem_name_tuple.rb +0 -45
  737. data/test/rubygems/test_gem_package.rb +0 -876
  738. data/test/rubygems/test_gem_package_old.rb +0 -90
  739. data/test/rubygems/test_gem_package_tar_header.rb +0 -147
  740. data/test/rubygems/test_gem_package_tar_reader.rb +0 -90
  741. data/test/rubygems/test_gem_package_tar_reader_entry.rb +0 -142
  742. data/test/rubygems/test_gem_package_tar_writer.rb +0 -264
  743. data/test/rubygems/test_gem_package_task.rb +0 -84
  744. data/test/rubygems/test_gem_path_support.rb +0 -121
  745. data/test/rubygems/test_gem_platform.rb +0 -308
  746. data/test/rubygems/test_gem_rdoc.rb +0 -270
  747. data/test/rubygems/test_gem_remote_fetcher.rb +0 -1051
  748. data/test/rubygems/test_gem_request.rb +0 -363
  749. data/test/rubygems/test_gem_request_connection_pools.rb +0 -130
  750. data/test/rubygems/test_gem_request_set.rb +0 -595
  751. data/test/rubygems/test_gem_request_set_gem_dependency_api.rb +0 -831
  752. data/test/rubygems/test_gem_request_set_lockfile.rb +0 -470
  753. data/test/rubygems/test_gem_request_set_lockfile_parser.rb +0 -549
  754. data/test/rubygems/test_gem_request_set_lockfile_tokenizer.rb +0 -306
  755. data/test/rubygems/test_gem_requirement.rb +0 -387
  756. data/test/rubygems/test_gem_resolver.rb +0 -715
  757. data/test/rubygems/test_gem_resolver_activation_request.rb +0 -74
  758. data/test/rubygems/test_gem_resolver_api_set.rb +0 -209
  759. data/test/rubygems/test_gem_resolver_api_specification.rb +0 -145
  760. data/test/rubygems/test_gem_resolver_best_set.rb +0 -138
  761. data/test/rubygems/test_gem_resolver_composed_set.rb +0 -46
  762. data/test/rubygems/test_gem_resolver_conflict.rb +0 -88
  763. data/test/rubygems/test_gem_resolver_dependency_request.rb +0 -85
  764. data/test/rubygems/test_gem_resolver_git_set.rb +0 -190
  765. data/test/rubygems/test_gem_resolver_git_specification.rb +0 -114
  766. data/test/rubygems/test_gem_resolver_index_set.rb +0 -90
  767. data/test/rubygems/test_gem_resolver_index_specification.rb +0 -90
  768. data/test/rubygems/test_gem_resolver_installed_specification.rb +0 -50
  769. data/test/rubygems/test_gem_resolver_installer_set.rb +0 -258
  770. data/test/rubygems/test_gem_resolver_local_specification.rb +0 -46
  771. data/test/rubygems/test_gem_resolver_lock_set.rb +0 -64
  772. data/test/rubygems/test_gem_resolver_lock_specification.rb +0 -100
  773. data/test/rubygems/test_gem_resolver_requirement_list.rb +0 -21
  774. data/test/rubygems/test_gem_resolver_specification.rb +0 -65
  775. data/test/rubygems/test_gem_resolver_vendor_set.rb +0 -84
  776. data/test/rubygems/test_gem_resolver_vendor_specification.rb +0 -84
  777. data/test/rubygems/test_gem_security.rb +0 -307
  778. data/test/rubygems/test_gem_security_policy.rb +0 -541
  779. data/test/rubygems/test_gem_security_signer.rb +0 -209
  780. data/test/rubygems/test_gem_security_trust_dir.rb +0 -101
  781. data/test/rubygems/test_gem_server.rb +0 -409
  782. data/test/rubygems/test_gem_silent_ui.rb +0 -117
  783. data/test/rubygems/test_gem_source.rb +0 -242
  784. data/test/rubygems/test_gem_source_fetch_problem.rb +0 -20
  785. data/test/rubygems/test_gem_source_git.rb +0 -309
  786. data/test/rubygems/test_gem_source_installed.rb +0 -37
  787. data/test/rubygems/test_gem_source_list.rb +0 -118
  788. data/test/rubygems/test_gem_source_local.rb +0 -107
  789. data/test/rubygems/test_gem_source_lock.rb +0 -115
  790. data/test/rubygems/test_gem_source_specific_file.rb +0 -76
  791. data/test/rubygems/test_gem_source_vendor.rb +0 -32
  792. data/test/rubygems/test_gem_spec_fetcher.rb +0 -311
  793. data/test/rubygems/test_gem_specification.rb +0 -3519
  794. data/test/rubygems/test_gem_stream_ui.rb +0 -239
  795. data/test/rubygems/test_gem_stub_specification.rb +0 -217
  796. data/test/rubygems/test_gem_text.rb +0 -77
  797. data/test/rubygems/test_gem_uninstaller.rb +0 -485
  798. data/test/rubygems/test_gem_unsatisfiable_dependency_error.rb +0 -33
  799. data/test/rubygems/test_gem_uri_formatter.rb +0 -29
  800. data/test/rubygems/test_gem_util.rb +0 -40
  801. data/test/rubygems/test_gem_validator.rb +0 -46
  802. data/test/rubygems/test_gem_version.rb +0 -222
  803. data/test/rubygems/test_gem_version_option.rb +0 -152
  804. data/test/rubygems/test_kernel.rb +0 -86
  805. data/test/rubygems/test_require.rb +0 -322
  806. data/test/rubygems/wrong_key_cert.pem +0 -18
  807. data/test/rubygems/wrong_key_cert_32.pem +0 -18
  808. data/util/CL2notes +0 -56
  809. data/util/create_certs.rb +0 -157
  810. data/util/create_encrypted_key.rb +0 -17
  811. data/util/generate_spdx_license_list.rb +0 -51
  812. data/util/update_bundled_ca_certificates.rb +0 -118
data/History.txt DELETED
@@ -1,3094 +0,0 @@
1
- # coding: UTF-8
2
-
3
- === 2.6.0 / 2016-02-26
4
-
5
- Minor enhancements:
6
-
7
- * RubyGems now defaults the `gem push` to the gem's "allowed_push_host"
8
- metadata setting. Pull request #1486 by Josh Lane.
9
- * Update bundled Molinillo to 0.4.3. Pull request #1493 by Samuel E. Giddins.
10
- * Add version option to gem open command. Pull request #1483 by Hrvoje
11
- Šimić.
12
- * Feature/add silent flag. Pull request #1455 by Luis Sagastume.
13
- * Allow specifying gem requirements via env variables. Pull request #1472
14
- by Samuel E. Giddins.
15
-
16
- Bug fixes:
17
-
18
- * RubyGems now stores `gem push` credentials under the host you signed-in for.
19
- Pull request #1485 by Josh Lane.
20
- * Move `coding` location to first line. Pull request #1471 by SHIBATA
21
- Hiroshi.
22
- * [PathSupport] Handle a regexp path separator. Pull request #1469 by
23
- Samuel E. Giddins.
24
- * Clean up the PathSupport object. Pull request #1094 by Aaron Patterson.
25
- * Join with File::PATH_SEPARATOR in Gem.use_paths. Pull request #1476 by
26
- Samuel E. Giddins.
27
- * Handle when the gem home and gem path arent set in the config file. Pull
28
- request #1478 by Samuel E. Giddins.
29
- * Terminate TimeoutHandler. Pull request #1479 by Nobuyoshi Nakada.
30
- * Remove redundant cache. Pull request #1482 by Eileen M. Uchitelle.
31
- * Freeze `Gem::Version@segments` instance variable. Pull request #1487 by
32
- Ben Dean.
33
- * Gem cleanup is trying to uninstall gems outside GEM_HOME and reporting
34
- an error after it tries. Pull request #1353 by Luis Sagastume.
35
- * Avoid duplicated sources. Pull request #1489 by Luis Sagastume.
36
- * Better description for quiet flag. Pull request #1491 by Luis Sagastume.
37
- * Raise error if find_by_name returns with nil. Pull request #1494 by
38
- Zoltán Hegedüs.
39
- * Find_files only from loaded_gems when using gemdeps. Pull request #1277
40
- by Michal Papis.
41
-
42
- === 2.5.2 / 2016-01-31
43
-
44
- Bug fixes:
45
-
46
- * Fix memoization of Gem::Version#prerelease? Pull request #1125 by Matijs van
47
- Zuijlen.
48
- * Handle trailing colons in GEM_PATH, by Damien Robert.
49
- * Improve the Gemfile `gemspec` method, fixing #1204 and #1033. Pull request
50
- #1276 by Michael Papis.
51
- * Warn only once when a gemspec license is invalid. Pull request #1414 by Samuel
52
- E. Giddins.
53
- * Check for exact constants before using them, fixing Ruby bug #11940. Pull
54
- request #1438 by Nobuyoshi Nakada.
55
- * Fix building C extensions on Ruby 1.9.x on Windows. Pull request #1453 by Marie
56
- Markwell.
57
- * Handle symlinks containing ".." correctly. Pull request #1457 by Samuel E.
58
- Giddins.
59
-
60
- Minor enhancements:
61
-
62
- * Add `--no-rc` flag, which skips loading `.gemrc`. Pull request #1329 by Luis
63
- Sagastume.
64
- * Allow basic auth to be excluded from `allowed_push_host`. By Josh Lane.
65
- * Add `gem list --exact`, which finds gems by string match instead of regex. Pull
66
- request #1344 by Luis Sagastume.
67
- * Suggest alternatives when gem license is unknown. Pull request #1443 by Samuel
68
- E. Giddins.
69
- * Print a useful error if a binstub expects a newer version of a gem than is
70
- installed. Pull request #1407 by Samuel E. Giddins.
71
- * Allow the (supported) s3:// scheme to be used with `--source`. Pull request
72
- #1416 by Dave Adams.
73
- * Add `--[no-]post-install-message` to `install` and `update`. Pull request #1162
74
- by Josef Šimánek.
75
- * Add `--host` option to `yank`, providing symmetry with `pull`. Pull request
76
- #1361 by Mike Virata-Stone.
77
- * Update bundled Molinillo to 0.4.1. Pull request #1452 by Samuel E. Giddins.
78
- * Allow calling `build` without '.gemspec'. Pull request #1454 by Stephen
79
- Blackstone.
80
- * Add support for `source` option on gems in Gemfile. Pull request #1355 by
81
- Michael Papis.
82
- * Function correctly when string literals are frozen on Ruby 2.3. Pull request
83
- #1408 by Samuel E. Giddins.
84
-
85
- === 2.5.1 / 2015-12-10
86
-
87
- Bug fixes:
88
-
89
- * Ensure platform sorting only uses strings. Affected binary installs on Windows.
90
- Issue #1369 reported by Ryan Atball (among others).
91
- Pull request #1375 by Samuel E. Giddins.
92
- * Revert PR #1332. Unable to reproduce, and nil should be impossible.
93
- * Gem::Specification#to_fullpath now returns .rb extensions when such a file
94
- exists. Pull request #1114 by y-yagi.
95
- * RubyGems now handles Net::HTTPFatalError instead of crashing. Pull
96
- request #1314 by Samuel E. Giddins.
97
- * Updated bundled Molinillo to 0.4.0. Pull request #1322, #1396 by Samuel E.
98
- Giddins.
99
- * Improved performance of spec loading by reducing likelihood of loading the
100
- complete specification. Pull request #1373 by Aaron Patterson.
101
- * Improved caching of requirable files Pull request #1377 by Aaron Patterson.
102
- * Fixed activation of gems with development dependencies. Pull request #1388
103
- by Samuel E. Giddins.
104
- * RubyGems now uses the same Molinillo vendoring strategy as Bundler. Pull
105
- request #1397 by Samuel E. Giddins.
106
- * Fixed documentation of Gem::Requirement.parse. Pull request #1398 by
107
- Juanito Fatas.
108
- * RubyGems no longer warns when a prerelease gem has prerelease dependencies.
109
- Pull request #1399 by Samuel E. Giddins.
110
- * Fixed Gem::Version documentation example. Pull request #1401 by Guilherme
111
- Goettems Schneider.
112
- * Updated documentation links to https://. Pull request #1404 by Suriyaa
113
- Kudo.
114
- * Fixed double word typo. Pull request #1411 by Jake Worth.
115
-
116
- === 2.5.0 / 2015-11-03
117
-
118
- Major enhancements:
119
-
120
- * Added the Gem::Licenses class which provides a set of standard license
121
- identifiers as set by spdx.org. This is now used by the
122
- Gem::Specification#license attribute to try to standardize (though not
123
- enforce) licenses set by gem authors.
124
-
125
- Pull request #1249 by Kyle Mitchell.
126
-
127
- Minor enhancements:
128
-
129
- * Use Molinillo as the resolver library. This is the same resolver as used by
130
- Bundler. Pull request #1189 by Samuel E. Giddins.
131
- * Add `--skip=gem_name` to Pristine command. Pull request #1018 by windwiny.
132
- * The parsed gem dependencies file is now available via Gem.gemdeps following
133
- Gem.use_gemdeps. Pull request #1224 by Hsing-Hui Hsu, issue #1213 by
134
- Michal Papis.
135
- * Moved description attribute to recommended for Gem::Specification.
136
- Pull request #1046 by Michal Papis
137
- * Moved `Gem::Indexer#abbreviate` and `#sanitize` to `Gem::Specification`.
138
- Pull request #1145 by Arthur Nogueira Neves
139
- * Cache Gem::Version segments for `#bump` and `#release`.
140
- Pull request #1131 by Matijs van Zuijlen
141
- * Fix edge case in `levenshtein_distance` for comparing longer strings.
142
- Pull request #1173 by Richard Schneeman
143
- * Remove duplication from List#to_a, improving from O(n^2) to O(n) time.
144
- Pull request #1200 by Marc Siegel.
145
- * Gem::Specification.add_specs is deprecated and will be removed from version
146
- 3.0 with no replacement. To add specs, install the gem, then reset the
147
- cache.
148
- * Gem::Specification.add_spec is deprecated and will be removed from version
149
- 3.0 with no replacement. To add specs, install the gem, then reset the
150
- cache.
151
- * Gem::Specification.remove_spec is deprecated and will be removed from version
152
- 3.0 with no replacement. To remove specs, uninstall the gem, then reset the
153
- cache by calling Gem::Specification.reset.
154
- * Call Array#compact before calling Array#uniq for minor speed improvement in
155
- the Gem::Specification#files method.
156
- Pull request #1253 by Marat Amerov.
157
- * Use stringio instead of custom String classes.
158
- Pull request #1250 by Petr Skocik.
159
- * Use URI#host instead of URI#hostname to retain backwards compatibility with
160
- Ruby 1.9.2 and earlier in util library.
161
- Pull request #1288 by Joe Rafaniello.
162
- * Documentation update for gem sources.
163
- Pull request #1324 by Ilya Vassilevsky.
164
- * Documentation update for required_ruby_version.
165
- Pull request #1321 by Matt Patterson.
166
- * Documentation update for gem update.
167
- Pull request #1306 by Tim Blair.
168
- * Emit a warning on SRV resolve failure.
169
- Pull request #1023 by Ivan Kuchin.
170
- * Allow duplicate dependencies between runtime and development.
171
- Pull request #1032 by Murray Steele.
172
- * The gem env command now shows the user installation directory.
173
- Pull request #1343 by Luis Sagastume.
174
- * The Gem::Platform#=== method now treats a nil cpu arch the same as 'universal'.
175
- Pull request #1356 by Daniel Berger.
176
- * Improved memory performance in Gem::Specification.traverse. Pull request
177
- #1188 by Aaron Patterson.
178
- * RubyGems packages now support symlinks. Pull request #1209 by Samuel E.
179
- Giddins.
180
- * RubyGems no longer outputs mkmf.log if it does not exist. Pull request
181
- #1222 by Andrew Hooker.
182
- * Added Bitrig platform. Pull request #1233 by John C. Vernaleo.
183
- * Improved error message for first-time RubyGems developers. Pull request
184
- #1241 by André Arko
185
- * Improved performance of Gem::Specification#load with cached specs. Pull
186
- request #1297 by Samuel E. Giddins.
187
- * Gem::RemoteFetcher allows users to set HTTP headers. Pull request #1363 by
188
- Agis Anastasopoulos.
189
-
190
- Bug fixes:
191
-
192
- * Fixed Rake homepage url in example for Gem::Specification#homepage.
193
- Pull request #1171 by Arthur Nogueira Neves
194
- * Don't crash if partially uninstalled gem can't be found.
195
- Pull request #1283 by Cezary Baginski.
196
- * Test warning cleanup.
197
- Pull request #1298 by Samuel E. Giddins.
198
- * Documentation fix for GemDependencyAPI.
199
- Pull request #1308 by Michael Papis.
200
- * Fetcher now ignores ENOLCK errors in single threaded environments. This
201
- handles an issue with gem installation on NFS as best we can. Addresses
202
- issue #1176 by Ryan Moore.
203
- Pull request #1327 by Daniel Berger.
204
- * Fix some path quoting issues in the test suite.
205
- Pull request #1328 by Gavin Miller.
206
- * Fix NoMethodError in running ruby processes when gems are uninstalled.
207
- Pull request #1332 by Peter Drake.
208
- * Fixed a potential NoMethodError for gem cleanup.
209
- Pull request #1333 by Peter Drake.
210
- * Fixed gem help bug.
211
- Issue #1352 reported by bogem, pull request #1357 by Luis Sagastume.
212
- * Remove temporary directories after tests finish. Pull request #1181 by
213
- Nobuyoshi Nokada.
214
- * Update links in RubyGems documentation. Pull request #1185 by Darío Hereñú.
215
- * Prerelease gem executables can now be run. Pull request #1186 by Samuel E.
216
- Giddins.
217
- * Updated RubyGems travis-ci ruby versions. Pull request #1187 by Samuel E.
218
- Giddins.
219
- * Fixed release date of RubyGems 2.4.6. Pull request #1190 by Frieder
220
- Bluemle.
221
- * Fixed bugs in gem activation. Pull request #1202 by Miklós Fazekas.
222
- * Fixed documentation for `gem list`. Pull request #1228 by Godfrey Chan.
223
- * Fixed #1200 history entry. Pull request #1234 by Marc Siegel.
224
- * Fixed synchronization issue when resetting the Gem::Specification gem list.
225
- Pull request #1239 by Samuel E. Giddins.
226
- * Fixed running tests in parallel. Pull request #1257 by SHIBATA Hiroshi.
227
- * Fixed running tests with `--program-prefix` or `--program-suffix` for ruby.
228
- Pull request #1258 by Shane Gibbs.
229
- * Fixed Gem::Specification#to_yaml. Pull request #1262 by Hiroaki Izu.
230
- * Fixed taintedness of Gem::Specification#raw_require_paths. Pull request
231
- #1268 by Sam Ruby.
232
- * Fixed sorting of platforms when installing gems. Pull request #1271 by
233
- nonsequitur.
234
- * Use `--no-document` over deprecated documentation options when installing
235
- dependencies on travis. Pull request #1272 by takiy33.
236
- * Improved support for IPv6 addresses in URIs. Pull request #1275 by Joe
237
- Rafaniello.
238
- * Spec validation no longer crashes if a file does not exist. Pull request
239
- #1278 by Samuel E. Giddins.
240
- * Gems can now be installed within `rescue`. Pull request #1282 by Samuel E.
241
- Giddins.
242
- * Increased Diffie-Hellman key size for tests for modern OpenSSL. Pull
243
- request #1290 by Vít Ondruch.
244
- * RubyGems handles invalid config files better. Pull request #1367 by Agis
245
- Anastasopoulos.
246
-
247
- === 2.4.8 / 2015-06-08
248
-
249
- Bug fixes:
250
-
251
- * Tightened API endpoint checks for CVE-2015-3900
252
-
253
- === 2.4.7 / 2015-05-14
254
-
255
- Bug fixes:
256
-
257
- * Limit API endpoint to original security domain for CVE-2015-3900.
258
- Fix by claudijd
259
-
260
- === 2.4.6 / 2015-02-05
261
-
262
- Bug fixes:
263
-
264
- * Fixed resolving gems with both upper and lower requirement boundaries.
265
- Issue #1141 by Jakub Jirutka.
266
- * Moved extension directory after require_paths to fix missing constant bugs
267
- in some gems with C extensions. Issue #784 by André Arko, pull request
268
- #1137 by Barry Allard.
269
- * Use Gem::Dependency#requirement when adding a dependency to an existing
270
- dependency instance. Pull request #1101 by Josh Cheek.
271
- * Fixed warning of shadowed local variable in Gem::Specification. Pull request
272
- #1109 by Rohit Arondekar
273
- * Gem::Requirement should always sort requirements before coercion to Hash.
274
- Pull request #1139 by Eito Katagiri.
275
- * The `gem open` command should change the current working directory before
276
- opening the editor. Pull request #1142 by Alex Wood.
277
- * Ensure quotes are stripped from the Windows launcher script used to install
278
- gems. Pull request #1115 by Youngjun Song.
279
- * Fixed errors when writing to NFS to to 0444 files. Issue #1161 by Emmanuel
280
- Hadoux.
281
- * Removed dead code in Gem::StreamUI. Pull request #1117 by mediaslave24.
282
- * Fixed typos. Pull request #1096 by hakeda.
283
- * Relaxed CMake dependency for RHEL 6 and CentOS 6. Pull request #1124 by Vít
284
- Ondruch.
285
- * Relaxed Psych dependency. Pull request #1128 by Vít Ondruch.
286
-
287
- === 2.4.5 / 2014-12-03
288
-
289
- Bug fixes:
290
-
291
- * Improved speed of requiring gems. (Around 25% for a 60 gem test). Pull
292
- request #1060 by unak.
293
- * RubyGems no longer attempts to look up gems remotely with the --local flag.
294
- Pull request #1084 by Jeremy Evans.
295
- * Executable stubs use the correct gem version when RUBYGEMS_GEMDEPS is
296
- active. Issue #1072 by Michael Kaiser-Nyman.
297
- * Fixed handling of pinned gems in lockfiles with versions. Issue #1078 by
298
- Ian Ker-Seymer.
299
- * Fixed handling of git@example:gem.git URIs. Issue #1054 by Mogutan Mogu.
300
- * Fixed handling of platforms retrieved from the dependencies API. Issue
301
- #1058 and patch suggestion by tux-mind.
302
- * RubyGems now suggests a copy-pasteable `gem pristine` command when
303
- extensions are missing. Pull request #1057 by Shannon Skipper.
304
- * Improved errors for long file names when packaging. Pull request #1016 by
305
- Piotrek Bator.
306
- * `gem pristine` now skips gems cannot be found remotely. Pull request #1064
307
- by Tuomas Kareinen.
308
- * `gem pristine` now caches gems to the proper directory. Pull request #1064
309
- by Tuomas Kareinen.
310
- * `gem pristine` now skips bundled gems properly. Pull request #1064 by
311
- Tuomas Kareinen.
312
- * Improved interoperability of Vagrant with RubyGems. Pull request #1057 by
313
- Vít Ondruch.
314
- * Renamed CONTRIBUTING to CONTRIBUTING.rdoc to allow markup. Pull request
315
- #1090 by Roberto Miranda.
316
- * Switched from #partition to #reject as only one collection is used. Pull
317
- request #1074 by Tuomas Kareinen.
318
- * Fixed installation of gems on systems using memory-mapped files. Pull
319
- request #1038 by Justin Li.
320
- * Fixed bug in Gem::Text#min3 where `a == b < c`. Pull request #1026 by
321
- fortissimo1997.
322
- * Fixed uninitialized variable warning in BasicSpecification. Pull request
323
- #1019 by Piotr Szotkowski.
324
- * Removed unneeded exception handling for cyclic dependencies. Pull request
325
- #1043 by Jens Wille.
326
- * Fixed grouped expression warning. Pull request #1081 by André Arko.
327
- * Fixed handling of platforms when writing lockfiles.
328
-
329
- === 2.4.4 / 2014-11-12
330
-
331
- Bug fixes:
332
-
333
- * Add alternate Root CA for upcoming certificate change. Fixes #1050 by
334
- Protosac
335
-
336
- === 2.4.3 / 2014-11-10
337
-
338
- Bug fixes:
339
-
340
- * Fix redefine MirrorCommand issue. Pull request #1044 by @akr.
341
- * Fix typo in platform= docs. Pull request #1048 by @jasonrclark
342
- * Add root SSL certificates for upcoming certificate change. Fixes #1050 by
343
- Protosac
344
-
345
- === 2.4.2 / 2014-10-01
346
-
347
- This release was sponsored by Ruby Central.
348
-
349
- Bug fixes:
350
-
351
- * RubyGems now correctly matches wildcard no_proxy hosts. Issue #997 by
352
- voelzemo.
353
- * Added support for missing git_source method in the gem dependencies API.
354
- * Fixed handling of git gems with an alternate install directory.
355
- * Lockfiles will no longer be truncated upon resolution errors.
356
- * Fixed messaging for `gem owner -a`. Issue #1004 by Aaron Patterson, Ryan
357
- Davis.
358
- * Removed meaningless ensure. Pull request #1003 by gogotanaka.
359
- * Improved wording of --source option help. Pull request #989 by Jason Clark.
360
- * Empty build_info files are now ignored. Issue #903 by Adan Alvarado.
361
- * Gem::Installer ignores dependency checks when installing development
362
- dependencies. Issue #994 by Jens Willie.
363
- * `gem update` now continues after dependency errors. Issue #993 by aaronchi.
364
- * RubyGems no longer warns about semantic version dependencies for the 0.x
365
- range. Issue #987 by Jeff Felchner, pull request #1006 by Hsing-Hui Hsu.
366
- * Added minimal lock to allow multithread installation of gems. Issue #982
367
- and pull request #1005 by Yorick Peterse
368
- * RubyGems now considers prerelease dependencies as it did in earlier versions
369
- when --prerelease is given. Issue #990 by Jeremy Tryba.
370
- * Updated capitalization in README. Issue #1010 by Ben Bodenmiller.
371
- * Fixed activating gems from a Gemfile for default gems. Issue #991 by khoan.
372
- * Fixed windows stub script generation for Cygwin. Issue #1000 by Brett
373
- DiFrischia.
374
- * Allow gem bindir and ruby.exe to live in separate diretories. Pull request
375
- #942 by Ian Flynn.
376
- * Fixed handling of gemspec in gem dependencies files to match Bundler
377
- behavior. Issue #1020 by Michal Papis.
378
- * Fixed `gem update` when updating to prereleases. Issue #1028 by Santiago
379
- Pastorino.
380
- * RubyGems now fails immediately when a git reference cannot be found instead
381
- of spewing git errors. Issue #1031 by Michal Papis
382
-
383
- === 2.4.1 / 2014-07-17
384
-
385
- Bug fixes:
386
-
387
- * RubyGems can now be updated on Ruby implementations that do not support
388
- vendordir in RbConfig::CONFIG. Issue #974 by net1957.
389
-
390
- === 2.4.0 / 2014-07-16
391
-
392
- Minor enhancements:
393
-
394
- * The contents command now supports a --show-install-dir option that shows
395
- only the directory the gem is installed in. Feature request #966 by Akinori
396
- MUSHA.
397
- * Added a --build-root option to the install command for packagers. Pull
398
- request #965 by Marcus Rückert.
399
- * Added vendor gem support to RubyGems. Package managers may now install gems
400
- in Gem.vendor_dir with the --vendor option to gem install. Issue #943 by
401
- Marcus Rückert.
402
-
403
- Bug fixes:
404
-
405
- * Kernel#gem now respects the prerelease flag when activating gems.
406
- Previously this behavior was undefined which could lead to bugs when a
407
- prerelease version was unintentionally activated. Bug #938 by Joe Ferris.
408
- * RubyGems now prefers gems from git over installed gems. This allows gems
409
- from git to override an installed gem with the same name and version. Bug
410
- #944 by Thomas Kriechbaumer.
411
- * Fixed handling of git gems in a lockfile with unversioned dependencies. Bug
412
- #940 by Michael Kaiser-Nyman.
413
- * The ruby directive in a gem dependencies file is ignored when installing.
414
- Bug #941 by Michael Kaiser-Nyman.
415
- * Added open to list of builtin commands (`gem open` now works). Reported by
416
- Espen Antonsen.
417
- * `gem open` now works with command-line editors. Pull request #962 by Tim
418
- Pope.
419
- * `gem install -g` now respects `--conservative`. Pull request #950 by Jeremy
420
- Evans.
421
- * RubyGems releases announcements now now include checksums. Bug #939 by
422
- Alexander E. Fischer.
423
- * RubyGems now expands ~ in $PATH when checking if installed executables will
424
- be runnable. Pull request #945 by Alex Talker.
425
- * Fixed `gem install -g --explain`. Issue #947 by Luis Lavena. Patch by
426
- Hsing-Hui Hsu.
427
- * RubyGems locks less during gem activation. Pull request #951 by Aaron
428
- Patterson and Justin Searls, #969 by Jeremy Tryba.
429
- * Kernel#gem is now thread-safe. Pull request #967 by Aaron Patterson.
430
- * RubyGems now handles spaces in directory names for some parts of extension
431
- building. Pull request #949 by Tristan Hill.
432
- * RubyGems no longer defines an empty Date class. Pull Request #948 by Benoit
433
- Daloze.
434
- * RubyGems respects --document options for `gem update` again. Bug 946 by
435
- jonforums. Patch by Hsing-Hui Hsu.
436
- * RubyGems generates documentation again with --ignore-dependencies. Bug #961
437
- by Pulfer.
438
- * RubyGems can install extensions across partitions now. Pull request #970 by
439
- Michael Scherer.
440
- * `-s` is now short for `--source` which resolves an ambiguity with
441
- --no-suggestions. Pull request #955 by Alexander Kahn.
442
- * Added extra test for ~> for 0.0.X versions. Pull request #958 by Mark
443
- Lorenz.
444
- * Fixed typo in gem updated help. Pull request #952 by Per Modin.
445
- * Clarified that the gem description should not be excessively long. Part of
446
- bug #956 by Renier Morales.
447
- * Hid documentation of outdated test_files related methods in Specification.
448
- Guides issue #90 by Emil Soman.
449
- * RubyGems now falls back to the old index if the rubygems.org API fails
450
- during gem resolution.
451
-
452
-
453
- === 2.3.0 / 2014-06-10
454
-
455
- Minor enhancements:
456
-
457
- * Added the `open` command which allows you to inspect the source of a gem
458
- using your editor.
459
- Issue #789 by Mike Perham. Pull request #804 by Vitali F.
460
- * The `update` command shows a summary of which gems were and were not
461
- updated. Issue #544 by Mark D. Blackwell.
462
- Pull request #777 by Tejas Bubane.
463
- * Improved "could not find 'gem'" error reporting. Pull request #913 by
464
- Richard Schneeman.
465
- * Gem.use_gemdeps now accepts an argument specifying the path of the gem
466
- dependencies file. When the file is not found an ArgumentError is raised.
467
- * Writing a .lock file for a gem dependencies file is now controlled by the
468
- --[no-]lock option. Pull reuqest #774 by Jeremy Evans.
469
- * Suggestion of alternate names and spelling corrections during install can be
470
- suppressed with the --no-suggestions option. Issue #867 by Jimmy Cuadra.
471
- * Added mswin64 support. Pull request #881 by U. Nakamura.
472
- * A gem is installable from an IO again (as in RubyGems 1.8.x and older).
473
- Pull request #716 by Xavier Shay.
474
- * RubyGems no longer attempts to build extensions during activation. Instead
475
- a warning is issued instructing you to run `gem pristine` which will build
476
- the extensions for the current platform. Issue #796 by dunric.
477
- * Added Gem::UserInteraction#verbose which prints when the --verbose option is
478
- given. Pull request #811 by Aaron Patterson.
479
- * RubyGems can now fetch gems from private repositories using S3. Pull
480
- request #856 by Brian Palmer.
481
- * Added Gem::ConflictError subclass of Gem::LoadError so you can distinguish
482
- conflicts from other problems. Pull request #841 by Aaron Patterson.
483
- * Cleaned up unneeded load_yaml bootstrapping in Rakefile. Pull request #815
484
- by Zachary Scott.
485
- * Improved performance of conflict resolution. Pull request #842 by Aaron
486
- Patterson.
487
- * Add documentation of "~> 0" to Gem::Version. Issue #896 by Aaron Suggs.
488
- * Added CONTRIBUTING file. Pull request #849 by Mark Turner.
489
- * Allow use of bindir in windows_stub_script in .bat
490
- Pull request #818 by @unak and @nobu
491
- * Use native File::PATH_SEPARATOR and remove $ before gem env on
492
- Gem::Dependency#to_specs. Pull request #915 by @parkr
493
- * RubyGems recommends SPDX IDs for licenses now. Pull request #917 by
494
- Benjamin Fleischer.
495
-
496
- Bug fixes:
497
-
498
- * RubyGems now only fetches the latest specs to find misspellings which speeds
499
- up gem suggestions. Pull request #808 by Aaron Patterson.
500
- * The given .gem is installed again when multiple versions of the same gem
501
- exist in the current directory. Bug #875 by Prem Sichanugrist.
502
- * Local gems are preferred by name over remote gems again. Bug #834 by
503
- jonforums.
504
- * RubyGems can install local prerelease gems again. Pull request #866 by
505
- Aaron Patterson. Issue #813 by André Arko.
506
- * RubyGems installs development dependencies correctly again. Issue #893 by
507
- Jens Wille.
508
- * RubyGems only installs prerelease versions when they are requested again.
509
- Issue #853 by Seth Vargo, special thanks to Zachary Scott and Ben Moss.
510
- Issue #884 by Nathaniel Bibler.
511
- * Fixed RubyGems list and search command help. Pull request #905 and #928 by
512
- Gabriel Gilder.
513
- * The list of gems to uninstall is always sorted now. Bug #918 by postmodern.
514
- * The update command only updates exactly matching gem names now. Bug #919 by
515
- postmodern.
516
- * Gem::Server now supports prerelease versions. Bug #857 by Marcelo Alvim.
517
- * RubyGems no longer raises an exception immediately when gems are missing
518
- with RUBYGEMS_GEMDEPS. A warning is printed instead. Issue #886 by Michael
519
- Kaiser-Nyman.
520
- * Commands using the rubygems.org API no longer try to sign-in when a
521
- non-rubygems API key has been chosen. Bug #826 by Ben Sedat.
522
- * Updated documentation of Gem::Specification#executables to indicate that
523
- only ruby scripts are allowed. Bug #830 by Geoff Nixon.
524
- * Gem dependency API supports multiple platforms for #platform and #platforms
525
- now. Bug #821 by johnny5-.
526
- * Gem dependency API supports lockfiles without explicit sources. Bug #820 by
527
- johnny5-.
528
- * Gem dependency API supports lockfiles with multiple sources. Bug #822 by
529
- johnny5-, bug #851 by sumit shah.
530
- * Gem dependency API supports lockfiles with git sources using branch, tag and
531
- ref. Bug #822 by johnny5-, #931 by Christoph Blank.
532
- * Gem dependency API no longer raises an exception when a gem does not exist
533
- in one of the configured sources. Bug #897 by Michael Kaiser-Nyman.
534
- * Gem dependency API no longer lists development dependencies in the lockfile.
535
- Bug #768 by Diego Viola, #916 by Santiago Pastorino.
536
- * SSL configuration entries in ~/.gemrc are properly round-tripped. Bug #837
537
- by Noah Luck Easterly.
538
- * The environment command now shows the system configuration directory where
539
- the all-users gemrc lives. Bug #827 by Ben Langfeld.
540
- * Improved speed of conflict checking when activating gems. Pull request #843
541
- by Aaron Patterson.
542
- * Improved speed of levenshtein distance for gem suggestion misspellings.
543
- Pull requests #809, #812 by Aaron Patterson.
544
- * Restored persistent connections. Pull request #869 by Aaron Patterson.
545
- * Reduced requests when fetching gems with the bundler API. Pull request #773
546
- by Charlie Somerville.
547
- * Reduced dependency prefetching to improve install speed. Pull requests
548
- #871, #872 by Matthew Draper.
549
- * RubyGems now avoids net/http auto-proxy detection. Issue #824 by HINOHARA
550
- Hiroshi.
551
- * Removed conversion of Gem::List (used for debugging installs) to unless
552
- necessary. Pull request #870 by Aaron Patterson.
553
- * RubyGems now prints release notes from the current release. Bug #814 by
554
- André Arko.
555
- * RubyGems allows installation of unsigned gems again with -P MediumSecurity
556
- and lower. Bug #859 by Justin S. Collins.
557
- * Fixed typo in Jim Weirich's name. Ruby pull request #577 by Mo Khan.
558
- * Fixed typo in Gem.datadir documentation. Pull request #868 by Patrick
559
- Jones.
560
- * Fixed File.exists? warnings. Pull request #829 by SHIBATA Hiroshi.
561
- * Fixed show_release_notes test for LANG=C. Issue #862 by Luis Lavena.
562
- * Fixed Gem::Package from IO tests on windows. Patch from issue #861 by Luis
563
- Lavena.
564
- * Check for nil extensions as BasicSpecification does not initialize them.
565
- Pull request #882 by André Arko.
566
- * Fixed Gem::BasicSpecification#require_paths receives a String for
567
- @require_paths. Pull requrest #904 by @danielpclark
568
- * Fixed circular require warnings. Bug #908 by Zachary Scott.
569
- * Gem::Specification#require_paths can no longer accidentally be an Array.
570
- Pull requests #904, #909 by Daniel P. Clark.
571
- * Don't build extensions if `build_dir/extensions` isn't writable.
572
- Pull request #912 by @dunric
573
- * Gem::BasicSpecification#require_paths respects default_ext_dir_for now. Bug
574
- #852 by Vít Ondruch.
575
-
576
- === 2.2.5 / 2015-06-08
577
-
578
- Bug fixes:
579
-
580
- * Tightened API endpoint checks for CVE-2015-3900
581
-
582
- === 2.2.4 / 2015-05-14
583
-
584
- Bug fixes:
585
-
586
- * Backport: Limit API endpoint to original security domain for CVE-2015-3900.
587
- Fix by claudijd
588
-
589
- === 2.2.3 / 2014-12-21
590
-
591
- Bug fixes:
592
-
593
- * Backport: Add alternate Root CA for upcoming certificate change.
594
- Fixes #1050 by Protosac
595
-
596
- === 2.2.2 / 2014-02-05
597
-
598
- Bug fixes:
599
-
600
- * Fixed ruby tests when BASERUBY is not set. Patch for #778 by Nobuyoshi
601
- Nakada.
602
- * Removed double requests in RemoteFetcher#cache_update_path to improve remote
603
- install speed. Pull request #772 by Charlie Somerville.
604
- * The mkmf.log is now placed next to gem_make.out when building extensions.
605
- * `gem install -g --local` no longer accesses the network. Bug #776 by Jeremy
606
- Evans.
607
- * RubyGems now correctly handles URL passwords with encoded characters. Pull
608
- request #781 by Brian Fletcher.
609
- * RubyGems now correctly escapes URL characters. Pull request #788 by Brian
610
- Fletcher.
611
- * RubyGems can now unpack tar files where the type flag is not given. Pull
612
- request #790 by Cody Russell.
613
- * Typo corrections. Pull request ruby/ruby#506 by windwiny.
614
- * RubyGems now uses both the default certificates and ssl_ca_cert instead of
615
- one or the other. Pull request #795 by zebardy.
616
- * RubyGems can now use the bundler API against hosted gem servers in a
617
- directory. Pull request #801 by Brian Fletcher.
618
- * RubyGems bin stubs now ignore non-versions. This allows RubyGems bin stubs
619
- to list file names like "_foo_". Issue #799 by Postmodern.
620
- * Restored behavior of Gem::Version::new when subclassed. Issue #805 by
621
- Sergio Rubio.
622
-
623
- === 2.2.1 / 2014-01-06
624
-
625
- Bug fixes:
626
-
627
- * Platforms in the Gemfile.lock GEM section are now handled correctly. Bug
628
- #767 by Diego Viola.
629
- * RubyGems now displays which gem couldn't be uninstalled from the home
630
- directory. Pull request #757 by Michal Papis.
631
- * Removed unused method Gem::Resolver#find_conflict_state. Pull request #759
632
- by Smit Shah.
633
- * Fixed installing gems from local files without dependencies. Issue #760 by
634
- Arash Mousavi, pull request #764 by Tim Moore.
635
- * Removed TODO about syntax that works in Ruby 1.8.7. Pull request #765 by
636
- Benjamin Fleischer.
637
- * Switched Gem.ruby_api_version to use RbConfig::CONFIG['ruby_version'] which
638
- has the same value but is overridable by packagers through
639
- --with-ruby-version= when configuring ruby. Bug #770 by Jeremy Evans.
640
- * RubyGems now prefers the bundler API for `gem install` to reduce HTTP
641
- requests. (This change was intended for RubyGems 2.2.0 but was missed.)
642
- This should address bug #762 by Dan Peterson and bug #766 by mipearson.
643
- * Added Gem::BasicSpecification#source_paths so documentation or analysis
644
- tools can work properly as require_paths no longer returns extension source
645
- directories. Bug #758 Vít Ondruch.
646
- * Gem.read_binary can read read-only files again. This caused file://
647
- repositories to stop working. Bug #761 by John Anderson.
648
- * Fixed specification file sorting for Ruby 1.8.7 compatibility. Pull
649
- request #763 by James Mead
650
-
651
- === 2.2.0 / 2013-12-26
652
-
653
- Special thanks to Vít Ondruch and Michal Papis for testing and finding bugs in
654
- RubyGems as it was prepared for the 2.2.0 release.
655
-
656
- Major enhancements:
657
-
658
- * RubyGems can check for gem dependencies files (gem.deps.rb or Gemfile) when
659
- rubygems executables are started and uses the found dependencies. This
660
- means `rake` will work similar to `bundle exec rake`. To enable this set
661
- the `RUBYGEMS_GEMDEPS` environment variable to the location of your
662
- dependencies file.
663
-
664
- See Gem::use_gemdeps for further details.
665
-
666
- * A RubyGems directory may now be shared amongst multiple ruby versions. Upon
667
- activation RubyGems will automatically compile missing extensions for the
668
- current platform when the built objects are missing. Issue #596 by Michal
669
- Papis
670
-
671
- By default different platforms do not share gem install locations so this
672
- must be configured by setting GEM_HOME to a common directory. Some gems use
673
- fixed paths for requiring extensions and are not compatible with sharing gem
674
- directories.
675
-
676
- The default sharing location may be configured by RubyGems packagers through
677
- Gem.default_ext_dir_for. Pull Request #744 by Vít Ondruch.
678
-
679
- Minor enhancements:
680
-
681
- * RubyGems checks the 'allowed_push_host' metadata value when pushing a gem to
682
- prevent an accidental push to a public repository (such as rubygems.org).
683
- If you have private gems you should set this value in your gem specification
684
- metadata. Pull request #603 by Seamus Abshere.
685
- * `gem list` now shows results for multiple arguments. Pull request #604 by
686
- Zach Rabinovich.
687
- * `gem pristine --extensions` will restore only gems with extensions. Issue
688
- #619 by Postmodern.
689
- * Gem::Specification#files is now sorted. Pull request #612 by Justin George.
690
- * For `gem list` and friends, "LOCAL" and "REMOTE" headers are omitted if
691
- only local or remote gem information is requested with --quiet. Pull
692
- request #615 by Michal Papis.
693
- * Added Gem::Specification#full_require_paths which is like require_paths, but
694
- returns a fully-qualified results. Pull request #632 by Vít Ondruch.
695
- * RubyGems now looks for the https_proxy environment variable for https://
696
- sources. RubyGems will fall back to http_proxy if there is no https_proxy.
697
- Issue #610 by mkristian.
698
- * RubyGems now creates directories in .gem files. Issue #631 by marksolaris.
699
- * RubyGems raises an exception when a specification includes its gem. Issue
700
- #623 by notEthan.
701
- * RubyGems now displays relevant release note information when updating
702
- RubyGems. Issue #647 by Trevor Wennblom.
703
- * Deprecated Gem::Installer::ExtensionBuildError in favor of
704
- Gem::Ext::BuildError. The old constant is an alias for the new constant.
705
- * When extensions are built the gem_make.out file is always written now, even
706
- on success. This will help with debugging bad builds that report success.
707
- * If a specification fails to validate RubyGems shows a link to the
708
- specification reference guide. Issue #656 by Markus Heiler.
709
- * When using `gem install -g`, RubyGems now detects the presence of an
710
- Isolate, Gemfile or gem.deps.rb file.
711
- * Added Gem::StubSpecification#stubbed? to help determine if a user should run
712
- `gem pristine` to speed up gem loading. Pull request #694 and #701 by Jon
713
- Leighton.
714
- * RubyGems now warns when a gem has a pessimistic version dependency that may
715
- be too strict.
716
- * RubyGems now warns when a gem has an open-ended dependency.
717
- * RubyGems now raises an exception when a dependency for a gem is defined
718
- twice.
719
- * Marked the license specification attribute as recommended. Pull request
720
- #713 by Benjamin Fleischer.
721
- * RubyGems uses io/console instead of `stty` when available. Pull request
722
- #740 by Nobuyoshi Nakada
723
- * Relaxed Gem.ruby tests for platforms that override where ruby lives. Pull
724
- Request #755 by strzibny.
725
-
726
- Bug fixes:
727
-
728
- * RubyGems now returns an error status when any file given to `gem which`
729
- cannot be found. Ruby bug #9004 by Eugene Vilensky.
730
- * Fixed command escaping when building rake extensions. Pull request #721 by
731
- Dmitry Ratnikov.
732
- * Fixed uninstallation of gems when GEM_HOME is a relative directory. Issue
733
- #708 by Ryan Davis.
734
- * Default gems are now ignored by Gem::Validator#alien. Issue #717 by David
735
- Bahar.
736
- * Fixed typos in RubyGems. Pull requests #723, #725, #731 by Akira Matsuda,
737
- pull request #736 by Leo Gallucci, pull request #746 by DV Suresh.
738
- * RubyGems now holds exclusive locks on cached gem files to prevent incorrect
739
- updates. Pull Request #737 by Smit Shah
740
- * Improved speed of `gem install --ignore-dependencies`. Patch by Terence
741
- Lee.
742
-
743
- === 2.1.11 / 2013-11-12
744
-
745
- Bug fixes:
746
-
747
- * Gem::Specification::remove_spec no longer checks for existence of the spec
748
- to be removed. Issue #698 by Tiago Macedo.
749
- * Restored wildcard handling when installing gems. Issue #697 by Chuck Remes.
750
- * Added DigiCert High Assurance EV Root CA certificate for the cloudfront.net
751
- certificate change.
752
- * The Gem::RemoteFetcher tests now choose the test server port more reliably.
753
- Pull Request #706 by akr.
754
-
755
- === 2.1.10 / 2013-10-24
756
-
757
- Bug fixes:
758
-
759
- * Use class check instead of :version method check when creating Gem::Version
760
- objects. Fixes #674 by jkanywhere.
761
- * Fail during `gem update` when an error occurs checking for newer versions.
762
- This means RubyGems no longer reports "nothing to update" when it cannot
763
- communicate with the server. Issue #688 by Jimmy Dee.
764
- * Allow installation of gems when the home directory does not exist. Issue
765
- #689 by Laurence Rowe
766
- * Fix updating gems which have multiple platforms. Issue #693 by Ookami
767
- Kenrou.
768
- * The gem server now uses user-provided directories. Issue #696 by Marcelo
769
- Alvim.
770
- * Improved resolution of gems when specific versions have conflicting
771
- dependencies.
772
- * RubyGems installs local gems regardless of platform again. Issue #695
773
- * The --ignore-dependencies option for gem installation works again. Issue
774
- #695
775
-
776
- === 2.1.9 / 2013-10-14
777
-
778
- Bug fixes:
779
-
780
- * Reduce sorting when fetching specifications. This speeds up the update and
781
- outdated commands, and others. Issue #657 by windwiny.
782
- * Proxy usernames and passwords are now escaped properly. Ruby Bug #8979 by
783
- Masahiro Tomita, Issue #668 by Kouhei Sutou.
784
-
785
- === 2.1.8 / 2013-10-10
786
-
787
- Bug fixes:
788
-
789
- * Fixed local installation of platform gem files. Issue #664 by Ryan Melton.
790
- * Files starting with "." in the root directory are installed again. Issue
791
- #680 by Ivo Wever, Pull Request #681 by Jeremy Evans.
792
- * The index generator no longer indexes default gems. Issue #661 by
793
- Jeremy Hinegardner.
794
-
795
- === 2.1.7 / 2013-10-09
796
-
797
- Bug fixes:
798
-
799
- * `gem sources --list` now displays a list of sources. Pull request #672 by
800
- Nathan Marley.
801
- * RubyGems no longer alters Gem::Specification.dirs when installing. Pull
802
- Request #670 by Vít Ondruch
803
- * Use RFC 2616-compatible time in HTTP headers. Pull request #655 by Larry
804
- Marburger.
805
- * RubyGems now gives a more descriptive message for missing licenses on
806
- validation. Issue #656 by Markus Heiler.
807
- * Expand unpack destination directory. This fixes problems when File.realpath
808
- is missing and $GEM_HOME contains "..". Issue #679 by Charles Nutter.
809
-
810
- === 2.1.6 / 2013-10-08
811
-
812
- Bug fixes:
813
-
814
- * Added certificates to follow the s3.amazonaws.com certificate change. Fixes
815
- #665 by emeyekayee. Fixes #671 by jonforums.
816
- * Remove redundant built-in certificates not needed for https://rubygems.org
817
- Fixes #654 by Vít Ondruch.
818
- * Added test for missing certificates for https://s3.amazonaws.com or
819
- https://rubygems.org. Pull request #673 by Hannes Georg.
820
- * RubyGems now allows a Pathname for Kernel#require like the built-in
821
- Kernel#require. Pull request #663 by Aaron Patterson.
822
- * Required rbconfig in Gem::ConfigFile for Ruby 1.9.1 compatibility. (Ruby
823
- 1.9.1 is no longer receiving security fixes, so please update to a newer
824
- version.) Issue #676 by Michal Papis. Issue wayneeseguin/rvm#2262 by
825
- Thomas Sänger.
826
-
827
- === 2.1.5 / 2013-09-24
828
-
829
- Security fixes:
830
-
831
- * RubyGems 2.1.4 and earlier are vulnerable to excessive CPU usage due to a
832
- backtracking in Gem::Version validation. See CVE-2013-4363 for full details
833
- including vulnerable APIs. Fixed versions include 2.1.5, 2.0.10, 1.8.27 and
834
- 1.8.23.2 (for Ruby 1.9.3).
835
-
836
- === 2.1.4 / 2013-09-17
837
-
838
- Bug fixes:
839
-
840
- * `gem uninstall foo --all` now force-uninstalls all versions of foo. Issue
841
- #650 by Kyle (remkade).
842
- * Fixed uninstalling gems installed in the home directory (as in
843
- `--user-install`). Issue #653 by Lin Jen-Shin.
844
-
845
- === 2.1.3 / 2013-09-12
846
-
847
- Bug fixes:
848
-
849
- * Gems with files entries starting with "./" no longer install 0 files. Issue
850
- #644 by Darragh Curran, #645 by Brandon Turner, #646 by Alex Tambellini
851
-
852
- === 2.1.2 / 2013-09-11
853
-
854
- Bug fixes:
855
-
856
- * Restore concurrent requires following the fix for ruby bug #8374. Pull
857
- request #637 and issue #640 by Charles Nutter.
858
- * Gems with extensions are now installed correctly when the --install-dir
859
- option is used. Issue #642 by Lin Jen-Shin.
860
- * Gem fetch now fetches the newest (not oldest) gem when --version is given.
861
- Issue #643 by Brian Shirai.
862
-
863
- === 2.1.1 / 2013-09-10
864
-
865
- Bug fixes:
866
-
867
- * Only matching gems matching your local platform are considered for
868
- installation. Issue #638 by José M. Prieto, issue #639 by sawanoboly.
869
-
870
- === 2.1.0 / 2013-09-09
871
-
872
- Security fixes:
873
-
874
- * RubyGems 2.0.7 and earlier are vulnerable to excessive CPU usage due to a
875
- backtracking in Gem::Version validation. See CVE-2013-4287 for full details
876
- including vulnerable APIs. Fixed versions include 2.0.8, 1.8.26 and
877
- 1.8.23.1 (for Ruby 1.9.3). Issue #626 by Damir Sharipov.
878
-
879
- Major enhancements:
880
-
881
- * RubyGems uses a new dependency resolver for gem installation which works
882
- similar to the bundler resolver. The new resolver can resolve conflicts the
883
- previous resolver could not and offers improved diagnostics when conflicts
884
- are discovered.
885
-
886
- Minor enhancements:
887
-
888
- * RubyGems now has improved platform matching for the ARM architecture. Gems
889
- built with a CPU of "arm" will match any specific ARM CPU. See `gem help
890
- platform` for further details. Fixes #532 by Kim Burgestrand.
891
- * The --version option now accepts compound requirements the same as in a gem
892
- dependency. The following invocation will install rails between 4.0.0.beta
893
- and 4.2:
894
-
895
- gem install rails -v '>= 4.0.0.beta, < 4.2'
896
-
897
- Fixes #531 by Gary S. Weaver
898
- * `gem clean` now allows `-n` as an alias for `--dryrun`. Pull Request #517
899
- by Gastón Ramos
900
- * Added `gem update --system` to `gem help`. Pull Request #514 by Vince
901
- Wadhwani
902
- * Added PATH to `gem env` output. Pull Request #490 by Michal Papis
903
- * Added --host option to `gem owner` to match other commands using the
904
- gemcutter API. Pull Request #462 and issue #461 by Hugo Lopes Tavares
905
- * Added --abort-on-dependent to `gem uninstall`. This will abort instead of
906
- asking to uninstall a gem that is depended upon by another gem. Pull
907
- request #549 by Philip Arndt.
908
- * RubyGems no longer alters Gem::Specification.dirs when installing. Based on
909
- Pull Request #452 by Vít Ondruch
910
- * RubyGems uses ENV['MAKE'] or ENV['make'] over rbconfig.rb's make if present.
911
- Pull Request #443 by Erik Hollensbe
912
- * RubyGems can now save remote source cache files in an alternate directory
913
- controlled by `ENV["GEM_SPEC_CACHE"]`. Pull Request #489 by Michal Papis
914
- * Generated private keys are now encrypted. Pull Request #453 by pietro
915
- * Separated Gem::Request from Gem::RemoteFetcher. Pull Request #283 by Steve
916
- Klabnik.
917
- * RubyGems indicates when a .gem's content is corrupt while verifying. Bug
918
- #519 by William T Nelson.
919
- * Refactored common installer setup. Pull request #520 by Gastón Ramos
920
- * Moved activation tests to Gem::Specification. Pull request #521 by Gastón
921
- Ramos
922
- * When a --version option with a prerelease version is given RubyGems
923
- automatically enables prerelease versions but only the last version is
924
- used. If the first version is a prerelease version this is no longer sticky
925
- unless an explicit --[no-]prerelease was also given. Fixes part of #531.
926
- * RubyGems now supports an SSL client certificate. Pull request #550 by
927
- Robert Kenny.
928
- * RubyGems now suggests how to fix permission errors. Pull request #553 by
929
- Odin Dutton.
930
- * Added support for installing a gem as default gems for alternate ruby
931
- implementations. Pull request #566 by Charles Nutter.
932
- * Improved performance of Gem::Specification#load by caching the loaded
933
- gemspec. Pull request #569 by Charlie Somerville.
934
- * RubyGems now warns when an unsigned gem is verified if -P was given during
935
- installation even if the security policy allows unsigned gems and warns when
936
- an untrusted certificate is seen even if the security policy allows
937
- untrusted certificates. Issue #474 by Grant Olson
938
- * RubyGems can now rewrite executables with or without a shebang of
939
- /usr/bin/env via <code>gem pristine --all --only-executables
940
- --env-[no-]shebang</code>. Issue #579 by Paul Annesley.
941
- * RubyGems can now run its tests without OpenSSL. Ruby Bug #8557 by nobu.
942
- * Improved performance by caching Gem::Version objects and avoiding
943
- method_missing in Gem::Specification. Pull request #447 by Jon Leighton.
944
- * Files in a .gem now preserve their modification times. Pull request #582 by
945
- Jesse Bowes
946
- * Improved speed of looking up dependencies in SpecFetcher through
947
- Array#bsearch (when present). Pull request #595 by Andras Suller
948
- * Added `--all` option to `gem uninstall` which removes all gems in GEM_HOME.
949
- Pull request #584 by Shannon Skipper.
950
- * Added Gem.find_latest_files which is equivalent to Gem.find_files but only
951
- returns matching files from the latest version of each gem. Issue #186 by
952
- Ryan Davis.
953
- * Improved performance of `gem outdated` by reducing duplicate work (it is
954
- still slow, but I see a near 50% improvement for 250 gems on a fast
955
- connection). See also Gem::Specification::outdated_and_latest_version
956
-
957
- Bug fixes:
958
-
959
- * rubygems_plugin.rb files are now only loaded from the latest installed gem.
960
- * Fixed Gem.clear_paths when Security is defined at top-level. Pull request
961
- #625 by elarkin
962
- * Fixed credential creation for `gem push` when `--host` is not given. Pull
963
- request #622 by Arthur Nogueira Neves
964
-
965
- === 2.0.17 / 2015-06-08
966
-
967
- Bug fixes:
968
-
969
- * Tightened API endpoint checks for CVE-2015-3900
970
-
971
- === 2.0.16 / 2015-05-14
972
-
973
- Bug fixes:
974
-
975
- * Backport: Limit API endpoint to original security domain for CVE-2015-3900.
976
- Fix by claudijd
977
-
978
- === 2.0.15 / 2014-12-21
979
-
980
- Bug fixes:
981
-
982
- * Backport: Add alternate Root CA for upcoming certificate change.
983
- Fixes #1050 by Protosac
984
-
985
- === 2.0.14 / 2013-11-12
986
-
987
- Bug fixes:
988
-
989
- * Gem::Specification::remove_spec no longer checks for existence of the spec
990
- to be removed. Issue #698 by Tiago Macedo.
991
- * Restored wildcard handling when installing gems. Issue #697 by Chuck Remes.
992
- * Added DigiCert High Assurance EV Root CA certificate for the cloudfront.net
993
- certificate change.
994
- * The Gem::RemoteFetcher tests now choose the test server port more reliably.
995
- Pull Request #706 by akr.
996
-
997
- === 2.0.13 / 2013-10-24
998
-
999
- Bug fixes:
1000
-
1001
- * Use class check instead of :version method check when creating Gem::Version
1002
- objects. Fixes #674 by jkanywhere.
1003
- * Allow installation of gems when the home directory does not exist. Issue
1004
- #689 by Laurence Rowe
1005
- * Fix updating gems which have multiple platforms. Issue #693 by Ookami
1006
- Kenrou.
1007
-
1008
- === 2.0.12 / 2013-10-14
1009
-
1010
- Bug fixes:
1011
-
1012
- * Proxy usernames and passwords are now escaped properly. Ruby Bug #8979 by
1013
- Masahiro Tomita, Issue #668 by Kouhei Sutou.
1014
-
1015
- === 2.0.11 / 2013-10-08
1016
-
1017
- Bug fixes:
1018
-
1019
- * Added certificates to follow the s3.amazonaws.com certificate change. Fixes
1020
- #665 by emeyekayee. Fixes #671 by jonforums.
1021
- * Remove redundant built-in certificates not needed for https://rubygems.org
1022
- Fixes #654 by Vít Ondruch.
1023
- * Added test for missing certificates for https://s3.amazonaws.com or
1024
- https://rubygems.org. Pull request #673 by Hannes Georg.
1025
- * RubyGems now allows a Pathname for Kernel#require like the built-in
1026
- Kernel#require. Pull request #663 by Aaron Patterson.
1027
- * Required rbconfig in Gem::ConfigFile for Ruby 1.9.1 compatibility. (Ruby
1028
- 1.9.1 is no longer receiving security fixes, so please update to a newer
1029
- version.) Issue #676 by Michal Papis. Issue wayneeseguin/rvm#2262 by
1030
- Thomas Sänger.
1031
-
1032
- === 2.0.10 / 2013-09-24
1033
-
1034
- Security fixes:
1035
-
1036
- * RubyGems 2.1.4 and earlier are vulnerable to excessive CPU usage due to a
1037
- backtracking in Gem::Version validation. See CVE-2013-4363 for full details
1038
- including vulnerable APIs. Fixed versions include 2.1.5, 2.0.10, 1.8.27 and
1039
- 1.8.23.2 (for Ruby 1.9.3).
1040
-
1041
- === 2.0.9 / 2013-09-13
1042
-
1043
- Bug fixes:
1044
-
1045
- * Gem fetch now fetches the newest (not oldest) gem when --version is given.
1046
- Issue #643 by Brian Shirai.
1047
- * Fixed credential creation for `gem push` when `--host` is not given. Pull
1048
- request #622 by Arthur Nogueira Neves
1049
-
1050
- === 2.0.8 / 2013-09-09
1051
-
1052
- Security fixes:
1053
-
1054
- * RubyGems 2.0.7 and earlier are vulnerable to excessive CPU usage due to a
1055
- backtracking in Gem::Version validation. See CVE-2013-4287 for full details
1056
- including vulnerable APIs. Fixed versions include 2.0.8, 1.8.26 and
1057
- 1.8.23.1 (for Ruby 1.9.3). Issue #626 by Damir Sharipov.
1058
-
1059
- Bug fixes:
1060
-
1061
- * Fixed Gem.clear_paths when Security is defined at top-level. Pull request
1062
- #625 by elarkin
1063
-
1064
- === 2.0.7 / 2013-08-15
1065
-
1066
- Bug fixes:
1067
-
1068
- * Extensions may now be built in parallel (therefore gems may be installed in
1069
- parallel). Bug #607 by Hemant Kumar.
1070
- * Changed broken link to RubyGems Bookshelf to point to RubyGems guides. Ruby
1071
- pull request #369 by 謝致邦.
1072
- * Fixed various test failures due to platform differences or poor tests.
1073
- Patches by Yui Naruse and Koichi Sasada.
1074
- * Fixed documentation for Kernel#require.
1075
-
1076
- === 2.0.6 / 2013-07-24
1077
-
1078
- Bug fixes:
1079
-
1080
- * Fixed the `--no-install` and `-I` options to `gem list` and friends. Bug
1081
- #593 by Blargel.
1082
- * Fixed crash when installing gems with extensions under the `-V` flag. Bug
1083
- #601 by Nick Hoffman.
1084
- * Fixed race condition retrieving HTTP connections in Gem::Request on JRuby.
1085
- Bug #597 by Hemant Kumar.
1086
- * Fixed building extensions on ruby 1.9.3 under mingw. Bug #594 by jonforums,
1087
- Bug #599 by Chris Riesbeck
1088
- * Restored default of remote search to `gem search`.
1089
-
1090
- === 2.0.5 / 2013-07-11
1091
-
1092
- * Fixed building of extensions that run ruby in their makefiles. Bug #589 by
1093
- Zachary Salzbank.
1094
-
1095
- === 2.0.4 / 2013-07-09
1096
-
1097
- Bug fixes:
1098
-
1099
- * Fixed error caused by gem install not finding the right platform for your
1100
- platform. Bug #576 by John Anderson
1101
- * Fixed pushing gems with the default host. Bug #495 by Utkarsh Kukreti
1102
- * Improved unhelpful error message from `gem owner --remove`. Bug #488 by
1103
- Steve Klabnik
1104
- * Fixed typo in `gem spec` help. Pull request #563 by oooooooo
1105
- * Fixed creation of build_info with --install-dir. Bug #457 by Vít Ondruch.
1106
- * RubyGems converts non-string dependency names to strings now. Bug #505 by
1107
- Terence Lee
1108
- * Outdated prerelease versions are now listed in `gem outdated`.
1109
- * RubyGems now only calls fsync() on the specification when installing, not
1110
- every file from the gem. This improves the performance of gem installation
1111
- on some systems. Pull Request #556 by Grzesiek Kolodziejczyk
1112
- * Removed surprise search term anchoring in `gem search` to restore 1.8-like
1113
- search behavior while still defaulting to --remote. Pull request #562 by
1114
- Ben Bleything
1115
- * Fixed handling of DESTDIR when building extensions. Pull request #573 by
1116
- Akinori MUSHA
1117
- * Fixed documentation of `gem pristine` defaults (--all is not a default).
1118
- Pull request #577 by Shannon Skipper
1119
- * Fixed a windows extension-building test failure. Pull request #575 by
1120
- Hiroshi Shirosaki
1121
- * Fixed issue with `gem update` where it would attempt to use a Version
1122
- instead of a Requirement to find the latest gem. Fixes #570 by Nick Cox.
1123
- * RubyGems now ignores an empty but set RUBYGEMS_HOST environment variable.
1124
- Based on pull request #558 by Robin Dupret.
1125
- * Removed duplicate creation of gem subdirectories in
1126
- Gem::DependencyInstaller. Pull Request #456 by Vít Ondruch
1127
- * RubyGems now works with Ruby built with `--with-ruby-version=''`. Pull
1128
- Request #455 by Vít Ondruch
1129
- * Fixed race condition when two threads require the same gem. Ruby bug report
1130
- #8374 by Joel VanderWerf
1131
- * Cleaned up siteconf between extension build and extension install. Pull
1132
- request #587 by Dominic Cleal
1133
- * Fix deprecation warnings when converting gemspecs to yaml. Ruby commit
1134
- r41148 by Yui Naruse
1135
-
1136
- === 2.0.3 / 2013-03-11
1137
-
1138
- * Bug fixes:
1139
- * Reverted automatic upgrade to HTTPS as it breaks RubyGems APIs. Fixes
1140
- #506 by André Arko
1141
- * Use File.realpath to remove extra / while checking if files are
1142
- installable. Issue #508 by Jacob Evans.
1143
- * When installing RubyGems on JRuby, the standard library is no longer
1144
- deleted. Fixes #504 by Juan Sanchez, #507 by Charles Oliver Nutter.
1145
- * When building extconf.rb extensions use the intermediate destination
1146
- directory. This addresses further issues with C extension building.
1147
- * Use the absolute path to the generated siteconf in case the extension
1148
- changes directories to run extconf.rb (like memcached). Fixes #498 by
1149
- Chris Morris.
1150
- * Fixed default gem key and cert locations. Pull request #511 by Samuel
1151
- Cochran.
1152
-
1153
- === 2.0.2 / 2013-03-06
1154
-
1155
- * Bug fixes:
1156
- * HTTPS URLs are preferred over HTTP URLs. RubyGems will now attempt to
1157
- upgrade any HTTP source to HTTPS. Credit to Alex Gaynor.
1158
- * SSL Certificates are now installed properly. Fixes #491 by hemanth.hm
1159
- * Fixed HTTP to HTTPS upgrade for rubygems.org.
1160
-
1161
- === 2.0.1 / 2013-03-05
1162
-
1163
- * Bug fixes:
1164
- * Lazily load RubyGems.org API credentials to avoid failure during
1165
- RubyGems installation. Bug #465 by Isaac Sanders.
1166
- * RubyGems now picks the latest prerelease to install. Fixes bug #468 by
1167
- Santiago Pastorino.
1168
- * Improved detection of missing Zlib::GzipReader encoding support. Works
1169
- around JRuby-only bug #472 by Matt Beedle.
1170
- * "Done installing documentation" is no longer displayed when documentation
1171
- generation is disabled. Fixes bug #469 by Jeff Sandberg
1172
- * The existing executable check now respects --format-executable. Pull
1173
- request #471 by Jeremy Evans.
1174
- * RubyGems no longer creates gem subdirectories when fetching gems. Fixes
1175
- #482 by Loren Segal.
1176
- * RubyGems does not require OpenSSL like RubyGems 1.8, but still prefers it.
1177
- Fixes #481 by André Arko.
1178
- * RubyGems only fetches specs for list, search and query commands when
1179
- needed like RubyGems 1.x. Fixes bug #487 by bitbuerster, Ruby bug #8019
1180
- by Ike Miller.
1181
- * Allow specification of mode for gem subdirectory creation.
1182
- Ruby bug #7713 by nobu
1183
- * Fix tests when an 'a.rb' exists. Ruby bug #7749 by nobu.
1184
-
1185
- === 2.0.0 / 2013-02-24
1186
-
1187
- RubyGems 2.0 includes several new features and many breaking changes. Some of
1188
- these changes will cause existing software to break. These changes are a
1189
- result of improvements to the internals of RubyGems that make it more
1190
- maintainable and improve APIs for RubyGems users.
1191
-
1192
- If you are using bundler be sure to install a 1.3.0.prerelease version or
1193
- newer. Older versions of bundler will not work with RubyGems 2.0.
1194
-
1195
- Changes since RubyGems 1.8.25 (including past pre-releases):
1196
-
1197
- * Breaking changes:
1198
-
1199
- * Deprecated Gem.unresolved_deps in favor of
1200
- Gem::Specification.unresolved_deps
1201
- * Merged Gem::Builder into Gem::Package. Use Gem::Package.build(spec)
1202
- instead of Gem::Builder.new(spec).build
1203
- * Merged Gem::Format into Gem::Package. Use Gem::Package.new instead
1204
- of Gem::Format.from_file_by_path
1205
- * Moved Gem::OldFormat to Gem::Package::Old. Gem::Package will
1206
- automatically detect old gems for you, so there is no need to refer to it.
1207
- * Removed Gem::DocManager, replaced by Gem::RDoc and done_installing hook
1208
- * Removed Gem::Package::TarInput in favor of Gem::Package
1209
- * Removed Gem::Package::TarOutput in favor of Gem::Package
1210
- * Removed Gem::RemoteFetcher#open_uri_or_path. (steveklabnik)
1211
- * Removed Gem::SSL in favor of using OpenSSL directly
1212
- * Removed Gem.loaded_path
1213
- * Removed RSS generation from the gem indexer
1214
- * Removed benchmark option from .gemrc
1215
- * Removed broken YAML gemspec support in `gem build`
1216
- * Removed support for Ruby 1.9.1
1217
- * Removed many deprecated methods
1218
-
1219
- * Major enhancements:
1220
-
1221
- * Improved support for default gems shipping with ruby 2.0.0+
1222
- * A gem can have arbitrary metadata through Gem::Specification#metadata
1223
- * `gem search` now defaults to --remote and is anchored like gem list. Fixes
1224
- #166
1225
- * Added --document to replace --rdoc and --ri. Use --no-document to disable
1226
- documentation, --document=rdoc to only generate rdoc.
1227
- * Only ri-format documentation is generated by default.
1228
- * `gem server` uses RDoc::Servlet from RDoc 4.0 to generate HTML
1229
- documentation.
1230
- * Add ability to install gems directly from a compatible gemdep
1231
- file (Gemfile, Isolate, gem.deps.rb)
1232
- <code>gem install --file path</code>
1233
- * Add ability to load gem activation information from a gemdeps
1234
- file (Gemfile, Isolate, gem.deps.rb).
1235
- Set RUBYGEMS_GEMDEPS=path to have it loaded. Use - as the path
1236
- to autodetect (current and parent directories are searched).
1237
-
1238
- * Minor enhancements:
1239
- * Added `gem check --doctor` to clean up after failed uninstallation. Bug
1240
- #419 by Erik Hollensbe
1241
- * RubyGems no longer defaults to uninstalling gems if a dependency would be
1242
- broken. Now you must manually say "yes". Pull Request #406 by Shannon
1243
- Skipper.
1244
- * Gem::DependencyInstaller now passes build_args down to the installer.
1245
- Pull Request #412 by Sam Rawlins.
1246
- * Added a cmake builder. Pull request #265 by Allan Espinosa.
1247
- * Removed rubyforge page from gem list output
1248
- * Added --only-executables option to `gem pristine`. Fixes #326
1249
- * Added -I flag for 'gem query' to exclude installed items
1250
- * Added Gem.install(name, version=default) for interactive sessions
1251
- * Added Gem::FilePermissionError#directory
1252
- * Added Gem::rubygems_version which is like Gem::ruby_version
1253
- * Added RUBYGEMS_HOST documentation to `gem env`
1254
- * Added a post_installs hook that runs after Gem::DependencyInstaller
1255
- finishes installing a set of gems
1256
- * Added a usage method for Gem::Commands::OwnerCommand. (ffmike)
1257
- * Added an optional type parameter to Gem::Specification#doc_dir.
1258
- * Added announcements url and clarified how to file tickets
1259
- * Added guidance for how to use rdoc and ri in setup command. (jjb)
1260
- * Attempting to install multiple gems with --version is now an error. You
1261
- can specify per-gem versions like <code>rake:0.9.5</code>
1262
- * Clarified Gem::CommandManager example code to avoid multi load problems.
1263
- (baroquebobcat)
1264
- * Corrupt or bad cached specs are now re-downloaded. (cookrn)
1265
- * Extension build arguments are saved from install and reused for pristine
1266
- * If the OS allows it, documentation is built in a forked background
1267
- process. (alexch)
1268
- * Imported gem yank from the gemcutter gem. Fixes #177, #343
1269
- * Packaged gems now contain and verify SHA1 checksums
1270
- * Removed commas from gem update summary so you can paste it back to
1271
- cleanup. (amatsuda)
1272
- * RubyGems will now warn when building gems with prerelease dependencies.
1273
- Fixes #255
1274
- * The RUBYGEMS_HOST environment variable is used to determine appropriate
1275
- API key for pushing or yanking gems
1276
- * Uninstall is now performed in reverse topological order.
1277
- * Users are told what to type when they try to uninstall a gem outside
1278
- GEM_HOME
1279
- * When building gems with non-world-readable files a warning is shown.
1280
-
1281
- * Bug fixes:
1282
- * Gem.refresh now maintains the active gem list. Clearing the list would
1283
- cause double-loads which would cause other bugs. Pull Request #427 by
1284
- Jeremy Evans
1285
- * RubyGems now refuses to read the gem push credentials file if it has
1286
- insecure permissions. Pull Request #438 by Shannon Skipper
1287
- * RubyGems now requires a local gem name to end in '.gem'. Issue #407 by
1288
- Santiago Pastorino.
1289
- * Do not allow old-format gems to be installed with a security policy that
1290
- verifies data.
1291
- * Gem installation will fail if RubyGems cannot load the specification from
1292
- the gem. Bug #419 by Erik Hollensbe
1293
- * RubyGems tests now run in FIPS mode. Issue #365 by Vít Ondruch
1294
- * Only update the spec cache when we have permission. Ruby Bug #7509
1295
- * gem install now ignores directories and non .gem files that match the gem
1296
- to install. Bug #407 by Santiago Pastorino.
1297
- * Added PID to setup bin_file while installing RubyGems to protect against
1298
- errors. Fixes #328 by ConradIrwin
1299
- * Added missing require in Gem::Uninstaller when format_executable is set.
1300
- (sakuro)
1301
- * Exact gem command name matches are now chosen even if a longer command
1302
- overlaps the exact name
1303
- * Fixed Gem.loaded_path? with a Pathname instance. (mattetti)
1304
- * Fixed Gem::Dependency.new mismatch with rubygems.org checks
1305
- * Fixed SecurityError in Gem::Specification.load when $SAFE=1. (ged)
1306
- * Fixed SystemStackError with "gem list -r -a" on 1.9 (cldwalker)
1307
- * Fixed `gem owners` command so that exceptions don't stop the rest of the
1308
- command from completing
1309
- * Fixed `gem unpack uninstalled_gem` default version picker.
1310
- * Fixed defunct rubyforge urls in gem command line help
1311
- * Fixed documentation for the various hooks collections
1312
- * Fixed documentation generation on setup when the gem directory does not
1313
- exist. Fixes #253
1314
- * Fixed documentation to reflect where defaults overrides are loaded from.
1315
- (ferrous26)
1316
- * Fixed editing of a Makefile with 8-bit characters. Fixes #181
1317
- * Fixed gem loading issue caused by dependencies not resolving.
1318
- * Fixed independent testing of test_gem_package_tar_output. Ruby Bug #4686
1319
- by Shota Fukumori
1320
- * Fixed typo in uninstall message. (sandal)
1321
- * Gem::Requirement#<=> returns nil on non-requirement arg.
1322
- * Gem::Requirement.satisfied_by? raises ArgumentError if given a non-version
1323
- argument
1324
- * Gem::Version#initialize no longer modifies its parameter. (miaout17)
1325
- * Group-writable permissions are now allowed for gem repositories. (ctcherry)
1326
- * Memoized values in Gem::Specification are now reset the version or
1327
- platform changes. Fixes #78
1328
- * More specific errors are raised for bad requirements. (arsduo)
1329
- * Removed reference to 'sources' gem in documentation
1330
- * Removed unused block arguments to avoid creating Proc objects. (k-tsj)
1331
- * RubyGems now asks before overwriting executable wrappers. Ruby Bug #1800
1332
- * The bindir is now created with mkdir_p during install. (voxik)
1333
- * URI scheme matching is no longer case-sensitive. Fixes #322
1334
- * ext/builder now checks $MAKE as well as $make (okkez)
1335
-
1336
- Changes since RubyGems 2.0.0.rc.2:
1337
-
1338
- * Bug fixes:
1339
- * Gem.gzip and Gem.gunzip now return strings with BINARY encoding. Issue
1340
- #450 by Jeremy Kemper
1341
- * Fixed placement of executables with --user-install. Ruby bug #7779 by Jon
1342
- Forums.
1343
- * Fixed `gem update` with --user-install. Ruby bug #7779 by Jon Forums.
1344
- * Fixed test_initialize_user_install for windows. Ruby bug #7885 by Luis
1345
- Lavena.
1346
- * Create extension destination directory before building extensions. Ruby
1347
- Bug #7897 and patch by Kenta Murata.
1348
- * Fixed verification of gems at LowSecurity due to missing signature.
1349
- Thanks to André Arko.
1350
-
1351
- === 2.0.0.rc.2 / 2013-02-08
1352
-
1353
- * Bug fixes:
1354
- * Fixed signature verification of gems which was broken only on master.
1355
- Thanks to Brian Buchanan.
1356
- * Proper exceptions are raised when verifying an unsigned gem. Thanks to
1357
- André Arko.
1358
-
1359
- === 2.0.0.rc.1 / 2013-01-08
1360
-
1361
- * Minor enhancements:
1362
- * This release of RubyGems can push gems to rubygems.org. Ordinarily
1363
- prerelease versions of RubyGems cannot push gems.
1364
- * Added `gem check --doctor` to clean up after failed uninstallation. Bug
1365
- #419 by Erik Hollensbe
1366
-
1367
- * Bug fixes:
1368
- * Fixed exception raised when attempting to push gems to rubygems.org. Bug
1369
- #418 by André Arko
1370
- * Gem installation will fail if RubyGems cannot load the specification from
1371
- the gem. Bug #419 by Erik Hollensbe
1372
-
1373
- === 2.0.0.preview2.2 / 2012-12-14
1374
-
1375
- * Minor enhancements:
1376
- * Added a cmake builder. Pull request #265 by Allan Espinosa.
1377
- * Removed rubyforge page from gem list output
1378
-
1379
- * Bug fixes:
1380
- * Restored RubyGems 1.8 packaging behavior of omitting directories. Bug
1381
- #413 by Jeremy Kemper.
1382
-
1383
- === 2.0.0.preview2.1 / 2012-12-08
1384
-
1385
- * Minor enhancements:
1386
- * Gem::DependencyInstaller now passes build_args down to the installer.
1387
- Pull Request #412 by Sam Rawlins.
1388
- * RubyGems no longer defaults to uninstalling gems if a dependency would be
1389
- broken. Now you must manually say "yes". Pull Request #406 by Shannon
1390
- Skipper.
1391
-
1392
- * Bug fixes:
1393
- * RubyGems tests now run in FIPS mode. Issue #365 by Vít Ondruch
1394
- * Fixed Gem::Specification#base_dir for default gems. Ruby Bug #7469
1395
- * Only update the spec cache when we have permission. Ruby Bug #7509
1396
- * Restored order of version marking. Fixes an issue with bundler. Thanks
1397
- to Aaron Patterson and Terence Lee.
1398
- * Gem cleanup now skips default gems. Pull Request #409 by Kouhei Sutou
1399
- * gem list, search and query can show remote gems again. Bug #410 by
1400
- Henry Maddocks
1401
- * gem install now ignores directories that match the gem to install. Bug
1402
- #407 by Santiago Pastorino.
1403
-
1404
- === 2.0.0.preview2 / 2012-12-01
1405
-
1406
- This release contains two commits not present in Ruby 2.0.0.preview2. One
1407
- commit is for ruby 1.8.7 support, the second allows RubyGems to work under
1408
- $SAFE=1. There is no functional difference compared to Ruby 2.0.0.preview2
1409
-
1410
- * Breaking changes:
1411
-
1412
- * Deprecated Gem.unresolved_deps in favor of
1413
- Gem::Specification.unresolved_deps
1414
- * Merged Gem::Builder into Gem::Package. Use Gem::Package.build(spec)
1415
- instead of Gem::Builder.new(spec).build
1416
- * Merged Gem::Format into Gem::Package. Use Gem::Package.new instead
1417
- of Gem::Format.from_file_by_path
1418
- * Moved Gem::OldFormat to Gem::Package::Old. Gem::Package will
1419
- automatically detect old gems for you, so there is no need to refer to it.
1420
- * Removed Gem::DocManager, replaced by Gem::RDoc and done_installing hook
1421
- * Removed Gem::Package::TarInput in favor of Gem::Package
1422
- * Removed Gem::Package::TarOutput in favor of Gem::Package
1423
- * Removed Gem::RemoteFetcher#open_uri_or_path. (steveklabnik)
1424
- * Removed Gem::SSL in favor of using OpenSSL directly
1425
- * Removed Gem.loaded_path
1426
- * Removed RSS generation from the gem indexer
1427
- * Removed benchmark option from .gemrc
1428
- * Removed broken YAML gemspec support in `gem build`
1429
- * Removed support for Ruby 1.9.1
1430
- * Removed many deprecated methods
1431
-
1432
- * Major enhancements:
1433
-
1434
- * Improved support for default gems shipping with ruby 2.0.0+
1435
- * A gem can have arbitrary metadata through Gem::Specification#metadata
1436
- * `gem search` now defaults to --remote and is anchored like gem list. Fixes
1437
- #166
1438
- * Added --document to replace --rdoc and --ri. Use --no-document to disable
1439
- documentation, --document=rdoc to only generate rdoc.
1440
- * Only ri-format documentation is generated by default.
1441
- * `gem server` uses RDoc::Servlet from RDoc 4.0 to generate HTML
1442
- documentation.
1443
- * Add ability to install gems directly from a compatible gemdep
1444
- file (Gemfile, Isolate, gem.deps.rb)
1445
- <code>gem install --file path</code>
1446
- * Add ability to load gem activation information from a gemdeps
1447
- file (Gemfile, Isolate, gem.deps.rb).
1448
- Set RUBYGEMS_GEMDEPS=path to have it loaded. Use - as the path
1449
- to autodetect (current and parent directories are searched).
1450
-
1451
- * Minor enhancements:
1452
-
1453
- * Added --only-executables option to `gem pristine`. Fixes #326
1454
- * Added -I flag for 'gem query' to exclude installed items
1455
- * Added Gem.install(name, version=default) for interactive sessions
1456
- * Added Gem::FilePermissionError#directory
1457
- * Added Gem::rubygems_version which is like Gem::ruby_version
1458
- * Added RUBYGEMS_HOST documentation to `gem env`
1459
- * Added a post_installs hook that runs after Gem::DependencyInstaller
1460
- finishes installing a set of gems
1461
- * Added a usage method for Gem::Commands::OwnerCommand. (ffmike)
1462
- * Added an optional type parameter to Gem::Specification#doc_dir.
1463
- * Added announcements url and clarified how to file tickets
1464
- * Added guidance for how to use rdoc and ri in setup command. (jjb)
1465
- * Attempting to install multiple gems with --version is now an error. You
1466
- can specify per-gem versions like <code>rake:0.9.5</code>
1467
- * Clarified Gem::CommandManager example code to avoid multi load problems.
1468
- (baroquebobcat)
1469
- * Corrupt or bad cached specs are now re-downloaded. (cookrn)
1470
- * Extension build arguments are saved from install and reused for pristine
1471
- * If the OS allows it, documentation is built in a forked background
1472
- process. (alexch)
1473
- * Imported gem yank from the gemcutter gem. Fixes #177, #343
1474
- * Packaged gems now contain and verify SHA1 checksums
1475
- * Removed commas from gem update summary so you can paste it back to
1476
- cleanup. (amatsuda)
1477
- * RubyGems will now warn when building gems with prerelease dependencies.
1478
- Fixes #255
1479
- * The RUBYGEMS_HOST environment variable is used to determine appropriate
1480
- API key for pushing or yanking gems
1481
- * Uninstall is now performed in reverse topological order.
1482
- * Users are told what to type when they try to uninstall a gem outside
1483
- GEM_HOME
1484
- * When building gems with non-world-readable files a warning is shown.
1485
-
1486
- * Bug fixes:
1487
-
1488
- * Added PID to setup bin_file while installing RubyGems to protect against
1489
- errors. Fixes #328 by ConradIrwin
1490
- * Added missing require in Gem::Uninstaller when format_executable is set.
1491
- (sakuro)
1492
- * Exact gem command name matches are now chosen even if a longer command
1493
- overlaps the exact name
1494
- * Fixed Gem.loaded_path? with a Pathname instance. (mattetti)
1495
- * Fixed Gem::Dependency.new mismatch with rubygems.org checks
1496
- * Fixed SecurityError in Gem::Specification.load when $SAFE=1. (ged)
1497
- * Fixed SystemStackError with "gem list -r -a" on 1.9 (cldwalker)
1498
- * Fixed `gem owners` command so that exceptions don't stop the rest of the
1499
- command from completing
1500
- * Fixed `gem unpack uninstalled_gem` default version picker.
1501
- * Fixed defunct rubyforge urls in gem command line help
1502
- * Fixed documentation for the various hooks collections
1503
- * Fixed documentation generation on setup when the gem directory does not
1504
- exist. Fixes #253
1505
- * Fixed documentation to reflect where defaults overrides are loaded from.
1506
- (ferrous26)
1507
- * Fixed editing of a Makefile with 8-bit characters. Fixes #181
1508
- * Fixed gem loading issue caused by dependencies not resolving.
1509
- * Fixed independent testing of test_gem_package_tar_output. Ruby Bug #4686
1510
- by Shota Fukumori
1511
- * Fixed typo in uninstall message. (sandal)
1512
- * Gem::Requirement#<=> returns nil on non-requirement arg.
1513
- * Gem::Requirement.satisfied_by? raises ArgumentError if given a non-version
1514
- argument
1515
- * Gem::Version#initialize no longer modifies its parameter. (miaout17)
1516
- * Group-writable permissions are now allowed for gem repositories. (ctcherry)
1517
- * Memoized values in Gem::Specification are now reset the version or
1518
- platform changes. Fixes #78
1519
- * More specific errors are raised for bad requirements. (arsduo)
1520
- * Removed reference to 'sources' gem in documentation
1521
- * Removed unused block arguments to avoid creating Proc objects. (k-tsj)
1522
- * RubyGems now asks before overwriting executable wrappers. Ruby Bug #1800
1523
- * The bindir is now created with mkdir_p during install. (voxik)
1524
- * URI scheme matching is no longer case-sensitive. Fixes #322
1525
- * ext/builder now checks $MAKE as well as $make (okkez)
1526
-
1527
- === 1.8.29 / 2013-11-23
1528
-
1529
- Bug fixes:
1530
-
1531
- * Fixed installation when the LANG environment variable is empty.
1532
- * Added DigiCert High Assurance EV Root CA to the default SSL certificates for
1533
- cloudfront.
1534
-
1535
- === 1.8.28 / 2013-10-08
1536
-
1537
- Bug fixes:
1538
-
1539
- * Added the Verisign Class 3 Public Primary Certification Authority G5
1540
- certificate and its intermediary to follow the s3.amazonaws.com certificate
1541
- change. Fixes #665 by emeyekayee. Fixes #671 by jonforums.
1542
- * Remove redundant built-in certificates not needed for https://rubygems.org
1543
- Fixes #654 by Vít Ondruch.
1544
- * Added test for missing certificates for https://s3.amazonaws.com or
1545
- https://rubygems.org. Pull request #673 by Hannes Georg.
1546
-
1547
- === 1.8.27 / 2013-09-24
1548
-
1549
- Security fixes:
1550
-
1551
- * RubyGems 2.1.4 and earlier are vulnerable to excessive CPU usage due to a
1552
- backtracking in Gem::Version validation. See CVE-2013-4363 for full details
1553
- including vulnerable APIs. Fixed versions include 2.1.5, 2.0.10, 1.8.27 and
1554
- 1.8.23.2 (for Ruby 1.9.3).
1555
-
1556
- === 1.8.26 / 2013-09-09
1557
-
1558
- Security fixes:
1559
-
1560
- * RubyGems 2.0.7 and earlier are vulnerable to excessive CPU usage due to a
1561
- backtracking in Gem::Version validation. See CVE-2013-4287 for full details
1562
- including vulnerable APIs. Fixed versions include 2.0.8, 1.8.26 and
1563
- 1.8.23.1 (for Ruby 1.9.3). Issue #626 by Damir Sharipov.
1564
-
1565
- Bug fixes:
1566
-
1567
- * Fixed editing of a Makefile with 8-bit characters. Fixes #181
1568
-
1569
- === 1.8.25 / 2013-01-24
1570
-
1571
- * Bug fixes:
1572
- * Added 11627 to setup bin_file location to protect against errors. Fixes
1573
- #328 by ConradIrwin
1574
- * Specification#ruby_code didn't handle Requirement with multiple
1575
- * Fix error on creating a Version object with a frozen string.
1576
- * Fix incremental index updates
1577
- * Fix missing load_yaml in YAML-related requirement.rb code.
1578
- * Manually backport encoding-aware YAML gemspec
1579
-
1580
- === 1.8.24 / 2012-04-27
1581
-
1582
- * 1 bug fix:
1583
-
1584
- * Install the .pem files properly. Fixes #320
1585
- * Remove OpenSSL dependency from the http code path
1586
-
1587
- === 1.8.23.2 / 2013-09-24
1588
-
1589
- Security fixes:
1590
-
1591
- * RubyGems 2.1.4 and earlier are vulnerable to excessive CPU usage due to a
1592
- backtracking in Gem::Version validation. See CVE-2013-4363 for full details
1593
- including vulnerable APIs. Fixed versions include 2.1.5, 2.0.10, 1.8.27 and
1594
- 1.8.23.2 (for Ruby 1.9.3).
1595
-
1596
- === 1.8.23.1 / 2013-09-09
1597
-
1598
- Security fixes:
1599
-
1600
- * RubyGems 2.0.7 and earlier are vulnerable to excessive CPU usage due to a
1601
- backtracking in Gem::Version validation. See CVE-2013-4287 for full details
1602
- including vulnerable APIs. Fixed versions include 2.0.8, 1.8.26 and
1603
- 1.8.23.1 (for Ruby 1.9.3). Issue #626 by Damir Sharipov.
1604
-
1605
- === 1.8.23 / 2012-04-19
1606
-
1607
- This release increases the security used when RubyGems is talking to
1608
- an https server. If you use a custom RubyGems server over SSL, this
1609
- release will cause RubyGems to no longer connect unless your SSL cert
1610
- is globally valid.
1611
-
1612
- You can configure SSL certificate usage in RubyGems through the
1613
- :ssl_ca_cert and :ssl_verify_mode options in ~/.gemrc and /etc/gemrc.
1614
- The recommended way is to set :ssl_ca_cert to the CA certificate for
1615
- your server or a certificate bundle containing your CA certification.
1616
-
1617
- You may also set :ssl_verify_mode to 0 to completely disable SSL
1618
- certificate checks, but this is not recommended.
1619
-
1620
-
1621
- * 2 security fixes:
1622
- * Disallow redirects from https to http
1623
- * Turn on verification of server SSL certs
1624
-
1625
- * 1 minor feature:
1626
- * Add --clear-sources to fetch
1627
-
1628
- * 2 bug fixes:
1629
- * Use File.identical? to check if two files are the same.
1630
- * Fixed init_with warning when using psych
1631
-
1632
- === 1.8.22 / 2012-04-13
1633
-
1634
- * 4 bug fixes:
1635
-
1636
- * Workaround for psych/syck YAML date parsing issue
1637
- * Don't trust the encoding of ARGV. Fixes #307
1638
- * Quiet default warnings about missing spec variables
1639
- * Read a binary file properly (windows fix)
1640
-
1641
- === 1.8.21 / 2012-03-22
1642
-
1643
- * 2 bug fixes:
1644
-
1645
- * Add workaround for buggy yaml output from 1.9.2
1646
- * Force 1.9.1 to remove it's prelude code. Fixes #305
1647
-
1648
- === 1.8.20 / 2012-03-21
1649
-
1650
- * 4 bug fixes:
1651
-
1652
- * Add --force to `gem build` to skip validation. Fixes #297
1653
- * Gracefully deal with YAML::PrivateType objects in Marshal'd gemspecs
1654
- * Treat the source as a proper url base. Fixes #304
1655
- * Warn when updating the specs cache fails. Fixes #300
1656
-
1657
- === 1.8.19 / 2012-03-14
1658
-
1659
- * 3 bug fixes:
1660
-
1661
- * Handle loading psych vs syck properly. Fixes #298
1662
- * Make sure Date objects don't leak in via Marshal
1663
- * Perform Date => Time coercion on yaml loading. Fixes #266
1664
-
1665
- === 1.8.18 / 2012-03-11
1666
-
1667
- * 4 bug fixes:
1668
-
1669
- * Use Psych API to emit more compatible YAML
1670
- * Download and write inside `gem fetch` directly. Fixes #289
1671
- * Honor sysconfdir on 1.8. Fixes #291
1672
- * Search everywhere for a spec for `gem spec`. Fixes #288
1673
- * Fix Gem.all_load_path. Fixes #171
1674
-
1675
- === 1.8.17 / 2012-02-17
1676
-
1677
- * 2 minor enhancements:
1678
-
1679
- * Add MacRuby to the list of special cases for platforms (ferrous26)
1680
- * Add a default for where to install rubygems itself
1681
-
1682
- * 3 bug fixes:
1683
-
1684
- * Fixed gem loading issue caused by dependencies not resolving.
1685
- * Fixed umask error when stdlib is required and unresolved dependencies exist.
1686
- * Shebang munging would only take one arg after the cmd
1687
- * Define SUCKAGE better, ie only MRI 1.9.2
1688
- * Propagate env-shebang to the pristine command if set for install.
1689
-
1690
- === 1.8.16 / 2012-02-12
1691
-
1692
- * 3 bug fixes:
1693
-
1694
- * Fix gem specification loading when encoding is not UTF-8. #146
1695
- * Allow group writable if umask allows it already.
1696
- * Uniquify the spec list based on directory order priority
1697
-
1698
- === 1.8.15 / 2012-01-06
1699
-
1700
- * 1 bug fix:
1701
-
1702
- * Don't eager load yaml, it creates a bad loop. Fixes #256
1703
-
1704
- === 1.8.14 / 2012-01-05
1705
-
1706
- * 2 bug fixes:
1707
-
1708
- * Ignore old/bad cache data in Version
1709
- * Make sure our YAML workarounds are loaded properly. Fixes #250.
1710
-
1711
- === 1.8.13 / 2011-12-21
1712
-
1713
- * 1 bug fix:
1714
-
1715
- * Check loaded_specs properly when trying to satisfy a dep
1716
-
1717
- * 2 minor enhancements:
1718
-
1719
- * Remove using #loaded_path? for performance
1720
- * Remove Zlib workaround for Windows build.
1721
-
1722
- === 1.8.12 / 2011-12-02
1723
-
1724
- * Bug fix:
1725
- * Handle more cases where Syck's DefaultKey showed up in requirements
1726
- and wasn't cleaned out.
1727
-
1728
- === 1.8.11 / 2011-10-03
1729
-
1730
- * Bug fix:
1731
- * Deprecate was moved to Gem::Deprecate to stop polluting the top-level
1732
- namespace.
1733
-
1734
- === 1.8.10 / 2011-08-25
1735
-
1736
- RubyGems 1.8.10 contains a security fix that prevents malicious gems from
1737
- executing code when their specification is loaded. See
1738
- https://github.com/rubygems/rubygems/pull/165 for details.
1739
-
1740
- * 5 bug fixes:
1741
-
1742
- * RubyGems escapes strings in ruby-format specs using #dump instead of #to_s
1743
- and %q to prevent code injection. Issue #165 by Postmodern
1744
- * RubyGems attempt to activate the psych gem now to obtain bugfixes from
1745
- psych.
1746
- * Gem.dir has been restored to the front of Gem.path. Fixes remaining
1747
- problem with Issue #115
1748
- * Fixed Syck DefaultKey infecting ruby-format specifications.
1749
- * `gem uninstall a b` no longer stops if gem "a" is not installed.
1750
-
1751
- === 1.8.9 / 2011-08-23
1752
-
1753
- * Bug fixes:
1754
-
1755
- * Fixed uninstalling multiple gems using `gem uninstall`
1756
- * Gem.use_paths splatted to take multiple paths! Issue #148
1757
-
1758
- === 1.8.8 / 2011-08-11
1759
-
1760
- * Bug fix:
1761
- * The encoding of a gem's YAML spec is now UTF-8. Issue #149
1762
-
1763
- === 1.8.7 / 2011-08-04
1764
-
1765
- * Bug fixes:
1766
- * Added missing require for `gem uninstall --format-executable`
1767
- * The correct name of the executable being uninstalled is now displayed with
1768
- --format-executable
1769
- * Fixed `gem unpack uninstalled_gem` default version picker
1770
- * RubyGems no longer claims a nonexistent gem can be uninstalled
1771
- * `gem which` no longer claims directories are requirable files
1772
- * `gem cleanup` continues cleaning up gems if one can't be uninstalled due
1773
- to permissions. Issue #82
1774
- * Gem repository directories are no longer created world-writable. Patch by
1775
- Sakuro OZAWA. Ruby Bug #4930
1776
-
1777
- === 1.8.6 / 2011-07-25
1778
-
1779
- * 1 minor enhancement:
1780
-
1781
- * Add autorequires and delay startup of RubyGems until require is called.
1782
- See Ruby bug #4962
1783
-
1784
- * 9 bug fixes:
1785
-
1786
- * Restore behavior of Gem::Specification#loaded? Ruby Bug #5032
1787
- * Clean up SourceIndex.add_specs to not be so damn noisy. (tadman)
1788
- * Added missing APPLE_GEM_HOME in paths.
1789
- * Extend YAML::Syck::DefaultKey fixing to `marshal_dump` as well.
1790
- * Fix #29216: check correct bin_dir in check_that_user_bin_dir_is_in_path.
1791
- * Revert Gem.latest_load_paths to working order (PathSupport revert).
1792
- * Restore normalization of GEM_HOME.
1793
- * Handle the Syck DefaultKey problem once and for all.
1794
- * Fix SystemStackError occurring with "gem list -r -a" on 1.9.
1795
-
1796
- === 1.8.5 / 2011-05-31
1797
-
1798
- * 2 minor enhancement:
1799
-
1800
- * The -u option to 'update local source cache' is official deprecated.
1801
- * Remove has_rdoc deprecations from Specification.
1802
-
1803
- * 2 bug fixes:
1804
-
1805
- * Handle bad specs more gracefully.
1806
- * Reset any Gem paths changed in the installer.
1807
-
1808
- === 1.8.4 / 2011-05-25
1809
-
1810
- * 1 minor enhancement:
1811
-
1812
- * Removed default_executable deprecations from Specification.
1813
-
1814
- === 1.8.3 / 2011-05-19
1815
-
1816
- * 4 bug fixes:
1817
-
1818
- * Fix independent testing of test_gem_package_tar_output. Ruby Bug #4686 by
1819
- Shota Fukumori
1820
- * Fix test failures for systems with separate ruby versions. Ruby Bug #3808
1821
- by Jeremy Evans
1822
- * Fixed some bad calls left behind after rolling out some refactorings.
1823
- * Syck has a parse error on (good) times output from Psych. (dazuma, et al)
1824
-
1825
- === 1.8.2 / 2011-05-11
1826
-
1827
- * 2 minor enhancements:
1828
-
1829
- * Moved #outdated from OutdatedCommand to Specification (for Isolate).
1830
- * Print out a warning about missing executables.
1831
-
1832
- * 3 bug fixes:
1833
-
1834
- * Added missing requires to fix various upgrade issues.
1835
- * `gem pristine` respects multiple gem repositories.
1836
- * setup.rb now execs with --disable-gems when possible
1837
-
1838
- === 1.8.1 / 2011-05-05
1839
-
1840
- * 1 minor enhancement:
1841
-
1842
- * Added Gem::Requirement#specific? and Gem::Dependency#specific?
1843
-
1844
- * 4 bug fixes:
1845
-
1846
- * Typo on Indexer rendered it useless on Windows
1847
- * gem dep can fetch remote dependencies for non-latest gems again.
1848
- * gem uninstall with multiple versions no longer crashes with ArgumentError
1849
- * Always use binary mode for File.open to keep Windows happy
1850
-
1851
- === 1.8.0 / 2011-04-34
1852
-
1853
- This release focused on properly encapsulating functionality. Most of this
1854
- work focused on moving functionality out of Gem::SourceIndex and
1855
- Gem::GemPathSearcher into Gem::Specification where it belongs.
1856
-
1857
- After installing RubyGems 1.8.0 you will see deprecations when loading your
1858
- exsting gems. Run `gem pristine --all --no-extensions` to regenerate your
1859
- gem specifications safely.
1860
-
1861
- Currently RubyGems does not save the build arguments used to build gems with
1862
- extensions. You will need to run `gem pristine gem_with_extension --
1863
- --build-arg` to regenerate a gem with an extension where it requires special
1864
- build arguments.
1865
-
1866
- * 24(+) Deprecations (WOOT!):
1867
-
1868
- * DependencyList.from_source_index deprecated the source_index argument.
1869
- * Deprecated Dependency.new(/regex/).
1870
- * Deprecated Gem.searcher.
1871
- * Deprecated Gem.source_index and Gem.available?
1872
- * Deprecated Gem: activate_dep, activate_spec, activate,
1873
- report_activate_error, and required_location.
1874
- * Deprecated Gem::all_partials
1875
- * Deprecated Gem::cache_dir
1876
- * Deprecated Gem::cache_gem
1877
- * Deprecated Gem::default_system_source_cache_dir
1878
- * Deprecated Gem::default_user_source_cache_dir
1879
- * Deprecated Platform#empty?
1880
- * Deprecated Specification.cache_gem
1881
- * Deprecated Specification.installation_path
1882
- * Deprecated Specification.loaded, loaded?, and loaded=
1883
- * Deprecated all of Gem::SourceIndex.
1884
- * Deprecated all of Gem::GemPathSearcher.
1885
- * Deprecated Gem::Specification#default_executable.
1886
-
1887
- * 2 major enhancements:
1888
-
1889
- * Gem::SourceIndex functionality has been moved to Gem::Specification.
1890
- Gem::SourceIndex is completely disconnected from Gem::Specification
1891
- * Refactored GemPathSearcher entirely out. RIPMF
1892
-
1893
- * 41 minor enhancements:
1894
-
1895
- * Added CommandManager#unregister_command
1896
- * Added Dependency#matching_specs + to_specs.
1897
- * Added Dependency#to_spec
1898
- * Added Gem.pre_reset_hook/s and post_reset_hook/s.
1899
- * Added GemCommand.reset to reinitialize the singleton
1900
- * Added Specification#activate.
1901
- * Added Specification#activated, activated=, and activated?
1902
- * Added Specification#base_dir.
1903
- * Added Specification#bin_dir and bin_file.
1904
- * Added Specification#cache_dir and cache_file. Aliased cache_gem.
1905
- * Added Specification#doc_dir and ri_dir.
1906
- * Added Specification#find(name_or_dep, *requirements).
1907
- * Added Specification#gem_dir and gems_dir.
1908
- * Added Specification#spec_dir and spec_file.
1909
- * Added Specification.add_spec, add_specs, and remove_spec.
1910
- * Added Specification.all=. If you use this, we will light you on fire.
1911
- * Added Specification.all_names.
1912
- * Added Specification.dirs and dirs=. dirs= resets.
1913
- * Added Specification.find_all_by_name(name, *reqs)
1914
- * Added Specification.latest_specs. SO TINY!
1915
- * Added TestCase#all_spec_names to help clean up tests
1916
- * Added TestCase#assert_path_exists and refute_path_exists. Will move to
1917
- minitest.
1918
- * Gem.sources no longer tries to load sources gem. Only uses default_sources.
1919
- * Installer no longer accepts a source_index option.
1920
- * More low-level integration.
1921
- * Removed Gem::FileOperations since it is a dummy class
1922
- * Removed a comment because I am dumb
1923
- * Removed pkgs/sources/lib/sources.rb
1924
- * Revamped indexer to mostly not use SourceIndex (legacy index requires it).
1925
- * Rewrote our last functional test suite to be happy and fast
1926
- * RubyGems is now under the Ruby License or the MIT license
1927
- * Specification#== now only checks name, version, and platform.
1928
- * Specification#authors= now forcefully flattens contents (bad rspec! no
1929
- cookie!)
1930
- * Specification#eql? checks all fields.
1931
- * Specification#installation_path no longer raises if it hasn't been
1932
- activated.
1933
- * Specification#validate now ensures that authors is not empty.
1934
- * TestCase.util_setup_spec_fetcher no longer returns a SourceIndex.
1935
- * Uninstaller no longer passes around SourceIndex instances
1936
- * Warn on loading bad spec array values (ntlm-http gem has nil in its cert
1937
- chain)
1938
- * `gem pristine` now accepts --no-executables to skip restoring gems with
1939
- extensions.
1940
- * `gem pristine` can now restore multiple gems.
1941
-
1942
- * 6 bug fixes:
1943
-
1944
- * DependencyInstaller passed around a source_index instance but used
1945
- Gem.source_index.
1946
- * Fixed Platform#== and #hash so instances may be used as hash keys.
1947
- * Fixed broken Specification#original_platform. It should never be nil.
1948
- * Gem::Text#format_text now strips trailing whitespace
1949
- * Normalize LOAD_PATH with File.expand_path
1950
- * `gem build` errors should exit 1.
1951
- * `gem pristine` can now restore non-latest gems where the cached gem was
1952
- removed.
1953
-
1954
- === 1.7.1 / 2011-03-32
1955
-
1956
- * 1 bug fix:
1957
- * Fixed missing file in Manifest.txt. (Also a bug in hoe was fixed where
1958
- `rake check_manifest` showing a diff would not exit with an error.)
1959
-
1960
- === 1.7.0 / 2011-03-32
1961
-
1962
- * 16 Deprecations (woot!)
1963
- * Deprecated Gem.all_load_paths, latest_load_paths, promote_load_path, and
1964
- cache.
1965
- * Deprecated RemoteFetcher#open_uri_or_path.
1966
- * Deprecated SourceIndex#all_gems.
1967
- * Deprecated SourceIndex#initialize(hash_of_specs).
1968
- * Deprecated SourceIndex.from_installed_gems, from_gems_in, and
1969
- load_specification.
1970
- * Deprecated Specification#has_rdoc, default_executable, and
1971
- test_suite_file(=).
1972
- * Deprecated Specification#has_rdoc= and default_executable=
1973
-
1974
- * 26 minor enhancements:
1975
- * Added stupid simple deprecation module.
1976
- * Added --spec option to `gem unpack` to output a gem's original metadata
1977
- * Added packaging option to Specification#validate
1978
- * Gem.bin_path requires the exec_name argument.
1979
- * Read from cached specs if fetch fails for some reason
1980
- * Refactored Specification#assign_defaults into #initialize.
1981
- * RemoteFetcher#fetch_path now dispatches dynamically to 'fetch_<uri.schema>'
1982
- * Removed Specification @@gather.
1983
- * Removed Specification.attribute.
1984
- * Removed Specification.attribute_alias_singular.
1985
- * Removed Specification.attribute_defaults.
1986
- * Removed Specification.attributes
1987
- * Removed Specification.overwrite_accessor.
1988
- * Removed Specification.read_only.
1989
- * Removed Specification.required_attribute.
1990
- * Removed Specification::SPECIFICATION_VERSION_HISTORY and turned into rdoc
1991
- * Removed blanket rescue in default_executable. Hope it doesn't blow up! :P
1992
- * Removed nearly all metaprogramming from Specification. Yay for
1993
- attr_accessor!
1994
- * SourceIndex#initialize changed to prefer an array of spec dirs, defaulting
1995
- to none.
1996
- * SourceIndex.new is now the preferred way to create SourceIndex instances.
1997
- *gasp*
1998
- * Specification#validate now checks that array attribs are indeed arrays.
1999
- * Specification.default_value is now an instance method.
2000
- * Switched Specification::TODAY to be proper midnight @ UTC
2001
- * Update Gem::RemoteFetcher\'s User-Agent to handle RUBY_ENGINE and
2002
- RUBY_REVISION when patchlevel is -1
2003
- * UpdateCommand#gems_to_update now returns (name, version) pairs.
2004
- * UpdateCommand#which_to_update now takes an optional system argument.
2005
-
2006
- * 11 bug fixes:
2007
- * Added missing remote fetcher require to pristine command (aarnell)
2008
- * Building gems now checks to ensure all required fields are non-nil
2009
- * Fix option parser when summary is nil.
2010
- * Fixed `gem contents` to work with the lightweight specifications
2011
- * Fixed `gem update --system x.y.z` where x.y.z == latest version. (MGPalmer)
2012
- * Fixed gem contents sorting and tests. (MGPalmer)
2013
- * Fixed intermittant problem in `gem fetch` with --platform specified (quix)
2014
- * Fixed lightweight specifications so `gem rdoc` will generate proper
2015
- documentation
2016
- * MockGemUI#terminate_interaction should not raise Gem::SystemExitException.
2017
- (MGPalmer)
2018
- * RubyGems now raises a better error for broken .gem files. Bug #29067 by
2019
- Elias Baixas
2020
- * `gem update` now uniq's command line arguments.
2021
-
2022
- === 1.6.2 / 2011-03-08
2023
-
2024
- Bug Fixes:
2025
-
2026
- * require of an activated gem could cause activation conflicts. Fixes
2027
- Bug #29056 by Dave Verwer.
2028
- * `gem outdated` now works with up-to-date prerelease gems.
2029
-
2030
- === 1.6.1 / 2011-03-03
2031
-
2032
- Bug Fixes:
2033
-
2034
- * Installation no longer fails when a dependency from a version that won't be
2035
- installed is unsatisfied.
2036
- * README.rdoc now shows how to file tickets and get help. Pull Request #40 by
2037
- Aaron Patterson.
2038
- * Gem files are cached correctly again. Patch #29051 by Mamoru Tasaka.
2039
- * Tests now pass with non-022 umask. Patch #29050 by Mamoru Tasaka.
2040
-
2041
- === 1.6.0 / 2011-02-29
2042
-
2043
- 4 Deprecations:
2044
-
2045
- * RubyGems no longer requires 'thread'. Rails < 3 will need to add require
2046
- 'thread' to their applications.
2047
- * Gem.cache is deprecated. Use Gem.source_index.
2048
- * RbConfig.datadir is deprecated. Use Gem.datadir.
2049
- * Gem::LoadError#version_requirements has been removed. Use
2050
- Gem::LoadError#requirement.
2051
-
2052
- 2 Major Enhancements:
2053
-
2054
- * Rewrote how Gem::activate (gem and require) resolves dependencies.
2055
- * Gem::LoadError#version_requirement has been removed. Use
2056
- Gem::LoadError#requirement.
2057
-
2058
- 17 Minor Enhancments:
2059
-
2060
- * Added --key to `gem push` for setting alternate API keys.
2061
- * Added --format-executable support to gem uninstall.
2062
- * Added Gem::DependencyList#clear.
2063
- * Added Gem::DependencyList#remove_specs_unsatisfied_by
2064
- * Added Gem.latest_spec_for, latest_version_for, and latest_rubygems_version.
2065
- * Added Gem::Dependency#merge which merges requirements for two
2066
- dependencies.
2067
- * Added Gem::TestCase#util_spec for faster tests.
2068
- * Added Gem::Specification#dependent_specs.
2069
- * Added Gem::TestCase#new_spec and Gem::TestCase#install_specs.
2070
- * Added flag to include prerelease gems in Gem::SourceIndex#latest_specs.
2071
- * Gem.cache_dir always references the proper cache dir.
2072
- Pass true to support a user path.
2073
- * Gem.cache_gem, given a filename always references the cache gem.
2074
- Pass true to support a user path.
2075
- * Added Gem::Specification#conflicts
2076
- * Removed rdoc gem/require from test_case.rb.
2077
- * Rubygems will no longer let you push if you're using beta or unreleased
2078
- rubygems.
2079
- * Save RAM / GC churn by removing spec.files and rdoc options from
2080
- locally cached gem specifications.
2081
- * SpecFetcher.fetch_spec can now take a string source_uri.
2082
-
2083
- 10 Bug Fixes:
2084
-
2085
- * Added missing require of Gem::RemoteFetcher to the unpack command.
2086
- * RubyGems now completely removes a previous install when reinstalling.
2087
- * Fixed Gem::Installer#generate_bin to only chmod files that exist.
2088
- * Fixed handling of Windows style file:/// uris.
2089
- * Fixed requires in tests. (shota)
2090
- * Fixed script generation on Windows.
2091
- * Fixed test issues if you have older rubygems installed.
2092
- * Gem::DependencyInstaller tests use Gem::Security, add the missing require.
2093
- * Gem::Security used FileUtils but didn't require it. Reported by Elia Schito.
2094
- * Gem::Uninstaller now respects --format-executable.
2095
-
2096
- === 1.5.3 / 2011-02-26
2097
-
2098
- Bug Fixes:
2099
-
2100
- * Fix for a bug in Syck which causes install failures for gems packaged with
2101
- Psych. Bug #28965 by Aaron Patterson.
2102
-
2103
- === 1.5.2 / 2011-02-10
2104
-
2105
- Bug Fixes:
2106
-
2107
- * Fixed <tt>gem update --system</tt>. RubyGems can now update itself again.
2108
-
2109
- === 1.5.1 / 2011-02-09
2110
-
2111
- ==== NOTE: `gem update --system` is broken. See UPGRADING.rdoc.
2112
-
2113
- Minor Enhancement:
2114
-
2115
- * Added ability to do gem update --system X.Y.Z.
2116
-
2117
- Bug Fixes:
2118
-
2119
- * Scrub !!null YAML from 1.9.2 (install and build).
2120
- * Added missing requires for user_interaction.
2121
- * Wrote option processing tests for gem update.
2122
- * Updated upgrading doco for new gem update --system option.
2123
- * Fixed SilentUI for cygwin; try /dev/null first then fall back to NUL.
2124
- * RubyGems now enforces ruby 1.8.7 or newer.
2125
-
2126
- === 1.5.0 / 2011-01-31
2127
-
2128
- ==== NOTE: `gem update --system` is broken. See UPGRADING.rdoc.
2129
-
2130
- Major Enhancements:
2131
-
2132
- * Finally fixed all known 1.9.x issues. Upgrading is now possible!
2133
- * Merged huge 1.3.7/ruby-core changes to master.
2134
-
2135
- Minor Enhancements:
2136
-
2137
- * Added UPGRADING.rdoc to help deal with 1.9 issues.
2138
- * Gem::Format now gives better errors for corrupt gem files and includes paths
2139
- * Pre-install hooks can now abort gem installation by returning false
2140
- * Move shareable TestCase classes to lib/ to help plugin authors with tests.
2141
- * Add post-build hooks that can cancel the gem install
2142
- * Always require custom_require now that require_gem is gone
2143
- * Added GemInstaller accessors for @options so plugins can reference them.
2144
- * Optimized Gem.find_files. ~10% faster than 1.4.2. ~40% faster than ruby 1.9.
2145
- * Gem::SilentUI now behaves like Gem::StreamUI for asking questions. Patch by
2146
- Erik Hollensbe.
2147
-
2148
- Bug Fixes:
2149
-
2150
- * `gem update` was implicitly doing --system.
2151
- * 1.9.3: Fixed encoding errors causing gem installs to die during rdoc phase.
2152
- * Add RubyForge URL to README. Closes #28825
2153
- * 1.9.3: Use chdir {} when building extensions to prevent warnings. Fixes #4337
2154
- * 1.9.2: Fix circular require warning.
2155
- * Make requiring openssl even lazier at request of NaHi
2156
- * `gem unpack` will now download the gem if it is not in the cache. Patch by
2157
- Erik Hollensbe.
2158
- * rubygems-update lists its development dependencies again
2159
-
2160
- === 1.4.2 / 2011-01-06
2161
-
2162
- Bug fixes:
2163
-
2164
- * Gem::Versions: "1.b1" != "1.b.1", but "1.b1" eql? "1.b.1". Fixes gem indexing.
2165
- * Fixed Gem.find_files.
2166
- * Removed otherwise unused #find_all_dot_rb. Only 6 days old and hella buggy.
2167
-
2168
- === 1.4.1 / 2010-12-31
2169
-
2170
- Since apparently nobody reads my emails, blog posts or the README:
2171
-
2172
- DO NOT UPDATE RUBYGEMS ON RUBY 1.9! See UPGRADING.rdoc for details.
2173
-
2174
- Bug fix:
2175
-
2176
- * Specification#load was untainting a frozen string (via `gem build *.spec`)
2177
-
2178
- === 1.4.0 / 2010-12-30
2179
-
2180
- NOTE: In order to better maintain rubygems and to get it in sync with
2181
- the world (eg, 1.9's 1.3.7 is different from our 1.3.7), rubygems is
2182
- switching to a 4-6 week release schedule. This release is the
2183
- precursor to that process and as such may be a bit on the wild side!
2184
- You have been warned!
2185
-
2186
- NOTE: We've switched to git/github. See README.rdoc for details.
2187
-
2188
- New features:
2189
-
2190
- * Added --launch option to `gem server`. (gthiesfeld)
2191
- * Added fuzzy name matching on install failures. (gstark/presidentbeef)
2192
- * Allow searching w/ file extensions: gem which fileutils.rb
2193
- * Progress indicator during download (Ryan Melton)
2194
- * Speed up Gem::Version#<=> by 2-3x in common cases. (raggi)
2195
- * --source is now additive with your current sources.
2196
- Use --clear-sources first to maintain previous behavior.
2197
-
2198
- Bug fixes:
2199
-
2200
- * Dependency "~>"s now respect lower-bound prerelease versions.
2201
- * Ensure the gem directories exist on download.
2202
- * Expand Windows user home candidates for Ruby 1.8. Bug #28371 & #28494
2203
- * Fix find_files to order by version.
2204
- * Fix ivar typo. [Josh Peek]
2205
- * Normalized requires and made many of them lazy.
2206
- Do not depend on rubygems to require stdlib stuff for you. (raggi/tmm1)
2207
- * Treat 1.0.a10 like 1.0.a.10 for sorting, etc. Fixes #27903. (dchelimsky)
2208
-
2209
- === 1.3.7 / 2010-05-13
2210
-
2211
- NOTE:
2212
-
2213
- http://rubygems.org is now the default source for downloading gems.
2214
-
2215
- You may have sources set via ~/.gemrc, so you should replace
2216
- http://gems.rubyforge.org with http://rubygems.org
2217
-
2218
- http://gems.rubyforge.org will continue to work for the forseeable future.
2219
-
2220
- New features:
2221
-
2222
- * `gem` commands
2223
- * `gem install` and `gem fetch` now report alternate platforms when a
2224
- matching one couldn't be found.
2225
- * `gem contents` --prefix is now the default as specified in --help. Bug
2226
- #27211 by Mamoru Tasaka.
2227
- * `gem fetch` can fetch of old versions again. Bug #27960 by Eric Hankins.
2228
- * `gem query` and friends output now lists platforms. Bug #27856 by Greg
2229
- Hazel.
2230
- * `gem server` now allows specification of multiple gem dirs for
2231
- documentation. Bug #27573 by Yuki Sonoda.
2232
- * `gem unpack` can unpack gems again. Bug #27872 by Timothy Jones.
2233
- * `gem unpack` now unpacks remote gems.
2234
- * --user-install is no longer the default. If you really liked it, see
2235
- Gem::ConfigFile to learn how to set it by default. (This change was made
2236
- in 1.3.6)
2237
- * RubyGems now has platform support for IronRuby. Patch #27951 by Will Green.
2238
-
2239
- Bug fixes:
2240
-
2241
- * Require rubygems/custom_require if --disable-gem was set. Bug #27700 by
2242
- Roger Pack.
2243
- * RubyGems now protects against exceptions being raised by plugins.
2244
- * rubygems/builder now requires user_interaction. Ruby Bug #1040 by Phillip
2245
- Toland.
2246
- * Gem::Dependency support #version_requirements= with a warning. Fix for old
2247
- Rails versions. Bug #27868 by Wei Jen Lu.
2248
- * Gem::PackageTask depends on the package dir like the other rake package
2249
- tasks so dependencies can be hooked up correctly.
2250
-
2251
- === 1.3.6 / 2010-02-17
2252
-
2253
- New features:
2254
-
2255
- * `gem` commands
2256
- * Added `gem push` and `gem owner` for interacting with modern/Gemcutter
2257
- sources
2258
- * `gem dep` now supports --prerelease.
2259
- * `gem fetch` now supports --prerelease.
2260
- * `gem server` now supports --bind. Patch #27357 by Bruno Michel.
2261
- * `gem rdoc` no longer overwrites built documentation. Use --overwrite
2262
- force rebuilding. Patch #25982 by Akinori MUSHA.
2263
- * Captial letters are now allowed in prerelease versions.
2264
-
2265
- Bug fixes:
2266
-
2267
- * Development deps are no longer added to rubygems-update gem so older
2268
- versions can update sucessfully.
2269
- * Installer bugs:
2270
- * Prerelease gems can now depend on non-prerelease gems.
2271
- * Development dependencies are ignored unless explicitly needed. Bug #27608
2272
- by Roger Pack.
2273
- * `gem` commands
2274
- * `gem which` now fails if no paths were found. Adapted patch #27681 by
2275
- Caio Chassot.
2276
- * `gem server` no longer has invalid markup. Bug #27045 by Eric Young.
2277
- * `gem list` and friends show both prerelease and regular gems when
2278
- --prerelease --all is given
2279
- * Gem::Format no longer crashes on empty files. Bug #27292 by Ian Ragsdale.
2280
- * Gem::GemPathSearcher handles nil require_paths. Patch #27334 by Roger Pack.
2281
- * Gem::RemoteFetcher no longer copies the file if it is where we want it.
2282
- Patch #27409 by Jakub Šťastný.
2283
-
2284
- Deprecation Notices:
2285
-
2286
- * lib/rubygems/timer.rb has been removed.
2287
- * Gem::Dependency#version_requirements is deprecated and will be removed on or
2288
- after August 2010.
2289
- * Bulk index update is no longer supported.
2290
- * Gem::manage_gems was removed in 1.3.3.
2291
- * Time::today was removed in 1.3.3.
2292
-
2293
- === 1.3.5 / 2009-07-21
2294
-
2295
- Bug fixes:
2296
-
2297
- * Fix use of prerelease gems.
2298
- * Gem.bin_path no longer escapes path with spaces. Bug #25935 and #26458.
2299
-
2300
- Deprecation Notices:
2301
-
2302
- * Bulk index update is no longer supported (the code currently remains, but not
2303
- the tests)
2304
- * Gem::manage_gems was removed in 1.3.3.
2305
- * Time::today was removed in 1.3.3.
2306
-
2307
- === 1.3.4 / 2009-05-03
2308
-
2309
- Bug Fixes:
2310
-
2311
- * Fixed various warnings
2312
- * Gem::ruby_version works correctly for 1.8 branch and trunk
2313
- * Prerelease gems now show up in `gem list` and can be used
2314
- * Fixed option name for `gem setup --format-executable`
2315
- * RubyGems now matches Ruby > 1.9.1 gem paths
2316
- * Gem::RemoteFetcher#download now works for explicit Windows paths across
2317
- drives. Bug #25882 by Lars Christensen
2318
- * Fix typo in Gem::Requirement#parse. Bug #26000 by Mike Gunderloy.
2319
-
2320
- Deprecation Notices:
2321
-
2322
- * Bulk index update is no longer supported (the code currently remains, but not
2323
- the tests)
2324
- * Gem::manage_gems was removed in 1.3.3.
2325
- * Time::today was removed in 1.3.3.
2326
-
2327
- === 1.3.3 / 2009-05-04
2328
-
2329
- New Features:
2330
-
2331
- * `gem server` allows port names (from /etc/services) with --port.
2332
- * `gem server` now has search that jumps to RDoc. Patch #22959 by Vladimir
2333
- Dobriakov.
2334
- * `gem spec` can retrieve single fields from a spec (like `gem spec rake
2335
- authors`).
2336
- * Gem::Specification#has_rdoc= is deprecated and ignored (defaults to true)
2337
- * RDoc is now generated regardless of Gem::Specification#has_rdoc?
2338
-
2339
- Bug Fixes:
2340
-
2341
- * `gem clean` now cleans up --user-install gems. Bug #25516 by Brett
2342
- Eisenberg.
2343
- * Gem.bin_path now escapes paths with spaces.
2344
- * Rake extension builder uses explicit correctly loads rubygems when invoking
2345
- rake.
2346
- * Prerelease versions now match "~>" correctly. Patch #25759 by Yossef
2347
- Mendelssohn.
2348
- * Check bindir for executables, not root when validating. Bug reported by
2349
- David Chelimsky.
2350
- * Remove Time.today, no way to override it before RubyGems loads. Bug #25564
2351
- by Emanuele Vicentini
2352
- * Raise Gem::Exception for #installation_path when not installed. Bug #25741
2353
- by Daniel Berger.
2354
- * Don't raise in Gem::Specification#validate when homepage is nil. Bug #25677
2355
- by Mike Burrows.
2356
- * Uninstall executables from the correct directory. Bug #25555 by Brett
2357
- Eisenberg.
2358
- * Raise Gem::LoadError if Kernel#gem fails due to previously-loaded gem. Bug
2359
- reported by Alf Mikula.
2360
-
2361
- Deprecation Notices:
2362
-
2363
- * Gem::manage_gems has been removed.
2364
- * Time::today has been removed early. There was no way to make it warn and be
2365
- easy to override with user code.
2366
-
2367
- === 1.3.2 / 2009-04-15
2368
-
2369
- Select New Features:
2370
-
2371
- * RubyGems now loads plugins from rubygems_plugin.rb in installed gems.
2372
- This can be used to add commands (See Gem::CommandManager) or add
2373
- install/uninstall hooks (See Gem::Installer and Gem::Uninstaller).
2374
- * Gem::Version now understands prerelease versions using letters. (eg.
2375
- '1.2.1.b') Thanks to Josh Susser, Alex Vollmer and Phil Hagelberg.
2376
- * RubyGems now includes a Rake task for creating gems which replaces rake's
2377
- Rake::GemPackageTask. See Gem::PackageTask.
2378
- * Gem::find_files now returns paths in $LOAD_PATH.
2379
- * Added Gem::promote_load_path for use with Gem::find_files
2380
- * Added Gem::bin_path to make finding executables easier. Patch #24114 by
2381
- James Tucker.
2382
- * Various improvements to build arguments for installing gems.
2383
- * `gem contents` added --all and --no-prefix.
2384
- * Gem::Specification
2385
- * #validate strips directories and errors on not-files.
2386
- * #description no longer removes newlines.
2387
- * #name must be a String.
2388
- * FIXME and TODO are no longer allowed in various fields.
2389
- * Added support for a license attribute. Feature #11041 (partial).
2390
- * Removed Gem::Specification::list, too much process growth. Bug #23668 by
2391
- Steve Purcell.
2392
- * `gem generate_index`
2393
- * Can now generate an RSS feed.
2394
- * Modern indicies can now be updated incrementally.
2395
- * Legacy indicies can be updated separately from modern.
2396
-
2397
- Select Bugs Fixed:
2398
-
2399
- * Better gem activation error message. Patch #23082.
2400
- * Kernel methods are now private. Patch #20801 by James M. Lawrence.
2401
- * Fixed various usability issues with `gem check`.
2402
- * `gem update` now rescues InstallError and continues. Bug #19268 by Gabriel
2403
- Wilkins.
2404
- * Allow 'https', 'file' as a valid schemes for --source. Patch #22485.
2405
- * `gem install`
2406
- * Now removes existing path before installing. Bug #22837.
2407
- * Uses Gem::bin_path in executable stubs to work around Kernel#load bug in
2408
- 1.9.
2409
- * Correctly handle build args (after --) via the API. Bug #23210.
2410
- * --user-install
2411
- * `gem install --no-user-install` now works. Patch #23573 by Alf Mikula.
2412
- * `gem uninstall` can now uninstall from ~/.gem. Bug #23760 by Roger Pack.
2413
- * setup.rb
2414
- * Clarify RubyGems RDoc installation location. Bug #22656 by Gian Marco
2415
- Gherardi.
2416
- * Allow setup to run from read-only location. Patch #21862 by Luis Herrera.
2417
- * Fixed overwriting ruby executable when BASERUBY was not set. Bug #24958
2418
- by Michael Soulier.
2419
- * Ensure we're in a RubyGems dir when installing.
2420
- * Deal with extraneous quotation mark when autogenerating .bat file on MS
2421
- Windows. Bug #22712.
2422
-
2423
- Deprecation Notices:
2424
-
2425
- * Gem::manage_gems has been removed.
2426
- * Time::today will be removed in RubyGems 1.4.
2427
-
2428
- Special thanks to Chad Wooley for backwards compatibility testing and Luis
2429
- Lavena and Daniel Berger for continuing windows support.
2430
-
2431
- === 1.3.1 / 2008-10-28
2432
-
2433
- Bugs fixed:
2434
-
2435
- * Disregard ownership of ~ under Windows while creating ~/.gem. Fixes
2436
- issues related to no uid support under Windows.
2437
- * Fix requires for Gem::inflate, Gem::deflate, etc.
2438
- * Make Gem.dir respect :gemhome value from config. (Note: this feature may be
2439
- removed since it is hard to implement on 1.9.)
2440
- * Kernel methods are now private. Patch #20801 by James M. Lawrence.
2441
- * Gem::location_of_caller now behaves on Windows. Patch by Daniel Berger.
2442
- * Silence PATH warning.
2443
-
2444
- Deprecation Notices:
2445
-
2446
- * Gem::manage_gems will be removed on or after March 2009.
2447
-
2448
- === 1.3.0 / 2008-09-25
2449
-
2450
- New features:
2451
-
2452
- * RubyGems doesn't print LOCAL/REMOTE titles for `gem query` and friends if
2453
- stdout is not a TTY, except with --both.
2454
- * Added Gem.find_files, allows a gem to discover features provided by other
2455
- gems.
2456
- * Added pre/post (un)install hooks for packagers of RubyGems. (Not for gems
2457
- themselves).
2458
- * RubyGems now installs gems into ~/.gem if GEM_HOME is not writable. Use
2459
- --no-user-install command-line switch to disable this behavior.
2460
- * Fetching specs for update now uses If-Modified-Since requests.
2461
- * RubyGems now updates the ri cache when the rdoc gem is installed and
2462
- documentation is generated.
2463
-
2464
- Deprecation Notices:
2465
-
2466
- * Gem::manage_gems now warns when called. It will be removed on or after March
2467
- 2009.
2468
-
2469
- Bugs Fixed:
2470
-
2471
- * RubyGems 1.3.0+ now updates when no previous rubygems-update is installed.
2472
- Bug #20775 by Hemant Kumar.
2473
- * RubyGems now uses the regexp we already have for `gem list --installed`. Bug
2474
- #20876 by Nick Hoffman.
2475
- * Platform is now forced to Gem::Platform::RUBY when nil or blank in the
2476
- indexer. Fixes various uninstallable gems.
2477
- * Handle EINVAL on seek. Based on patch in bug #20791 by Neil Wilson.
2478
- * Fix HTTPS support. Patch #21072 by Alex Arnell.
2479
- * RubyGems now loads all cache files even if latest has been loaded. Bug
2480
- #20776 by Uwe Kubosch.
2481
- * RubyGems checks for support of development dependencies for #to_ruby. Bug
2482
- #20778 by Evan Weaver.
2483
- * Now specifications from the future can be loaded.
2484
- * Binary script uninstallation fixed. Bug #21234 by Neil Wilson.
2485
- * Uninstallation with -i fixed. Bug #20812 by John Clayton.
2486
- * Gem::Uninstaller#remove_all now calls Gem::Uninstaller#uninstall_gem so hooks
2487
- get called. Bug #21242 by Neil Wilson.
2488
- * Gem.ruby now properly escaped on windows. Fixes problem with extension
2489
- compilation.
2490
- * `gem lock --strict` works again. Patch #21814 by Sven Engelhardt.
2491
- * Platform detection for Solaris was improved. Patch #21911 by Bob Remeika.
2492
-
2493
- Other Changes Include:
2494
-
2495
- * `gem help install` now describes _version_ argument to executable stubs
2496
- * `gem help environment` describes environment variables and ~/.gemrc and
2497
- /etc/gemrc
2498
- * On-disk gemspecs are now read in UTF-8 and written with a UTF-8 magic comment
2499
- * Rakefile
2500
- * If the SETUP_OPTIONS environment variable is set, pass its contents as
2501
- arguments to setup.rb
2502
- * lib/rubygems/platform.rb
2503
- * Remove deprecated constant warnings and really deprecate them. (WIN32,
2504
- etc).
2505
- * lib/rubygems/remote_fetcher.rb
2506
- * Now uses ~/.gem/cache if the cache dir in GEM_HOME is not writable.
2507
- * lib/rubygems/source_index.rb
2508
- * Deprecate options to 'search' other than Gem::Dependency instances and
2509
- issue warning until November 2008.
2510
- * setup.rb
2511
- * --destdir folder structure now built using Pathname, so it works for
2512
- Windows platforms.
2513
- * test/*
2514
- * Fixes to run tests when under test/rubygems/. Patch by Yusuke ENDOH
2515
- [ruby-core:17353].
2516
- * test/test_ext_configure_builder.rb
2517
- * Locale-free patch by Yusuke Endoh [ruby-core:17444].
2518
-
2519
- === 1.2.0 / 2008-06-21
2520
-
2521
- New features:
2522
-
2523
- * RubyGems no longer performs bulk updates and instead only fetches the gemspec
2524
- files it needs. Alternate sources will need to upgrade to RubyGems 1.2 to
2525
- allow RubyGems to take advantage of the new metadata updater. If a pre 1.2
2526
- remote source is in the sources list, RubyGems will revert to the bulk update
2527
- code for compatibility.
2528
- * RubyGems now has runtime and development dependency types. Use
2529
- #add_development_dependency and #add_runtime_dependency. All typeless
2530
- dependencies are considered to be runtime dependencies.
2531
- * RubyGems will now require rubygems/defaults/operating_system.rb and
2532
- rubygems/defaults/#{RBX_ENGINE}.rb if they exist. This allows packagers and
2533
- ruby implementers to add custom behavior to RubyGems via these files. (If
2534
- the RubyGems API is insufficient, please suggest improvements via the
2535
- RubyGems list.)
2536
- * /etc/gemrc (and windows equivalent) for global settings
2537
- * setup.rb now handles --vendor and --destdir for packagers
2538
- * `gem stale` command that lists gems by last access time
2539
-
2540
- Bugs Fixed:
2541
-
2542
- * File modes from gems are now honored, patch #19737
2543
- * Marshal Gem::Specification objects from the future can now be loaded.
2544
- * A trailing / is now added to remote sources when missing, bug #20134
2545
- * Gems with legacy platforms will now be correctly uninstalled, patch #19877
2546
- * `gem install --no-wrappers` followed by `gem install --wrappers` no longer
2547
- overwrites executables
2548
- * `gem pristine` now forces reinstallation of gems, bug #20387
2549
- * RubyGems gracefully handles ^C while loading .gemspec files from disk, bug
2550
- #20523
2551
- * Paths are expanded in more places, bug #19317, bug #19896
2552
- * Gem::DependencyInstaller resets installed gems every install, bug #19444
2553
- * Gem.default_path is now honored if GEM_PATH is not set, patch #19502
2554
-
2555
- Other Changes Include:
2556
-
2557
- * setup.rb
2558
- * stub files created by RubyGems 0.7.x and older are no longer removed. When
2559
- upgrading from these ancient versions, upgrade to 1.1.x first to clean up
2560
- stubs.
2561
- * RDoc is no longer required until necessary, patch #20414
2562
- * `gem server`
2563
- * Now completely matches the output of `gem generate_index` and
2564
- has correct content types
2565
- * Refreshes from source directories for every hit. The server will no longer
2566
- need to be restarted after installing gems.
2567
- * `gem query --details` and friends now display author, homepage, rubyforge url
2568
- and installed location
2569
- * `gem install` without -i no longer reinstalls dependencies if they are in
2570
- GEM_PATH but not in GEM_HOME
2571
- * Gem::RemoteFetcher now performs persistent connections for HEAD requests,
2572
- bug #7973
2573
-
2574
- === 1.1.1 / 2008-04-11
2575
-
2576
- Bugs Fixed:
2577
-
2578
- * Gem.prefix now returns non-nil only when RubyGems was installed outside
2579
- sitelibdir or libdir.
2580
- * The `gem server` gem list now correctly links to gem details.
2581
- * `gem update --system` now passes --no-format-executable to setup.rb.
2582
- * Gem::SourceIndex#refresh! now works with multiple gem repositories.
2583
- * Downloaded gems now go into --install-dir's cache directory.
2584
- * Various fixes to downloading gem metadata.
2585
- * `gem install --force` now ignores network errors too.
2586
- * `gem pristine` now rebuilds extensions.
2587
- * `gem update --system` now works on virgin Apple ruby.
2588
- * Gem::RemoteFetcher handles Errno::ECONNABORTED.
2589
- * Printing of release notes fixed.
2590
-
2591
- === 1.1.0 / 2008-03-29
2592
-
2593
- New features:
2594
-
2595
- * RubyGems now uses persistent connections on index updates. Index updates are
2596
- much faster now.
2597
- * RubyGems only updates from a latest index by default, cutting candidate gems
2598
- for updates to roughly 1/4 (at present). Index updates are even faster
2599
- still.
2600
- * `gem list -r` may only show the latest version of a gem, add --all to see
2601
- all gems.
2602
- * `gem spec` now extracts specifications from .gem files.
2603
- * `gem query --installed` to aid automation of checking for gems.
2604
-
2605
- Bugs Fixed:
2606
-
2607
- * RubyGems works with both Config and RbConfig now.
2608
- * Executables are now cleaned upon uninstall.
2609
- * You can now uninstall from a particular directory.
2610
- * Updating from non-default sources fixed.
2611
- * Executable stubs now use ruby install name in shebang.
2612
- * `gem unpack` checks every directory in Gem.path now.
2613
- * `gem install` now exits with non-zero exit code when appropriate.
2614
- * `gem update` only updates gems that need updates.
2615
- * `gem update` doesn't force remote-only updates.
2616
- * `gem update` handles dependencies properly when updating.
2617
- * Gems are now loaded in Gem.path order.
2618
- * Gem stub scripts on windows now work outside Gem.bindir.
2619
- * `gem sources -r` now works without network access.
2620
-
2621
- Other Changes Include:
2622
-
2623
- * RubyGems now requires Ruby > 1.8.3.
2624
- * Release notes are now printed upon installation.
2625
- * `gem env path` now prints a usable path.
2626
- * `gem install` reverts to local-only installation upon network error.
2627
- * Tar handling code refactoring and cleanup.
2628
- * Gem::DependencyInstaller's API has changed.
2629
-
2630
- For a full list of changes to RubyGems, see the ChangeLog file.
2631
-
2632
- === 1.0.1 / 2007-12-20
2633
-
2634
- Bugs Fixed:
2635
-
2636
- * Installation on Ruby 1.8.3 through 1.8.5 fixed
2637
- * `gem build` on 1.8.3 fixed
2638
-
2639
- Other Changes Include:
2640
-
2641
- * Since RubyGems 0.9.5, RubyGems is no longer supported on Ruby 1.8.2 or older,
2642
- this is official in RubyGems 1.0.1.
2643
-
2644
- === 1.0.0 / 2007-12-20
2645
-
2646
- Major New Features Include:
2647
-
2648
- * RubyGems warns about various problems with gemspecs during gem building
2649
- * More-consistent versioning for the RubyGems software
2650
-
2651
- Other Changes Include:
2652
-
2653
- * Fixed various bugs and problems with installing gems on Windows
2654
- * Fixed using `gem server` for installing gems
2655
- * Various operations are even more verbose with --verbose
2656
- * Built gems are now backwards compatible with 0.9.4
2657
- * Improved detection of RUBYOPT loading rubygems
2658
- * `ruby setup.rb` now has a --help option
2659
- * Gem::Specification#bindir is now respected on installation
2660
- * Executable stubs can now be installed to match ruby's name, so if ruby is
2661
- installed as 'ruby18', foo_exec will be installed as 'foo_exec18'
2662
- * `gem unpack` can now unpack into a specific directory with --target
2663
- * OpenSSL is no longer required by default
2664
-
2665
- Deprecations and Deletions:
2666
-
2667
- * Kernel#require_gem has been removed
2668
- * Executables without a shebang will not be wrapped in a future version, this
2669
- may cause such executables to fail to operate on installation
2670
- * Gem::Platform constants other than RUBY and CURRENT have been removed
2671
- * Gem::RemoteInstaller was removed
2672
- * Gem::Specification#test_suite_file and #test_suite_file= are deprecated in
2673
- favor of #test_file and #test_file=
2674
- * Gem::Specification#autorequire= has been deprecated
2675
- * Time::today will be removed in a future version
2676
-
2677
- === 0.9.5 / 2007-11-19
2678
-
2679
- Major New Features Include:
2680
-
2681
- * Platform support
2682
- * Automatic installation of platform gems
2683
- * New bandwidth and memory friendlier index file format
2684
- * "Offline" mode (--no-update-sources)
2685
- * Bulk update threshold can be specified (-B, --bulk-threshold)
2686
- * New `gem fetch` command
2687
- * `gem` now has "really verbose" output when you specify -v
2688
- * Improved stubs and `gem.bat` on mswin, including better compatiblity
2689
- with the One-Click Installer.
2690
-
2691
- Other Changes Include:
2692
-
2693
- * Time::today is deprecated and will be removed at a future date
2694
- * Gem::manage_gems is deprecated and will be removed at a future date
2695
- * `gem install --include-dependencies` (-y) is now deprecated since it is the
2696
- default, use --ignore-dependencies to turn off automatic dependency
2697
- installation
2698
- * Multi-version diamond dependencies only are installed once
2699
- * Processing a YAML bulk index update takes less memory
2700
- * `gem install -i` makes sure all depenencies are installed
2701
- * `gem update --system` reinstalls into the prefix it was originally installed
2702
- in
2703
- * `gem update --system` respects --no-rdoc and --no-ri flags
2704
- * HTTP basic authentication support for proxies
2705
- * Gem::Specification#platforms should no longer be a String, use
2706
- Gem::Platform::CURRENT when building binary gems instead
2707
- * `gem env` has more diagnostic information
2708
- * require 'rubygems' loads less code
2709
- * sources.gem is gone, RubyGems now uses built-in defaults
2710
- * `gem install --source` will no longer add --source by default, use `gem
2711
- sources --add` to make it a permanent extra source
2712
- * `gem query` (list) no longer prints details by default
2713
- * Exact gem names are matched in various places
2714
- * mkrf extensions are now supported
2715
- * A gem can depend on a specific RubyGems version
2716
- * `gem_server` is now `gem server`
2717
- * `gemlock` is now `gem lock`
2718
- * `gem_mirror` is now `gem mirror`
2719
- * `gemwhich` is now `gem which`
2720
- * `gemri` is no longer included with RubyGems
2721
- * `index_gem_repository.rb` is now `gem generate_index`
2722
- * `gem` performs more validation of parameters
2723
- * Custom rdoc styles are now supported
2724
- * Gem indexer no longer removes quick index during index creation
2725
- * Kernel#require only rescues a LoadError for the file being required now
2726
- * `gem dependencies` can now display some information for remote gems
2727
- * Updating RubyGems now works with RUBYOPT=-rubygems
2728
-
2729
- Special thanks to:
2730
-
2731
- * Daniel Berger
2732
- * Luis Lavena
2733
- * Tom Copeland
2734
- * Wilson Bilkovich
2735
-
2736
- === 0.9.4 / 2007-05-23
2737
-
2738
- If you are experiencing problems with the source index (e.g. strange
2739
- "No Method" errors), or problems with zlib (e.g. "Buffer Error"
2740
- messsage), we recommend upgrading to RubyGems 0.9.4.
2741
-
2742
- Bug Fixes Include:
2743
-
2744
- * Several people have been experiencing problems with no method errors
2745
- on the source index cache. The source index cache is now a bit more
2746
- self healing. Furthermore, if the source index cache is
2747
- irreparable, then it is automatically dropped and reloaded.
2748
- * The source cache files may now be dropped with the "gem sources
2749
- --clear-all" command. (This command may require root is the system
2750
- source cache is in a root protected area).
2751
- * Several sub-commands were accidently dropped from the "gem" command.
2752
- These commands have been restored.
2753
-
2754
- === 0.9.3 / 2007-05-10
2755
-
2756
- Bug Fixes Include:
2757
-
2758
- The ZLib library on Windows will occasionally complains about a buffer error
2759
- when unpacking gems. The Gems software has a workaround for that problem, but
2760
- the workaround was only enabled for versions of ZLib 1.2.1 or earlier. We
2761
- have received several reports of the error occuring with ZLib 1.2.3, so we
2762
- have permanently enabled the work around on all versions.
2763
-
2764
- === 0.9.2 / 2007-02-05
2765
-
2766
- Bug Fixes Include:
2767
-
2768
- * The "unpack" command now works properly.
2769
- * User name and password are now passed properly to the authenticating
2770
- proxy when downloading gems.
2771
-
2772
- === 0.9.1 / 2007-01-16
2773
-
2774
- See ChangeLog
2775
-
2776
- === 0.9.0 / 2006-06-28
2777
-
2778
- Finally, the much anticipated RubyGems version 0.9.0 is now available.
2779
- This release includes a number of new features and bug fixes. The
2780
- number one change is that we can now download the gem index
2781
- incrementally. This will greatly speed up the gem command when only a
2782
- few gems are out of date.
2783
-
2784
- Major Enhancments include:
2785
-
2786
- * The gem index is now downloaded incrementally, only updating entries
2787
- that are out of date. If more than 50 entries are out of date, we
2788
- revert back to a bulk download.
2789
- * Several patches related to allowing RubyGems to work with
2790
- authenticating proxies (from Danie Roux and Anatol Pomozov). Just
2791
- put the user and password in the proxy URL (e.g. -p
2792
- http://user:password@proxy.address.com:8080) or use the
2793
- HTTP_PROXY_USER and HTTP_PROXY_PASS environment variables.
2794
- * The gem unpack command can now accept a file path rather than just a
2795
- install gem name.
2796
- * Both RI and RDOC documents are now generated by default.
2797
- * A gemri command is included to read gem RI docs (only needed for
2798
- Ruby 1.8.4 or earlier).
2799
-
2800
- Minor enhancements include:
2801
-
2802
- * Verison 0.0.0 is now a valid gem version.
2803
- * Better detection of missing SSL functionality.
2804
- * SSL is not required if the security policy does not require
2805
- signature checking.
2806
- * Rake built extensions are now supported (Tilman Sauerbeck).
2807
- * Several autorequire bug fixes.
2808
- * --traceback is now an alias for --backtrace (I can never remember
2809
- which one it is).
2810
- * SAFE=1 compatibility fixes.
2811
- * .rbw is now a supported suffix for RubyGem's custom require.
2812
- * Several Ruby 1.9 compatibility fixes (Eric Hodel).
2813
-
2814
- Bug Fixes:
2815
-
2816
- * Added dashes to gemspecs generated in Ruby 1.8.3. This solves some
2817
- cross-Ruby version compatibility issues.
2818
- * Fixed bug where the wrong executables could be uninstalled (Eric
2819
- Hodel).
2820
- * Fixed bug where gem unpack occasionally unpacked the wrong gem.
2821
- * Fixed bug where a fatal error occured when permissions on .gemrc
2822
- were too restrictive (reported by Luca Pireddu).
2823
- * Fixed prefix handling for native expressions (patch by Aaron Patterson).
2824
- * Fixed several Upgrade => Update typos.
2825
-
2826
- === 0.8.11 / 2005-07-13
2827
-
2828
- * -y is a synonym for --include-dependencies.
2829
- * Better handling of errors in the top level rescue clause.
2830
- * Package list command (e.g. gem inspect GEM).
2831
- * .gemrc now allows cvsrc-like options to set defaults per subcommand.
2832
- * The autorequire gem spec field will now accept a list.
2833
- * Substituted Time for Date in specs, increasing performance
2834
- dramatically.
2835
- * Fixed reported bug of gem directories ending in "-" (reported by
2836
- Erik Hatcher).
2837
- * Fixed but in installer that caused dependency installation to not
2838
- work.
2839
- * Added Paul Duncan's gem signing patch.
2840
- * Added Mark Hubbart's Framework patch (for better integration with OS
2841
- X).
2842
- * Added David Glasser's install-from-mirror patch.
2843
- * Additional internal structural cleanup and test reorganization.
2844
-
2845
- === 0.8.10 / 2005-03-27
2846
-
2847
- * In multi-user environments, it is common to supply mulitple versions of gems
2848
- (for example Rails), allowing individual users to select the version of the
2849
- gem they desire. This allows a user to be insulated from updates to that
2850
- gem. RubyGems 0.8.10 fixes a problem where gems could occasionally become
2851
- confused about the current versions of libraries selected by the user.
2852
- * The other annoying bug is that if there are any existing rubygems-update gems
2853
- installed, then the "gem update --system" command will download a new
2854
- update, but install the latest update prior to the download.
2855
-
2856
- === 0.8.9
2857
-
2858
- Never released
2859
-
2860
- === 0.8.8 / 2005-03-14
2861
-
2862
- * Moved the master definition of class Requirement back under version.
2863
- Kept the body of Requirement under Gem.
2864
-
2865
- === 0.8.7 / 2005-03-14
2866
-
2867
- Even though it has only been a few weeks since that last release,
2868
- there are quite a number of new features in 0.8.7. A complete list of
2869
- new features will be given below, but here is a summary of the hot
2870
- items.
2871
-
2872
- * The bug that prevented some users from installing rails has been
2873
- squashed. A big thanks to Bill Guindon (aGorilla) for helping track
2874
- that one down.
2875
-
2876
- There are several new commands available on the gem command:
2877
-
2878
- * gem cleanup GEMNAME -- Cleanup (uninstall) all the old versions of
2879
- gem. If the gem name is omitted, the entire repository is cleaned.
2880
- * gem dependency GEMNAME -- Show the dependencies for the named gems.
2881
- This is really helpful when trying to figure out what gem needs what
2882
- other gem.
2883
-
2884
- There changes to the existing commands as well.
2885
-
2886
- * gem uninstall is much smarter about removing gems from the
2887
- repository. Lists of gems are now uninstalled in proper dependency
2888
- order (ie. if A depends on B, A is uninstalled first). Also,
2889
- warnings about broken dependencies occur only when removing the
2890
- *last* gem that supports a dependency is removed.
2891
-
2892
- Both gem install and gem uninstall support some new command line
2893
- options that can reduce the amount of yes/no queries given the user.
2894
- For install we have:
2895
-
2896
- * --ignore-dependencies -- Only install requests gems, no
2897
- dependendecies are automatically installed.
2898
- * --include-dependencies -- Automatically install dependencies,
2899
- without confirmation.
2900
-
2901
- For gem uninstall, the new options are:
2902
-
2903
- * --all -- Uninstall all matching gems without confirmation.
2904
- * --ignore-dependencies -- Uninstall, even if dependencies are broken.
2905
- * --executables -- Remove executables without confirmation
2906
-
2907
- Under general cleanup, gems will not, by default, run RDoc on packages
2908
- that do not have the RDoc flag set.
2909
-
2910
- And finally there is a new library file 'gemconfigure' to aid in
2911
- writing version sensitive applications (without undue dependencies on
2912
- RubyGems); and 'gemwhich', a short script to locate libraries in the
2913
- file system. You can read more about them here:
2914
-
2915
- * gemconfigure: http://docs.rubygems.org/read/chapter/4#page73
2916
- * gemwhich: http://docs.rubygems.org/read/chapter/17
2917
-
2918
- === 0.8.6 / 2005-02-27
2919
-
2920
- * Fixed a small bug with shebang construction
2921
-
2922
- === 0.8.5 / 2005-02-26
2923
-
2924
- Do you know how you used to dread getting the following message while
2925
- installing gems?
2926
-
2927
- Updating Gem source index for: http://gems.rubyforge.org
2928
-
2929
- It could take up to 30 seconds (on my machine, even worse on others) for
2930
- that crazy source index to update.
2931
-
2932
- This latest release of RubyGems speeds that wait time up considerably.
2933
- The following table gives the following times for installing RedCloth
2934
- with a required source index update on three system we had available to
2935
- us. No RDoc generation was included in the following times.
2936
-
2937
- RubyGems Linux Mac OSX Windows
2938
- 0.8.4 33 secs 73 secs 58 secs
2939
- 0.8.5 8 secs 14 secs 21 secs
2940
-
2941
- The new caching code is at least 3x faster than previous versions. Woo
2942
- Hoo!
2943
-
2944
- === 0.8.4 / 2005-01-01
2945
-
2946
- * Rubygems 0.8.3's installer was broken unless you already had an older
2947
- version of RubyGems installed. That's fixed.
2948
- * Change in the way Gem::Specification internally deals with lazy attributes
2949
- and defaults, bringing (with some loadpath_manager changes) a fairly
2950
- significant increase in speed.
2951
- * Support for lower-cased Gem file names (for you, Paul Duncan :)
2952
- * Erik Veenstra's patch for making Gem versions sortable.
2953
-
2954
- === 0.8.3 / 2004-12-07
2955
-
2956
- No real earth shattering news here, but there were a number of really
2957
- annoying issues involving other libraries that RubyGems depends upon.
2958
- 0.8.3 contains some workarounds for these issues. In particular:
2959
-
2960
- * Added workaround for the null byte in Dir string issue. (see
2961
- http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/121702).
2962
- (Thanks to Mauricio Fernández for the quick response on this one).
2963
- * Added workaround for old version of Zlib on windows that caused
2964
- Ruwiki to fail to install. (see
2965
- http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/121770)
2966
- * Added workaround for large YAML file issues. (We dynamically cut
2967
- down the size of the source index YAML file and seem to have worked
2968
- around immediate issues.
2969
-
2970
- There has been some minor usability enhancements and changes ...
2971
-
2972
- * A user specific source index cache can be used when the site-wide
2973
- cache is unwritable (i.e. because you are running as a non-admin).
2974
- This *greatly* speeds up gem commands run in non-admin mode when the
2975
- site-wide cache is out of date.
2976
- * The gem command now used an HTTP HEAD command to detect if the
2977
- server's source index needs to be downloaed.
2978
- * gem check gemname --test will run unit tests on installed gems that
2979
- have unit tests.
2980
- * Multiple gem names are allowed on the gem install command line.
2981
- This means you can do:
2982
-
2983
- gem install rake rails needle postgres-pr pimki
2984
-
2985
- (Ok, you get the idea)
2986
- * Multiple authors my be specified in a Gem spec.
2987
- * Switched to using setup.rb (rather than a custom install script) for
2988
- the installation of RubyGems itself. If you have installed RubyGems
2989
- before, double check the installation instructions and make sure you
2990
- use setup.rb instead of install.rb.
2991
- * Ryan Davis has provided a patch so you can use an env variable
2992
- (GEM_SKIP), to tell loadpath_manager not to load gems of those
2993
- names. This was useful for him while testing libs that he had in
2994
- development.
2995
-
2996
- === 0.8.1 / 2004-09-17
2997
-
2998
- * Quick release to capture some bug fixes.
2999
-
3000
- === 0.8.0 / 2004-09-15
3001
-
3002
- * Remove need for library stubs. Set the RUBYOPT environment variable to
3003
- include "rrubygems", and a normal require will find gem files. Continue to
3004
- use 'require_gem gem_name, version' to specify gem versions.
3005
- * Deprecated "test_suite_file" gemspec attribute in favor of "test_files" array.
3006
- * Generates rdoc by default on installs.
3007
- * Adopted tar/gzip file format, thanks to Mauricio Fernandez.
3008
- * "gem rdoc" allows generation of rdoc after gem installation (will add a "gem
3009
- test"
3010
- * Application stubs can now accept an optional parameter of _VERSION_ that will
3011
- run an arbitrary version of the application requested.
3012
- * Various bug fixes
3013
- * Various platform-independency improvements
3014
- * "gem spec --all" displays spec info for all installed version of a given gem.
3015
- * Dynamic caching of sources
3016
- * Support for user-definable sources on the command line (thanks Assaph Mehr)
3017
- * More intelligent support for platform-dependent gems. Use Platform::CURRENT
3018
- when building a gem to set its platform to the one you're building on.
3019
- Installation displays a choice of platform-dependent gems, allowing the user
3020
- to pick.
3021
- * Added "gem unpack" for "unpacking" a gem to the current directory
3022
-
3023
- === 0.7.0 / 2004-07-09
3024
-
3025
- See ChangeLog
3026
-
3027
- === 0.6.1 / 2004-06-08
3028
-
3029
- See ChangeLog
3030
-
3031
- === 0.6.0 / 2004-06-08
3032
-
3033
- * Collapse output of --search and --list (and gem_server) operations so that
3034
- each gem is listed only once, with each of its versions listed on the same
3035
- line.
3036
- * bin/gem: new --upgrade-all option allows one to upgrade every installed gem
3037
- * new #required_ruby_version attribute added to gem specification for
3038
- specifying a dependency on which version of ruby the gem needs. Format it
3039
- accepts is the same as the Gem::Version::Requirement format:
3040
-
3041
- spec.required_ruby_version = "> 1.8.0"
3042
- * --install-stub defaults to true, so library stubs are created
3043
-
3044
- === 0.5.0 / 2004-06-06
3045
-
3046
- * Jim added the ability to specify version constraints to avoid API
3047
- incompatibilities. This has been the subject of much debate for the past
3048
- couple of months, with many ideas and code contributed by Eivind Eklund and
3049
- Mauricio Fernandez. The following set of assertions shows how it works:
3050
-
3051
- assert_inadequate("1.3", "~> 1.4")
3052
- assert_adequate( "1.4", "~> 1.4")
3053
- assert_adequate( "1.5", "~> 1.4")
3054
- assert_inadequate("2.0", "~> 1.4") # This one is key--the new operator
3055
- # disallows major version number
3056
- # differences.
3057
- * Group gem search output when multiple versions exist for a given gem:
3058
-
3059
- activerecord (0.7.8, 0.7.7, 0.7.6, 0.7.5)
3060
- Implements the ActiveRecord pattern for ORM.
3061
- * Add arbitrary RDoc-able files via gemspec (not just Ruby source files) for
3062
- people who have, for example, README.rdoc in their distributions. Add to
3063
- gemspec via: spec.extra_rdoc_files = ["list", "of", "files"]. Ruby files are
3064
- automatically included.
3065
- * Some small bug fixes
3066
-
3067
- === 0.4.0 / 2004-05-30
3068
-
3069
- * Minor bug fixes including Windows compatability issues
3070
-
3071
- === 0.3.0 / 2004-04-30
3072
-
3073
- * Cleanup of command-line arguments and handling. Most commands accept a
3074
- --local or --remote modifier.
3075
- * Creation of Application Gems (packages that include executable programs).
3076
- See http://rubygems.rubyforge.org/wiki/wiki.pl?DeveloperGuide for information
3077
- on how to use it.
3078
- * Basic functionality for installing binary gems from source (:extensions
3079
- property of gem specification holds an array of paths to extconf.rb files to
3080
- be used for compilation)
3081
- * Install library "stub" allowing a normal 'require' to work (which then does
3082
- the rubygems require and 'require_gem'
3083
- * --run-tests runs the test suite specified by the "test_suite_file" property
3084
- of a gem specification
3085
- * HTTP Proxy support works. Rewrite of HTTP code.
3086
- * Unit and functional tests added (see Rakefile).
3087
- * Prompt before remote-installing dependencies during gem installation.
3088
- * Config file for storing preferences for 'gem' command usage.
3089
- * Generally improved error messages (still more work to do)
3090
- * Rearranged gem directory structure for cleanliness.
3091
-
3092
- === 0.2.0 / 2004-03-14
3093
-
3094
- * Initial public release