This repository has been archived by the owner on Jul 13, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1976 from thoughtbot/add-rails-master-appraisals
Add Rails master appraisals in preparation for Rails 5
- Loading branch information
Showing
15 changed files
with
155 additions
and
25 deletions.
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 |
---|---|---|
@@ -1,12 +1,26 @@ | ||
rvm: | ||
- 2.1 | ||
- 2.2 | ||
- 2.2.2 | ||
|
||
script: "bundle exec rake clean spec cucumber" | ||
|
||
gemfile: | ||
- gemfiles/4.2.awsv2.1.gemfile | ||
- gemfiles/4.2.awsv2.0.gemfile | ||
- gemfiles/4.2.awsv2.1.gemfile | ||
- gemfiles/5.0.awsv2.0.gemfile | ||
- gemfiles/5.0.awsv2.1.gemfile | ||
|
||
matrix: | ||
fast_finish: true | ||
exclude: | ||
- gemfile: gemfiles/5.0.awsv2.0.gemfile | ||
rvm: 2.0 | ||
- gemfile: gemfiles/5.0.awsv2.1.gemfile | ||
rvm: 2.0 | ||
- gemfile: gemfiles/5.0.awsv2.0.gemfile | ||
rvm: 2.1 | ||
- gemfile: gemfiles/5.0.awsv2.1.gemfile | ||
rvm: 2.1 | ||
|
||
sudo: false | ||
cache: bundler |
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
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
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 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "sqlite3", "~> 1.3.8", :platforms => :ruby | ||
gem "jruby-openssl", :platforms => :jruby | ||
gem "activerecord-jdbcsqlite3-adapter", :platforms => :jruby | ||
gem "rubysl", :platforms => :rbx | ||
gem "racc", :platforms => :rbx | ||
gem "pry" | ||
gem "rails", "~> 4.2.0" | ||
gem "aws-sdk", "~> 2.0" | ||
|
||
group :development, :test do | ||
gem "mime-types", "~> 1.16" | ||
gem "builder" | ||
gem "rubocop", :require => false | ||
end | ||
|
||
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,17 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "sqlite3", "~> 1.3.8", :platforms => :ruby | ||
gem "pry" | ||
gem "rails", "5.0.0.beta3" | ||
gem "aws-sdk", "~> 2.0.0" | ||
|
||
group :development, :test do | ||
gem "activerecord-import" | ||
gem "mime-types", ">= 1.16", "< 4" | ||
gem "builder" | ||
gem "rubocop", :require => false | ||
end | ||
|
||
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,17 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "sqlite3", "~> 1.3.8", :platforms => :ruby | ||
gem "pry" | ||
gem "rails", "5.0.0.beta3" | ||
gem "aws-sdk", "~> 2.1.0" | ||
|
||
group :development, :test do | ||
gem "activerecord-import" | ||
gem "mime-types" | ||
gem "builder" | ||
gem "rubocop", :require => false | ||
end | ||
|
||
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,25 @@ | ||
# This file was generated by Appraisal | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "sqlite3", "~> 1.3.8", :platforms => :ruby | ||
gem "jruby-openssl", :platforms => :jruby | ||
gem "activerecord-jdbcsqlite3-adapter", :platforms => :jruby | ||
gem "rubysl", :platforms => :rbx | ||
gem "racc", :platforms => :rbx | ||
gem "pry" | ||
gem "rails", :github => "rails/rails" | ||
gem "sprockets-rails", :github => "rails/sprockets-rails" | ||
gem "sprockets", :github => "rails/sprockets" | ||
gem "sass-rails", :github => "rails/sass-rails" | ||
gem "arel", :github => "rails/arel" | ||
gem "rack", :github => "rack/rack" | ||
gem "aws-sdk", "~> 2.0" | ||
|
||
group :development, :test do | ||
gem "mime-types", "~> 1.16" | ||
gem "builder" | ||
gem "rubocop", :require => false | ||
end | ||
|
||
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
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
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
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,11 @@ | ||
module Reporting | ||
def silence_stream(stream) | ||
old_stream = stream.dup | ||
stream.reopen(RbConfig::CONFIG['host_os'] =~ /mswin|mingw/ ? 'NUL:' : '/dev/null') | ||
stream.sync = true | ||
yield | ||
ensure | ||
stream.reopen(old_stream) | ||
old_stream.close | ||
end | ||
end |