Skip to content

Commit

Permalink
* Ensure the gem reports the correct version.
Browse files Browse the repository at this point in the history
  • Loading branch information
donv committed Sep 21, 2014
1 parent 2490f94 commit 4e15ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maven/jruby-jars/lib/jruby-jars/version.rb
@@ -1,5 +1,5 @@
module JRubyJars
MAVEN_VERSION = Dir[File.expand_path(File.dirname(File.dirname(__FILE__))) + '/jruby-core-complete-*jar' ].
first.gsub(/^.*jruby-core-complete-|.jar$/, '')
VERSION = MAVEN_VERSION.sub('-SNAPSHOT', '').gsub('-', '.')
VERSION = MAVEN_VERSION.sub('-SNAPSHOT', '.dev').gsub('-', '.')
end

0 comments on commit 4e15ab2

Please sign in to comment.