rubygems-update 1.7.1 → 1.7.2

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.
data.tar.gz.sig CHANGED
Binary file
@@ -1,6 +1,12 @@
1
- === 1.7.1 / 2011-03-32
1
+ === 1.7.2 / 2011-04-05
2
2
 
3
- * 1 bug fix:
3
+ * 1 Bug Fix:
4
+ * Warn on loading bad spec array values (ntlm-http gem has nil in its cert
5
+ chain)
6
+
7
+ === 1.7.1 / 2011-03-32
8
+
9
+ * 1 Bug Fix:
4
10
  * Fixed missing file in Manifest.txt. (Also a bug in hoe was fixed where
5
11
  `rake check_manifest` showing a diff would not exit with an error.)
6
12
 
@@ -119,7 +119,8 @@ require "rubygems/deprecate"
119
119
  # -The RubyGems Team
120
120
 
121
121
  module Gem
122
- VERSION = '1.7.1'
122
+
123
+ VERSION = '1.7.2'
123
124
 
124
125
  ##
125
126
  # Raised when RubyGems is unable to load or activate a gem. Contains the
@@ -362,7 +362,12 @@ class Gem::Specification
362
362
  next unless other_ivars.include? name
363
363
 
364
364
  begin
365
- instance_variable_set name, other_spec.instance_variable_get(name).dup
365
+ val = other_spec.instance_variable_get(name)
366
+ if val then
367
+ instance_variable_set name, val.dup
368
+ else
369
+ warn "WARNING: #{full_name} has an invalid nil value for #{name}"
370
+ end
366
371
  rescue TypeError
367
372
  e = Gem::FormatException.new \
368
373
  "#{full_name} has an invalid value for #{name}"
@@ -284,7 +284,7 @@ end
284
284
  s.version = '1'
285
285
  end
286
286
 
287
- spec.instance_variable_set :@licenses, nil
287
+ spec.instance_variable_set :@licenses, :blah
288
288
  spec.loaded_from = '/path/to/file'
289
289
 
290
290
  e = assert_raises Gem::FormatException do
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubygems-update
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 7
9
- - 1
10
- version: 1.7.1
9
+ - 2
10
+ version: 1.7.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jim Weirich
@@ -38,8 +38,7 @@ cert_chain:
38
38
  x52qPcexcYZR7w==
39
39
  -----END CERTIFICATE-----
40
40
 
41
- date: 2011-04-01 00:00:00 -07:00
42
- default_executable:
41
+ date: 2011-04-05 00:00:00 Z
43
42
  dependencies:
44
43
  - !ruby/object:Gem::Dependency
45
44
  name: minitest
@@ -353,7 +352,6 @@ files:
353
352
  - util/CL2notes
354
353
  - util/gem_prelude.rb
355
354
  - .gemtest
356
- has_rdoc: true
357
355
  homepage: http://rubygems.org
358
356
  licenses: []
359
357
 
@@ -361,7 +359,7 @@ post_install_message:
361
359
  rdoc_options:
362
360
  - --main
363
361
  - README.rdoc
364
- - --title=RubyGems 1.7.1 Documentation
362
+ - --title=RubyGems 1.7.2 Documentation
365
363
  require_paths:
366
364
  - hide_lib_for_update
367
365
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -387,7 +385,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
387
385
  requirements: []
388
386
 
389
387
  rubyforge_project: rubygems
390
- rubygems_version: 1.6.2
388
+ rubygems_version: 1.7.1
391
389
  signing_key:
392
390
  specification_version: 3
393
391
  summary: RubyGems is a package management framework for Ruby
metadata.gz.sig CHANGED
Binary file