Skip to content

Commit

Permalink
Support for ruby 3.0 breaks 2.6 and below
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieujobin committed Dec 16, 2022
1 parent e761b84 commit 36a411e
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 21 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/test-suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,10 @@ jobs:
ruby: '3.0'
- gemfile: rails-6.1.x
ruby: 2.7
- gemfile: rails-6.1.x
ruby: 2.6
- gemfile: rails-6.0.x
ruby: 2.7
- gemfile: rails-6.0.x
ruby: 2.6
- gemfile: rails-5.2.x
ruby: 2.6
- gemfile: rails-5.1.x
ruby: 2.5
- gemfile: rails-5.0.x
ruby: 2.5
ruby: 2.7

env:
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/Gemfile.${{ matrix.gemfile }}
Expand Down
3 changes: 2 additions & 1 deletion capybara-angular.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.7"

spec.add_dependency 'capybara', '>= 2.5.0'

spec.add_development_dependency "bundler", "> 1.17", "< 3"
spec.add_development_dependency "rails"
spec.add_development_dependency "rails", "> 5.2", "< 7.1"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec"
spec.add_development_dependency "poltergeist"
Expand Down
5 changes: 0 additions & 5 deletions gemfiles/Gemfile.rails-5.0.x

This file was deleted.

5 changes: 0 additions & 5 deletions gemfiles/Gemfile.rails-5.1.x

This file was deleted.

2 changes: 1 addition & 1 deletion lib/capybara/angular/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Capybara
module Angular
VERSION = "0.2.6"
VERSION = "0.3.0"
end
end

0 comments on commit 36a411e

Please sign in to comment.