Skip to content

Commit

Permalink
Remove ruby 2.4.5 support
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasHae authored Aug 19, 2021
1 parent 0d3af62 commit 92eb62b
Show file tree
Hide file tree
Showing 61 changed files with 5 additions and 1,049 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,9 @@ jobs:
fail-fast: false
matrix:
include:
# Test projects
- ruby: 2.4.5
gemfile: tests/rails-4_capybara-2/Gemfile
- ruby: 3.0.0
gemfile: tests/rails-6_capybara-3/Gemfile
# Used to run rspec and integration tests for spreewald binary:
- ruby: 2.4.5
gemfile: Gemfile.ruby245
- ruby: 2.6.6
gemfile: Gemfile.ruby266
- ruby: 3.0.0
Expand Down
10 changes: 0 additions & 10 deletions Gemfile.ruby245

This file was deleted.

73 changes: 0 additions & 73 deletions Gemfile.ruby245.lock

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Or install it yourself as:

## Supported versions

Spreewald is currently tested against Ruby 2.4.5 with Rails 4 and Capybara 2 and Ruby 2.6.6 with Rails 6 and Capybara 3.
Spreewald is currently tested against and Ruby 2.6.6 with Rails 6 and Capybara 3.

## Usage

Expand Down
10 changes: 1 addition & 9 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,7 @@ end

def cucumber_command(directory, ruby_version)
command = "cd #{directory} && BUNDLE_GEMFILE=Gemfile bundle exec cucumber --publish-quiet"
if Gem::Version.new(ruby_version) > Gem::Version.new('2.5')
# Modern cucumber sees pending tests as failures.
# We don't want this.
command << ' --no-strict-pending'
else
# Ruby < 2.5 means the capybara 2 Test project.
# Omit scenarios that only work with modern Capybara.
command << ' --tags "not @not-capybara-2"'
end
command << ' --no-strict-pending'
command
end

Expand Down
2 changes: 1 addition & 1 deletion lib/spreewald_support/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Spreewald
VERSION = '4.2.2'
VERSION = '4.2.3'
end
24 changes: 0 additions & 24 deletions tests/rails-4_capybara-2/Gemfile

This file was deleted.

230 changes: 0 additions & 230 deletions tests/rails-4_capybara-2/Gemfile.lock

This file was deleted.

Loading

0 comments on commit 92eb62b

Please sign in to comment.