rubygems-update 1.8.24 → 1.8.25

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.

@@ -1,5 +1,16 @@
1
1
  # coding: UTF-8
2
2
 
3
+ === 1.8.25/ 2013-01-24
4
+
5
+ * 6 bug fixes:
6
+
7
+ * Added 11627 to setup bin_file location to protect against errors. Fixes #328 by ConradIrwin
8
+ * Specification#ruby_code didn't handle Requirement with multiple
9
+ * Fix error on creating a Version object with a frozen string.
10
+ * Fix incremental index updates
11
+ * Fix missing load_yaml in YAML-related requirement.rb code.
12
+ * Manually backport encoding-aware YAML gemspec
13
+
3
14
  === 1.8.24 / 2012-04-27
4
15
 
5
16
  * 1 bug fix:
@@ -121,7 +121,7 @@ require "rubygems/deprecate"
121
121
  # -The RubyGems Team
122
122
 
123
123
  module Gem
124
- VERSION = '1.8.24'
124
+ VERSION = '1.8.25'
125
125
 
126
126
  ##
127
127
  # Raised when RubyGems is unable to load or activate a gem. Contains the
@@ -165,7 +165,7 @@ By default, this RubyGems will install gem as:
165
165
  end
166
166
 
167
167
  dest_file = File.join bin_dir, bin_file_formatted
168
- bin_tmp_file = File.join Dir.tmpdir, bin_file
168
+ bin_tmp_file = File.join Dir.tmpdir, "#{bin_file}.#{$$}"
169
169
 
170
170
  begin
171
171
  bin = File.readlines bin_file
@@ -584,6 +584,9 @@ class Gem::Indexer
584
584
  specs = map_gems_to_specs updated_gems
585
585
  prerelease, released = specs.partition { |s| s.version.prerelease? }
586
586
 
587
+ Gem::Specification.dirs = []
588
+ Gem::Specification.add_specs(*specs)
589
+
587
590
  files = build_marshal_gemspecs
588
591
 
589
592
  Gem.time 'Updated indexes' do
@@ -435,7 +435,13 @@ class Gem::Installer
435
435
  def check_that_user_bin_dir_is_in_path
436
436
  user_bin_dir = @bin_dir || Gem.bindir(gem_home)
437
437
  user_bin_dir.gsub!(File::SEPARATOR, File::ALT_SEPARATOR) if File::ALT_SEPARATOR
438
- unless ENV['PATH'].split(File::PATH_SEPARATOR).include? user_bin_dir then
438
+ path = ENV['PATH']
439
+ if Gem.win_platform? then
440
+ path = path.downcase
441
+ user_bin_dir = user_bin_dir.downcase
442
+ end
443
+
444
+ unless path.split(File::PATH_SEPARATOR).include? user_bin_dir then
439
445
  unless self.class.path_warning then
440
446
  alert_warning "You don't have #{user_bin_dir} in your PATH,\n\t gem executables will not run."
441
447
  self.class.path_warning = true
@@ -5,7 +5,6 @@
5
5
  #--
6
6
 
7
7
  require 'zlib'
8
- Gem.load_yaml
9
8
 
10
9
  class Gem::Package::TarInput
11
10
 
@@ -135,6 +135,7 @@ class Gem::Requirement
135
135
  instance_variable_set "@#{ivar}", val
136
136
  end
137
137
 
138
+ Gem.load_yaml
138
139
  fix_syck_default_key_in_requirements
139
140
  end
140
141
 
@@ -1,3 +1,4 @@
1
+ # -*- coding: utf-8 -*-
1
2
  #--
2
3
  # Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
3
4
  # All rights reserved.
@@ -1720,7 +1721,9 @@ class Gem::Specification
1720
1721
  when Numeric then obj.inspect
1721
1722
  when true, false, nil then obj.inspect
1722
1723
  when Gem::Platform then "Gem::Platform.new(#{obj.to_a.inspect})"
1723
- when Gem::Requirement then "Gem::Requirement.new(#{obj.to_s.inspect})"
1724
+ when Gem::Requirement then
1725
+ list = obj.as_list
1726
+ "Gem::Requirement.new(#{ruby_code(list.size == 1 ? obj.to_s : list)})"
1724
1727
  else raise Gem::Exception, "ruby_code case not handled: #{obj.class}"
1725
1728
  end
1726
1729
  end
@@ -1946,6 +1949,7 @@ class Gem::Specification
1946
1949
  ast = builder.tree
1947
1950
 
1948
1951
  io = StringIO.new
1952
+ io.set_encoding Encoding::UTF_8 if Object.const_defined? :Encoding
1949
1953
 
1950
1954
  Psych::Visitors::Emitter.new(io).accept(ast)
1951
1955
 
@@ -417,6 +417,11 @@ class Gem::TestCase < MiniTest::Unit::TestCase
417
417
  end
418
418
  end
419
419
 
420
+ def util_remove_gem(spec)
421
+ FileUtils.rm_rf spec.cache_file
422
+ FileUtils.rm_rf spec.spec_file
423
+ end
424
+
420
425
  ##
421
426
  # Removes all installed gems from +@gemhome+.
422
427
 
@@ -187,7 +187,7 @@ class Gem::Version
187
187
  raise ArgumentError, "Malformed version number string #{version}" unless
188
188
  self.class.correct?(version)
189
189
 
190
- @version = version.to_s
190
+ @version = version.to_s.dup
191
191
  @version.strip!
192
192
  end
193
193
 
@@ -494,6 +494,20 @@ eighty characters.&lt;/pre&gt;
494
494
  prerelease_specs
495
495
  end
496
496
 
497
+ ##
498
+ # Emulate the starting state of Gem::Specification in a live environment,
499
+ # where it will carry the list of system gems
500
+ def with_system_gems
501
+ Gem::Specification.reset
502
+
503
+ sys_gem = quick_spec 'systemgem', '1.0'
504
+ util_build_gem sys_gem
505
+ Gem::Specification.add_spec sys_gem
506
+ yield
507
+ util_remove_gem sys_gem
508
+ end
509
+
510
+
497
511
  def test_update_index
498
512
  use_ui @ui do
499
513
  @indexer.generate_index
@@ -518,30 +532,32 @@ eighty characters.&lt;/pre&gt;
518
532
  FileUtils.mv @d2_1.cache_file, gems
519
533
  FileUtils.mv @d2_1_a.cache_file, gems
520
534
 
521
- use_ui @ui do
522
- @indexer.update_index
523
- end
535
+ with_system_gems do
536
+ use_ui @ui do
537
+ @indexer.update_index
538
+ end
524
539
 
525
- assert_indexed marshal_quickdir, "#{File.basename(@d2_1.spec_file)}.rz"
540
+ assert_indexed marshal_quickdir, "#{File.basename(@d2_1.spec_file)}.rz"
526
541
 
527
- specs_index = Marshal.load Gem.read_binary(@indexer.dest_specs_index)
542
+ specs_index = Marshal.load Gem.read_binary(@indexer.dest_specs_index)
528
543
 
529
- assert_includes specs_index, @d2_1_tuple
530
- refute_includes specs_index, @d2_1_a_tuple
544
+ assert_includes specs_index, @d2_1_tuple
545
+ refute_includes specs_index, @d2_1_a_tuple
531
546
 
532
- latest_specs_index = Marshal.load \
533
- Gem.read_binary(@indexer.dest_latest_specs_index)
547
+ latest_specs_index = Marshal.load \
548
+ Gem.read_binary(@indexer.dest_latest_specs_index)
534
549
 
535
- assert_includes latest_specs_index, @d2_1_tuple
536
- assert_includes latest_specs_index,
537
- [@d2_0.name, @d2_0.version, @d2_0.original_platform]
538
- refute_includes latest_specs_index, @d2_1_a_tuple
550
+ assert_includes latest_specs_index, @d2_1_tuple
551
+ assert_includes latest_specs_index,
552
+ [@d2_0.name, @d2_0.version, @d2_0.original_platform]
553
+ refute_includes latest_specs_index, @d2_1_a_tuple
539
554
 
540
- pre_specs_index = Marshal.load \
541
- Gem.read_binary(@indexer.dest_prerelease_specs_index)
555
+ pre_specs_index = Marshal.load \
556
+ Gem.read_binary(@indexer.dest_prerelease_specs_index)
542
557
 
543
- assert_includes pre_specs_index, @d2_1_a_tuple
544
- refute_includes pre_specs_index, @d2_1_tuple
558
+ assert_includes pre_specs_index, @d2_1_a_tuple
559
+ refute_includes pre_specs_index, @d2_1_tuple
560
+ end
545
561
  end
546
562
 
547
563
  def assert_indexed(dir, name)
@@ -229,7 +229,8 @@ load Gem.bin_path('a', 'executable', version)
229
229
  def test_generate_bin_bindir_with_user_install_warning
230
230
  util_setup_install
231
231
 
232
- bin_dir = Gem.win_platform? ? File.expand_path(ENV["WINDIR"]) : "/usr/bin"
232
+ bin_dir = Gem.win_platform? ? File.expand_path(ENV["WINDIR"]).upcase :
233
+ "/usr/bin"
233
234
 
234
235
  options = {
235
236
  :bin_dir => bin_dir,
@@ -1217,7 +1218,7 @@ load Gem.bin_path('a', 'executable', version)
1217
1218
  def test_dir
1218
1219
  util_setup_install
1219
1220
 
1220
- assert_match @installer.dir, %r!/installer/gems/a-2$!
1221
+ assert_match %r!/installer/gems/a-2$!, @installer.dir
1221
1222
  end
1222
1223
 
1223
1224
  def old_ruby_required
@@ -207,64 +207,71 @@ class TestGemPlatform < Gem::TestCase
207
207
  def test_equals_tilde
208
208
  util_set_arch 'i386-mswin32'
209
209
 
210
- assert_match 'mswin32', Gem::Platform.local
211
- assert_match 'i386-mswin32', Gem::Platform.local
210
+ assert_local_match 'mswin32'
211
+ assert_local_match 'i386-mswin32'
212
212
 
213
213
  # oddballs
214
- assert_match 'i386-mswin32-mq5.3', Gem::Platform.local
215
- assert_match 'i386-mswin32-mq6', Gem::Platform.local
216
- refute_match 'win32-1.8.2-VC7', Gem::Platform.local
217
- refute_match 'win32-1.8.4-VC6', Gem::Platform.local
218
- refute_match 'win32-source', Gem::Platform.local
219
- refute_match 'windows', Gem::Platform.local
214
+ assert_local_match 'i386-mswin32-mq5.3'
215
+ assert_local_match 'i386-mswin32-mq6'
216
+ refute_local_match 'win32-1.8.2-VC7'
217
+ refute_local_match 'win32-1.8.4-VC6'
218
+ refute_local_match 'win32-source'
219
+ refute_local_match 'windows'
220
220
 
221
221
  util_set_arch 'i686-linux'
222
- assert_match 'i486-linux', Gem::Platform.local
223
- assert_match 'i586-linux', Gem::Platform.local
224
- assert_match 'i686-linux', Gem::Platform.local
222
+ assert_local_match 'i486-linux'
223
+ assert_local_match 'i586-linux'
224
+ assert_local_match 'i686-linux'
225
225
 
226
226
  util_set_arch 'i686-darwin8'
227
- assert_match 'i686-darwin8.4.1', Gem::Platform.local
228
- assert_match 'i686-darwin8.8.2', Gem::Platform.local
227
+ assert_local_match 'i686-darwin8.4.1'
228
+ assert_local_match 'i686-darwin8.8.2'
229
229
 
230
230
  util_set_arch 'java'
231
- assert_match 'java', Gem::Platform.local
232
- assert_match 'jruby', Gem::Platform.local
231
+ assert_local_match 'java'
232
+ assert_local_match 'jruby'
233
233
 
234
234
  util_set_arch 'universal-dotnet2.0'
235
- assert_match 'universal-dotnet', Gem::Platform.local
236
- assert_match 'universal-dotnet-2.0', Gem::Platform.local
237
- refute_match 'universal-dotnet-4.0', Gem::Platform.local
238
- assert_match 'dotnet', Gem::Platform.local
239
- assert_match 'dotnet-2.0', Gem::Platform.local
240
- refute_match 'dotnet-4.0', Gem::Platform.local
235
+ assert_local_match 'universal-dotnet'
236
+ assert_local_match 'universal-dotnet-2.0'
237
+ refute_local_match 'universal-dotnet-4.0'
238
+ assert_local_match 'dotnet'
239
+ assert_local_match 'dotnet-2.0'
240
+ refute_local_match 'dotnet-4.0'
241
241
 
242
242
  util_set_arch 'universal-dotnet4.0'
243
- assert_match 'universal-dotnet', Gem::Platform.local
244
- refute_match 'universal-dotnet-2.0', Gem::Platform.local
245
- assert_match 'universal-dotnet-4.0', Gem::Platform.local
246
- assert_match 'dotnet', Gem::Platform.local
247
- refute_match 'dotnet-2.0', Gem::Platform.local
248
- assert_match 'dotnet-4.0', Gem::Platform.local
243
+ assert_local_match 'universal-dotnet'
244
+ refute_local_match 'universal-dotnet-2.0'
245
+ assert_local_match 'universal-dotnet-4.0'
246
+ assert_local_match 'dotnet'
247
+ refute_local_match 'dotnet-2.0'
248
+ assert_local_match 'dotnet-4.0'
249
249
 
250
250
  util_set_arch 'universal-macruby-1.0'
251
- assert_match 'universal-macruby', Gem::Platform.local
252
- assert_match 'macruby', Gem::Platform.local
253
- refute_match 'universal-macruby-0.10', Gem::Platform.local
254
- assert_match 'universal-macruby-1.0', Gem::Platform.local
251
+ assert_local_match 'universal-macruby'
252
+ assert_local_match 'macruby'
253
+ refute_local_match 'universal-macruby-0.10'
254
+ assert_local_match 'universal-macruby-1.0'
255
255
 
256
256
  util_set_arch 'powerpc-darwin'
257
- assert_match 'powerpc-darwin', Gem::Platform.local
257
+ assert_local_match 'powerpc-darwin'
258
258
 
259
259
  util_set_arch 'powerpc-darwin7'
260
- assert_match 'powerpc-darwin7.9.0', Gem::Platform.local
260
+ assert_local_match 'powerpc-darwin7.9.0'
261
261
 
262
262
  util_set_arch 'powerpc-darwin8'
263
- assert_match 'powerpc-darwin8.10.0', Gem::Platform.local
263
+ assert_local_match 'powerpc-darwin8.10.0'
264
264
 
265
265
  util_set_arch 'sparc-solaris2.8'
266
- assert_match 'sparc-solaris2.8-mq5.3', Gem::Platform.local
266
+ assert_local_match 'sparc-solaris2.8-mq5.3'
267
267
  end
268
268
 
269
+ def assert_local_match name
270
+ assert_match Gem::Platform.local, name
271
+ end
272
+
273
+ def refute_local_match name
274
+ refute_match Gem::Platform.local, name
275
+ end
269
276
  end
270
277
 
@@ -815,11 +815,11 @@ gems:
815
815
  end
816
816
 
817
817
  def assert_data_from_server(data)
818
- assert_block("Data is not from server") { data =~ /0\.4\.11/ }
818
+ assert_match(/0\.4\.11/, data, "Data is not from server")
819
819
  end
820
820
 
821
821
  def assert_data_from_proxy(data)
822
- assert_block("Data is not from proxy") { data =~ /0\.4\.2/ }
822
+ assert_match(/0\.4\.2/, data, "Data is not from proxy")
823
823
  end
824
824
 
825
825
  class Conn
@@ -1,3 +1,5 @@
1
+ # coding: UTF-8
2
+
1
3
  require 'rubygems/test_case'
2
4
  require 'stringio'
3
5
  require 'rubygems/specification'
@@ -1175,6 +1177,15 @@ end
1175
1177
  assert_equal @a1, same_spec
1176
1178
  end
1177
1179
 
1180
+ def test_to_yaml_encoding
1181
+ @a1.description = 'π'
1182
+
1183
+ yaml_str = @a1.to_yaml
1184
+ same_spec = Gem::Specification.from_yaml(yaml_str)
1185
+
1186
+ assert_equal @a1.description, same_spec.description
1187
+ end
1188
+
1178
1189
  def test_to_yaml_fancy
1179
1190
  @a1.platform = Gem::Platform.local
1180
1191
  yaml_str = @a1.to_yaml
@@ -33,6 +33,9 @@ class TestGemVersion < Gem::TestCase
33
33
  assert_same fake, Gem::Version.create(fake)
34
34
  assert_nil Gem::Version.create(nil)
35
35
  assert_equal v("5.1"), Gem::Version.create("5.1")
36
+
37
+ ver = '1.1'.freeze
38
+ assert_equal v('1.1'), Gem::Version.create(ver)
36
39
  end
37
40
 
38
41
  def test_eql_eh
metadata CHANGED
@@ -1,177 +1,162 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rubygems-update
3
- version: !ruby/object:Gem::Version
4
- hash: 7
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.8.25
5
5
  prerelease:
6
- segments:
7
- - 1
8
- - 8
9
- - 24
10
- version: 1.8.24
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Jim Weirich
14
9
  - Chad Fowler
15
10
  - Eric Hodel
16
11
  autorequire:
17
12
  bindir: bin
18
13
  cert_chain: []
19
-
20
- date: 2012-04-27 00:00:00 Z
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
14
+ date: 2013-01-25 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
23
17
  name: minitest
24
- prerelease: false
25
- requirement: &id001 !ruby/object:Gem::Requirement
18
+ requirement: !ruby/object:Gem::Requirement
26
19
  none: false
27
- requirements:
20
+ requirements:
28
21
  - - ~>
29
- - !ruby/object:Gem::Version
30
- hash: 21
31
- segments:
32
- - 2
33
- - 11
34
- version: "2.11"
22
+ - !ruby/object:Gem::Version
23
+ version: '4.1'
35
24
  type: :development
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: builder
39
25
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ none: false
28
+ requirements:
29
+ - - ~>
30
+ - !ruby/object:Gem::Version
31
+ version: '4.1'
32
+ - !ruby/object:Gem::Dependency
33
+ name: rdoc
34
+ requirement: !ruby/object:Gem::Requirement
41
35
  none: false
42
- requirements:
36
+ requirements:
43
37
  - - ~>
44
- - !ruby/object:Gem::Version
45
- hash: 1
46
- segments:
47
- - 2
48
- - 1
49
- version: "2.1"
38
+ - !ruby/object:Gem::Version
39
+ version: '3.10'
50
40
  type: :development
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- name: hoe-seattlerb
54
41
  prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: '3.10'
48
+ - !ruby/object:Gem::Dependency
49
+ name: builder
50
+ requirement: !ruby/object:Gem::Requirement
56
51
  none: false
57
- requirements:
52
+ requirements:
58
53
  - - ~>
59
- - !ruby/object:Gem::Version
60
- hash: 11
61
- segments:
62
- - 1
63
- - 2
64
- version: "1.2"
54
+ - !ruby/object:Gem::Version
55
+ version: '2.1'
65
56
  type: :development
66
- version_requirements: *id003
67
- - !ruby/object:Gem::Dependency
68
- name: session
69
57
  prerelease: false
70
- requirement: &id004 !ruby/object:Gem::Requirement
58
+ version_requirements: !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - ~>
62
+ - !ruby/object:Gem::Version
63
+ version: '2.1'
64
+ - !ruby/object:Gem::Dependency
65
+ name: hoe-seattlerb
66
+ requirement: !ruby/object:Gem::Requirement
71
67
  none: false
72
- requirements:
68
+ requirements:
73
69
  - - ~>
74
- - !ruby/object:Gem::Version
75
- hash: 11
76
- segments:
77
- - 2
78
- - 4
79
- version: "2.4"
70
+ - !ruby/object:Gem::Version
71
+ version: '1.2'
80
72
  type: :development
81
- version_requirements: *id004
82
- - !ruby/object:Gem::Dependency
83
- name: rdoc
84
73
  prerelease: false
85
- requirement: &id005 !ruby/object:Gem::Requirement
74
+ version_requirements: !ruby/object:Gem::Requirement
75
+ none: false
76
+ requirements:
77
+ - - ~>
78
+ - !ruby/object:Gem::Version
79
+ version: '1.2'
80
+ - !ruby/object:Gem::Dependency
81
+ name: session
82
+ requirement: !ruby/object:Gem::Requirement
86
83
  none: false
87
- requirements:
84
+ requirements:
88
85
  - - ~>
89
- - !ruby/object:Gem::Version
90
- hash: 7
91
- segments:
92
- - 3
93
- - 0
94
- version: "3.0"
86
+ - !ruby/object:Gem::Version
87
+ version: '2.4'
95
88
  type: :development
96
- version_requirements: *id005
97
- - !ruby/object:Gem::Dependency
98
- name: rcov
99
89
  prerelease: false
100
- requirement: &id006 !ruby/object:Gem::Requirement
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ none: false
92
+ requirements:
93
+ - - ~>
94
+ - !ruby/object:Gem::Version
95
+ version: '2.4'
96
+ - !ruby/object:Gem::Dependency
97
+ name: rcov
98
+ requirement: !ruby/object:Gem::Requirement
101
99
  none: false
102
- requirements:
100
+ requirements:
103
101
  - - ~>
104
- - !ruby/object:Gem::Version
105
- hash: 59
106
- segments:
107
- - 0
108
- - 9
109
- - 0
102
+ - !ruby/object:Gem::Version
110
103
  version: 0.9.0
111
104
  type: :development
112
- version_requirements: *id006
113
- - !ruby/object:Gem::Dependency
114
- name: ZenTest
115
105
  prerelease: false
116
- requirement: &id007 !ruby/object:Gem::Requirement
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ none: false
108
+ requirements:
109
+ - - ~>
110
+ - !ruby/object:Gem::Version
111
+ version: 0.9.0
112
+ - !ruby/object:Gem::Dependency
113
+ name: ZenTest
114
+ requirement: !ruby/object:Gem::Requirement
117
115
  none: false
118
- requirements:
116
+ requirements:
119
117
  - - ~>
120
- - !ruby/object:Gem::Version
121
- hash: 17
122
- segments:
123
- - 4
124
- - 5
125
- version: "4.5"
118
+ - !ruby/object:Gem::Version
119
+ version: '4.5'
126
120
  type: :development
127
- version_requirements: *id007
128
- - !ruby/object:Gem::Dependency
129
- name: hoe
130
121
  prerelease: false
131
- requirement: &id008 !ruby/object:Gem::Requirement
122
+ version_requirements: !ruby/object:Gem::Requirement
123
+ none: false
124
+ requirements:
125
+ - - ~>
126
+ - !ruby/object:Gem::Version
127
+ version: '4.5'
128
+ - !ruby/object:Gem::Dependency
129
+ name: hoe
130
+ requirement: !ruby/object:Gem::Requirement
132
131
  none: false
133
- requirements:
132
+ requirements:
134
133
  - - ~>
135
- - !ruby/object:Gem::Version
136
- hash: 31
137
- segments:
138
- - 2
139
- - 14
140
- version: "2.14"
134
+ - !ruby/object:Gem::Version
135
+ version: '3.0'
141
136
  type: :development
142
- version_requirements: *id008
143
- description: |-
144
- RubyGems is a package management framework for Ruby.
145
-
146
- This gem is an update for the RubyGems software. You must have an
147
- installation of RubyGems before this update can be applied.
148
-
149
- See Gem for information on RubyGems (or `ri Gem`)
150
-
151
- To upgrade to the latest RubyGems, run:
152
-
153
- $ gem update --system # you might need to be an administrator or root
154
-
155
- See UPGRADING.rdoc for more details and alternative instructions.
156
-
157
- -----
158
-
159
- If you don't have RubyGems installed, your can still do it manually:
160
-
161
- * Download from: https://rubygems.org/pages/download
162
- * Unpack into a directory and cd there
163
- * Install with: ruby setup.rb # you may need admin/root privilege
164
-
165
- For more details and other options, see:
166
-
167
- ruby setup.rb --help
168
- email:
137
+ prerelease: false
138
+ version_requirements: !ruby/object:Gem::Requirement
139
+ none: false
140
+ requirements:
141
+ - - ~>
142
+ - !ruby/object:Gem::Version
143
+ version: '3.0'
144
+ description: ! "RubyGems is a package management framework for Ruby.\n\nThis gem is
145
+ an update for the RubyGems software. You must have an\ninstallation of RubyGems
146
+ before this update can be applied.\n\nSee Gem for information on RubyGems (or `ri
147
+ Gem`)\n\nTo upgrade to the latest RubyGems, run:\n\n $ gem update --system # you
148
+ might need to be an administrator or root\n\nSee UPGRADING.rdoc for more details
149
+ and alternative instructions.\n\n-----\n\nIf you don't have RubyGems installed,
150
+ your can still do it manually:\n\n* Download from: https://rubygems.org/pages/download\n*
151
+ Unpack into a directory and cd there\n* Install with: ruby setup.rb # you may need
152
+ admin/root privilege\n\nFor more details and other options, see:\n\n ruby setup.rb
153
+ --help"
154
+ email:
169
155
  - rubygems-developers@rubyforge.org
170
- executables:
156
+ executables:
171
157
  - update_rubygems
172
158
  extensions: []
173
-
174
- extra_rdoc_files:
159
+ extra_rdoc_files:
175
160
  - History.txt
176
161
  - LICENSE.txt
177
162
  - MIT.txt
@@ -179,7 +164,7 @@ extra_rdoc_files:
179
164
  - README.rdoc
180
165
  - UPGRADING.rdoc
181
166
  - hide_lib_for_update/note.txt
182
- files:
167
+ files:
183
168
  - .autotest
184
169
  - .document
185
170
  - History.txt
@@ -385,42 +370,32 @@ files:
385
370
  - .gemtest
386
371
  homepage: http://rubygems.org
387
372
  licenses: []
388
-
389
373
  post_install_message:
390
- rdoc_options:
374
+ rdoc_options:
391
375
  - --main
392
376
  - README.rdoc
393
- - --title=RubyGems 1.8.24 Documentation
394
- require_paths:
377
+ - --title=RubyGems 1.8.25 Documentation
378
+ require_paths:
395
379
  - hide_lib_for_update
396
- required_ruby_version: !ruby/object:Gem::Requirement
380
+ required_ruby_version: !ruby/object:Gem::Requirement
397
381
  none: false
398
- requirements:
399
- - - ">="
400
- - !ruby/object:Gem::Version
401
- hash: 57
402
- segments:
403
- - 1
404
- - 8
405
- - 7
382
+ requirements:
383
+ - - ! '>='
384
+ - !ruby/object:Gem::Version
406
385
  version: 1.8.7
407
- required_rubygems_version: !ruby/object:Gem::Requirement
386
+ required_rubygems_version: !ruby/object:Gem::Requirement
408
387
  none: false
409
- requirements:
410
- - - ">="
411
- - !ruby/object:Gem::Version
412
- hash: 3
413
- segments:
414
- - 0
415
- version: "0"
388
+ requirements:
389
+ - - ! '>='
390
+ - !ruby/object:Gem::Version
391
+ version: '0'
416
392
  requirements: []
417
-
418
393
  rubyforge_project: rubygems
419
- rubygems_version: 1.8.18
394
+ rubygems_version: 1.8.24
420
395
  signing_key:
421
396
  specification_version: 3
422
397
  summary: RubyGems is a package management framework for Ruby
423
- test_files:
398
+ test_files:
424
399
  - test/rubygems/test_config.rb
425
400
  - test/rubygems/test_gem.rb
426
401
  - test/rubygems/test_gem_builder.rb