jruby-jars.gemspec in jruby-jars-1.7.17 vs jruby-jars.gemspec in jruby-jars-1.7.18

- old
+ new

@@ -1,15 +1,15 @@ #-*- mode: ruby -*- require 'rake' -require 'rexml/document' -require 'rexml/xpath' +require 'fileutils' version = File.read( File.join( File.dirname(File.expand_path(__FILE__)), '..', '..', 'VERSION' ) ).strip # this regexp can be refined to work with pre, rc1, rc2 and such cases ruby_version = version.sub( /-SNAPSHOT$/, '.dev' ) +FileUtils.mkdir_p( 'lib/jruby-jars' ) File.open( 'lib/jruby-jars/version.rb', 'w' ) do |f| f.print <<EOF module JRubyJars VERSION = '#{ruby_version}' MAVEN_VERSION = '#{version}'