test/test_helper.rb in ruboto-0.9.0.rc.1 vs test/test_helper.rb in ruboto-0.9.0
- old
+ new
@@ -115,11 +115,11 @@
puts "RUBOTO_PLATFORM: #{RUBOTO_PLATFORM}"
install_jruby_jars_gem
if RUBOTO_PLATFORM == 'CURRENT'
- JRUBY_JARS_VERSION = Gem::Version.new('1.7.0.dev')
+ JRUBY_JARS_VERSION = Gem::Version.new('1.7.1.dev')
else
# FIXME(uwe): Simplify when we stop supporting rubygems < 1.8.0
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.8.0')
gem_spec = Gem::Specification.find_by_path 'jruby-jars'
else
@@ -177,9 +177,10 @@
Dir.mkdir TMP_DIR unless File.exists? TMP_DIR
FileUtils.rm_rf APP_DIR if File.exists? APP_DIR
template_dir = "#{APP_DIR}_template_#{$$}"
template_dir << "_example_#{example}" if example
+ template_dir << "_bundle_#{[*bundle].join('_')}" if bundle
template_dir << '_updated' if update
template_dir << '_standalone' if standalone
template_dir << "_without_#{excluded_stdlibs.map { |ed| ed.gsub(/[.\/]/, '_') }.join('_')}" if excluded_stdlibs
if File.exists?(template_dir)
puts "Copying app from template #{template_dir}"