Skip to content

Commit b9a3b85

Browse files
committed
Drop support for Ruby version 2.5 and earlier
capybara-webmock now depends on selenium-webdriver 4.0, which requires at least Ruby 2.6.
1 parent 63d790a commit b9a3b85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
matrix:
1010
os: [ubuntu-latest, macos-latest]
1111
# Due to https://github.com/actions/runner/issues/849, we have to use quotes for '3.0'
12-
ruby: [2.5, 2.6, 2.7, '3.0', head]
12+
ruby: [2.6, 2.7, '3.0', head]
1313
runs-on: ${{ matrix.os }}
1414
steps:
1515
- uses: actions/checkout@v2

capybara-webmock.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
1414
spec.homepage = 'https://github.com/hashrocket/capybara-webmock'
1515
spec.license = 'MIT'
1616

17-
spec.required_ruby_version = ">= 2.0.0"
17+
spec.required_ruby_version = ">= 2.6.0"
1818

1919
spec.files = `git ls-files -z`.split("\x0").reject do |f|
2020
f.match(%r{^(test|spec|features)/})

0 commit comments

Comments
 (0)