Permalink
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (33 sloc) 1.01 KB
#!/usr/bin/env jruby
require "rubygems"
spec = Gem::Specification.new do |s|
s.name = "json"
s.version = File.read("VERSION").chomp
s.summary = "JSON implementation for JRuby"
s.description = "A JSON implementation as a JRuby extension."
s.author = "Daniel Luz"
s.email = "dev+ruby@mernen.com"
s.homepage = "http://json-jruby.rubyforge.org/"
s.platform = 'java'
s.rubyforge_project = "json-jruby"
s.licenses = ["Ruby"]
s.files = Dir["{docs,lib,tests}/**/*"]
if s.respond_to? :specification_version then
s.specification_version = 4
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<rake>, [">= 0"])
s.add_development_dependency(%q<test-unit>, ["~> 2.0"])
else
s.add_dependency(%q<rake>, [">= 0"])
s.add_dependency(%q<test-unit>, ["~> 2.0"])
end
else
s.add_dependency(%q<rake>, [">= 0"])
s.add_dependency(%q<test-unit>, ["~> 2.0"])
end
end
if $0 == __FILE__
Gem::Builder.new(spec).build
else
spec
end