Skip to content

Commit

Permalink
Add support for Rails v8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
benedikt committed Nov 8, 2024
1 parent d010739 commit 68ea4ef
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,34 @@ jobs:
fail-fast: false
matrix:
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
rails: ['5.2', '6.0.0', '6.1.0', '7.0.0', '7.1.0']
rails: ['5.2', '6.0.0', '6.1.0', '7.0.0', '7.1.0', '7.2.0', '8.0.0']
exclude:
- ruby: "2.6"
rails: "7.1.0"
- ruby: "2.6"
rails: "7.0.0"
- ruby: "2.6"
rails: "7.2.0"
- ruby: "2.6"
rails: "8.0.0"
- ruby: "2.7"
rails: "7.1.0"
- ruby: "2.7"
rails: "7.2.0"
- ruby: "2.7"
rails: "8.0.0"
- ruby: "3.0"
rails: "5.2"
- ruby: "3.0"
rails: "7.2.0"
- ruby: "3.0"
rails: "8.0.0"
- ruby: "3.1"
rails: "5.2"
- ruby: "3.1"
rails: "6.0.0"
- ruby: "3.1"
rails: "8.0.0"
- ruby: "3.2"
rails: "5.2"
- ruby: "3.2"
Expand Down
2 changes: 1 addition & 1 deletion flipper-active_record.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ Gem::Specification.new do |gem|
gem.metadata = Flipper::METADATA

gem.add_dependency 'flipper', "~> #{Flipper::VERSION}"
gem.add_dependency 'activerecord', '>= 4.2', '< 8'
gem.add_dependency 'activerecord', '>= 4.2', '< 9'
end
2 changes: 1 addition & 1 deletion flipper-active_support_cache_store.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ Gem::Specification.new do |gem|
gem.metadata = Flipper::METADATA

gem.add_dependency 'flipper', "~> #{Flipper::VERSION}"
gem.add_dependency 'activesupport', '>= 4.2', '< 8'
gem.add_dependency 'activesupport', '>= 4.2', '< 9'
end
1 change: 1 addition & 0 deletions test_rails/system/test_help_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
require "capybara/cuprite"
require "flipper"
require "flipper/test_help"
require "action_controller/railtie"

require 'action_dispatch/system_testing/server'
ActionDispatch::SystemTesting::Server.silence_puma = true
Expand Down

0 comments on commit 68ea4ef

Please sign in to comment.