diff --git a/.drone.yml b/.drone.yml index 6d03dc9..109dc1b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -43,6 +43,14 @@ steps: RAILS_ENV: test <<: *spec_step_common + - name: Tests Ruby 2.4 + environment: + COMPOSE_FILE_EXT: drone + DOCKER_RUBY_VERSION: 2.4 + RUBY_IMAGE_TAG: 2.4-latest + RAILS_ENV: test + <<: *spec_step_common + - name: release image: abakpress/gem-publication:latest pull: true diff --git a/Appraisals b/Appraisals index 96c60a6..e3ffef9 100644 --- a/Appraisals +++ b/Appraisals @@ -1,13 +1,15 @@ -appraise 'rails3.2' do - gem 'rails', '~> 3.2.0' -end +if RUBY_VERSION < '2.4' + appraise 'rails3.2' do + gem 'rails', '~> 3.2.0' + end -appraise 'rails4.0' do - gem 'rails', '~> 4.0.13' -end + appraise 'rails4.0' do + gem 'rails', '~> 4.0.13' + end -appraise 'rails4.1' do - gem 'rails', '~> 4.1.16' + appraise 'rails4.1' do + gem 'rails', '~> 4.1.16' + end end appraise 'rails4.2' do