Skip to content

Commit

Permalink
appraisals to manage different versions of dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
musaffa committed Oct 7, 2014
1 parent 97435bd commit 151eb1d
Show file tree
Hide file tree
Showing 11 changed files with 52 additions and 28 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Expand Up @@ -4,7 +4,7 @@ rvm:
- 2.0.0
- 1.9.3
gemfile:
- gemfiles/Gemfile.rails-4.1
- gemfiles/Gemfile.rails-4.0
- gemfiles/Gemfile.rails-3.2
- gemfiles/Gemfile.rails-3.1
- gemfiles/rails_4.1.gemfile
- gemfiles/rails_4.0.gemfile
- gemfiles/rails_3.2.gemfile
- gemfiles/rails_3.1.gemfile
15 changes: 15 additions & 0 deletions Appraisals
@@ -0,0 +1,15 @@
appraise 'rails-3.1' do
gem 'rails', '3.1.12'
end

appraise 'rails-3.2' do
gem 'rails', '3.2.18'
end

appraise 'rails-4.0' do
gem 'rails', '4.0.10'
end

appraise 'rails-4.1' do
gem 'rails', '4.1.6'
end
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -12,3 +12,4 @@ gemspec

# To use debugger
# gem 'debugger'
gem 'appraisal'
6 changes: 0 additions & 6 deletions gemfiles/Gemfile.rails-3.1

This file was deleted.

6 changes: 0 additions & 6 deletions gemfiles/Gemfile.rails-3.2

This file was deleted.

6 changes: 0 additions & 6 deletions gemfiles/Gemfile.rails-4.0

This file was deleted.

6 changes: 0 additions & 6 deletions gemfiles/Gemfile.rails-4.1

This file was deleted.

8 changes: 8 additions & 0 deletions gemfiles/rails_3.1.gemfile
@@ -0,0 +1,8 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "appraisal"
gem "rails", "3.1.12"

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

source "https://rubygems.org"

gem "appraisal"
gem "rails", "3.2.18"

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

source "https://rubygems.org"

gem "appraisal"
gem "rails", "4.0.10"

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

source "https://rubygems.org"

gem "appraisal"
gem "rails", "4.1.6"

gemspec :path => "../"

0 comments on commit 151eb1d

Please sign in to comment.