We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aed535b commit b3063f6Copy full SHA for b3063f6
1 file changed
jruby-openssl.gemspec
@@ -1,10 +1,11 @@
1
#-*- mode: ruby -*-
2
3
-require "#{File.dirname(__FILE__)}/lib/jopenssl/version.rb"
4
-
5
Gem::Specification.new do |s|
6
s.name = 'jruby-openssl'
7
- s.version = Jopenssl::Version::VERSION
+
+ path = File.expand_path('lib/jopenssl/version.rb', File.dirname(__FILE__))
+ s.version = File.read(path).match( /.*VERSION\s*=\s*['"](.*)['"]/m )[1]
8
9
s.platform = 'java'
10
s.authors = ['Ola Bini', 'JRuby contributors']
11
s.email = "ola.bini@gmail.com"
@@ -31,4 +32,4 @@ Gem::Specification.new do |s|
31
32
#s.add_development_dependency 'test-unit', '2.5.5'
33
end
34
-# vim: syntax=Ruby
35
+# vim: syntax=Ruby
0 commit comments