Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'appraisal' to test for Rails 4 compatibility
- Loading branch information
Matt Hoofman
committed
Apr 17, 2015
1 parent
dac9985
commit 2069f03
Showing
7 changed files
with
51 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ Gemfile.lock | |
*.swp | ||
*.gem | ||
pkg | ||
+/gemfiles/*.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Install gems for all appraisal definitions: | ||
# | ||
# $ appraisal install | ||
# | ||
# To run tests on different versions: | ||
# | ||
# $ appraisal activesupport_x.x rspec spec | ||
|
||
[ | ||
[ '3.2', '~> 3.2.0' ], | ||
[ '4.0', '~> 4.0.0' ], | ||
[ '4.1', '~> 4.1.0' ], | ||
[ '4.2', '~> 4.2.0' ], | ||
].each do |ver_name, ver_req| | ||
# Note: for the rake task to work, these definition names must be the same as the corresponding | ||
# filename produced in "gemfiles/", i.e. all characters must be in this set: [A-Za-z0-9_.] | ||
appraise "activesupport_#{ver_name}" do | ||
gem 'activesupport', ver_req | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "activesupport", "~> 3.2.0" | ||
|
||
gemspec :path => "../" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "activesupport", "~> 4.0.0" | ||
|
||
gemspec :path => "../" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "activesupport", "~> 4.1.0" | ||
|
||
gemspec :path => "../" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "activesupport", "~> 4.2.0" | ||
|
||
gemspec :path => "../" |