rubygems-update 2.1.3 → 2.1.4

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.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 79018046efd7dc6889d866e6ea75830e8410e852
4
- data.tar.gz: 228fe5ada9988cd6813cbcc9756f6d9b2af5efde
3
+ metadata.gz: b1fa94d6b820abe075a10e423fc13e4d1a42ff58
4
+ data.tar.gz: 12967cad3de5815451c7fa652d39caf75b91281d
5
5
  SHA512:
6
- metadata.gz: ecdfa6a1a3f9cb6ad930967adeb88fd0df589787baebe63d48c9275a6fe053acdaacc5302a1572becbf4555a63e61e666b91593a93042d1ebac1fe3ea9f661b3
7
- data.tar.gz: 0a904be4b33d3e6d5a783c729984db008fadb09fe46c63046b607d762d45ef1865de2b9a033580dc9cfa5717c6f36cef79b0524c56424de2840679e33e9bfa8c
6
+ metadata.gz: 03c8e214c07144821e02af71a49f73d860835b293013eeb8ca03ad22751c6283a50ad0d1c8bd50f824764edd96566922a0275416de2ebbc4a172301a94f3413c
7
+ data.tar.gz: d5cd8d2ea741cbe7198e1e1ce6352b24cdb58b1468fdb7c7fd249fb3796f275c0d3ab023945054a904f44204406eeb26b492418dc22937c9ca0d0777e28ccf36
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/History.txt CHANGED
@@ -1,5 +1,14 @@
1
1
  # coding: UTF-8
2
2
 
3
+ === 2.1.4 / 2013-09-17
4
+
5
+ Bug fixes:
6
+
7
+ * `gem uninstall foo --all` now force-uninstalls all versions of foo. Issue
8
+ #650 by Kyle (remkade).
9
+ * Fixed uninstalling gems installed in the home directory (as in
10
+ `--user-install`). Issue #653 by Lin Jen-Shin.
11
+
3
12
  === 2.1.3 / 2013-09-12
4
13
 
5
14
  Bug fixes:
@@ -120,6 +129,29 @@ Bug fixes:
120
129
  * Fixed credential creation for `gem push` when `--host` is not given. Pull
121
130
  request #622 by Arthur Nogueira Neves
122
131
 
132
+ === 2.0.9 / 2013-09-13
133
+
134
+ Bug fixes:
135
+
136
+ * Gem fetch now fetches the newest (not oldest) gem when --version is given.
137
+ Issue #643 by Brian Shirai.
138
+ * Fixed credential creation for `gem push` when `--host` is not given. Pull
139
+ request #622 by Arthur Nogueira Neves
140
+
141
+ === 2.0.8 / 2013-09-09
142
+
143
+ Security fixes:
144
+
145
+ * RubyGems 2.0.7 and earlier are vulnerable to excessive CPU usage due to a
146
+ backtracking in Gem::Version validation. See CVE-2013-4287 for full details
147
+ including vulnerable APIs. Fixed versions include 2.0.8, 1.8.26 and
148
+ 1.8.23.1 (for Ruby 1.9.3). Issue #626 by Damir Sharipov.
149
+
150
+ Bug fixes:
151
+
152
+ * Fixed Gem.clear_paths when Security is defined at top-level. Pull request
153
+ #625 by elarkin
154
+
123
155
  === 2.0.7 / 2013-08-15
124
156
 
125
157
  Bug fixes:
@@ -583,6 +615,19 @@ $SAFE=1. There is no functional difference compared to Ruby 2.0.0.preview2
583
615
  * URI scheme matching is no longer case-sensitive. Fixes #322
584
616
  * ext/builder now checks $MAKE as well as $make (okkez)
585
617
 
618
+ === 1.8.26 / 2013-09-09
619
+
620
+ Security fixes:
621
+
622
+ * RubyGems 2.0.7 and earlier are vulnerable to excessive CPU usage due to a
623
+ backtracking in Gem::Version validation. See CVE-2013-4287 for full details
624
+ including vulnerable APIs. Fixed versions include 2.0.8, 1.8.26 and
625
+ 1.8.23.1 (for Ruby 1.9.3). Issue #626 by Damir Sharipov.
626
+
627
+ Bug fixes:
628
+
629
+ * Fixed editing of a Makefile with 8-bit characters. Fixes #181
630
+
586
631
  === 1.8.25 / 2013-01-24
587
632
 
588
633
  * Bug fixes:
@@ -601,6 +646,15 @@ $SAFE=1. There is no functional difference compared to Ruby 2.0.0.preview2
601
646
  * Install the .pem files properly. Fixes #320
602
647
  * Remove OpenSSL dependency from the http code path
603
648
 
649
+ === 1.8.23.1 / 2013-09-09
650
+
651
+ Security fixes:
652
+
653
+ * RubyGems 2.0.7 and earlier are vulnerable to excessive CPU usage due to a
654
+ backtracking in Gem::Version validation. See CVE-2013-4287 for full details
655
+ including vulnerable APIs. Fixed versions include 2.0.8, 1.8.26 and
656
+ 1.8.23.1 (for Ruby 1.9.3). Issue #626 by Damir Sharipov.
657
+
604
658
  === 1.8.23 / 2012-04-19
605
659
 
606
660
  This release increases the security used when RubyGems is talking to
data/Rakefile CHANGED
@@ -126,6 +126,10 @@ end
126
126
  desc "Upload release to rubyforge and gemcutter"
127
127
  task :upload => %w[upload_to_gemcutter]
128
128
 
129
+ on_master = `git branch --list master`.strip == '* master'
130
+
131
+ Rake::Task['publish_docs'].clear unless on_master
132
+
129
133
  directory '../guides.rubygems.org' do
130
134
  sh 'git', 'clone',
131
135
  'git@github.com:rubygems/guides.git',
@@ -166,12 +170,14 @@ namespace 'guides' do
166
170
  end
167
171
 
168
172
  desc 'Updates and publishes the guides for the just-released RubyGems'
173
+ task 'publish'
174
+
169
175
  task 'publish' => %w[
170
176
  guides:pull
171
177
  guides:update
172
178
  guides:commit
173
179
  guides:push
174
- ]
180
+ ] if on_master
175
181
  end
176
182
 
177
183
  directory '../blog.rubygems.org' do
data/lib/rubygems.rb CHANGED
@@ -8,7 +8,7 @@
8
8
  require 'rbconfig'
9
9
 
10
10
  module Gem
11
- VERSION = '2.1.3'
11
+ VERSION = '2.1.4'
12
12
  end
13
13
 
14
14
  # Must be first since it unloads the prelude from 1.9.2
@@ -15,7 +15,7 @@ class Gem::Commands::UninstallCommand < Gem::Command
15
15
  def initialize
16
16
  super 'uninstall', 'Uninstall gems from the local repository',
17
17
  :version => Gem::Requirement.default, :user_install => true,
18
- :install_dir => Gem.dir, :check_dev => false
18
+ :check_dev => false
19
19
 
20
20
  add_option('-a', '--[no-]all',
21
21
  'Uninstall all matching versions'
@@ -84,7 +84,6 @@ class Gem::Commands::UninstallCommand < Gem::Command
84
84
 
85
85
  def defaults_str # :nodoc:
86
86
  "--version '#{Gem::Requirement.default}' --no-force " +
87
- "--install-dir #{Gem.dir}\n" +
88
87
  "--user-install"
89
88
  end
90
89
 
@@ -104,8 +103,7 @@ that is a dependency of an existing gem. You can use the
104
103
 
105
104
  def execute
106
105
  if options[:all] and not options[:args].empty? then
107
- alert_error 'Gem names and --all may not be used together'
108
- terminate_interaction 1
106
+ uninstall_specific
109
107
  elsif options[:all] then
110
108
  uninstall_all
111
109
  else
@@ -16,18 +16,33 @@ class TestGemCommandsUninstallCommand < Gem::InstallerTestCase
16
16
  @executable = File.join(@gemhome, 'bin', 'executable')
17
17
  end
18
18
 
19
- def test_execute_all_gem_names
20
- @cmd.options[:args] = %w[a b]
19
+ def test_execute_all_named
20
+ util_make_gems
21
+
22
+ default = new_default_spec 'default', '1'
23
+ install_default_gems default
24
+
25
+ gemhome2 = "#{@gemhome}2"
26
+
27
+ a_4 = quick_spec 'a', 4
28
+ install_gem a_4, :install_dir => gemhome2
29
+
30
+ Gem::Specification.dirs = [@gemhome, gemhome2]
31
+
32
+ assert_includes Gem::Specification.all_names, 'a-1'
33
+ assert_includes Gem::Specification.all_names, 'a-4'
34
+ assert_includes Gem::Specification.all_names, 'b-2'
35
+ assert_includes Gem::Specification.all_names, 'default-1'
36
+
21
37
  @cmd.options[:all] = true
38
+ @cmd.options[:args] = %w[a]
22
39
 
23
- assert_raises Gem::MockGemUi::TermError do
24
- use_ui @ui do
25
- @cmd.execute
26
- end
40
+ use_ui @ui do
41
+ @cmd.execute
27
42
  end
28
43
 
29
- assert_match(/\A(?:WARNING: Unable to use symlinks on Windows, installing wrapper\n)?ERROR: Gem names and --all may not be used together\n\z/,
30
- @ui.error)
44
+ assert_equal %w[a-4 a_evil-9 b-2 c-1.2 default-1 dep_x-1 pl-1-x86-linux x-1],
45
+ Gem::Specification.all_names.sort
31
46
  end
32
47
 
33
48
  def test_execute_dependency_order
@@ -217,5 +232,14 @@ class TestGemCommandsUninstallCommand < Gem::InstallerTestCase
217
232
  assert_equal %w[a-4 default-1], Gem::Specification.all_names.sort
218
233
  end
219
234
 
235
+ def test_handle_options
236
+ @cmd.handle_options %w[]
237
+
238
+ assert_equal false, @cmd.options[:check_dev]
239
+ assert_equal nil, @cmd.options[:install_dir]
240
+ assert_equal true, @cmd.options[:user_install]
241
+ assert_equal Gem::Requirement.default, @cmd.options[:version]
242
+ end
243
+
220
244
  end
221
245
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubygems-update
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.3
4
+ version: 2.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Weirich
@@ -32,7 +32,7 @@ cert_chain:
32
32
  KDyY1VIazVgoC8XvR4h/95/iScPiuglzA+DBG1hip1xScAtw05BrXyUNrc9CEMYU
33
33
  wgF94UVoHRp6ywo8I7NP3HcwFQDFNEZPNGXsng==
34
34
  -----END CERTIFICATE-----
35
- date: 2013-09-13 00:00:00.000000000 Z
35
+ date: 2013-09-17 00:00:00.000000000 Z
36
36
  dependencies:
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: minitest
@@ -174,6 +174,7 @@ extra_rdoc_files:
174
174
  files:
175
175
  - .autotest
176
176
  - .document
177
+ - .gemtest
177
178
  - CVE-2013-4287.txt
178
179
  - History.txt
179
180
  - LICENSE.txt
@@ -467,7 +468,6 @@ files:
467
468
  - util/CL2notes
468
469
  - util/create_certs.rb
469
470
  - util/create_encrypted_key.rb
470
- - .gemtest
471
471
  homepage: http://rubygems.org
472
472
  licenses:
473
473
  - Ruby
@@ -492,7 +492,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
492
492
  version: '0'
493
493
  requirements: []
494
494
  rubyforge_project: rubygems-update
495
- rubygems_version: 2.1.2
495
+ rubygems_version: 2.2.0
496
496
  signing_key:
497
497
  specification_version: 4
498
498
  summary: RubyGems is a package management framework for Ruby
metadata.gz.sig CHANGED
@@ -1 +1,2 @@
1
- ���#=�r}�dLWtS�:Fk���O�Z}8��8��`�ѝG�[��^խ��Dij`��v���u��nit��UH1D>Ҥ��#8ڞ���8_���>r����F��Fx�*T�
1
+ @<�B�����~��$+Y#����ɬ���&�y7c��ɾ�% �� �T�wI6�������/��?��aeB�.= ������G�`iF寠�������>���=�(ɴFp.2��iIn"kĻ�hh`���z����h��b���nꃙ����Ms��*�B�CP���a������<
2
+ {��7%/�&����(^�9&P�[�c���-�[pC+�>��/�b��G2d.L��絎�Ӈ�H8F���7