Skip to content
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ruby: ['2.4', '2.5', '2.6']
ruby: ['2.6', '2.7', '3.0']

steps:
- name: Checkout
Expand Down
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
language: ruby
rvm:
- 2.4.9
- 2.5.7
- 2.6.5
- 2.6.6
- 2.7.2
- 3.0.0

env:
- RAILS_ENV=development RACK_ENV=development INTEGRATION_TESTS=1
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ group :development, :test do
gem 'coveralls'

gem 'overcommit'
gem 'ruby_dep', '1.5.0'
gem 'ruby_dep', '1.5.0' unless RUBY_VERSION =~ /^3/

platforms :mri, :mingw do
gem 'pry', require: false
Expand Down
4 changes: 2 additions & 2 deletions spec/integration/integration_helper.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
class IntegrationHelper
MIN_RUBY_VERSIONS = {
'rails_5.2.4.1' => '>= 2.2.2',
'rails_6.0.2.1' => '>= 2.5.0'
'rails_5.2.5' => '>= 2.2.2',
'rails_6.1.3.1' => '>= 2.5.0'
}.freeze

def self.able_to_run?(file_path, ruby_version)
Expand Down
216 changes: 0 additions & 216 deletions spec/integration/rails_5.2.4.1/Gemfile.lock

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@

# Ignore master key for decrypting credentials and more.
/config/master.key
Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.2.4', '>= 5.2.4.1'
gem 'rails', '~> 5.2.5'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# Use Puma as the app server
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
require 'git'
require_relative 'integration_helper'

describe 'Integration testing on Rails 5.2.4.1', if: IntegrationHelper.able_to_run?(__FILE__, RUBY_VERSION) do
::RAILS_5_2_APP_NAME = 'rails_5.2.4.1'.freeze
describe 'Integration testing on Rails 5.2.5', if: IntegrationHelper.able_to_run?(__FILE__, RUBY_VERSION) do
::RAILS_5_2_APP_NAME = 'rails_5.2.5'.freeze
::RAILS_5_2_PROJECT_PATH = File.expand_path('../..', __dir__).freeze
::RAILS_5_2_APP_PATH = File.expand_path(RAILS_5_2_APP_NAME, __dir__).freeze

Expand Down
Loading