Appraisals in loaf-0.6.2 vs Appraisals in loaf-0.7.0
- old
+ new
@@ -1,36 +1,31 @@
-if RUBY_VERSION < '2.2.0'
- appraise 'rails3.2' do
- gem 'rails', '~> 3.2.22.5'
- gem 'test-unit', '~> 3.0'
- end
+appraise 'rails3.2' do
+ gem 'rails', '~> 3.2.22.5'
+ gem 'test-unit', '~> 3.0'
end
-if RUBY_VERSION < '2.4.0'
- appraise 'rails4.0' do
- gem 'rails', '~> 4.0.13'
- gem 'test-unit'
- gem 'mime-types', '~> 2.99'
- end
+appraise 'rails4.0' do
+ gem 'rails', '~> 4.0.13'
+ gem 'test-unit'
+end
- appraise 'rails4.1' do
- gem 'rails', '~> 4.1.16'
- gem 'mime-types', '~> 2.99'
- end
+appraise 'rails4.1' do
+ gem 'rails', '~> 4.1.16'
end
appraise 'rails4.2' do
- gem 'rails', '~> 4.2.9'
- gem 'mime-types', '~> 2.99'
+ gem 'rails', '~> 4.2.10'
end
-if RUBY_VERSION >= '2.2.0'
- appraise 'rails5.0' do
- gem 'rails', '~> 5.0.6'
- gem 'rspec-rails', '~> 3.6.1'
- end
+appraise 'rails5.0' do
+ gem 'rails', '~> 5.0.7'
+ gem 'activerecord-jdbcsqlite3-adapter', '~> 50.1', platforms: :jruby
+end
- appraise 'rails5.1' do
- gem 'rails', '~> 5.1.4'
- gem 'rspec-rails', '~> 3.6.1'
- end
+appraise 'rails5.1' do
+ gem 'rails', '~> 5.1.6'
+ gem 'activerecord-jdbcsqlite3-adapter', '~> 51.1', platforms: :jruby
+end
+
+appraise 'rails5.2' do
+ gem 'rails', '~> 5.2.0'
end