From 927e82ad60d36c927a9f6fd8195bd55f1e3b6bdf Mon Sep 17 00:00:00 2001 From: kares Date: Sun, 16 Jun 2013 14:36:29 +0200 Subject: [PATCH] make sure we do not have the (same) version name speficied twice --- therubyrhino_jar.gemspec | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/therubyrhino_jar.gemspec b/therubyrhino_jar.gemspec index 12b5232..6b2bab2 100644 --- a/therubyrhino_jar.gemspec +++ b/therubyrhino_jar.gemspec @@ -1,20 +1,21 @@ # -*- encoding: utf-8 -*- -#$:.push File.expand_path("../jar", __FILE__) +$:.push File.expand_path("../jar", __FILE__) +require 'rhino/jar_path' Gem::Specification.new do |s| s.name = %q{therubyrhino_jar} - s.version = '1.7.4' + s.version = "#{Rhino::JAR_VERSION}" s.authors = ["Charles Lowell", "Karol Bucek"] s.email = ['cowboyd@thefrontside.net', 'self@kares.org'] - + s.summary = "Rhino's jars packed for therubyrhino" s.description = %q{Rhino's js.jar classes packaged as a JRuby gem.} - + s.homepage = %q{http://github.com/cowboyd/therubyrhino} s.rubyforge_project = %q{therubyrhino} - + s.require_paths = ["jar"] s.files = `git ls-files`.split("\n").sort. select { |file| file == 'therubyrhino_jar.gemspec' || file =~ /^jar\// } - + end \ No newline at end of file