Skip to content

Commit

Permalink
chore: drop old rubies
Browse files Browse the repository at this point in the history
  • Loading branch information
spyderdfx committed Nov 27, 2023
1 parent 2380cf0 commit fa65369
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 36 deletions.
18 changes: 0 additions & 18 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,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
15 changes: 0 additions & 15 deletions Appraisals
Original file line number Diff line number Diff line change
@@ -1,17 +1,3 @@
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.1' do
gem 'rails', '~> 4.1.16'
end
end

appraise 'rails4.2' do
gem 'rails', '~> 4.2.9'
end
Expand All @@ -26,5 +12,4 @@ end

appraise 'rails5.2' do
gem 'rails', '~> 5.2.0', '< 5.2.4.1'
gem 'mimemagic', '<= 0.3.9' if RUBY_VERSION < '2.3'
end
5 changes: 2 additions & 3 deletions dip.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: '1'

environment:
DOCKER_RUBY_VERSION: 2.3
RUBY_IMAGE_TAG: 2.3-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 Expand Up @@ -40,6 +40,5 @@ interaction:
provision:
- docker volume create --name bundler_data
- dip bundle config --local https://gems.railsc.ru/ ${APRESS_GEMS_CREDENTIALS}
- dip clean
- dip bundle install
- dip appraisal install

0 comments on commit fa65369

Please sign in to comment.