Sha256: 682201ec26bba267f3e26dcd9e4ba1671984b610cffabb502a1024b6823818a9

Contents?: true

Size: 816 Bytes

Versions: 33

Compression:

Stored size: 816 Bytes

Contents

require 'bundler'
Bundler::GemHelper.install_tasks

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
task :default => :spec

namespace(:spec) do
  desc "Run all specs on multiple ruby versions (requires rvm)"
  task(:portability) do
    rubies = if ENV['RUBIES']
               ENV['RUBIES'].split(' ')
             else
               %w[1.8.7 1.9.2 ree jruby]
             end
    rubies.each do |version|
      rvm_ruby = if ENV['GEMSET']
                   "#{version}@#{ENV['GEMSET']}"
                 else
                   version
                 end
      system <<-BASH
        bash -c '
          source ~/.rvm/scripts/rvm;
          rvm #{rvm_ruby};
          echo "--------- version #{rvm_ruby} ----------\n";
          bundle install;
          rake spec'
      BASH
    end
  end
end

Version data entries

33 entries across 33 versions & 4 rubygems

Version Path
guard-delayed-0.4.0 Rakefile
guard-delayed-0.3.8 Rakefile
guard-delayed-0.3.7 Rakefile
guard-delayed-0.3.6 Rakefile
guard-delayed-0.3.5 Rakefile
guard-delayed-0.3.3 Rakefile
guard-delayed-0.3.2 Rakefile
guard-delayed-0.3.1 Rakefile
guard-delayed-0.3.0 Rakefile
guard-consistency_fail-0.0.9 Rakefile
guard-consistency_fail-0.0.8 Rakefile
guard-consistency_fail-0.0.7 Rakefile
guard-consistency_fail-0.0.6 Rakefile
guard-consistency_fail-0.0.5 Rakefile
guard-webrick-0.1.4 Rakefile
guard-webrick-0.1.3 Rakefile
guard-delayed-0.2.1 Rakefile
guard-delayed-0.2.0 Rakefile
guard-webrick-0.1.2 Rakefile
guard-delayed-0.1.2 Rakefile