Sha256: 3fd8ca8389202617bc60f13db568f8ac85f1df6cd75d57a878569afb22d08184

Contents?: true

Size: 595 Bytes

Versions: 3

Compression:

Stored size: 595 Bytes

Contents

require 'yaml'

ruby_versions = ['2.1']

minor_4_0 = 4..8
minor_4_1 = 0..4

minor_4_0.each do |i|
  appraisal_version = "4.0.#{i}"
  appraise "4.0.#{i}" do
    gem "rails", appraisal_version
  end
end

minor_4_1.each do |i|
  appraisal_version = "4.1.#{i}"
  appraise "4.1.#{i}" do
    gem "rails", appraisal_version
  end
end

::File.open('.travis.yml', 'w+') do |f|
  travis_hash = { 
    'language' => 'ruby', 
    'rvm' => ruby_versions, 
    'script'  => 'bundle exec rspec spec', 
    'gemfile' => Dir.glob('gemfiles/*.gemfile')
  }
  travis = ::YAML.dump(travis_hash)
  f.write travis
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
carrierwave-processor-1.1.2 Appraisals
carrierwave-processor-1.1.1 Appraisals
carrierwave-processor-1.1.0 Appraisals