Skip to content

Commit

Permalink
chore: add ruby 2.4 support
Browse files Browse the repository at this point in the history
  • Loading branch information
TamarinEA committed Jul 20, 2021
1 parent 72d31c3 commit 21aa6ba
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
8 changes: 8 additions & 0 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
18 changes: 10 additions & 8 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 21aa6ba

Please sign in to comment.