Sha256: 818b3f3e5771bc2ed59380cd4a9264d67dd29ecc8c44a3003a8b0b26d3fff588

Contents?: true

Size: 513 Bytes

Versions: 265

Compression:

Stored size: 513 Bytes

Contents

def bundle_check
  `bundle check` == "The Gemfile's dependencies are satisfied\n"
end

command  = 'ruby -w -Ilib -Itest test/all.rb'
gemfiles = %w(ci/Gemfile.rails-3.x ci/Gemfile.rails-2.3.x ci/Gemfile.no-rails)

results = gemfiles.map do |gemfile|
  puts "BUNDLE_GEMFILE=#{gemfile}"
  ENV['BUNDLE_GEMFILE'] = gemfile

  unless bundle_check
    puts "bundle install"
    system('bundle install')
  end

  puts command
  system('ruby -w -Ilib -Itest test/all.rb')
end

exit(results.inject(true) { |a, b| a && b })

Version data entries

265 entries across 235 versions & 47 rubygems

Version Path
i18n-0.6.0 test/run_all.rb
i18n-0.6.0beta1 test/run_all.rb
i18n-0.5.0 test/run_all.rb
i18n-0.5.0beta3 test/run_all.rb
i18n-0.5.0beta2 test/run_all.rb