Fix specification_version that was causing an error when installing from gem
This commit is contained in:
parent
423480da8f
commit
f8b80daef6
4
Rakefile
4
Rakefile
|
@ -40,10 +40,12 @@ namespace :github do # thanks merb!
|
||||||
dep, *ver = d.to_s.split(" ")
|
dep, *ver = d.to_s.split(" ")
|
||||||
result << " s.add_dependency #{dep.inspect}, [#{ /\(([^\,]*)/ . match(ver.join(" "))[1].inspect}]\n"
|
result << " s.add_dependency #{dep.inspect}, [#{ /\(([^\,]*)/ . match(ver.join(" "))[1].inspect}]\n"
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
case value
|
case value
|
||||||
when Array
|
when Array
|
||||||
value = name != "files" ? value.inspect : value.inspect.split(",").join(",\n")
|
value = name != "files" ? value.inspect : value.inspect.split(",").join(",\n")
|
||||||
|
when Fixnum
|
||||||
|
# leave as-is
|
||||||
when String
|
when String
|
||||||
value = value.to_i if integer_fields.include?(name)
|
value = value.to_i if integer_fields.include?(name)
|
||||||
value = value.inspect
|
value = value.inspect
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.extra_rdoc_files = ["README.rdoc", "LICENSE", "THANKS"]
|
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.executables = ["couchview", "couchdir"]
|
||||||
s.authors = ["J. Chris Anderson"]
|
s.authors = ["J. Chris Anderson"]
|
||||||
s.required_rubygems_version = ">= 0"
|
s.required_rubygems_version = ">= 0"
|
||||||
|
@ -58,7 +58,7 @@ Gem::Specification.new do |s|
|
||||||
"utils/remap.rb",
|
"utils/remap.rb",
|
||||||
"utils/subset.rb"]
|
"utils/subset.rb"]
|
||||||
s.has_rdoc = "true"
|
s.has_rdoc = "true"
|
||||||
s.specification_version = "2"
|
s.specification_version = 2
|
||||||
s.loaded = "false"
|
s.loaded = "false"
|
||||||
s.email = "jchris@grabb.it"
|
s.email = "jchris@grabb.it"
|
||||||
s.name = "couchrest"
|
s.name = "couchrest"
|
||||||
|
|
Loading…
Reference in a new issue