rubygems-update 2.1.3 → 2.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/History.txt +54 -0
- data/Rakefile +7 -1
- data/lib/rubygems.rb +1 -1
- data/lib/rubygems/commands/uninstall_command.rb +2 -4
- data/test/rubygems/test_gem_commands_uninstall_command.rb +32 -8
- metadata +4 -4
- metadata.gz.sig +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b1fa94d6b820abe075a10e423fc13e4d1a42ff58
|
|
4
|
+
data.tar.gz: 12967cad3de5815451c7fa652d39caf75b91281d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
@@ -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
|
-
:
|
|
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
|
-
|
|
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
|
|
20
|
-
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
@cmd.execute
|
|
26
|
-
end
|
|
40
|
+
use_ui @ui do
|
|
41
|
+
@cmd.execute
|
|
27
42
|
end
|
|
28
43
|
|
|
29
|
-
|
|
30
|
-
|
|
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.
|
|
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-
|
|
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.
|
|
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
|
-
|
|
1
|
+
@<�B�����~��$+Y#����ɬ���&�y7c��ɾ�%���T�wI6�������/��?��aeB�.= ������G�`i�F寠�������>���=�(ɴFp.2��i�In"kĻ�h�h`���z����h��b���nꃙ����M�s��*�B�CP���a������<
|
|
2
|
+
{��7%/�&����(^�9&P�[�c���-�[pC+�>��/�b��G2d.L��絎�Ӈ�H8F���7
|