Project

General

Profile

Backport #8900 ยป rubygems.2_0_8.ruby.2_0_0.patch

drbrain (Eric Hodel), 09/13/2013 11:08 AM

View differences:

NEWS (working copy)
461 461
    XML declaration is used for XML document encoding.
462 462

  
463 463
* RubyGems
464
  * Updated to 2.0.8.  This fixes CVE-2013-4287:
465

  
466
    http://rubygems.rubyforge.org/rubygems-update/CVE-2013-4287_txt.html
467

  
464 468
  * Updated to 2.0.3.  See
465 469
    http://rubygems.rubyforge.org/rubygems-update/History_txt.html#label-2.0.3+%2F+2012-03-1
466 470
    for release notes.
lib/rubygems/version.rb (working copy)
147 147

  
148 148
  # FIX: These are only used once, in .correct?. Do they deserve to be
149 149
  # constants?
150
  VERSION_PATTERN = '[0-9]+(\.[0-9a-zA-Z]+)*' # :nodoc:
150
  VERSION_PATTERN = '[0-9]+(?>\.[0-9a-zA-Z]+)*' # :nodoc:
151 151
  ANCHORED_VERSION_PATTERN = /\A\s*(#{VERSION_PATTERN})*\s*\z/ # :nodoc:
152 152

  
153 153
  ##
lib/rubygems.rb (working copy)
8 8
require 'rbconfig'
9 9

  
10 10
module Gem
11
  VERSION = '2.0.7'
11
  VERSION = '2.0.8'
12 12
end
13 13

  
14 14
# Must be first since it unloads the prelude from 1.9.2
......
307 307
    @paths         = nil
308 308
    @user_home     = nil
309 309
    Gem::Specification.reset
310
    Gem::Security.reset if const_defined? :Security
310
    Gem::Security.reset if defined?(Gem::Security)
311 311
  end
312 312

  
313 313
  ##