diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-01-17 00:37:28 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-01-17 00:37:28 +0000 |
commit | 219e1566876c2a6996b88728eb558691d5c77459 (patch) | |
tree | 4730b8dc51bd5d10d92b49a081bef77b1c0956e2 /lib/rubygems/installer.rb | |
parent | 1be8ac57abca95de2525c9b56fb51e9c8a802660 (diff) | |
download | ruby-219e1566876c2a6996b88728eb558691d5c77459.tar.gz |
* lib/rubygems/installer.rb: Untaint string when checking output
for $SAFE=1
* lib/rubygems/specification.rb: Keep previously loaded specs as
active. This prevents double loading when refreshing the gem list.
* test/rubygems/test_gem.rb: Test for above
* lib/rubygems.rb: Bump version to 2.0.0.rc.2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rubygems/installer.rb')
-rw-r--r-- | lib/rubygems/installer.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rubygems/installer.rb b/lib/rubygems/installer.rb index 7f9975678f..780a88b04c 100644 --- a/lib/rubygems/installer.rb +++ b/lib/rubygems/installer.rb @@ -489,6 +489,7 @@ class Gem::Installer def ensure_loadable_spec ruby = spec.to_ruby_for_cache + ruby.untaint begin eval ruby |