rubygems-update 1.8.7 → 1.8.8

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,8 +1,13 @@
1
1
  # coding: UTF-8
2
2
 
3
- === 1.8.7 / 2011-08-02
3
+ === 1.8.8 / 2011-08-11
4
4
 
5
- * 5 bug fixes:
5
+ * Bug fix:
6
+ * The encoding of a gem's YAML spec is now UTF-8. Issue #149
7
+
8
+ === 1.8.7 / 2011-08-04
9
+
10
+ * Bug fixes:
6
11
  * Added missing require for `gem uninstall --format-executable`
7
12
  * The correct name of the executable being uninstalled is now displayed with
8
13
  --format-executable
@@ -118,7 +118,7 @@ require "rubygems/deprecate"
118
118
  # -The RubyGems Team
119
119
 
120
120
  module Gem
121
- VERSION = '1.8.7'
121
+ VERSION = '1.8.8'
122
122
 
123
123
  ##
124
124
  # Raised when RubyGems is unable to load or activate a gem. Contains the
@@ -49,8 +49,13 @@ class Gem::Package::TarInput
49
49
  sio.rewind
50
50
  end
51
51
 
52
- # TODO use Gem.gunzip
53
- gzis = Zlib::GzipReader.new(sio || entry)
52
+ # Ruby 1.8 doesn't have encoding and YAML is UTF-8
53
+ args = [sio || entry]
54
+ args << { :external_encoding => Encoding::UTF_8 } if
55
+ Object.const_defined?(:Encoding)
56
+
57
+ gzis = Zlib::GzipReader.new(*args)
58
+
54
59
  # YAML wants an instance of IO
55
60
  @metadata = load_gemspec(gzis)
56
61
  has_meta = true
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: 57
4
+ hash: 39
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 8
9
- - 7
10
- version: 1.8.7
9
+ - 8
10
+ version: 1.8.8
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jim Weirich
@@ -38,7 +38,7 @@ cert_chain:
38
38
  x52qPcexcYZR7w==
39
39
  -----END CERTIFICATE-----
40
40
 
41
- date: 2011-08-05 00:00:00 Z
41
+ date: 2011-08-11 00:00:00 Z
42
42
  dependencies:
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: minitest
@@ -400,13 +400,11 @@ files:
400
400
  homepage: http://rubygems.org
401
401
  licenses: []
402
402
 
403
- metadata: {}
404
-
405
403
  post_install_message:
406
404
  rdoc_options:
407
405
  - --main
408
406
  - README.rdoc
409
- - --title=RubyGems 1.8.7 Documentation
407
+ - --title=RubyGems 1.8.8 Documentation
410
408
  require_paths:
411
409
  - hide_lib_for_update
412
410
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -432,9 +430,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
432
430
  requirements: []
433
431
 
434
432
  rubyforge_project: rubygems
435
- rubygems_version: 1.8.6
433
+ rubygems_version: 1.8.7
436
434
  signing_key:
437
- specification_version: 4
435
+ specification_version: 3
438
436
  summary: RubyGems is a package management framework for Ruby
439
437
  test_files:
440
438
  - test/rubygems/test_config.rb
metadata.gz.sig CHANGED
Binary file