24 lines
549 B
Ruby
24 lines
549 B
Ruby
#!/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.license = "Ruby"
|
|
|
|
s.files = Dir["{docs,lib,tests}/**/*"]
|
|
end
|
|
|
|
if $0 == __FILE__
|
|
Gem::Builder.new(spec).build
|
|
else
|
|
spec
|
|
end
|