Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

- Specification#load no longer untaints frozen strings (via )

Prepped for release
  • Loading branch information...
commit 99575bff86a721fbeb019474a5945b5de913ff32 1 parent aaea007
Ryan Davis zenspider authored
12 History.txt
... ... @@ -1,4 +1,14 @@
1   -=== 1.4.0 / 2010-12-31
  1 +=== 1.4.1 / 2010-12-31
  2 +
  3 +Since apparently nobody reads my emails, blog posts or the README:
  4 +
  5 +DO NOT UPDATE RUBYGEMS ON RUBY 1.9! See UPGRADING.rdoc for details.
  6 +
  7 +Bug fix:
  8 +
  9 +* Specification#load was untainting a frozen string (via `gem build *.spec`)
  10 +
  11 +=== 1.4.0 / 2010-12-30
2 12
3 13 NOTE: In order to better maintain rubygems and to get it in sync with
4 14 the world (eg, 1.9's 1.3.7 is different from our 1.3.7), rubygems is
2  lib/rubygems.rb
@@ -100,7 +100,7 @@
100 100 # -The RubyGems Team
101 101
102 102 module Gem
103   - RubyGemsVersion = VERSION = '1.4.0'
  103 + RubyGemsVersion = VERSION = '1.4.1'
104 104
105 105 ##
106 106 # Raised when RubyGems is unable to load or activate a gem. Contains the
2  lib/rubygems/specification.rb
@@ -503,7 +503,7 @@ def self.from_yaml(input)
503 503 def self.load file
504 504 return unless file && File.file?(file)
505 505
506   - file = file.untaint
  506 + file = file.dup.untaint
507 507
508 508 code = if defined? Encoding
509 509 File.read file, :encoding => "UTF-8"

0 comments on commit 99575bf

Please sign in to comment.
Something went wrong with that request. Please try again.