rubygems-update 2.6.14 → 2.7.0

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

Potentially problematic release.


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

Files changed (347) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +10 -7
  3. data/CONTRIBUTING.rdoc +53 -54
  4. data/History.txt +173 -9
  5. data/Manifest.txt +39 -11
  6. data/POLICIES.rdoc +3 -3
  7. data/README.md +72 -0
  8. data/Rakefile +30 -5
  9. data/appveyor.yml +29 -1
  10. data/bin/gem +1 -1
  11. data/bin/update_rubygems +2 -2
  12. data/bundler/CHANGELOG.md +269 -9
  13. data/bundler/CODE_OF_CONDUCT.md +1 -1
  14. data/bundler/CONTRIBUTING.md +10 -29
  15. data/bundler/README.md +22 -10
  16. data/bundler/exe/bundle +5 -7
  17. data/bundler/exe/bundle_ruby +4 -3
  18. data/bundler/lib/bundler.rb +94 -74
  19. data/bundler/lib/bundler/build_metadata.rb +36 -0
  20. data/bundler/lib/bundler/capistrano.rb +5 -0
  21. data/bundler/lib/bundler/cli.rb +229 -66
  22. data/bundler/lib/bundler/cli/add.rb +25 -0
  23. data/bundler/lib/bundler/cli/binstubs.rb +9 -7
  24. data/bundler/lib/bundler/cli/cache.rb +5 -4
  25. data/bundler/lib/bundler/cli/check.rb +3 -5
  26. data/bundler/lib/bundler/cli/clean.rb +5 -6
  27. data/bundler/lib/bundler/cli/common.rb +18 -2
  28. data/bundler/lib/bundler/cli/config.rb +26 -7
  29. data/bundler/lib/bundler/cli/console.rb +2 -1
  30. data/bundler/lib/bundler/cli/doctor.rb +1 -0
  31. data/bundler/lib/bundler/cli/exec.rb +3 -2
  32. data/bundler/lib/bundler/cli/gem.rb +36 -15
  33. data/bundler/lib/bundler/cli/info.rb +50 -0
  34. data/bundler/lib/bundler/cli/init.rb +20 -7
  35. data/bundler/lib/bundler/cli/inject.rb +13 -4
  36. data/bundler/lib/bundler/cli/install.rb +61 -77
  37. data/bundler/lib/bundler/cli/issue.rb +40 -0
  38. data/bundler/lib/bundler/cli/list.rb +22 -0
  39. data/bundler/lib/bundler/cli/lock.rb +4 -2
  40. data/bundler/lib/bundler/cli/open.rb +2 -2
  41. data/bundler/lib/bundler/cli/outdated.rb +30 -28
  42. data/bundler/lib/bundler/cli/package.rb +9 -6
  43. data/bundler/lib/bundler/cli/platform.rb +1 -0
  44. data/bundler/lib/bundler/cli/plugin.rb +1 -0
  45. data/bundler/lib/bundler/cli/pristine.rb +43 -0
  46. data/bundler/lib/bundler/cli/show.rb +1 -1
  47. data/bundler/lib/bundler/cli/update.rb +32 -11
  48. data/bundler/lib/bundler/cli/viz.rb +5 -1
  49. data/bundler/lib/bundler/compact_index_client.rb +1 -0
  50. data/bundler/lib/bundler/compact_index_client/cache.rb +1 -2
  51. data/bundler/lib/bundler/compact_index_client/updater.rb +26 -7
  52. data/bundler/lib/bundler/compatibility_guard.rb +14 -0
  53. data/bundler/lib/bundler/constants.rb +1 -0
  54. data/bundler/lib/bundler/current_ruby.rb +8 -7
  55. data/bundler/lib/bundler/definition.rb +231 -159
  56. data/bundler/lib/bundler/dep_proxy.rb +2 -0
  57. data/bundler/lib/bundler/dependency.rb +6 -7
  58. data/bundler/lib/bundler/deployment.rb +1 -1
  59. data/bundler/lib/bundler/deprecate.rb +14 -3
  60. data/bundler/lib/bundler/dsl.rb +103 -62
  61. data/bundler/lib/bundler/endpoint_specification.rb +12 -2
  62. data/bundler/lib/bundler/env.rb +97 -36
  63. data/bundler/lib/bundler/environment_preserver.rb +27 -6
  64. data/bundler/lib/bundler/errors.rb +3 -1
  65. data/bundler/lib/bundler/feature_flag.rb +39 -4
  66. data/bundler/lib/bundler/fetcher.rb +15 -8
  67. data/bundler/lib/bundler/fetcher/base.rb +1 -0
  68. data/bundler/lib/bundler/fetcher/compact_index.rb +2 -12
  69. data/bundler/lib/bundler/fetcher/dependency.rb +2 -1
  70. data/bundler/lib/bundler/fetcher/downloader.rb +4 -2
  71. data/bundler/lib/bundler/fetcher/index.rb +1 -0
  72. data/bundler/lib/bundler/friendly_errors.rb +5 -2
  73. data/bundler/lib/bundler/gem_helper.rb +23 -9
  74. data/bundler/lib/bundler/gem_helpers.rb +1 -0
  75. data/bundler/lib/bundler/gem_remote_fetcher.rb +1 -0
  76. data/bundler/lib/bundler/gem_tasks.rb +1 -0
  77. data/bundler/lib/bundler/gem_version_promoter.rb +1 -0
  78. data/bundler/lib/bundler/gemdeps.rb +1 -0
  79. data/bundler/lib/bundler/graph.rb +1 -0
  80. data/bundler/lib/bundler/index.rb +19 -11
  81. data/bundler/lib/bundler/injector.rb +51 -27
  82. data/bundler/lib/bundler/inline.rb +10 -10
  83. data/bundler/lib/bundler/installer.rb +104 -50
  84. data/bundler/lib/bundler/installer/gem_installer.rb +5 -2
  85. data/bundler/lib/bundler/installer/parallel_installer.rb +91 -42
  86. data/bundler/lib/bundler/installer/standalone.rb +1 -0
  87. data/bundler/lib/bundler/lazy_specification.rb +17 -4
  88. data/bundler/lib/bundler/lockfile_generator.rb +95 -0
  89. data/bundler/lib/bundler/lockfile_parser.rb +49 -35
  90. data/bundler/lib/bundler/match_platform.rb +1 -0
  91. data/bundler/lib/bundler/mirror.rb +8 -3
  92. data/bundler/lib/bundler/plugin.rb +6 -1
  93. data/bundler/lib/bundler/plugin/api/source.rb +16 -3
  94. data/bundler/lib/bundler/plugin/index.rb +2 -0
  95. data/bundler/lib/bundler/plugin/installer.rb +7 -6
  96. data/bundler/lib/bundler/plugin/source_list.rb +7 -8
  97. data/bundler/lib/bundler/process_lock.rb +24 -0
  98. data/bundler/lib/bundler/psyched_yaml.rb +10 -0
  99. data/bundler/lib/bundler/remote_specification.rb +25 -1
  100. data/bundler/lib/bundler/resolver.rb +171 -192
  101. data/bundler/lib/bundler/resolver/spec_group.rb +111 -0
  102. data/bundler/lib/bundler/retry.rb +1 -0
  103. data/bundler/lib/bundler/ruby_dsl.rb +1 -0
  104. data/bundler/lib/bundler/ruby_version.rb +6 -1
  105. data/bundler/lib/bundler/rubygems_ext.rb +18 -8
  106. data/bundler/lib/bundler/rubygems_gem_installer.rb +25 -2
  107. data/bundler/lib/bundler/rubygems_integration.rb +157 -66
  108. data/bundler/lib/bundler/runtime.rb +28 -18
  109. data/bundler/lib/bundler/settings.rb +202 -87
  110. data/bundler/lib/bundler/settings/validator.rb +79 -0
  111. data/bundler/lib/bundler/setup.rb +4 -7
  112. data/bundler/lib/bundler/shared_helpers.rb +129 -25
  113. data/bundler/lib/bundler/similarity_detector.rb +1 -0
  114. data/bundler/lib/bundler/source.rb +53 -1
  115. data/bundler/lib/bundler/source/gemspec.rb +1 -0
  116. data/bundler/lib/bundler/source/git.rb +49 -21
  117. data/bundler/lib/bundler/source/git/git_proxy.rb +17 -12
  118. data/bundler/lib/bundler/source/metadata.rb +63 -0
  119. data/bundler/lib/bundler/source/path.rb +38 -17
  120. data/bundler/lib/bundler/source/path/installer.rb +4 -2
  121. data/bundler/lib/bundler/source/rubygems.rb +154 -82
  122. data/bundler/lib/bundler/source/rubygems/remote.rb +8 -1
  123. data/bundler/lib/bundler/source_list.rb +75 -15
  124. data/bundler/lib/bundler/spec_set.rb +34 -21
  125. data/bundler/lib/bundler/ssl_certs/certificate_manager.rb +2 -1
  126. data/bundler/lib/bundler/stub_specification.rb +86 -2
  127. data/bundler/lib/bundler/templates/Executable +5 -1
  128. data/bundler/lib/bundler/templates/Executable.bundler +105 -0
  129. data/bundler/lib/bundler/templates/Executable.standalone +5 -5
  130. data/bundler/lib/bundler/templates/Gemfile +3 -0
  131. data/bundler/lib/bundler/templates/gems.rb +8 -0
  132. data/bundler/lib/bundler/templates/newgem/Gemfile.tt +4 -2
  133. data/bundler/lib/bundler/templates/newgem/LICENSE.txt.tt +1 -1
  134. data/bundler/lib/bundler/templates/newgem/README.md.tt +14 -8
  135. data/bundler/lib/bundler/templates/newgem/Rakefile.tt +5 -5
  136. data/bundler/lib/bundler/templates/newgem/ext/newgem/newgem.c.tt +4 -4
  137. data/bundler/lib/bundler/templates/newgem/ext/newgem/newgem.h.tt +3 -3
  138. data/bundler/lib/bundler/templates/newgem/gitignore.tt +0 -1
  139. data/bundler/lib/bundler/templates/newgem/lib/newgem.rb.tt +6 -6
  140. data/bundler/lib/bundler/templates/newgem/lib/newgem/version.rb.tt +4 -4
  141. data/bundler/lib/bundler/templates/newgem/newgem.gemspec.tt +13 -10
  142. data/bundler/lib/bundler/templates/newgem/rspec.tt +1 -0
  143. data/bundler/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt +0 -2
  144. data/bundler/lib/bundler/templates/newgem/spec/spec_helper.rb.tt +3 -0
  145. data/bundler/lib/bundler/templates/newgem/test/newgem_test.rb.tt +1 -1
  146. data/bundler/lib/bundler/templates/newgem/test/test_helper.rb.tt +3 -3
  147. data/bundler/lib/bundler/ui.rb +1 -0
  148. data/bundler/lib/bundler/ui/rg_proxy.rb +1 -0
  149. data/bundler/lib/bundler/ui/shell.rb +24 -10
  150. data/bundler/lib/bundler/ui/silent.rb +12 -1
  151. data/bundler/lib/bundler/uri_credentials_filter.rb +1 -0
  152. data/bundler/lib/bundler/vendor/fileutils/lib/fileutils.rb +1638 -0
  153. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo.rb +2 -0
  154. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/compatibility.rb +26 -0
  155. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb +7 -0
  156. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb +1 -0
  157. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +16 -5
  158. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/action.rb +1 -0
  159. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +10 -2
  160. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +1 -0
  161. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +1 -0
  162. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +1 -0
  163. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +1 -0
  164. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +1 -0
  165. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +1 -0
  166. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +5 -4
  167. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +69 -6
  168. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata.rb +2 -1
  169. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +1 -0
  170. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/modules/ui.rb +3 -1
  171. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb +501 -138
  172. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/resolver.rb +1 -0
  173. data/bundler/lib/bundler/vendor/molinillo/lib/molinillo/state.rb +8 -4
  174. data/bundler/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +3 -1
  175. data/bundler/lib/bundler/vendor/thor/lib/thor.rb +46 -21
  176. data/bundler/lib/bundler/vendor/thor/lib/thor/actions.rb +24 -22
  177. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/create_file.rb +2 -1
  178. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +2 -1
  179. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/directory.rb +2 -2
  180. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +16 -8
  181. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +66 -18
  182. data/bundler/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +17 -15
  183. data/bundler/lib/bundler/vendor/thor/lib/thor/base.rb +55 -32
  184. data/bundler/lib/bundler/vendor/thor/lib/thor/command.rb +13 -11
  185. data/bundler/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +21 -1
  186. data/bundler/lib/bundler/vendor/thor/lib/thor/core_ext/io_binary_read.rb +7 -5
  187. data/bundler/lib/bundler/vendor/thor/lib/thor/core_ext/ordered_hash.rb +94 -63
  188. data/bundler/lib/bundler/vendor/thor/lib/thor/error.rb +3 -3
  189. data/bundler/lib/bundler/vendor/thor/lib/thor/group.rb +13 -13
  190. data/bundler/lib/bundler/vendor/thor/lib/thor/invocation.rb +4 -5
  191. data/bundler/lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb +2 -0
  192. data/bundler/lib/bundler/vendor/thor/lib/thor/parser/argument.rb +4 -7
  193. data/bundler/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +16 -16
  194. data/bundler/lib/bundler/vendor/thor/lib/thor/parser/option.rb +42 -21
  195. data/bundler/lib/bundler/vendor/thor/lib/thor/parser/options.rb +13 -10
  196. data/bundler/lib/bundler/vendor/thor/lib/thor/runner.rb +31 -29
  197. data/bundler/lib/bundler/vendor/thor/lib/thor/shell.rb +1 -1
  198. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +49 -33
  199. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/color.rb +1 -1
  200. data/bundler/lib/bundler/vendor/thor/lib/thor/shell/html.rb +4 -4
  201. data/bundler/lib/bundler/vendor/thor/lib/thor/util.rb +8 -7
  202. data/bundler/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
  203. data/bundler/lib/bundler/vendored_fileutils.rb +9 -0
  204. data/bundler/lib/bundler/vendored_molinillo.rb +1 -0
  205. data/bundler/lib/bundler/vendored_persistent.rb +35 -0
  206. data/bundler/lib/bundler/vendored_thor.rb +6 -2
  207. data/bundler/lib/bundler/version.rb +19 -2
  208. data/bundler/lib/bundler/version_ranges.rb +76 -0
  209. data/bundler/lib/bundler/vlad.rb +5 -0
  210. data/bundler/lib/bundler/worker.rb +3 -1
  211. data/bundler/lib/bundler/yaml_serializer.rb +3 -3
  212. data/bundler/man/bundle-add.ronn +29 -0
  213. data/bundler/man/bundle-binstubs.ronn +14 -0
  214. data/bundler/man/bundle-check.ronn +26 -0
  215. data/bundler/man/bundle-clean.ronn +18 -0
  216. data/bundler/man/bundle-config.ronn +180 -60
  217. data/bundler/man/bundle-exec.ronn +7 -0
  218. data/bundler/man/bundle-gem.ronn +3 -2
  219. data/bundler/man/bundle-info.ronn +17 -0
  220. data/bundler/man/bundle-init.ronn +18 -0
  221. data/bundler/man/bundle-inject.ronn +22 -0
  222. data/bundler/man/bundle-install.ronn +32 -32
  223. data/bundler/man/bundle-list.ronn +15 -0
  224. data/bundler/man/bundle-open.ronn +19 -0
  225. data/bundler/man/bundle-outdated.ronn +1 -1
  226. data/bundler/man/bundle-package.ronn +5 -0
  227. data/bundler/man/bundle-pristine.ronn +34 -0
  228. data/bundler/man/bundle-show.ronn +20 -0
  229. data/bundler/man/bundle-update.ronn +6 -3
  230. data/bundler/man/bundle-viz.ronn +30 -0
  231. data/bundler/man/bundle.ronn +11 -20
  232. data/bundler/man/gemfile.5.ronn +55 -64
  233. data/lib/rubygems.rb +79 -36
  234. data/lib/rubygems/basic_specification.rb +8 -4
  235. data/lib/rubygems/bundler_version_finder.rb +112 -0
  236. data/lib/rubygems/command.rb +1 -1
  237. data/lib/rubygems/command_manager.rb +3 -1
  238. data/lib/rubygems/commands/cert_command.rb +31 -6
  239. data/lib/rubygems/commands/cleanup_command.rb +1 -1
  240. data/lib/rubygems/commands/help_command.rb +1 -1
  241. data/lib/rubygems/commands/owner_command.rb +3 -1
  242. data/lib/rubygems/commands/pristine_command.rb +11 -8
  243. data/lib/rubygems/commands/push_command.rb +2 -1
  244. data/lib/rubygems/commands/query_command.rb +13 -14
  245. data/lib/rubygems/commands/setup_command.rb +124 -69
  246. data/lib/rubygems/commands/signin_command.rb +33 -0
  247. data/lib/rubygems/commands/signout_command.rb +33 -0
  248. data/lib/rubygems/commands/uninstall_command.rb +4 -3
  249. data/lib/rubygems/commands/unpack_command.rb +16 -4
  250. data/lib/rubygems/commands/update_command.rb +1 -1
  251. data/lib/rubygems/commands/which_command.rb +1 -1
  252. data/lib/rubygems/commands/yank_command.rb +4 -11
  253. data/lib/rubygems/config_file.rb +13 -24
  254. data/lib/rubygems/core_ext/kernel_require.rb +10 -9
  255. data/lib/rubygems/dependency.rb +2 -0
  256. data/lib/rubygems/dependency_installer.rb +4 -0
  257. data/lib/rubygems/errors.rb +3 -0
  258. data/lib/rubygems/exceptions.rb +6 -0
  259. data/lib/rubygems/ext/builder.rb +1 -1
  260. data/lib/rubygems/ext/ext_conf_builder.rb +2 -4
  261. data/lib/rubygems/ext/rake_builder.rb +1 -1
  262. data/lib/rubygems/gem_runner.rb +5 -1
  263. data/lib/rubygems/install_update_options.rb +5 -28
  264. data/lib/rubygems/installer.rb +12 -7
  265. data/lib/rubygems/installer_test_case.rb +6 -3
  266. data/lib/rubygems/package/old.rb +1 -1
  267. data/lib/rubygems/request.rb +1 -1
  268. data/lib/rubygems/request_set.rb +20 -3
  269. data/lib/rubygems/request_set/gem_dependency_api.rb +3 -3
  270. data/lib/rubygems/requirement.rb +5 -1
  271. data/lib/rubygems/resolver.rb +24 -3
  272. data/lib/rubygems/resolver/installer_set.rb +4 -6
  273. data/lib/rubygems/safe_yaml.rb +4 -1
  274. data/lib/rubygems/security.rb +10 -3
  275. data/lib/rubygems/security_option.rb +43 -0
  276. data/lib/rubygems/server.rb +4 -12
  277. data/lib/rubygems/source.rb +7 -4
  278. data/lib/rubygems/source/git.rb +2 -1
  279. data/lib/rubygems/source/local.rb +38 -35
  280. data/lib/rubygems/source/lock.rb +4 -1
  281. data/lib/rubygems/source_local.rb +3 -1
  282. data/lib/rubygems/source_specific_file.rb +3 -2
  283. data/lib/rubygems/spec_fetcher.rb +7 -3
  284. data/lib/rubygems/specification.rb +281 -231
  285. data/lib/rubygems/stub_specification.rb +2 -3
  286. data/lib/rubygems/test_case.rb +14 -1
  287. data/lib/rubygems/user_interaction.rb +15 -13
  288. data/lib/rubygems/util.rb +6 -17
  289. data/lib/rubygems/version.rb +17 -3
  290. data/lib/rubygems/version_option.rb +6 -1
  291. data/setup.rb +1 -1
  292. data/test/rubygems/private3072_key.pem +40 -0
  293. data/test/rubygems/public3072_cert.pem +25 -0
  294. data/test/rubygems/test_config.rb +1 -1
  295. data/test/rubygems/test_gem.rb +72 -14
  296. data/test/rubygems/test_gem_bundler_version_finder.rb +125 -0
  297. data/test/rubygems/test_gem_command.rb +1 -1
  298. data/test/rubygems/test_gem_commands_build_command.rb +27 -1
  299. data/test/rubygems/test_gem_commands_cert_command.rb +64 -0
  300. data/test/rubygems/test_gem_commands_install_command.rb +35 -2
  301. data/test/rubygems/test_gem_commands_pristine_command.rb +1 -1
  302. data/test/rubygems/test_gem_commands_query_command.rb +19 -0
  303. data/test/rubygems/test_gem_commands_setup_command.rb +17 -0
  304. data/test/rubygems/test_gem_commands_signin_command.rb +95 -0
  305. data/test/rubygems/test_gem_commands_signout_command.rb +37 -0
  306. data/test/rubygems/test_gem_commands_sources_command.rb +1 -1
  307. data/test/rubygems/test_gem_commands_uninstall_command.rb +12 -0
  308. data/test/rubygems/test_gem_commands_update_command.rb +1 -1
  309. data/test/rubygems/test_gem_commands_which_command.rb +3 -3
  310. data/test/rubygems/test_gem_dependency.rb +28 -0
  311. data/test/rubygems/test_gem_ext_builder.rb +2 -2
  312. data/test/rubygems/test_gem_ext_rake_builder.rb +2 -2
  313. data/test/rubygems/test_gem_install_update_options.rb +2 -1
  314. data/test/rubygems/test_gem_installer.rb +29 -27
  315. data/test/rubygems/test_gem_package.rb +5 -5
  316. data/test/rubygems/test_gem_remote_fetcher.rb +2 -2
  317. data/test/rubygems/test_gem_request_set_gem_dependency_api.rb +3 -3
  318. data/test/rubygems/test_gem_requirement.rb +6 -0
  319. data/test/rubygems/test_gem_resolver.rb +26 -0
  320. data/test/rubygems/test_gem_resolver_conflict.rb +1 -1
  321. data/test/rubygems/test_gem_security.rb +5 -0
  322. data/test/rubygems/test_gem_security_policy.rb +24 -24
  323. data/test/rubygems/test_gem_security_signer.rb +6 -6
  324. data/test/rubygems/test_gem_security_trust_dir.rb +2 -2
  325. data/test/rubygems/test_gem_server.rb +18 -1
  326. data/test/rubygems/test_gem_source.rb +9 -0
  327. data/test/rubygems/test_gem_spec_fetcher.rb +20 -0
  328. data/test/rubygems/test_gem_specification.rb +85 -10
  329. data/test/rubygems/test_gem_stream_ui.rb +6 -6
  330. data/test/rubygems/test_gem_stub_specification.rb +19 -1
  331. data/test/rubygems/test_gem_util.rb +1 -0
  332. data/test/rubygems/test_gem_version.rb +28 -7
  333. data/test/rubygems/test_gem_version_option.rb +15 -0
  334. data/test/rubygems/test_kernel.rb +30 -0
  335. data/test/rubygems/test_require.rb +44 -0
  336. metadata +47 -46
  337. data/README.rdoc +0 -54
  338. data/bundler/DEVELOPMENT.md +0 -150
  339. data/bundler/ISSUES.md +0 -117
  340. data/bundler/lib/bundler/postit_trampoline.rb +0 -73
  341. data/bundler/lib/bundler/vendor/postit/lib/postit.rb +0 -15
  342. data/bundler/lib/bundler/vendor/postit/lib/postit/environment.rb +0 -44
  343. data/bundler/lib/bundler/vendor/postit/lib/postit/installer.rb +0 -28
  344. data/bundler/lib/bundler/vendor/postit/lib/postit/parser.rb +0 -21
  345. data/bundler/lib/bundler/vendor/postit/lib/postit/setup.rb +0 -12
  346. data/bundler/lib/bundler/vendor/postit/lib/postit/version.rb +0 -3
  347. data/bundler/man/index.txt +0 -8
data/POLICIES.rdoc CHANGED
@@ -2,14 +2,14 @@
2
2
 
3
3
  Contributions to RubyGems are made via GitHub pull requests, which must be
4
4
  approved by a project committer other than the author. To approve a PR, a
5
- maintainer can leave a comment including the text "@homu r+", indicating that
6
- they have reviewed the PR and approve it. [Homu](http://homu.io) will then
5
+ maintainer can leave a comment including the text "@bundlerbot r+", indicating that
6
+ they have reviewed the PR and approve it. Bundlerbot will then
7
7
  automatically create a merge commit, test the merge, and land the PR if the
8
8
  merge commit passes the tests.
9
9
 
10
10
  This process guarantees that our release branches always have passing tests,
11
11
  and reduces siloing of information to a single contributor. For a full list of
12
- possible commands, see [the Homu documentation](http://homu.io).
12
+ possible commands, see {the Bundlerbot documentation}[https://bundlerbot-homu.herokuapp.com/].
13
13
 
14
14
  == Long-Term Support
15
15
 
data/README.md ADDED
@@ -0,0 +1,72 @@
1
+ # RubyGems [![Travis Build Status](https://secure.travis-ci.org/rubygems/rubygems.svg?branch=master)](http://travis-ci.org/rubygems/rubygems) [![Appveyor Build Status](https://ci.appveyor.com/api/projects/status/github/rubygems/rubygems?branch=master&svg=true)](https://ci.appveyor.com/project/rubygems/rubygems?branch=master)
2
+
3
+ RubyGems is a package management framework for Ruby.
4
+
5
+ This gem is an update for the RubyGems software. You must have an
6
+ installation of RubyGems before this update can be applied.
7
+
8
+ See Gem for information on RubyGems (or `ri Gem`)
9
+
10
+ To upgrade to the latest RubyGems, run:
11
+
12
+ ```
13
+ $ gem update --system # you might need to be an administrator or root
14
+ ```
15
+
16
+ See [UPGRADING](UPGRADING.rdoc) for more details and alternative instructions.
17
+
18
+ -----
19
+
20
+ If you don't have RubyGems installed, you can still do it manually:
21
+
22
+ * Download from https://rubygems.org/pages/download, unpack, and `cd` there
23
+ * OR clone this repository and `cd` there (make sure to run `git submodule update --init`)
24
+ * Install with `ruby setup.rb` (you may need admin/root privilege)
25
+
26
+ For more details and other options, see:
27
+
28
+ ```
29
+ ruby setup.rb --help
30
+ ```
31
+
32
+ ## Documentation
33
+
34
+ RubyGems uses [rdoc](https://github.com/rdoc/rdoc) for documentation. A compiled set of the docs
35
+ can be viewed online at http://www.rubydoc.info/github/rubygems/rubygems
36
+
37
+ RubyGems also provides a comprehensive set of guides which covers numerous topics such as
38
+ creating a new gem, security practices and other resources at http://guides.rubygems.org
39
+
40
+ ## GETTING HELP
41
+
42
+ ### Support Requests
43
+
44
+ Are you unsure of how to use RubyGems? Do you think you've found a bug and
45
+ you're not sure? If that is the case, the best place for you is to file a
46
+ support request at [help.rubygems.org](http://help.rubygems.org).
47
+
48
+ ### Filing Tickets
49
+
50
+ Got a bug and you're not sure? You're sure you have a bug, but don't know
51
+ what to do next? In any case, let us know about it! The best place
52
+ for letting the RubyGems team know about bugs or problems you're having is
53
+ [on the RubyGems issues page at GitHub](http://github.com/rubygems/rubygems/issues).
54
+
55
+ ### Bundler Compatibility
56
+
57
+ See http://bundler.io/compatibility for known issues.
58
+
59
+ ### Supporting
60
+
61
+ <a href="https://rubytogether.org/"><img src="https://rubytogether.org/images/rubies.svg" width=200></a><br/>
62
+ <a href="https://rubytogether.org/">Ruby Together</a> pays some RubyGems maintainers for their ongoing work. As a grassroots initiative committed to supporting the critical Ruby infrastructure you rely on, Ruby Together is funded entirely by the Ruby community. Contribute today <a href="https://rubytogether.org/developers">as an individual</a> or even better, <a href="https://rubytogether.org/companies">as a company</a>, and ensure that RubyGems, Bundler, and other shared tooling is around for years to come.
63
+
64
+ ### Contributing
65
+
66
+ If you'd like to contribute to RubyGems, that's awesome, and we <3 you. Check out our [guide to contributing](https://github.com/rubygems/rubygems/blob/master/CONTRIBUTING.rdoc#how-to-contribute) for more information.
67
+
68
+ While some RubyGems contributors are compensated by Ruby Together, the project maintainers make decisions independent of Ruby Together. As a project, we welcome contributions regardless of the author’s affiliation with Ruby Together.
69
+
70
+ ### Code of Conduct
71
+
72
+ Everyone interacting in the RubyGems project’s codebases, issue trackers, chat rooms, and mailing lists is expected to follow the [contributor code of conduct](https://github.com/rubygems/rubygems/blob/master/CODE_OF_CONDUCT.md).
data/Rakefile CHANGED
@@ -33,11 +33,12 @@ Hoe::RUBY_FLAGS << " --disable-gems" if RUBY_VERSION > "1.9"
33
33
 
34
34
  Hoe.plugin :git
35
35
  Hoe.plugin :travis
36
+ Hoe.plugin :newb
36
37
 
37
38
  hoe = Hoe.spec 'rubygems-update' do
38
39
  self.author = ['Jim Weirich', 'Chad Fowler', 'Eric Hodel']
39
40
  self.email = %w[rubygems-developers@rubyforge.org]
40
- self.readme_file = 'README.rdoc'
41
+ self.readme_file = 'README.md'
41
42
 
42
43
  license 'Ruby'
43
44
  license 'MIT'
@@ -45,6 +46,7 @@ hoe = Hoe.spec 'rubygems-update' do
45
46
  spec_extras[:required_rubygems_version] = Gem::Requirement.default
46
47
  spec_extras[:required_ruby_version] = Gem::Requirement.new '>= 1.8.7'
47
48
  spec_extras[:executables] = ['update_rubygems']
49
+ spec_extras[:homepage] = 'https://rubygems.org'
48
50
 
49
51
  rdoc_locations <<
50
52
  'docs-push.seattlerb.org:/data/www/docs.seattlerb.org/rubygems/'
@@ -63,7 +65,7 @@ hoe = Hoe.spec 'rubygems-update' do
63
65
 
64
66
  dependency 'builder', '~> 2.1', :dev
65
67
  dependency 'hoe-seattlerb', '~> 1.2', :dev
66
- dependency 'rdoc', '~> 3.0', :dev
68
+ dependency 'rdoc', '~> 4.0', :dev
67
69
  dependency 'ZenTest', '~> 4.5', :dev
68
70
  dependency 'rake', '~> 10.5', :dev
69
71
  dependency 'minitest', '~> 4.0', :dev
@@ -93,18 +95,21 @@ Hoe::Package.instance_method(:install_gem).tap do |existing_install_gem|
93
95
  end
94
96
  end
95
97
 
96
- Hoe::DEFAULT_CONFIG["exclude"] = %r[#{Hoe::DEFAULT_CONFIG["exclude"]}|\./bundler/(?!lib|man|exe|[^/]+\.md)]ox
98
+ Hoe::DEFAULT_CONFIG["exclude"] = %r[#{Hoe::DEFAULT_CONFIG["exclude"]}|\./bundler/(?!lib|man|exe|[^/]+\.md)|doc/]ox
97
99
 
98
100
  v = hoe.version
99
101
 
100
102
  hoe.testlib = :minitest
101
- hoe.test_prelude = 'gem "minitest", "~> 4.0"'
103
+ hoe.test_prelude = <<-RUBY.gsub("\n", ";")
104
+ gem "minitest", "~> 4.0"
105
+ $:.unshift #{File.expand_path("../bundler/lib", __FILE__).dump}
106
+ RUBY
102
107
 
103
108
  Rake::Task['docs'].clear
104
109
  Rake::Task['clobber_docs'].clear
105
110
 
106
111
  begin
107
- gem 'rdoc', '~> 3.0'
112
+ gem 'rdoc', '~> 4.0'
108
113
  require 'rdoc/task'
109
114
 
110
115
  RDoc::Task.new :rdoc => 'docs', :clobber_rdoc => 'clobber_docs' do |doc|
@@ -124,6 +129,20 @@ rescue LoadError, RuntimeError # rake 10.1 on rdoc from ruby 1.9.2 and earlier
124
129
  end
125
130
  end
126
131
 
132
+ class Hoe
133
+ module Deps
134
+ alias_method :default_check_extra_task, :check_extra_deps_task
135
+ def check_extra_deps_task
136
+ default_check_extra_task
137
+ rescue Gem::LoadError => e
138
+ raise unless e.name == 'rake'
139
+ details = "#{e.class}: #{e}"
140
+ abort "To override your default rake version, run: `rake _x.y.z_ task_name`:\n\t#{details}"
141
+ end
142
+ end
143
+ end
144
+ task(:newb).prerequisites.unshift "bundler:checkout"
145
+
127
146
  desc "Install gems needed to run the tests"
128
147
  task :install_test_deps => :clean_env do
129
148
  sh "gem install minitest -v '~> 4.0'"
@@ -481,3 +500,9 @@ task :update_manifest do
481
500
  end
482
501
  File.open('Manifest.txt', 'w') {|f| f.puts(files.sort) }
483
502
  end
503
+
504
+ namespace :bundler do
505
+ task :checkout do
506
+ sh "git submodule update --init"
507
+ end
508
+ end
data/appveyor.yml CHANGED
@@ -6,7 +6,16 @@ branches:
6
6
  - /[\d.]+/
7
7
  skip_tags: true
8
8
  clone_depth: 10
9
+
10
+ init:
11
+ - mklink /d C:\git "C:\Program Files\Git"
12
+ - if %ruby_version%==_trunk (
13
+ appveyor DownloadFile https://ci.appveyor.com/api/projects/MSP-Greg/ruby-loco/artifacts/ruby_trunk.7z -FileName C:\ruby_trunk.7z &
14
+ 7z x C:\ruby_trunk.7z -oC:\ruby_trunk )
15
+
9
16
  environment:
17
+ PATH: C:/ruby%ruby_version%/bin;C:/Program Files/7-Zip;C:/Program Files/AppVeyor/BuildAgent;C:/git/cmd;C:/Program Files (x86)/GNU/GnuPG/pub;C:/Windows/system32;C:\Windows;
18
+ WINDIR: C:\Windows
10
19
  matrix:
11
20
  - ruby_version: 193
12
21
  - ruby_version: 200
@@ -15,8 +24,21 @@ environment:
15
24
  - ruby_version: 21-x64
16
25
  - ruby_version: 22
17
26
  - ruby_version: 22-x64
27
+ - ruby_version: 23-x64
28
+ GIT: C:/git/cmd/git.exe
29
+ - ruby_version: 24-x64
30
+ GIT: C:/git/cmd/git.exe
31
+ - ruby_version: _trunk
32
+ GIT: C:/git/cmd/git.exe
33
+
34
+ matrix:
35
+ allow_failures:
36
+ - ruby_version: _trunk
37
+
18
38
  install:
19
39
  - ps: >-
40
+ git submodule update --init --recursive
41
+
20
42
  $env:path = 'C:\Ruby' + $env:ruby_version + '\bin;' + $env:path
21
43
 
22
44
  if ((gem query -i rake) -eq $False){ gem install rake --no-document }
@@ -26,6 +48,7 @@ install:
26
48
  gem install minitest -v "~> 4.7" --no-document
27
49
 
28
50
  ruby -v
51
+
29
52
  cache:
30
53
  - C:\Ruby193\lib\ruby\gems\1.9.1
31
54
  - C:\Ruby200\lib\ruby\gems\2.0.0
@@ -34,7 +57,12 @@ cache:
34
57
  - C:\Ruby21-x64\lib\ruby\gems\2.1.0
35
58
  - C:\Ruby22\lib\ruby\gems\2.2.0
36
59
  - C:\Ruby22-x64\lib\ruby\gems\2.2.0
60
+ - C:\Ruby23-x64\lib\ruby\gems\2.3.0
61
+ - C:\Ruby24-x64\lib\ruby\gems\2.4.0
62
+
37
63
  build: off
38
64
  test_script:
39
- - cmd: rake -rdevkit test
65
+ - rake -rdevkit test
66
+ on_finish:
67
+ - ruby -v
40
68
  deploy: off
data/bin/gem CHANGED
@@ -12,7 +12,7 @@ require 'rubygems/exceptions'
12
12
  required_version = Gem::Requirement.new ">= 1.8.7"
13
13
 
14
14
  unless required_version.satisfied_by? Gem.ruby_version then
15
- abort "Expected Ruby Version #{required_version}, is #{Gem.ruby_version}"
15
+ abort "Expected Ruby version #{required_version}, is #{Gem.ruby_version}"
16
16
  end
17
17
 
18
18
  args = ARGV.clone
data/bin/update_rubygems CHANGED
@@ -12,7 +12,7 @@ if ARGV.include? '-h' or ARGV.include? '--help' then
12
12
  $stderr.puts
13
13
  $stderr.puts "This will install the latest version of RubyGems."
14
14
  $stderr.puts
15
- $stderr.puts "\t--version=X.Y\tUpdate rubygems from the X.Y version."
15
+ $stderr.puts "\t--version=X.Y\tUpdate RubyGems from the X.Y version."
16
16
  exit
17
17
  end
18
18
 
@@ -23,7 +23,7 @@ end
23
23
  update_dir = $LOAD_PATH.find { |dir| dir =~ /rubygems-update/ }
24
24
 
25
25
  if update_dir.nil?
26
- puts "Error: Cannot find RubyGems Update Path!"
26
+ puts "Error: Cannot find RubyGems update path!"
27
27
  puts
28
28
  puts "RubyGems has already been updated."
29
29
  puts "The rubygems-update gem may now be uninstalled."
data/bundler/CHANGELOG.md CHANGED
@@ -1,4 +1,264 @@
1
- ## 1.14.0.pre.2 (2016-01-11)
1
+ ## 1.16.0 (2017-10-31)
2
+
3
+ Bugfixes:
4
+
5
+ - avoid new RubyGems warning about unsafe YAML loading (to keep output consistent) (@segiddins)
6
+ - load digest subclasses in a thread-safe manner (@segiddins, @colby-swandale)
7
+ - avoid unusued variable warnings under ruby 2.5 (@amatsuda)
8
+ - fix printing the same message twice in verbose mode ([#6028](https://github.com/bundler/bundler/issues/6028), @akhramov)
9
+ - allow `SignalException`s to bubble up to the interpreter during `bundle exec` ([#6090](https://github.com/bundler/bundler/issues/6090), @dekellum)
10
+ - avoid activating stdlib digest under Ruby 2.5 (@segiddins)
11
+ - prioritise explicitly requested gems in dependency resolution sort order (@segiddins)
12
+ - reduce memory usage during dependency resolution ([#6114](https://github.com/bundler/bundler/issues/6114), @greysteil)
13
+ - ensure that the default bundler gem is not accidentally activated on ruby 2.5 when using local git overrides (@segiddins)
14
+
15
+ ## 1.16.0.pre.3 (2017-10-04)
16
+
17
+ Features:
18
+
19
+ - the output from `bundle env` includes more information, particularly both the compiled & loaded versions of OpenSSL (@indirect)
20
+
21
+ Bugfixes:
22
+
23
+ - fix a bug where installing on FreeBSD would accidentally raise an error (#6013, @olleolleolle)
24
+ - fix a regression in 1.16 where pre-release gems could accidentally be resolved even when the gemfile contained no pre-release requirements (@greysteil)
25
+ - bundler will avoid making unnecessary network requests to fetch dependency data, fixing a regression introduced in 1.16 (@segiddins)
26
+ - the outdated bundler version message is disabled by default until the message has been fine-tuned (#6004, @segiddins)
27
+
28
+ ## 1.16.0.pre.2 (2017-09-06)
29
+
30
+ Bugfixes:
31
+
32
+ - handle when a connection is missing a socket when warning about OpenSSL version (@greysteil)
33
+ - the description for the `rake release` task now reflects `$RUBYGEMS_HOST` (@wadetandy)
34
+ - fix a bug where `bundle update` would regress transitive dependencies (@greysteil)
35
+
36
+ ## 1.16.0.pre.1 (2017-09-04)
37
+
38
+ Features:
39
+
40
+ - allow using non-branch symbolic refs in a git source (#4845, @segiddins)
41
+ - allow absolute paths in the `cache path` setting (#5627, @mal)
42
+ - gems created via `bundle gem` with rspec have `--require spec_helper` in their `.rspec` file (@koic)
43
+ - `bundle env` includes `Gem.ruby` and the `bundle` binstub shebang when they don't match (#5616, @segiddins)
44
+ - allow passing gem names to `bundle pristine` (@segiddins)
45
+ - `bundle version` and `bundle env` include the commit and build date for the bundler gem (#5049, @segiddins)
46
+ - add the `--shebang` option to `bundle binstubs` (#4070, @segiddins, @Zorbash)
47
+ - gemfiles are `eval`ed one fewer time when running `bundle install` (#4952, #3096, #4417, @segiddins)
48
+ - the `fileutils` gem is now vendored so different versions of the gem can be activated (@segiddins)
49
+ - speed up no-op installations (#5842, @segiddins)
50
+ - default to keeping the lockfile in the default gem template (@deivid-rodriguez)
51
+ - add a special bundler binstub that ensures the correct version of bundler is activated (#5876, @segiddins)
52
+ - speed up dependency resolution and ensure that all resolvable gemfiles can be installed (@segiddins, @greysteil)
53
+ - add a `bundle list` command that prints the gems in use (#4754, @colby-swandale)
54
+ - allow adding credentials to a gem source during deployment when `allow_deployment_source_credential_changes` is set (@adrian-gomez)
55
+ - making an outdated (and insecure) TLS connection to rubygems.org will print a warning (@segiddins)
56
+
57
+ Bugfixes:
58
+
59
+ - allow configuring a mirror fallback timeout without a trailing slash (#4830, @segiddins)
60
+ - fix handling of mirrors for file: urls that contain upper-case characters (@segiddins)
61
+ - list the correct gem host for `rake release` when `allowed_push_host` has been set (@mdeering)
62
+ - ensure `Bundler.original_env` preserves all env keys that bundler sets (#5700, @segiddins)
63
+ - ensure `bundle pristine` removes files added to a git gem (@segiddins)
64
+ - load plugin files from path gems before gem installation (#5429, @segiddins)
65
+ - ensure gems containing manpages are properly set up (#5730, @segiddins)
66
+ - avoid fetching remote specs when all effected gems are in groups that are not being installed (@segiddins)
67
+ - allow `BUNDLE_GEMFILE` to be a relative path (#5712, @gxespino)
68
+ - show a more helpful error message when a gem fails to install due to a corrupted lockfile (#5846, @segiddins)
69
+ - add a process lock to allow multiple concurrent `bundle install`s (#5851, @stefansedich)
70
+ - ensure that specifications always return an array for `#extensions` (@greysteil)
71
+ - print a helpful error message when using a gem in the Gemfile with an empty name (@colby-swandale)
72
+ - ensure that all gemfiles are included in `bundle env` (@segiddins)
73
+ - use ssl client cert and ca cert settings from gem configuration as fallbacks (@stan3)
74
+ - avoid global namespace pollution when loading gems (#5958, @shyouhei)
75
+ - avoid running a complete re-resolve on `bundle update --bundler` (@segiddins)
76
+ - allow `bundle binstubs --standalone` to work without `path` being set (@colby-swandale)
77
+ - fix support for bundle paths that include jars or wars on jruby (#5975, @torcido)
78
+
79
+ ## 1.15.4 (2017-08-19)
80
+
81
+ Bugfixes:
82
+
83
+ - handle file conflicts gracefully in `bundle gem` (@rafaelfranca, @segiddins)
84
+ - bundler will fail gracefully when the bundle path contains the system path separator (#5485, ajwann)
85
+ - failed gem downloads will be retried consistently across different RubyGems versions (@shayonj)
86
+ - `bundle pristine` will respect build options while re-building native extensions (@NickLaMuro)
87
+
88
+ ## 1.15.3 (2017-07-21)
89
+
90
+ Bugfixes:
91
+
92
+ - ensure that empty strings passed to `bundle config` are serialized & parsed properly (#5881, @segiddins)
93
+ - avoid printing an outdated version warning when running a parseable command (@segiddins)
94
+
95
+ ## 1.15.2 (2017-07-17)
96
+
97
+ Features:
98
+
99
+ - new gemfiles created by bundler will include an explicit `github` git source that uses `https` (@segiddins)
100
+
101
+ Bugfixes:
102
+
103
+ - inline gemfiles work when `BUNDLE_BIN` is set (#5847, @segiddins)
104
+ - avoid using the old dependency API when there are no changes to the compact index files (#5373, @greysteil)
105
+ - fail gracefully when the full index serves gemspecs with invalid dependencies (#5797, @segiddins)
106
+ - support installing gemfiles that use `eval_gemfile`, `:path` gems with relative paths, and `--deployment` simultaneously (@NickLaMuro)
107
+ - `bundle config` will print settings as the type they are interpreted as (@segiddins)
108
+ - respect the `no_proxy` environment variable when making network requests (#5781, @jakauppila)
109
+ - commands invoked with `--verbose` will not have default flags printed (@segiddins)
110
+ - allow `bundle viz` to work when another gem has a requirable `grapviz` file (#5707, @segiddins)
111
+ - ensure bundler puts activated gems on the `$LOAD_PATH` in a consistent order (#5696, @segiddins)
112
+
113
+ ## 1.15.1 (2017-06-02)
114
+
115
+ Bugfixes:
116
+
117
+ - `bundle lock --update GEM` will fail gracefully when the gem is not in the lockfile (#5693, @segiddins)
118
+ - `bundle init --gemspec` will fail gracefully when the gemspec is invalid (@colby-swandale)
119
+ - `bundle install --force` works when the gemfile contains git gems (#5678, @segiddins)
120
+ - `bundle env` will print well-formed markdown when there are no settings (#5677, @segiddins)
121
+
122
+ ## 1.15.0 (2017-05-19)
123
+
124
+ This space intentionally left blank.
125
+
126
+ ## 1.15.0.pre.4 (2017-05-10)
127
+
128
+ Bugfixes:
129
+
130
+ - avoid conflicts when `Gem.finish_resolve` is called after the bundle has been set up (@segiddins)
131
+ - ensure that `Gem::Specification.find_by_name` always returns an object that can have `#to_spec` called on it (#5592, @jules2689)
132
+
133
+ ## 1.15.0.pre.3 (2017-04-30)
134
+
135
+ Bugfixes:
136
+
137
+ - avoid redundant blank lines in the readme generated by `bundle gem` (@koic)
138
+ - ensure that `open-uri` is not loaded after `bundle exec` (@segiddins)
139
+ - print a helpful error message when an activated default gem conflicts with
140
+ a gem in the gemfile (@segiddins)
141
+ - only shorten `ref` option for git gems when it is a SHA (#5620, @segiddins)
142
+
143
+ ## 1.15.0.pre.2 (2017-04-23)
144
+
145
+ Bugfixes:
146
+
147
+ - ensure pre-existing fit caches are updated from remote sources (#5423, @alextaylor000)
148
+ - avoid duplicating specs in the lockfile after updating with the gem uninstalled (#5599, @segiddins)
149
+ - ensure git gems have their extensions available at runtime (#5594, @jules2689, @segiddins)
150
+
151
+ ## 1.15.0.pre.1 (2017-04-16)
152
+
153
+ Features:
154
+
155
+ - print a notification when a newer version of bundler is available (#4683, @segiddins)
156
+ - add man pages for all bundler commands (#4988, @feministy)
157
+ - add the `bundle info` command (@fredrb, @colby-swandale)
158
+ - all files created with `bundle gem` comply with the bundler style guide (@zachahn)
159
+ - if installing a gem fails, print out the reason the gem needed to be installed (#5078, @segiddins)
160
+ - allow setting `gem.push_key` to set the key used when running `rake release` (@DTrierweiler)
161
+ - print gem versions that are regressing during `bundle update` in yellow (#5506, @brchristian)
162
+ - avoid printing extraneous dependencies when the resolver encounters a conflict (@segiddins)
163
+ - add the `bundle issue` command that prints instructions for reporting issues (#4871, @jonathanpike)
164
+ - add `--source` and `--group` options to the `bundle inject` command (#5452, @Shekharrajak)
165
+ - add the `bundle add` command to add a gem to the gemfile (@denniss)
166
+ - add the `bundle pristine` command to re-install gems from cached `.gem` files (#4509, @denniss)
167
+ - add a `--parseable` option for `bundle config` (@JuanitoFatas, @colby-swandale)
168
+
169
+ Performance:
170
+
171
+ - speed up gemfile initialization by storing locked dependencies as a hash (@jules2689)
172
+ - speed up gemfile initialization by making locked dependency comparison lazy, avoiding object allocation (@jules2689)
173
+ - only validate git gems when they are downloaded, instead of every time `Bundler.setup` is run (@segiddins)
174
+ - avoid regenerating the lockfile when nothing has changed (@segiddins)
175
+ - avoid diffing large arrays when no sources in the gemfile have changed (@segiddins)
176
+ - avoid evaluating full gemspecs when running with RubyGems 2.5+ (@segiddins)
177
+
178
+ Bugfixes:
179
+
180
+ - fix cases where `bundle update` would print a resolver conflict instead of updating the selected gems (#5031, #5095, @segiddins)
181
+ - print out a stack trace after an interrupt when running in debug mode (@segiddins)
182
+ - print out when bundler starts fetching a gem from a remote server (@segiddins)
183
+ - fix `bundle gem` failing when `git` is unavailable (#5458, @Shekharrajak, @colby-swandale)
184
+ - suggest the appropriate command to unfreeze a bundle (#5009, @denniss)
185
+ - ensure nested calls to `bundle exec` resolve default gems correctly (#5500, @segiddins)
186
+ - ensure that a plugin failing to install doesn't uninstall other plugins (@kerrizor, @roseaboveit)
187
+ - ensure `socket` is required before being referenced (#5533, @rafaelfranca)
188
+ - allow running `bundle outdated` when gems aren't installed locally (#5553, @segiddins)
189
+ - print a helpful error when `bundle exec`ing to a gem that isn't included in the bundle (#5487, @segiddins)
190
+ - print an error message when a non-git gem is given a `branch` option (#5530, @colby-swandale)
191
+ - allow interrupts to exit the process after gems have been installed (@segiddins)
192
+ - print the underlying error when downloading gem metadata fails (#5579, @segiddins)
193
+ - avoid deadlocking when installing with a lockfile that is missing dependencies (#5378, #5480, #5519, #5526, #5529, #5549, #5572, @segiddins)
194
+
195
+ ## 1.14.6 (2017-03-03)
196
+
197
+ Bugfixes:
198
+
199
+ - avoid undefined constant `Bundler::Plugin::API::Source` exception (#5409, @segiddins)
200
+ - avoid incorrect warnings about needing to enable `specific_platform` (@segiddins)
201
+ - fail gracefully when the compact index does not send an ETag (#5463, @olleolleolle)
202
+ - ensure `bundle outdated --local` shows all outdated gems (#5430, @denniss)
203
+ - fix a case where ruby version requirements could lead to incorrect resolver conflicts (#5425, @segiddins)
204
+
205
+ ## 1.14.5 (2017-02-22)
206
+
207
+ Bugfixes:
208
+
209
+ - avoid loading all unused gemspecs during `bundle exec` on RubyGems 2.3+ (@segiddins)
210
+ - improve resolver performance when dependencies have zero or one total possibilities ignoring requirements (#5444, #5457, @segiddins)
211
+ - enable compact index when OpenSSL FIPS mode is enabled but not active (#5433, @wjordan)
212
+ - use github username instead of git name for the github url in `bundle gem` (#5438, @danielpclark)
213
+ - avoid a TypeError on RubyGems 2.6.8 when no build settings are set for native extensions (@okkez)
214
+ - fail gracefully when the dependency api is missing runtime dependencies for a gem (@segiddins)
215
+ - handle when a platform-specific gem has more dependencies than the ruby platform version (#5339, #5426, @segiddins)
216
+ - allow running bundler on a machine with no home directory where the temporary directory is not writable (#5371, @segiddins)
217
+ - avoid gem version conflicts on openssl using Ruby 2.5 (#5235, @rhenium)
218
+ - fail when installing in frozen mode and the dependencies for `gemspec` gems have changed without the lockfile being updated (#5264, @segiddins)
219
+
220
+ ## 1.14.4 (2017-02-12)
221
+
222
+ Bugfixes:
223
+
224
+ - fail gracefully when attempting to overwrite an existing directory with `bundle gem` (#5358, @nodo)
225
+ - fix a resolver bug that would cause bundler to report conflicts that it could resolve (#5359, #5362, @segiddins)
226
+ - set native extension build arguments for git gems (#5401, @segiddins)
227
+ - fix the suggested `bundle lock` command printed when a dependency is unused on any platform (@5t111111)
228
+ - ensure the version passed to `ruby` in the Gemfile is valid during Gemfile parsing (#5380, @segiddins)
229
+ - show `bundle inject` usage when too many arguments are passed (#5384, @Shekharrajak)
230
+ - stop `bundle show --outdated` from implicitly running `bundle update` (#5375, @colby-swandale)
231
+ - allow the temporary home directory fallback to work for multiple users (@svoop)
232
+
233
+ ## 1.14.3 (2017-01-24)
234
+
235
+ Bugfixes:
236
+
237
+ - fix the resolver attempting to activate ruby-platform gems when the bundle is only for other platforms (#5349, #5356, @segiddins)
238
+ - avoid re-resolving a locked gemfile that uses `gemspec` and includes development dependencies (#5349, @segiddins)
239
+
240
+ ## 1.14.2 (2017-01-22)
241
+
242
+ Bugfixes:
243
+
244
+ - fix using `force_ruby_platform` on windows (#5344, @segiddins)
245
+ - fix an incorrect version conflict error when using `gemspec` on multiple platforms (#5340, @segiddins)
246
+
247
+ ## 1.14.1 (2017-01-21)
248
+
249
+ Bugfixes:
250
+
251
+ - work around a ruby 2.2.2 bug that caused a stack consistency error during installation (#5342, @segiddins)
252
+
253
+ ## 1.14.0 (2017-01-20)
254
+
255
+ Bugfixes:
256
+
257
+ - ensure `Settings::Mirror` is autoloaded under the `Settings` namespace
258
+ (#5238, @segiddins)
259
+ - fix `bundler/inline` when `BUNDLE_GEMFILE=""` (#5079, @segiddins)
260
+
261
+ ## 1.14.0.pre.2 (2017-01-11)
2
262
 
3
263
  Bugfixes:
4
264
 
@@ -7,7 +267,7 @@ Bugfixes:
7
267
  - fix a resolver error that could leave dependencies unresolved (#5294, @segiddins)
8
268
  - fix a stack overflow error when invoking commands (#5296, @segiddins)
9
269
 
10
- ## 1.14.0.pre.1 (2016-12-xx)
270
+ ## 1.14.0.pre.1 (2016-12-29)
11
271
 
12
272
  Features:
13
273
 
@@ -103,7 +363,7 @@ Bugfixes:
103
363
 
104
364
  - allow `Settings` to be initialized without a root directory (@m1k3)
105
365
  - allow specifying ruby engines in the gemfile as a symbol (#4919, @JuanitoFatas)
106
- - avoid an execption when using `bundler/deployment` with Vlad (@srbaker)
366
+ - avoid an exception when using `bundler/deployment` with Vlad (@srbaker)
107
367
  - ensure redefined methods have the same visibility as the one they're replacing, fixing `Kernel.require` failing on JRuby (#4975, @segiddins)
108
368
  - ensure that Bundler won't complain about a corrupt lockfile when no lockfile exists when using `gemspec` in the Gemfile (#5006, @segiddins)
109
369
  - fail gracefully when parsing the metadata for a gemspec from the compact index fails (@segiddins)
@@ -1339,13 +1599,13 @@ Bugfixes:
1339
1599
 
1340
1600
  Features:
1341
1601
 
1342
- - compatibile with Ruby 2.0.0-preview2
1343
- - compatibile with Rubygems 2.0.0.preview2 (@drbrain, @evanphx)
1602
+ - compatible with Ruby 2.0.0-preview2
1603
+ - compatible with Rubygems 2.0.0.preview2 (@drbrain, @evanphx)
1344
1604
  - ruby 2.0 added to the `:ruby19` ABI-compatible platform
1345
1605
  - lazy load YAML, allowing Psych to be specified in the Gemfile
1346
1606
  - significant performance improvements (@cheald, #2181)
1347
1607
  - `inject` command for scripted Gemfile additions (Engine Yard)
1348
- - :github option uses slashless arguements as repo owner (@rking)
1608
+ - :github option uses slashless arguments as repo owner (@rking)
1349
1609
  - `open` suggests gem names for typos (@jdelStrother)
1350
1610
  - `update` reports non-existent gems (@jdelStrother)
1351
1611
  - `gem` option --test can generate rspec stubs (@MafcoCinco)
@@ -1769,7 +2029,7 @@ Features:
1769
2029
  - Add bundle clean. Removes unused gems from --path directory
1770
2030
  - Initial Gemcutter Endpoint API work, BAI Fetching source index
1771
2031
  - Added bundle install --standalone
1772
- - Ignore Gemfile.lock when buliding new gems
2032
+ - Ignore Gemfile.lock when building new gems
1773
2033
  - Make it possible to override a .gemspec dependency's source in the
1774
2034
  Gemfile
1775
2035
 
@@ -1820,7 +2080,7 @@ Bugfixes:
1820
2080
 
1821
2081
  Features:
1822
2082
 
1823
- - Compatability with Rubygems 1.8.10 installer changes
2083
+ - Compatibility with Rubygems 1.8.10 installer changes
1824
2084
  - Report gem installation failures clearly (@rwilcox, #1380)
1825
2085
  - Useful error for cap and vlad on first deploy (@nexmat, @kirs)
1826
2086
 
@@ -2570,7 +2830,7 @@ Bugfixes:
2570
2830
  - make the tests platform agnostic so we can confirm that they're green on JRuby
2571
2831
  - fixes for Ruby 1.9
2572
2832
 
2573
- ## 0.9.5 (Feburary 12, 2010)
2833
+ ## 0.9.5 (February 12, 2010)
2574
2834
 
2575
2835
  Features:
2576
2836