json-java.gemspec 528 B

12345678910111213141516171819202122
  1. #!/usr/bin/env jruby
  2. require "rubygems"
  3. spec = Gem::Specification.new do |s|
  4. s.name = "json"
  5. s.version = File.read("VERSION").chomp
  6. s.summary = "JSON implementation for JRuby"
  7. s.description = "A JSON implementation as a JRuby extension."
  8. s.author = "Daniel Luz"
  9. s.email = "dev+ruby@mernen.com"
  10. s.homepage = "http://json-jruby.rubyforge.org/"
  11. s.platform = 'java'
  12. s.rubyforge_project = "json-jruby"
  13. s.files = Dir["{docs,lib,tests}/**/*"]
  14. end
  15. if $0 == __FILE__
  16. Gem::Builder.new(spec).build
  17. else
  18. spec
  19. end