1
0
Fork 0
mirror of https://github.com/awesome-print/awesome_print synced 2023-03-27 23:22:34 -04:00

Update appraisals to move support only to the ruby 2.x and rails 4.2/5.x series

This commit is contained in:
James Cox 2018-04-11 12:09:00 -04:00
parent d5bb26e22c
commit 2c706373b6
14 changed files with 45 additions and 73 deletions

View file

@ -1,33 +1,29 @@
language: ruby
rvm:
- 1.9.3
- 2.0.0
- 2.1
- 2.2.5
- 2.3.1
- 2.3
- 2.4
- 2.5
before_install:
- gem install bundler
gemfile:
- gemfiles/rails_3.2.gemfile
- gemfiles/rails_4.0.gemfile
- gemfiles/rails_4.1.gemfile
- gemfiles/rails_4.2.gemfile
- gemfiles/rails_5.0.gemfile
- gemfiles/mongoid_3.1.gemfile
- gemfiles/rails_5.1.gemfile
- gemfiles/rails_5.2.gemfile
- gemfiles/nobrainer.gemfile
matrix:
exclude:
# Rails 5.0 only works with Ruby >= 2.2
- rvm: 1.9.3
gemfile: gemfiles/rails_5.0.gemfile
- rvm: 2.0.0
gemfile: gemfiles/rails_5.0.gemfile
- rvm: 2.1
gemfile: gemfiles/rails_5.0.gemfile
# matrix:
# exclude:
# # Rails 5.0 only works with Ruby >= 2.2
# - rvm: 1.9.3
# gemfile: gemfiles/rails_5.0.gemfile
# - rvm: 2.0.0
# gemfile: gemfiles/rails_5.0.gemfile
# - rvm: 2.1
# gemfile: gemfiles/rails_5.0.gemfile
#
addons:
code_climate:
repo_token: b84a33c35c698270ad54261655bc25161a0853386825a2d54fb1c7a11c2b2785

View file

@ -1,24 +1,3 @@
appraise 'rails-3.2' do
gem 'rails', '~> 3.2.0'
end
appraise 'rails-4.0' do
gem 'rails', '~> 4.0.0'
gem 'json', '~> 1.8', :platforms => :ruby_19 # Json 2.0 requires Ruby >= 2.0
# The last version that doesn't need Ruby 2.0 and works with version 4.0 of
# Rails. This addresses a build problem with Travis for version 1.9.3 of Ruby
gem 'mime-types', '2.6.2', :platforms => :ruby_19
end
appraise 'rails-4.1' do
gem 'rails', '~> 4.1.0'
# The last version that doesn't need Ruby 2.0 and works with version 4.1 of
# Rails. This addresses a build problem with Travis for version 1.9.3 of Ruby
gem 'mime-types', '2.6.2', :platforms => :ruby_19
end
appraise 'rails-4.2' do
gem 'rails', '~> 4.2.0'
@ -28,8 +7,15 @@ appraise 'rails-4.2' do
end
appraise 'rails-5.0' do
# Only works with Ruby >= 2.2
gem 'rails', '>= 5.0.0.racecar1', '< 5.1'
gem 'rails', '>= 5.0.0', '< 5.1'
end
appraise 'rails-5.1' do
gem 'rails', '>= 5.1.0', '< 5.2'
end
appraise 'rails-5.2' do
gem 'rails', '>= 5.2.0', '< 5.3'
end
appraise 'mongoid-3.0' do

View file

@ -4,4 +4,4 @@ source "https://rubygems.org"
gem "mongo_mapper"
gemspec :path => "../"
gemspec path: "../"

View file

@ -4,4 +4,4 @@ source "https://rubygems.org"
gem "mongoid", "~> 3.0.0"
gemspec :path => "../"
gemspec path: "../"

View file

@ -3,6 +3,6 @@
source "https://rubygems.org"
gem "mongoid", "~> 3.1.0"
gem "json", "~> 1.8", :platforms => :ruby_19
gem "json", "~> 1.8", platforms: :ruby_19
gemspec :path => "../"
gemspec path: "../"

View file

@ -4,4 +4,4 @@ source "https://rubygems.org"
gem "mongoid", "~> 4.0.0"
gemspec :path => "../"
gemspec path: "../"

View file

@ -3,6 +3,6 @@
source "https://rubygems.org"
gem "nobrainer"
gem "activesupport", "4.2.6", :platforms => :ruby_19
gem "activesupport", "4.2.6", platforms: :ruby_19
gemspec :path => "../"
gemspec path: "../"

View file

@ -1,9 +0,0 @@
# This file was generated by Appraisal
source "https://rubygems.org"
gem "rails", "~> 4.0.0"
gem "json", "~> 1.8", :platforms => :ruby_19
gem "mime-types", "2.6.2", :platforms => :ruby_19
gemspec :path => "../"

View file

@ -1,8 +0,0 @@
# This file was generated by Appraisal
source "https://rubygems.org"
gem "rails", "~> 4.1.0"
gem "mime-types", "2.6.2", :platforms => :ruby_19
gemspec :path => "../"

View file

@ -3,6 +3,6 @@
source "https://rubygems.org"
gem "rails", "~> 4.2.0"
gem "mime-types", "2.6.2", :platforms => :ruby_19
gem "mime-types", "2.6.2", platforms: :ruby_19
gemspec :path => "../"
gemspec path: "../"

View file

@ -2,6 +2,6 @@
source "https://rubygems.org"
gem "rails", "~> 5.0.0"
gem "rails", ">= 5.0.0", "< 5.1"
gemspec :path => "../"
gemspec path: "../"

View file

@ -2,6 +2,6 @@
source "https://rubygems.org"
gem "rails", "~> 3.2.0"
gem "rails", ">= 5.1.0", "< 5.2"
gemspec :path => "../"
gemspec path: "../"

View file

@ -0,0 +1,7 @@
# This file was generated by Appraisal
source "https://rubygems.org"
gem "rails", ">= 5.2.0", "< 5.3"
gemspec path: "../"

View file

@ -5,4 +5,4 @@ source "https://rubygems.org"
gem "tzinfo"
gem "ripple"
gemspec :path => "../"
gemspec path: "../"