summaryrefslogtreecommitdiff
path: root/json_pure.gemspec
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2011-04-01 11:43:57 +0100
committerJon Leighton <j@jonathanleighton.com>2011-04-01 11:43:57 +0100
commitdbd6343217ab77c37948d1202541ae33076155ab (patch)
tree62d7ddcfa9380f527c212ab61599558d4a81fdce /json_pure.gemspec
parentf067f0c9b8b69b80b9e4e035d2130f8fca58370c (diff)
downloadjson-dbd6343217ab77c37948d1202541ae33076155ab.tar.gz
Put the json and json_pure gemspecs in standalone .gemspec files so that they can be used by Bundler
Diffstat (limited to 'json_pure.gemspec')
-rw-r--r--json_pure.gemspec27
1 files changed, 27 insertions, 0 deletions
diff --git a/json_pure.gemspec b/json_pure.gemspec
new file mode 100644
index 0000000..f668a62
--- /dev/null
+++ b/json_pure.gemspec
@@ -0,0 +1,27 @@
+require File.dirname(__FILE__) + '/constants'
+
+Gem::Specification.new do |s|
+ s.name = 'json_pure'
+ s.version = PKG_VERSION
+ s.summary = PKG_TITLE
+ s.description = "This is a JSON implementation in pure Ruby."
+
+ s.files = PKG_FILES
+
+ s.require_path = 'lib'
+
+ s.bindir = "bin"
+ s.executables = [ "edit_json.rb", "prettify_json.rb" ]
+ s.default_executable = "edit_json.rb"
+
+ s.has_rdoc = true
+ s.extra_rdoc_files << 'README'
+ s.rdoc_options <<
+ '--title' << 'JSON implemention for ruby' << '--main' << 'README'
+ s.test_files.concat Dir['./tests/test_*.rb']
+
+ s.author = "Florian Frank"
+ s.email = "flori@ping.de"
+ s.homepage = "http://flori.github.com/#{PKG_NAME}"
+ s.rubyforge_project = "json"
+end