Fix specification_version that was causing an error when installing from gem

This commit is contained in:
Geoffrey Grosenbach 2008-09-12 15:34:23 -07:00
parent 423480da8f
commit f8b80daef6
2 changed files with 5 additions and 3 deletions

View file

@ -40,10 +40,12 @@ namespace :github do # thanks merb!
dep, *ver = d.to_s.split(" ")
result << " s.add_dependency #{dep.inspect}, [#{ /\(([^\,]*)/ . match(ver.join(" "))[1].inspect}]\n"
end
else
else
case value
when Array
value = name != "files" ? value.inspect : value.inspect.split(",").join(",\n")
when Fixnum
# leave as-is
when String
value = value.to_i if integer_fields.include?(name)
value = value.inspect

View file

@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.extra_rdoc_files = ["README.rdoc", "LICENSE", "THANKS"]
s.date = "Thu Sep 11 00:00:00 -0400 2008"
s.date = "Thu Sep 11 00:00:00 -0700 2008"
s.executables = ["couchview", "couchdir"]
s.authors = ["J. Chris Anderson"]
s.required_rubygems_version = ">= 0"
@ -58,7 +58,7 @@ Gem::Specification.new do |s|
"utils/remap.rb",
"utils/subset.rb"]
s.has_rdoc = "true"
s.specification_version = "2"
s.specification_version = 2
s.loaded = "false"
s.email = "jchris@grabb.it"
s.name = "couchrest"