Skip to content

Commit

Permalink
chore: remove older ruby versions support
Browse files Browse the repository at this point in the history
  • Loading branch information
ipagbox committed May 5, 2022
1 parent edf4f44 commit e10e51d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 26 deletions.
18 changes: 0 additions & 18 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,24 +41,6 @@ spec_step_common: &spec_step_common
- dip rspec

steps:
- name: Tests Ruby 2.2
environment:
COMPOSE_FILE_EXT: drone
DOCKER_RUBY_VERSION: 2.2
RUBY_IMAGE_TAG: 2.2-latest
REDIS_IMAGE_TAG: 4-alpine
RAILS_ENV: test
<<: *spec_step_common

- name: Tests Ruby 2.3
environment:
COMPOSE_FILE_EXT: drone
DOCKER_RUBY_VERSION: 2.3
RUBY_IMAGE_TAG: 2.3-latest
REDIS_IMAGE_TAG: 4-alpine
RAILS_ENV: test
<<: *spec_step_common

- name: Tests Ruby 2.4
environment:
COMPOSE_FILE_EXT: drone
Expand Down
7 changes: 1 addition & 6 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
if RUBY_VERSION < '2.4'
appraise 'rails4.0' do
gem 'activesupport', '~> 4.0.0'
end
end

# frozen_string_literal: true
appraise 'rails4.2' do
gem 'activesupport', '~> 4.2.0'
end
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
source 'https://rubygems.org'

gemspec

gem 'parallel', '< 1.21.0'
4 changes: 2 additions & 2 deletions dip.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: '1'

environment:
DOCKER_RUBY_VERSION: 2.2
RUBY_IMAGE_TAG: 2.2-latest
DOCKER_RUBY_VERSION: 2.4
RUBY_IMAGE_TAG: 2.4-latest
REDIS_IMAGE_TAG: 4-alpine
COMPOSE_FILE_EXT: development
RAILS_ENV: test
Expand Down

0 comments on commit e10e51d

Please sign in to comment.