mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to RubyGems 1.0.1, r1581
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f12cc82e0f
commit
b42179135d
6 changed files with 11 additions and 4 deletions
|
@ -47,7 +47,7 @@ class Gem::Commands::BuildCommand < Gem::Command
|
|||
|
||||
def yaml?(filename)
|
||||
line = open(filename) { |f| line = f.gets }
|
||||
result = line =~ %r{^--- *!ruby/object:Gem::Specification}
|
||||
result = line =~ %r{!ruby/object:Gem::Specification}
|
||||
result
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue