Appraisals in apress-api-1.24.0 vs Appraisals in apress-api-1.24.2
- old
+ new
@@ -1,19 +1,15 @@
-appraise "rails3.2" do
- gem "rails", "~> 3.2.0", require: false
- gem "strong_parameters", ">= 0.2", require: false
+# frozen_string_literal: true
+if RUBY_VERSION < '2.4'
+ appraise "rails4.0" do
+ gem "rails", "~> 4.0.0", require: false
+ end
end
-appraise "rails4.0" do
- gem "rails", "~> 4.0.0", require: false
-end
-
-appraise "rails4.1" do
- gem "rails", "~> 4.1.0", require: false
-end
-
-appraise "rails4.2" do
- gem "rails", "~> 4.2.0", require: false
+if RUBY_VERSION < '2.5'
+ appraise "rails4.2" do
+ gem "rails", "~> 4.2.0", require: false
+ end
end
appraise "rails5.0" do
gem "rails", "~> 5.0.0", require: false
gem "rails-controller-testing", require: false