#!/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://flori.github.com/json" s.platform = 'java' 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, [">= 0"]) s.add_development_dependency(%q, [">= 2.0", "< 4.0"]) else s.add_dependency(%q, [">= 0"]) s.add_dependency(%q, [">= 2.0", "< 4.0"]) end else s.add_dependency(%q, [">= 0"]) s.add_dependency(%q, [">= 2.0", "< 4.0"]) end end if $0 == __FILE__ Gem::Builder.new(spec).build else spec end