Sha256: dd444003ebb65b6260e7bbcefbbb97e7ac2936f13962f8b704951b4653fabae5
Contents?: true
Size: 790 Bytes
Versions: 5
Compression:
Stored size: 790 Bytes
Contents
require 'bundler/gem_tasks' require 'rspec/core' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:spec) do |spec| spec.pattern = FileList['spec/**/*_spec.rb'] end task default: 'spec:all' namespace :spec do %w(rails_42 rails_41 rails_40 rails_32).each do |gemfile| desc "Run Tests against #{gemfile}" task gemfile do sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle --quiet" sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle exec rake spec" end end desc "Run Tests against rails versions" task :all do %w(rails_42 rails_41 rails_40 rails_32).each do |gemfile| sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle --quiet" sh "BUNDLE_GEMFILE='gemfiles/#{gemfile}.gemfile' bundle exec rake spec" end end end
Version data entries
5 entries across 5 versions & 2 rubygems
Version | Path |
---|---|
liquid-rails-0.1.4 | Rakefile |
liquid4-rails-0.2.0 | Rakefile |
liquid-rails-0.1.3 | Rakefile |
liquid-rails-0.1.2 | Rakefile |
liquid-rails-0.1.1 | Rakefile |