make sure we do not have the (same) version name speficied twice

This commit is contained in:
kares 2013-06-16 14:36:29 +02:00
parent a3eeda48b2
commit 927e82ad60
1 changed files with 7 additions and 6 deletions

View File

@ -1,20 +1,21 @@
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
#$:.push File.expand_path("../jar", __FILE__) $:.push File.expand_path("../jar", __FILE__)
require 'rhino/jar_path'
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = %q{therubyrhino_jar} s.name = %q{therubyrhino_jar}
s.version = '1.7.4' s.version = "#{Rhino::JAR_VERSION}"
s.authors = ["Charles Lowell", "Karol Bucek"] s.authors = ["Charles Lowell", "Karol Bucek"]
s.email = ['cowboyd@thefrontside.net', 'self@kares.org'] s.email = ['cowboyd@thefrontside.net', 'self@kares.org']
s.summary = "Rhino's jars packed for therubyrhino" s.summary = "Rhino's jars packed for therubyrhino"
s.description = %q{Rhino's js.jar classes packaged as a JRuby gem.} s.description = %q{Rhino's js.jar classes packaged as a JRuby gem.}
s.homepage = %q{http://github.com/cowboyd/therubyrhino} s.homepage = %q{http://github.com/cowboyd/therubyrhino}
s.rubyforge_project = %q{therubyrhino} s.rubyforge_project = %q{therubyrhino}
s.require_paths = ["jar"] s.require_paths = ["jar"]
s.files = `git ls-files`.split("\n").sort. s.files = `git ls-files`.split("\n").sort.
select { |file| file == 'therubyrhino_jar.gemspec' || file =~ /^jar\// } select { |file| file == 'therubyrhino_jar.gemspec' || file =~ /^jar\// }
end end