summaryrefslogtreecommitdiff
path: root/json-java.gemspec
diff options
context:
space:
mode:
Diffstat (limited to 'json-java.gemspec')
-rw-r--r--json-java.gemspec20
1 files changed, 20 insertions, 0 deletions
diff --git a/json-java.gemspec b/json-java.gemspec
new file mode 100644
index 0000000..144f650
--- /dev/null
+++ b/json-java.gemspec
@@ -0,0 +1,20 @@
+#! /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.files = Dir["{docs,lib,tests}/**/*"]
+end
+
+if $0 == __FILE__
+ Gem::Builder.new(spec).build
+end