rubygems-update 1.8.30 → 2.0.0.preview2

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 (241) hide show
  1. checksums.yaml +6 -6
  2. checksums.yaml.gz.sig +0 -0
  3. data.tar.gz.sig +3 -0
  4. data/.autotest +6 -3
  5. data/History.txt +137 -63
  6. data/LICENSE.txt +1 -5
  7. data/Manifest.txt +69 -32
  8. data/README.rdoc +11 -9
  9. data/Rakefile +24 -38
  10. data/bin/gem +0 -9
  11. data/bin/update_rubygems +1 -0
  12. data/lib/rubygems.rb +193 -405
  13. data/lib/rubygems/available_set.rb +95 -0
  14. data/lib/rubygems/command.rb +88 -45
  15. data/lib/rubygems/command_manager.rb +67 -40
  16. data/lib/rubygems/commands/build_command.rb +5 -23
  17. data/lib/rubygems/commands/cert_command.rb +199 -57
  18. data/lib/rubygems/commands/check_command.rb +14 -39
  19. data/lib/rubygems/commands/cleanup_command.rb +9 -1
  20. data/lib/rubygems/commands/contents_command.rb +30 -12
  21. data/lib/rubygems/commands/dependency_command.rb +3 -8
  22. data/lib/rubygems/commands/environment_command.rb +13 -8
  23. data/lib/rubygems/commands/fetch_command.rb +3 -16
  24. data/lib/rubygems/commands/generate_index_command.rb +7 -47
  25. data/lib/rubygems/commands/help_command.rb +1 -1
  26. data/lib/rubygems/commands/install_command.rb +69 -36
  27. data/lib/rubygems/commands/list_command.rb +6 -4
  28. data/lib/rubygems/commands/lock_command.rb +1 -1
  29. data/lib/rubygems/commands/mirror_command.rb +17 -0
  30. data/lib/rubygems/commands/outdated_command.rb +6 -3
  31. data/lib/rubygems/commands/owner_command.rb +13 -5
  32. data/lib/rubygems/commands/pristine_command.rb +19 -4
  33. data/lib/rubygems/commands/push_command.rb +12 -1
  34. data/lib/rubygems/commands/query_command.rb +43 -27
  35. data/lib/rubygems/commands/rdoc_command.rb +23 -28
  36. data/lib/rubygems/commands/search_command.rb +4 -18
  37. data/lib/rubygems/commands/server_command.rb +1 -1
  38. data/lib/rubygems/commands/setup_command.rb +124 -38
  39. data/lib/rubygems/commands/sources_command.rb +16 -16
  40. data/lib/rubygems/commands/specification_command.rb +11 -13
  41. data/lib/rubygems/commands/uninstall_command.rb +24 -7
  42. data/lib/rubygems/commands/unpack_command.rb +7 -3
  43. data/lib/rubygems/commands/update_command.rb +22 -36
  44. data/lib/rubygems/commands/yank_command.rb +98 -0
  45. data/lib/rubygems/compatibility.rb +51 -0
  46. data/lib/rubygems/config_file.rb +82 -54
  47. data/lib/rubygems/core_ext/kernel_gem.rb +53 -0
  48. data/lib/rubygems/core_ext/kernel_require.rb +119 -0
  49. data/lib/rubygems/defaults.rb +10 -21
  50. data/lib/rubygems/dependency.rb +61 -10
  51. data/lib/rubygems/dependency_installer.rb +157 -69
  52. data/lib/rubygems/dependency_list.rb +11 -19
  53. data/lib/rubygems/dependency_resolver.rb +562 -0
  54. data/lib/rubygems/deprecate.rb +40 -40
  55. data/lib/rubygems/errors.rb +77 -24
  56. data/lib/rubygems/exceptions.rb +25 -7
  57. data/lib/rubygems/ext/builder.rb +20 -23
  58. data/lib/rubygems/ext/configure_builder.rb +2 -2
  59. data/lib/rubygems/ext/ext_conf_builder.rb +5 -45
  60. data/lib/rubygems/ext/rake_builder.rb +2 -2
  61. data/lib/rubygems/gem_runner.rb +3 -16
  62. data/lib/rubygems/gemcutter_utilities.rb +22 -7
  63. data/lib/rubygems/indexer.rb +6 -159
  64. data/lib/rubygems/install_message.rb +12 -0
  65. data/lib/rubygems/install_update_options.rb +56 -18
  66. data/lib/rubygems/installer.rb +244 -134
  67. data/lib/rubygems/installer_test_case.rb +71 -19
  68. data/lib/rubygems/mock_gem_ui.rb +17 -0
  69. data/lib/rubygems/name_tuple.rb +110 -0
  70. data/lib/rubygems/package.rb +514 -43
  71. data/lib/rubygems/package/digest_io.rb +64 -0
  72. data/lib/rubygems/package/old.rb +147 -0
  73. data/lib/rubygems/package/tar_header.rb +18 -55
  74. data/lib/rubygems/package/tar_reader.rb +20 -3
  75. data/lib/rubygems/package/tar_writer.rb +63 -7
  76. data/lib/rubygems/package_task.rb +3 -4
  77. data/lib/rubygems/path_support.rb +14 -7
  78. data/lib/rubygems/platform.rb +19 -26
  79. data/lib/rubygems/rdoc.rb +316 -0
  80. data/lib/rubygems/remote_fetcher.rb +117 -54
  81. data/lib/rubygems/request_set.rb +182 -0
  82. data/lib/rubygems/requirement.rb +63 -26
  83. data/lib/rubygems/security.rb +295 -555
  84. data/lib/rubygems/security/policies.rb +115 -0
  85. data/lib/rubygems/security/policy.rb +227 -0
  86. data/lib/rubygems/security/signer.rb +136 -0
  87. data/lib/rubygems/security/trust_dir.rb +104 -0
  88. data/lib/rubygems/server.rb +45 -55
  89. data/lib/rubygems/source.rb +144 -0
  90. data/lib/rubygems/source_list.rb +87 -0
  91. data/lib/rubygems/source_local.rb +92 -0
  92. data/lib/rubygems/source_specific_file.rb +28 -0
  93. data/lib/rubygems/spec_fetcher.rb +116 -184
  94. data/lib/rubygems/specification.rb +731 -335
  95. data/lib/rubygems/ssl_certs/AddTrustExternalCARoot.pem +88 -30
  96. data/lib/rubygems/ssl_certs/Entrust_net-Secure-Server-Certification-Authority.pem +90 -0
  97. data/lib/rubygems/ssl_certs/VerisignClass3PublicPrimaryCertificationAuthority-G2.pem +57 -0
  98. data/lib/rubygems/syck_hack.rb +2 -0
  99. data/lib/rubygems/test_case.rb +199 -109
  100. data/lib/rubygems/test_utilities.rb +25 -5
  101. data/lib/rubygems/uninstaller.rb +62 -20
  102. data/lib/rubygems/user_interaction.rb +10 -0
  103. data/lib/rubygems/validator.rb +33 -40
  104. data/lib/rubygems/version.rb +19 -8
  105. data/setup.rb +8 -1
  106. data/test/rubygems/alternate_cert.pem +9 -0
  107. data/test/rubygems/alternate_cert_32.pem +9 -0
  108. data/test/rubygems/alternate_key.pem +9 -0
  109. data/test/rubygems/bad_rake.rb +1 -0
  110. data/test/rubygems/child_cert.pem +9 -0
  111. data/test/rubygems/child_cert_32.pem +9 -0
  112. data/test/rubygems/child_key.pem +9 -0
  113. data/test/rubygems/data/null-type.gemspec.rz +0 -0
  114. data/test/rubygems/expired_cert.pem +9 -0
  115. data/test/rubygems/future_cert.pem +9 -0
  116. data/test/rubygems/future_cert_32.pem +9 -0
  117. data/test/rubygems/good_rake.rb +1 -0
  118. data/test/rubygems/grandchild_cert.pem +9 -0
  119. data/test/rubygems/grandchild_cert_32.pem +9 -0
  120. data/test/rubygems/grandchild_key.pem +9 -0
  121. data/test/rubygems/invalid_issuer_cert.pem +9 -0
  122. data/test/rubygems/invalid_issuer_cert_32.pem +9 -0
  123. data/test/rubygems/invalid_key.pem +9 -0
  124. data/test/rubygems/invalid_signer_cert.pem +9 -0
  125. data/test/rubygems/invalid_signer_cert_32.pem +9 -0
  126. data/test/rubygems/invalidchild_cert.pem +9 -0
  127. data/test/rubygems/invalidchild_cert_32.pem +9 -0
  128. data/test/rubygems/invalidchild_key.pem +9 -0
  129. data/test/rubygems/plugin/exception/rubygems_plugin.rb +1 -1
  130. data/test/rubygems/plugin/standarderror/rubygems_plugin.rb +1 -1
  131. data/test/rubygems/private_key.pem +7 -25
  132. data/test/rubygems/public_cert.pem +8 -18
  133. data/test/rubygems/public_cert_32.pem +10 -0
  134. data/test/rubygems/public_key.pem +4 -0
  135. data/test/rubygems/rubygems/commands/crash_command.rb +1 -1
  136. data/test/rubygems/test_config.rb +4 -6
  137. data/test/rubygems/test_deprecate.rb +76 -0
  138. data/test/rubygems/test_gem.rb +318 -83
  139. data/test/rubygems/test_gem_available_set.rb +106 -0
  140. data/test/rubygems/test_gem_command.rb +10 -0
  141. data/test/rubygems/test_gem_command_manager.rb +55 -9
  142. data/test/rubygems/test_gem_commands_build_command.rb +11 -19
  143. data/test/rubygems/test_gem_commands_cert_command.rb +441 -42
  144. data/test/rubygems/test_gem_commands_cleanup_command.rb +29 -1
  145. data/test/rubygems/test_gem_commands_contents_command.rb +23 -0
  146. data/test/rubygems/test_gem_commands_dependency_command.rb +5 -0
  147. data/test/rubygems/test_gem_commands_fetch_command.rb +19 -20
  148. data/test/rubygems/test_gem_commands_generate_index_command.rb +2 -83
  149. data/test/rubygems/test_gem_commands_help_command.rb +2 -1
  150. data/test/rubygems/test_gem_commands_install_command.rb +647 -48
  151. data/test/rubygems/test_gem_commands_mirror.rb +32 -0
  152. data/test/rubygems/test_gem_commands_owner_command.rb +4 -8
  153. data/test/rubygems/test_gem_commands_pristine_command.rb +99 -4
  154. data/test/rubygems/test_gem_commands_push_command.rb +62 -8
  155. data/test/rubygems/test_gem_commands_query_command.rb +51 -0
  156. data/test/rubygems/test_gem_commands_search_command.rb +25 -0
  157. data/test/rubygems/test_gem_commands_setup_command.rb +45 -0
  158. data/test/rubygems/test_gem_commands_sources_command.rb +21 -6
  159. data/test/rubygems/test_gem_commands_specification_command.rb +33 -1
  160. data/test/rubygems/test_gem_commands_uninstall_command.rb +91 -31
  161. data/test/rubygems/test_gem_commands_unpack_command.rb +3 -3
  162. data/test/rubygems/test_gem_commands_update_command.rb +56 -38
  163. data/test/rubygems/test_gem_commands_which_command.rb +4 -4
  164. data/test/rubygems/test_gem_commands_yank_command.rb +97 -0
  165. data/test/rubygems/test_gem_config_file.rb +66 -21
  166. data/test/rubygems/test_gem_dependency.rb +46 -0
  167. data/test/rubygems/test_gem_dependency_installer.rb +228 -18
  168. data/test/rubygems/test_gem_dependency_list.rb +0 -9
  169. data/test/rubygems/test_gem_dependency_resolver.rb +327 -0
  170. data/test/rubygems/test_gem_ext_configure_builder.rb +4 -4
  171. data/test/rubygems/test_gem_ext_ext_conf_builder.rb +21 -49
  172. data/test/rubygems/test_gem_ext_rake_builder.rb +13 -13
  173. data/test/rubygems/test_gem_gem_runner.rb +27 -5
  174. data/test/rubygems/test_gem_gemcutter_utilities.rb +19 -0
  175. data/test/rubygems/test_gem_indexer.rb +14 -227
  176. data/test/rubygems/test_gem_install_update_options.rb +83 -3
  177. data/test/rubygems/test_gem_installer.rb +211 -236
  178. data/test/rubygems/test_gem_local_remote_options.rb +8 -2
  179. data/test/rubygems/test_gem_name_tuple.rb +15 -0
  180. data/test/rubygems/test_gem_package.rb +547 -0
  181. data/test/rubygems/test_gem_package_old.rb +37 -0
  182. data/test/rubygems/test_gem_package_tar_reader.rb +32 -0
  183. data/test/rubygems/test_gem_package_tar_writer.rb +84 -1
  184. data/test/rubygems/test_gem_path_support.rb +4 -30
  185. data/test/rubygems/test_gem_platform.rb +3 -6
  186. data/test/rubygems/test_gem_rdoc.rb +245 -0
  187. data/test/rubygems/test_gem_remote_fetcher.rb +51 -5
  188. data/test/rubygems/test_gem_request_set.rb +70 -0
  189. data/test/rubygems/test_gem_requirement.rb +53 -24
  190. data/test/rubygems/test_gem_security.rb +189 -43
  191. data/test/rubygems/test_gem_security_policy.rb +376 -0
  192. data/test/rubygems/test_gem_security_signer.rb +184 -0
  193. data/test/rubygems/test_gem_security_trust_dir.rb +94 -0
  194. data/test/rubygems/test_gem_server.rb +31 -36
  195. data/test/rubygems/test_gem_silent_ui.rb +2 -2
  196. data/test/rubygems/test_gem_source.rb +188 -0
  197. data/test/rubygems/test_gem_source_list.rb +87 -0
  198. data/test/rubygems/test_gem_source_local.rb +83 -0
  199. data/test/rubygems/test_gem_source_specific_file.rb +33 -0
  200. data/test/rubygems/test_gem_spec_fetcher.rb +91 -255
  201. data/test/rubygems/test_gem_specification.rb +293 -39
  202. data/test/rubygems/test_gem_uninstaller.rb +136 -13
  203. data/test/rubygems/test_gem_validator.rb +14 -41
  204. data/test/rubygems/test_gem_version.rb +15 -21
  205. data/test/rubygems/test_require.rb +193 -0
  206. data/test/rubygems/wrong_key_cert.pem +9 -0
  207. data/test/rubygems/wrong_key_cert_32.pem +9 -0
  208. metadata +171 -83
  209. metadata.gz.sig +1 -0
  210. data/CVE-2013-4287.txt +0 -36
  211. data/CVE-2013-4363.txt +0 -45
  212. data/ci_build.sh +0 -27
  213. data/cruise_config.rb +0 -32
  214. data/lib/rbconfig/datadir.rb +0 -13
  215. data/lib/rubygems/builder.rb +0 -99
  216. data/lib/rubygems/custom_require.rb +0 -69
  217. data/lib/rubygems/doc_manager.rb +0 -243
  218. data/lib/rubygems/format.rb +0 -82
  219. data/lib/rubygems/gem_openssl.rb +0 -90
  220. data/lib/rubygems/gem_path_searcher.rb +0 -172
  221. data/lib/rubygems/old_format.rb +0 -153
  222. data/lib/rubygems/package/f_sync_dir.rb +0 -23
  223. data/lib/rubygems/package/tar_input.rb +0 -234
  224. data/lib/rubygems/package/tar_output.rb +0 -146
  225. data/lib/rubygems/require_paths_builder.rb +0 -18
  226. data/lib/rubygems/source_index.rb +0 -406
  227. data/lib/rubygems/ssl_certs/AddTrustExternalCARoot-2048.pem +0 -25
  228. data/lib/rubygems/ssl_certs/Class3PublicPrimaryCertificationAuthority.pem +0 -14
  229. data/lib/rubygems/ssl_certs/DigiCertHighAssuranceEVRootCA.pem +0 -23
  230. data/lib/rubygems/ssl_certs/EntrustnetSecureServerCertificationAuthority.pem +0 -28
  231. data/lib/rubygems/ssl_certs/GeoTrustGlobalCA.pem +0 -20
  232. data/test/rubygems/test_bundled_ca.rb +0 -59
  233. data/test/rubygems/test_gem_builder.rb +0 -44
  234. data/test/rubygems/test_gem_doc_manager.rb +0 -32
  235. data/test/rubygems/test_gem_ext_builder.rb +0 -58
  236. data/test/rubygems/test_gem_format.rb +0 -88
  237. data/test/rubygems/test_gem_gem_path_searcher.rb +0 -94
  238. data/test/rubygems/test_gem_package_tar_input.rb +0 -129
  239. data/test/rubygems/test_gem_package_tar_output.rb +0 -101
  240. data/test/rubygems/test_gem_source_index.rb +0 -250
  241. data/util/update_bundled_ca_certificates.rb +0 -103
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 483dc4e2862f768a070afa3f891be50a070b22db
4
- data.tar.gz: 40f38462e9c9b10a2d45683b09996d70bf590277
5
- SHA512:
6
- metadata.gz: 575a3461903314b7643ec0f5aa95379bf5efbaf8bab96de2c356cf2b4c2e4886b5b4f7cf89af6268f8e11d44fb1fbf80c93c2ccef10ba1c734028d7f655fefcc
7
- data.tar.gz: f9053f8b82138b24ed69dd72cc1c7c57128ecc18b615742c224dbe58938f75a33fa3975b5002f6621ea0cc5cb31cfc3498a97a52c3340956d75372f14d06d135
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: a26a66549f8615007323fcde8b0c56acbf3e832f
4
+ data.tar.gz: c354d5ff0f380f76bea776370eb8eb0a4d433198
5
+ !binary "U0hBNTEy":
6
+ metadata.gz: c0470251c7fe5392a47a13eedb9ad9bbaf545cdc00e68af6689ebfebbd6fc5bc1caf8547f79dea5b8463581cbbaa01e594f51664e1a3887045cadeb4f0abff73
7
+ data.tar.gz: de7675e2d3a4a7f3d6e1ee9986423a5eb3fe3a3b98b2071383659e4123f54c2c9933c61636e0d157ce8d9145eb5ecb11012a89244a92c98caea2e144618f4122
Binary file
@@ -0,0 +1,3 @@
1
+ W
2
+ B�{�p2�o7�F�����/��G*MԻ,� �v�s� � n����i�G����a�� 1=����"ܦ�L� �䨼c��tb�Z���ܬb�9��m�K�,����q|�%HK�;<��k$V.��A\?r�,6��$zB�lR�� ��vh��\��� ��ߐ��m'dL����Զ��E�J-_Ք�Z
3
+ �w���b������c>��R����ێ�nn�+?G��*,�җ�8"D��~o�}�G�
data/.autotest CHANGED
@@ -1,12 +1,12 @@
1
1
  # -*- ruby -*-
2
2
 
3
- ENV['GEM_HOME'] = "tmp/isolate/ruby-1.8"
4
3
  Gem.refresh
5
4
 
6
5
  require 'autotest/restart'
6
+ require 'autotest/isolate'
7
7
 
8
8
  Autotest.add_hook :initialize do |at|
9
- at.testlib = ''
9
+ at.testlib = 'minitest/autorun'
10
10
 
11
11
  at.add_exception %r%/\.git/%
12
12
  at.add_exception %r%/\.svn/%
@@ -35,6 +35,9 @@ end
35
35
  class Autotest
36
36
  alias :old_path_to_classname :path_to_classname
37
37
  def path_to_classname s
38
- old_path_to_classname(s.sub(/test.rubygems.test_/, ""))
38
+ classname = old_path_to_classname(s.sub(/test.rubygems.test_/, ""))
39
+ classname = classname.gsub('Rdoc', 'RDoc')
40
+
41
+ classname
39
42
  end
40
43
  end
@@ -1,64 +1,138 @@
1
1
  # coding: UTF-8
2
2
 
3
- === 1.8.30 / 2014-12-21
3
+ === 2.0.0.preview2 / 2012-12-01
4
+
5
+ As a preview release, please file bugs for any problems you have with RubyGems
6
+ at https://github.com/rubygems/rubygems/issues.
7
+
8
+ RubyGems 2.0 includes several new features and many breaking changes. Some of
9
+ these changes will cause existing software to break. These changes are a
10
+ result of improvements to the internals of RubyGems that make it more
11
+ maintainable and improve APIs for RubyGems users.
12
+
13
+ If you are using bundler be sure to install version 1.3.0.pre. Older versions
14
+ of bundler will not work with RubyGems 2.0.
15
+
16
+ This release contains two commits not present in Ruby 2.0.0.preview2. One
17
+ commit is for ruby 1.8.7 support, the second allows RubyGems to work under
18
+ $SAFE=1. There is no functional difference compared to Ruby 2.0.0.preview2
19
+
20
+ * Breaking changes:
21
+
22
+ * Deprecated Gem.unresolved_deps in favor of
23
+ Gem::Specification.unresolved_deps
24
+ * Merged Gem::Builder into Gem::Package. Use Gem::Package.build(spec)
25
+ instead of Gem::Builder.new(spec).build
26
+ * Merged Gem::Format into Gem::Package. Use Gem::Package.new instead
27
+ of Gem::Format.from_file_by_path
28
+ * Moved Gem::OldFormat to Gem::Package::Old. Gem::Package will
29
+ automatically detect old gems for you, so there is no need to refer to it.
30
+ * Removed Gem::DocManager, replaced by Gem::RDoc and done_installing hook
31
+ * Removed Gem::Package::TarInput in favor of Gem::Package
32
+ * Removed Gem::Package::TarOutput in favor of Gem::Package
33
+ * Removed Gem::RemoteFetcher#open_uri_or_path. (steveklabnik)
34
+ * Removed Gem::SSL in favor of using OpenSSL directly
35
+ * Removed Gem.loaded_path
36
+ * Removed RSS generation from the gem indexer
37
+ * Removed benchmark option from .gemrc
38
+ * Removed broken YAML gemspec support in `gem build`
39
+ * Removed support for Ruby 1.9.1
40
+ * Removed many deprecated methods
41
+
42
+ * Major enhancements:
43
+
44
+ * Improved support for default gems shipping with ruby 2.0.0+
45
+ * A gem can have arbitrary metadata through Gem::Specification#metadata
46
+ * `gem search` now defaults to --remote and is anchored like gem list. Fixes
47
+ #166
48
+ * Added --document to replace --rdoc and --ri. Use --no-document to disable
49
+ documentation, --document=rdoc to only generate rdoc.
50
+ * Only ri-format documentation is generated by default.
51
+ * `gem server` uses RDoc::Servlet from RDoc 4.0 to generate HTML
52
+ documentation.
53
+ * Add ability to install gems directly from a compatible gemdep
54
+ file (Gemfile, Isolate, gem.deps.rb)
55
+ <code>gem install --file path</code>
56
+ * Add ability to load gem activation information from a gemdeps
57
+ file (Gemfile, Isolate, gem.deps.rb).
58
+ Set RUBYGEMS_GEMDEPS=path to have it loaded. Use - as the path
59
+ to autodetect (current and parent directories are searched).
60
+
61
+ * Minor enhancements:
62
+
63
+ * Added --only-executables option to `gem pristine`. Fixes #326
64
+ * Added -I flag for 'gem query' to exclude installed items
65
+ * Added Gem.install(name, version=default) for interactive sessions
66
+ * Added Gem::FilePermissionError#directory
67
+ * Added Gem::rubygems_version which is like Gem::ruby_version
68
+ * Added RUBYGEMS_HOST documentation to `gem env`
69
+ * Added a post_installs hook that runs after Gem::DependencyInstaller
70
+ finishes installing a set of gems
71
+ * Added a usage method for Gem::Commands::OwnerCommand. (ffmike)
72
+ * Added an optional type parameter to Gem::Specification#doc_dir.
73
+ * Added announcements url and clarified how to file tickets
74
+ * Added guidance for how to use rdoc and ri in setup command. (jjb)
75
+ * Attempting to install multiple gems with --version is now an error. You
76
+ can specify per-gem versions like <code>rake:0.9.5</code>
77
+ * Clarified Gem::CommandManager example code to avoid multi load problems.
78
+ (baroquebobcat)
79
+ * Corrupt or bad cached specs are now re-downloaded. (cookrn)
80
+ * Extension build arguments are saved from install and reused for pristine
81
+ * If the OS allows it, documentation is built in a forked background
82
+ process. (alexch)
83
+ * Imported gem yank from the gemcutter gem. Fixes #177, #343
84
+ * Packaged gems now contain and verify SHA1 checksums
85
+ * Removed commas from gem update summary so you can paste it back to
86
+ cleanup. (amatsuda)
87
+ * RubyGems will now warn when building gems with prerelease dependencies.
88
+ Fixes #255
89
+ * The RUBYGEMS_HOST environment variable is used to determine appropriate
90
+ API key for pushing or yanking gems
91
+ * Uninstall is now performed in reverse topological order.
92
+ * Users are told what to type when they try to uninstall a gem outside
93
+ GEM_HOME
94
+ * When building gems with non-world-readable files a warning is shown.
4
95
 
5
- Bug fixes:
6
-
7
- * Backport: Add alternate Root CA for upcoming certificate change.
8
- Fixes #1050 by Protosac
9
-
10
- === 1.8.29 / 2013-11-23
11
-
12
- Bug fixes:
13
-
14
- * Fixed installation when the LANG environment variable is empty.
15
- * Added DigiCert High Assurance EV Root CA to the default SSL certificates for
16
- cloudfront.
17
-
18
- === 1.8.28 / 2013-10-08
19
-
20
- Bug fixes:
21
-
22
- * Added the Verisign Class 3 Public Primary Certification Authority G5
23
- certificate and its intermediary to follow the s3.amazonaws.com certificate
24
- change. Fixes #665 by emeyekayee. Fixes #671 by jonforums.
25
- * Remove redundant built-in certificates not needed for https://rubygems.org
26
- Fixes #654 by Vít Ondruch.
27
- * Added test for missing certificates for https://s3.amazonaws.com or
28
- https://rubygems.org. Pull request #673 by Hannes Georg.
29
-
30
- === 1.8.27 / 2013-09-24
31
-
32
- Security fixes:
33
-
34
- * RubyGems 2.1.4 and earlier are vulnerable to excessive CPU usage due to a
35
- backtracking in Gem::Version validation. See CVE-2013-4363 for full details
36
- including vulnerable APIs. Fixed versions include 2.1.5, 2.0.10, 1.8.27 and
37
- 1.8.23.2 (for Ruby 1.9.3).
38
-
39
- === 1.8.26 / 2013-09-09
40
-
41
- Security fixes:
42
-
43
- * RubyGems 2.0.7 and earlier are vulnerable to excessive CPU usage due to a
44
- backtracking in Gem::Version validation. See CVE-2013-4287 for full details
45
- including vulnerable APIs. Fixed versions include 2.0.8, 1.8.26 and
46
- 1.8.23.1 (for Ruby 1.9.3). Issue #626 by Damir Sharipov.
47
-
48
- Bug fixes:
49
-
50
- * Fixed editing of a Makefile with 8-bit characters. Fixes #181
51
-
52
- === 1.8.25 / 2013-01-24
53
-
54
- * 6 bug fixes:
96
+ * Bug fixes:
55
97
 
56
- * Added 11627 to setup bin_file location to protect against errors. Fixes #328 by ConradIrwin
57
- * Specification#ruby_code didn't handle Requirement with multiple
58
- * Fix error on creating a Version object with a frozen string.
59
- * Fix incremental index updates
60
- * Fix missing load_yaml in YAML-related requirement.rb code.
61
- * Manually backport encoding-aware YAML gemspec
98
+ * Added PID to setup bin_file while installing RubyGems to protect against
99
+ errors. Fixes #328 by ConradIrwin
100
+ * Added missing require in Gem::Uninstaller when format_executable is set.
101
+ (sakuro)
102
+ * Exact gem command name matches are now chosen even if a longer command
103
+ overlaps the exact name
104
+ * Fixed Gem.loaded_path? with a Pathname instance. (mattetti)
105
+ * Fixed Gem::Dependency.new mismatch with rubygems.org checks
106
+ * Fixed SecurityError in Gem::Specification.load when $SAFE=1. (ged)
107
+ * Fixed SystemStackError with "gem list -r -a" on 1.9 (cldwalker)
108
+ * Fixed `gem owners` command so that exceptions don't stop the rest of the
109
+ command from completing
110
+ * Fixed `gem unpack uninstalled_gem` default version picker.
111
+ * Fixed defunct rubyforge urls in gem command line help
112
+ * Fixed documentation for the various hooks collections
113
+ * Fixed documentation generation on setup when the gem directory does not
114
+ exist. Fixes #253
115
+ * Fixed documentation to reflect where defaults overrides are loaded from.
116
+ (ferrous26)
117
+ * Fixed editing of a Makefile with 8-bit characters. Fixes #181
118
+ * Fixed gem loading issue caused by dependencies not resolving.
119
+ * Fixed independent testing of test_gem_package_tar_output. Ruby Bug #4686
120
+ by Shota Fukumori
121
+ * Fixed typo in uninstall message. (sandal)
122
+ * Gem::Requirement#<=> returns nil on non-requirement arg.
123
+ * Gem::Requirement.satisfied_by? raises ArgumentError if given a non-version
124
+ argument
125
+ * Gem::Version#initialize no longer modifies its parameter. (miaout17)
126
+ * Group-writable permissions are now allowed for gem repositories. (ctcherry)
127
+ * Memoized values in Gem::Specification are now reset the version or
128
+ platform changes. Fixes #78
129
+ * More specific errors are raised for bad requirements. (arsduo)
130
+ * Removed reference to 'sources' gem in documentation
131
+ * Removed unused block arguments to avoid creating Proc objects. (k-tsj)
132
+ * RubyGems now asks before overwriting executable wrappers. Ruby Bug #1800
133
+ * The bindir is now created with mkdir_p during install. (voxik)
134
+ * URI scheme matching is no longer case-sensitive. Fixes #322
135
+ * ext/builder now checks $MAKE as well as $make (okkez)
62
136
 
63
137
  === 1.8.24 / 2012-04-27
64
138
 
@@ -533,7 +607,7 @@ Bug Fixes:
533
607
  * Added Gem::Specification#dependent_specs.
534
608
  * Added Gem::TestCase#new_spec and Gem::TestCase#install_specs.
535
609
  * Added flag to include prerelease gems in Gem::SourceIndex#latest_specs.
536
- * Gem.cache_dir always references the proper cache dir.
610
+ * Gem.cache_dir always references the proper cache dir.
537
611
  Pass true to support a user path.
538
612
  * Gem.cache_gem, given a filename always references the cache gem.
539
613
  Pass true to support a user path.
@@ -1444,9 +1518,9 @@ There has been some minor usability enhancements and changes ...
1444
1518
  have unit tests.
1445
1519
  * Multiple gem names are allowed on the gem install command line.
1446
1520
  This means you can do:
1447
-
1521
+
1448
1522
  gem install rake rails needle postgres-pr pimki
1449
-
1523
+
1450
1524
  (Ok, you get the idea)
1451
1525
  * Multiple authors my be specified in a Gem spec.
1452
1526
  * Switched to using setup.rb (rather than a custom install script) for
@@ -1502,7 +1576,7 @@ See ChangeLog
1502
1576
  * new #required_ruby_version attribute added to gem specification for
1503
1577
  specifying a dependency on which version of ruby the gem needs. Format it
1504
1578
  accepts is the same as the Gem::Version::Requirement format:
1505
-
1579
+
1506
1580
  spec.required_ruby_version = "> 1.8.0"
1507
1581
  * --install-stub defaults to true, so library stubs are created
1508
1582
 
@@ -1512,7 +1586,7 @@ See ChangeLog
1512
1586
  incompatibilities. This has been the subject of much debate for the past
1513
1587
  couple of months, with many ideas and code contributed by Eivind Eklund and
1514
1588
  Mauricio Fernandez. The following set of assertions shows how it works:
1515
-
1589
+
1516
1590
  assert_inadequate("1.3", "~> 1.4")
1517
1591
  assert_adequate( "1.4", "~> 1.4")
1518
1592
  assert_adequate( "1.5", "~> 1.4")
@@ -1520,7 +1594,7 @@ See ChangeLog
1520
1594
  # disallows major version number
1521
1595
  # differences.
1522
1596
  * Group gem search output when multiple versions exist for a given gem:
1523
-
1597
+
1524
1598
  activerecord (0.7.8, 0.7.7, 0.7.6, 0.7.5)
1525
1599
  Implements the ActiveRecord pattern for ORM.
1526
1600
  * Add arbitrary RDoc-able files via gemspec (not just Ruby source files) for
@@ -39,11 +39,7 @@ conditions below:
39
39
  d. make other distribution arrangements with the author.
40
40
 
41
41
  4. You may modify and include the part of the software into any other
42
- software (possibly commercial). But some files in the distribution
43
- are not written by the author, so that they are not under these terms.
44
-
45
- For the list of those files and their copying conditions, see the
46
- file LEGAL.
42
+ software (possibly commercial).
47
43
 
48
44
  5. The scripts and library files supplied as input to or produced as
49
45
  output from the software do not automatically fall under the
@@ -1,7 +1,5 @@
1
1
  .autotest
2
2
  .document
3
- CVE-2013-4287.txt
4
- CVE-2013-4363.txt
5
3
  History.txt
6
4
  LICENSE.txt
7
5
  MIT.txt
@@ -11,13 +9,10 @@ Rakefile
11
9
  UPGRADING.rdoc
12
10
  bin/gem
13
11
  bin/update_rubygems
14
- ci_build.sh
15
- cruise_config.rb
16
12
  hide_lib_for_update/note.txt
17
13
  lib/gauntlet_rubygems.rb
18
- lib/rbconfig/datadir.rb
19
14
  lib/rubygems.rb
20
- lib/rubygems/builder.rb
15
+ lib/rubygems/available_set.rb
21
16
  lib/rubygems/command.rb
22
17
  lib/rubygems/command_manager.rb
23
18
  lib/rubygems/commands/build_command.rb
@@ -33,6 +28,7 @@ lib/rubygems/commands/help_command.rb
33
28
  lib/rubygems/commands/install_command.rb
34
29
  lib/rubygems/commands/list_command.rb
35
30
  lib/rubygems/commands/lock_command.rb
31
+ lib/rubygems/commands/mirror_command.rb
36
32
  lib/rubygems/commands/outdated_command.rb
37
33
  lib/rubygems/commands/owner_command.rb
38
34
  lib/rubygems/commands/pristine_command.rb
@@ -49,14 +45,17 @@ lib/rubygems/commands/uninstall_command.rb
49
45
  lib/rubygems/commands/unpack_command.rb
50
46
  lib/rubygems/commands/update_command.rb
51
47
  lib/rubygems/commands/which_command.rb
48
+ lib/rubygems/commands/yank_command.rb
49
+ lib/rubygems/compatibility.rb
52
50
  lib/rubygems/config_file.rb
53
- lib/rubygems/custom_require.rb
51
+ lib/rubygems/core_ext/kernel_gem.rb
52
+ lib/rubygems/core_ext/kernel_require.rb
54
53
  lib/rubygems/defaults.rb
55
54
  lib/rubygems/dependency.rb
56
55
  lib/rubygems/dependency_installer.rb
57
56
  lib/rubygems/dependency_list.rb
57
+ lib/rubygems/dependency_resolver.rb
58
58
  lib/rubygems/deprecate.rb
59
- lib/rubygems/doc_manager.rb
60
59
  lib/rubygems/errors.rb
61
60
  lib/rubygems/exceptions.rb
62
61
  lib/rubygems/ext.rb
@@ -64,23 +63,20 @@ lib/rubygems/ext/builder.rb
64
63
  lib/rubygems/ext/configure_builder.rb
65
64
  lib/rubygems/ext/ext_conf_builder.rb
66
65
  lib/rubygems/ext/rake_builder.rb
67
- lib/rubygems/format.rb
68
- lib/rubygems/gem_openssl.rb
69
- lib/rubygems/gem_path_searcher.rb
70
66
  lib/rubygems/gem_runner.rb
71
67
  lib/rubygems/gemcutter_utilities.rb
72
68
  lib/rubygems/indexer.rb
69
+ lib/rubygems/install_message.rb
73
70
  lib/rubygems/install_update_options.rb
74
71
  lib/rubygems/installer.rb
75
72
  lib/rubygems/installer_test_case.rb
76
73
  lib/rubygems/local_remote_options.rb
77
74
  lib/rubygems/mock_gem_ui.rb
78
- lib/rubygems/old_format.rb
75
+ lib/rubygems/name_tuple.rb
79
76
  lib/rubygems/package.rb
80
- lib/rubygems/package/f_sync_dir.rb
77
+ lib/rubygems/package/digest_io.rb
78
+ lib/rubygems/package/old.rb
81
79
  lib/rubygems/package/tar_header.rb
82
- lib/rubygems/package/tar_input.rb
83
- lib/rubygems/package/tar_output.rb
84
80
  lib/rubygems/package/tar_reader.rb
85
81
  lib/rubygems/package/tar_reader/entry.rb
86
82
  lib/rubygems/package/tar_test_case.rb
@@ -90,20 +86,25 @@ lib/rubygems/path_support.rb
90
86
  lib/rubygems/platform.rb
91
87
  lib/rubygems/psych_additions.rb
92
88
  lib/rubygems/psych_tree.rb
89
+ lib/rubygems/rdoc.rb
93
90
  lib/rubygems/remote_fetcher.rb
94
- lib/rubygems/require_paths_builder.rb
91
+ lib/rubygems/request_set.rb
95
92
  lib/rubygems/requirement.rb
96
93
  lib/rubygems/security.rb
94
+ lib/rubygems/security/policies.rb
95
+ lib/rubygems/security/policy.rb
96
+ lib/rubygems/security/signer.rb
97
+ lib/rubygems/security/trust_dir.rb
97
98
  lib/rubygems/server.rb
98
- lib/rubygems/source_index.rb
99
+ lib/rubygems/source.rb
100
+ lib/rubygems/source_list.rb
101
+ lib/rubygems/source_local.rb
102
+ lib/rubygems/source_specific_file.rb
99
103
  lib/rubygems/spec_fetcher.rb
100
104
  lib/rubygems/specification.rb
101
- lib/rubygems/ssl_certs/AddTrustExternalCARoot-2048.pem
102
105
  lib/rubygems/ssl_certs/AddTrustExternalCARoot.pem
103
- lib/rubygems/ssl_certs/Class3PublicPrimaryCertificationAuthority.pem
104
- lib/rubygems/ssl_certs/DigiCertHighAssuranceEVRootCA.pem
105
- lib/rubygems/ssl_certs/EntrustnetSecureServerCertificationAuthority.pem
106
- lib/rubygems/ssl_certs/GeoTrustGlobalCA.pem
106
+ lib/rubygems/ssl_certs/Entrust_net-Secure-Server-Certification-Authority.pem
107
+ lib/rubygems/ssl_certs/VerisignClass3PublicPrimaryCertificationAuthority-G2.pem
107
108
  lib/rubygems/syck_hack.rb
108
109
  lib/rubygems/test_case.rb
109
110
  lib/rubygems/test_utilities.rb
@@ -115,30 +116,54 @@ lib/rubygems/version.rb
115
116
  lib/rubygems/version_option.rb
116
117
  lib/ubygems.rb
117
118
  setup.rb
119
+ test/rubygems/alternate_cert.pem
120
+ test/rubygems/alternate_cert_32.pem
121
+ test/rubygems/alternate_key.pem
122
+ test/rubygems/bad_rake.rb
118
123
  test/rubygems/bogussources.rb
119
124
  test/rubygems/ca_cert.pem
125
+ test/rubygems/child_cert.pem
126
+ test/rubygems/child_cert_32.pem
127
+ test/rubygems/child_key.pem
120
128
  test/rubygems/data/gem-private_key.pem
121
129
  test/rubygems/data/gem-public_cert.pem
122
130
  test/rubygems/data/null-type.gemspec.rz
131
+ test/rubygems/expired_cert.pem
123
132
  test/rubygems/fake_certlib/openssl.rb
124
133
  test/rubygems/fix_openssl_warnings.rb
125
134
  test/rubygems/foo/discover.rb
135
+ test/rubygems/future_cert.pem
136
+ test/rubygems/future_cert_32.pem
137
+ test/rubygems/good_rake.rb
138
+ test/rubygems/grandchild_cert.pem
139
+ test/rubygems/grandchild_cert_32.pem
140
+ test/rubygems/grandchild_key.pem
126
141
  test/rubygems/insure_session.rb
142
+ test/rubygems/invalid_issuer_cert.pem
143
+ test/rubygems/invalid_issuer_cert_32.pem
144
+ test/rubygems/invalid_key.pem
145
+ test/rubygems/invalid_signer_cert.pem
146
+ test/rubygems/invalid_signer_cert_32.pem
147
+ test/rubygems/invalidchild_cert.pem
148
+ test/rubygems/invalidchild_cert_32.pem
149
+ test/rubygems/invalidchild_key.pem
127
150
  test/rubygems/plugin/exception/rubygems_plugin.rb
128
151
  test/rubygems/plugin/load/rubygems_plugin.rb
129
152
  test/rubygems/plugin/standarderror/rubygems_plugin.rb
130
153
  test/rubygems/private_key.pem
131
154
  test/rubygems/public_cert.pem
155
+ test/rubygems/public_cert_32.pem
156
+ test/rubygems/public_key.pem
132
157
  test/rubygems/rubygems/commands/crash_command.rb
133
158
  test/rubygems/rubygems_plugin.rb
134
159
  test/rubygems/sff/discover.rb
135
160
  test/rubygems/simple_gem.rb
136
161
  test/rubygems/ssl_cert.pem
137
162
  test/rubygems/ssl_key.pem
138
- test/rubygems/test_bundled_ca.rb
139
163
  test/rubygems/test_config.rb
164
+ test/rubygems/test_deprecate.rb
140
165
  test/rubygems/test_gem.rb
141
- test/rubygems/test_gem_builder.rb
166
+ test/rubygems/test_gem_available_set.rb
142
167
  test/rubygems/test_gem_command.rb
143
168
  test/rubygems/test_gem_command_manager.rb
144
169
  test/rubygems/test_gem_commands_build_command.rb
@@ -154,12 +179,15 @@ test/rubygems/test_gem_commands_help_command.rb
154
179
  test/rubygems/test_gem_commands_install_command.rb
155
180
  test/rubygems/test_gem_commands_list_command.rb
156
181
  test/rubygems/test_gem_commands_lock_command.rb
182
+ test/rubygems/test_gem_commands_mirror.rb
157
183
  test/rubygems/test_gem_commands_outdated_command.rb
158
184
  test/rubygems/test_gem_commands_owner_command.rb
159
185
  test/rubygems/test_gem_commands_pristine_command.rb
160
186
  test/rubygems/test_gem_commands_push_command.rb
161
187
  test/rubygems/test_gem_commands_query_command.rb
188
+ test/rubygems/test_gem_commands_search_command.rb
162
189
  test/rubygems/test_gem_commands_server_command.rb
190
+ test/rubygems/test_gem_commands_setup_command.rb
163
191
  test/rubygems/test_gem_commands_sources_command.rb
164
192
  test/rubygems/test_gem_commands_specification_command.rb
165
193
  test/rubygems/test_gem_commands_stale_command.rb
@@ -167,38 +195,45 @@ test/rubygems/test_gem_commands_uninstall_command.rb
167
195
  test/rubygems/test_gem_commands_unpack_command.rb
168
196
  test/rubygems/test_gem_commands_update_command.rb
169
197
  test/rubygems/test_gem_commands_which_command.rb
198
+ test/rubygems/test_gem_commands_yank_command.rb
170
199
  test/rubygems/test_gem_config_file.rb
171
200
  test/rubygems/test_gem_dependency.rb
172
201
  test/rubygems/test_gem_dependency_installer.rb
173
202
  test/rubygems/test_gem_dependency_list.rb
174
- test/rubygems/test_gem_doc_manager.rb
175
- test/rubygems/test_gem_ext_builder.rb
203
+ test/rubygems/test_gem_dependency_resolver.rb
176
204
  test/rubygems/test_gem_ext_configure_builder.rb
177
205
  test/rubygems/test_gem_ext_ext_conf_builder.rb
178
206
  test/rubygems/test_gem_ext_rake_builder.rb
179
- test/rubygems/test_gem_format.rb
180
- test/rubygems/test_gem_gem_path_searcher.rb
181
207
  test/rubygems/test_gem_gem_runner.rb
182
208
  test/rubygems/test_gem_gemcutter_utilities.rb
183
209
  test/rubygems/test_gem_indexer.rb
184
210
  test/rubygems/test_gem_install_update_options.rb
185
211
  test/rubygems/test_gem_installer.rb
186
212
  test/rubygems/test_gem_local_remote_options.rb
213
+ test/rubygems/test_gem_name_tuple.rb
214
+ test/rubygems/test_gem_package.rb
215
+ test/rubygems/test_gem_package_old.rb
187
216
  test/rubygems/test_gem_package_tar_header.rb
188
- test/rubygems/test_gem_package_tar_input.rb
189
- test/rubygems/test_gem_package_tar_output.rb
190
217
  test/rubygems/test_gem_package_tar_reader.rb
191
218
  test/rubygems/test_gem_package_tar_reader_entry.rb
192
219
  test/rubygems/test_gem_package_tar_writer.rb
193
220
  test/rubygems/test_gem_package_task.rb
194
221
  test/rubygems/test_gem_path_support.rb
195
222
  test/rubygems/test_gem_platform.rb
223
+ test/rubygems/test_gem_rdoc.rb
196
224
  test/rubygems/test_gem_remote_fetcher.rb
225
+ test/rubygems/test_gem_request_set.rb
197
226
  test/rubygems/test_gem_requirement.rb
198
227
  test/rubygems/test_gem_security.rb
228
+ test/rubygems/test_gem_security_policy.rb
229
+ test/rubygems/test_gem_security_signer.rb
230
+ test/rubygems/test_gem_security_trust_dir.rb
199
231
  test/rubygems/test_gem_server.rb
200
232
  test/rubygems/test_gem_silent_ui.rb
201
- test/rubygems/test_gem_source_index.rb
233
+ test/rubygems/test_gem_source.rb
234
+ test/rubygems/test_gem_source_list.rb
235
+ test/rubygems/test_gem_source_local.rb
236
+ test/rubygems/test_gem_source_specific_file.rb
202
237
  test/rubygems/test_gem_spec_fetcher.rb
203
238
  test/rubygems/test_gem_specification.rb
204
239
  test/rubygems/test_gem_stream_ui.rb
@@ -208,5 +243,7 @@ test/rubygems/test_gem_validator.rb
208
243
  test/rubygems/test_gem_version.rb
209
244
  test/rubygems/test_gem_version_option.rb
210
245
  test/rubygems/test_kernel.rb
246
+ test/rubygems/test_require.rb
247
+ test/rubygems/wrong_key_cert.pem
248
+ test/rubygems/wrong_key_cert_32.pem
211
249
  util/CL2notes
212
- util/update_bundled_ca_certificates.rb