Commit 7f4225a5 7f4225a534ed3dac7a80853c4ebe5fdf0085c393 by hannyu

modify casperjs.gemspec for reading VERSION from package.json file.

1 parent df009187
# by hannyu
CASPERJS_VERSION = File.read("package.json")[/version.*:.*"(.*?)"/,1].gsub(/[\-_\+]/,".")
Gem::Specification.new do |s|
s.name = "casperjs"
s.version = "1.0.0.RC1"
s.version = CASPERJS_VERSION
s.homepage = "http://casperjs.org/"
s.authors = ["Nicolas Perriault", ]
s.email = ["nperriault@gmail.com",]
......