diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-22 18:53:21 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-22 18:53:21 +0000 |
commit | e8e18cff7a7f61e4cf3ee390e1d6da31ecb9a9e4 (patch) | |
tree | 11423007aa0b1cde32fe3c95086772967810b20e /test/rubygems/test_gem_specification.rb | |
parent | 0a5fc9c35fb0325ac7ee9b9eae65408b17f7add9 (diff) | |
download | ruby-e8e18cff7a7f61e4cf3ee390e1d6da31ecb9a9e4.tar.gz |
* lib/rubygems: Update to RubyGems master dcce4ff. Important changes
in this commit:
Remove automatic detection of gem dependencies files. This prevents a
security hole as described in [ruby-core:58490]
Fixed bugs for installing git gems.
* test/rubygems: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_specification.rb')
-rw-r--r-- | test/rubygems/test_gem_specification.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb index d08e77faff..b63721270e 100644 --- a/test/rubygems/test_gem_specification.rb +++ b/test/rubygems/test_gem_specification.rb @@ -1738,6 +1738,10 @@ dependencies: [] RbConfig::CONFIG['ENABLE_SHARED'] = enable_shared end + def test_source + assert_kind_of Gem::Source::Installed, @a1.source + end + def test_full_require_paths ext_spec |