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
tnargav-1.3.3 vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/run_all.rb
i18n-0.6.5 test/run_all.rb
challah-1.0.0 vendor/bundle/gems/i18n-0.6.4/test/run_all.rb
vagrant-shell-0.2.9 demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/run_all.rb
tnargav-1.2.3 vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/run_all.rb
vagrant-shell-0.2.8 demo/templates/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.4/test/run_all.rb
classiccms-0.7.2 vendor/bundle/gems/i18n-0.6.0/test/run_all.rb
classiccms-0.7.1 vendor/bundle/gems/i18n-0.6.0/test/run_all.rb
swipe-rails-0.0.5 vendor/bundle/gems/i18n-0.6.1/test/run_all.rb
active_mailer-0.0.9 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/run_all.rb
active_mailer-0.0.8 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/run_all.rb
active_mailer-0.0.7 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/run_all.rb
active_mailer-0.0.6 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/i18n-0.6.1/test/run_all.rb
classiccms-0.7.0 vendor/bundle/gems/i18n-0.6.0/test/run_all.rb
font-awesome-rails-3.1.1.2 vendor/ruby/1.9.1/gems/i18n-0.6.1/test/run_all.rb
font-awesome-rails-3.1.1.2 vendor/ruby/1.9.1/gems/i18n-0.6.4/test/run_all.rb
font-awesome-rails-3.1.1.2 vendor/ruby/2.0.0/gems/i18n-0.6.4/test/run_all.rb
vagrant-shell-0.2.6 vendor/bundle/gems/i18n-0.6.4/test/run_all.rb
font-awesome-rails-3.1.1.1 vendor/ruby/1.9.1/gems/i18n-0.6.4/test/run_all.rb
font-awesome-rails-3.1.1.1 vendor/ruby/2.0.0/gems/i18n-0.6.4/test/run_all.rb