From 61bf09d11b33b09d5c93f149c02d1acd1c5c6979 Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Sun, 8 Nov 2009 13:16:44 -0600 Subject: [PATCH] added gemspec --- therubyrhino.gemspec | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 therubyrhino.gemspec diff --git a/therubyrhino.gemspec b/therubyrhino.gemspec new file mode 100644 index 0000000..013e290 --- /dev/null +++ b/therubyrhino.gemspec @@ -0,0 +1,34 @@ +# -*- encoding: utf-8 -*- + +Gem::Specification.new do |s| + s.name = %q{therubyrhino} + s.version = "1.72.0" + s.platform = %q{jruby} + + s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= + s.authors = ["Charles Lowell"] + s.date = %q{2009-11-08} + s.description = %q{Embed the Mozilla Rhino Javascript interpreter into Ruby} + s.email = ["cowboyd@thefrontside.net"] + s.extra_rdoc_files = ["History.txt", "Manifest.txt"] + s.files = ["History.txt", "Manifest.txt", "README.rdoc", "Rakefile", "lib/rhino.rb", "lib/rhino/context.rb", "lib/rhino/java.rb", "lib/rhino/rhino-1.7R2.jar", "script/console", "script/destroy", "script/generate", "spec/rhino/context_spec.rb", "spec/spec.opts", "spec/spec_helper.rb", "tasks/jruby.rake", "tasks/rspec.rake"] + s.homepage = %q{http://github.com/cowboyd/therubyrhino} + s.rdoc_options = ["--main", "README.rdoc"] + s.require_paths = ["lib"] + s.rubyforge_project = %q{therubyrhino} + s.rubygems_version = %q{1.3.5} + s.summary = %q{Embed the Rhino Javascript engine into JRuby} + + if s.respond_to? :specification_version then + current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION + s.specification_version = 3 + + if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then + s.add_development_dependency(%q, [">= 2.3.3"]) + else + s.add_dependency(%q, [">= 2.3.3"]) + end + else + s.add_dependency(%q, [">= 2.3.3"]) + end +end