Skip to content

Commit

Permalink
setup appraisal
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysiek1507 committed May 25, 2016
1 parent 4e246c1 commit 1085d03
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -7,3 +7,4 @@ spec/dummy/log/*.log
spec/dummy/tmp/
spec/dummy/.sass-cache
Gemfile.lock
gemfiles/*lock
15 changes: 10 additions & 5 deletions .travis.yml
Expand Up @@ -5,8 +5,13 @@ rvm:
- 2.1.10
- 2.2.5
- 2.3.1
env:
- "RAILS_VERSION=4.1.15"
- "RAILS_VERSION=4.2.6"
- "RAILS_VERSION=5.0.0.rc1"
- "RAILS_VERSION=master"

gemfile:
- gemfiles/rails_4_1.gemfile
- gemfiles/rails_4_2.gemfile
- gemfiles/rails_5_0_0_rc1.gemfile

matrix:
exclude:
- rvm: 2.1.10
gemfile: gemfiles/rails_5_0_0_rc1.gemfile
11 changes: 11 additions & 0 deletions Appraisals
@@ -0,0 +1,11 @@
appraise "rails-4-1" do
gem "rails", "~> 4.1.15"
end

appraise "rails-4-2" do
gem "rails", "~> 4.2.6"
end

appraise "rails-5-0-0-rc1" do
gem "rails", "5.0.0.rc1"
end
3 changes: 2 additions & 1 deletion canonical-rails.gemspec
Expand Up @@ -17,7 +17,8 @@ Gem::Specification.new do |s|

s.add_dependency 'rails', '>= 4.1', '< 5.1'

s.add_development_dependency 'appraisal'
s.add_development_dependency "sqlite3"
s.add_development_dependency 'rspec-rails', '~> 3.4.2'
s.add_development_dependency 'rspec-rails', '~> 3.5.0.beta3'
s.add_development_dependency 'pry'
end
8 changes: 8 additions & 0 deletions gemfiles/rails_4_1.gemfile
@@ -0,0 +1,8 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "jquery-rails"
gem "rails", "~> 4.1.15"

gemspec :path => "../"
8 changes: 8 additions & 0 deletions gemfiles/rails_4_2.gemfile
@@ -0,0 +1,8 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "jquery-rails"
gem "rails", "~> 4.2.6"

gemspec :path => "../"
8 changes: 8 additions & 0 deletions gemfiles/rails_5_0_0_rc1.gemfile
@@ -0,0 +1,8 @@
# This file was generated by Appraisal

source "http://rubygems.org"

gem "jquery-rails"
gem "rails", "5.0.0.rc1"

gemspec :path => "../"

0 comments on commit 1085d03

Please sign in to comment.