summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-26 16:46:13 +0000
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-09-26 16:46:13 +0000
commit87791df311cac2ee31dc884d39f42126519cdb87 (patch)
tree49b3727eeb72d8d8b0ab8d855137a1651b284c1e /lib
parentdafc1f757a80055cee86efd676d1b81366b54565 (diff)
* lib/rubygems: Update to Rubygems 2.0.10. [ruby-core:57360]
[Backport #8950] the patch is provided by drbrain (Eric Hodel). this update contains a security fix for CVE-2013-4363. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_0_0@43064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/rubygems.rb2
-rw-r--r--lib/rubygems/version.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems.rb b/lib/rubygems.rb
index f8633d50df..c2ebfb97cd 100644
--- a/lib/rubygems.rb
+++ b/lib/rubygems.rb
@@ -8,7 +8,7 @@
require 'rbconfig'
module Gem
- VERSION = '2.0.9'
+ VERSION = '2.0.10'
end
# Must be first since it unloads the prelude from 1.9.2
diff --git a/lib/rubygems/version.rb b/lib/rubygems/version.rb
index bbf04f5403..50849857fe 100644
--- a/lib/rubygems/version.rb
+++ b/lib/rubygems/version.rb
@@ -148,7 +148,7 @@ class Gem::Version
# FIX: These are only used once, in .correct?. Do they deserve to be
# constants?
VERSION_PATTERN = '[0-9]+(?>\.[0-9a-zA-Z]+)*' # :nodoc:
- ANCHORED_VERSION_PATTERN = /\A\s*(#{VERSION_PATTERN})*\s*\z/ # :nodoc:
+ ANCHORED_VERSION_PATTERN = /\A\s*(#{VERSION_PATTERN})?\s*\z/ # :nodoc:
##
# A string representation of this Version.