Skip to content

Commit

Permalink
Add support for Rails 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
javierav committed Oct 1, 2024
1 parent a22a0ec commit 984c2c6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- rails-8
pull_request:
schedule:
- cron: '15 3 * * 1'
Expand All @@ -28,7 +29,7 @@ jobs:
run: |
bundle exec rubocop Gemfile \
gemfiles/Gemfile.rails-6.1 gemfiles/Gemfile.rails-7.0 gemfiles/Gemfile.rails-7.1 gemfiles/Gemfile.rails-7.2 \
lib/ test/ Rakefile
gemfiles/Gemfile.rails-8.0 lib/ test/ Rakefile
test:
name: "Tests: Ruby ${{ matrix.ruby }} / Rails ${{ matrix.rails }}"
Expand Down Expand Up @@ -67,3 +68,5 @@ jobs:
- { 'rails': '7.2', 'ruby': '3.1.6' }
- { 'rails': '7.2', 'ruby': '3.2.5' }
- { 'rails': '7.2', 'ruby': '3.3.5' }
- { 'rails': '8.0', 'ruby': '3.2.5' }
- { 'rails': '8.0', 'ruby': '3.3.5' }
7 changes: 7 additions & 0 deletions gemfiles/Gemfile.rails-8.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# frozen_string_literal: true

source 'https://rubygems.org'

gem 'rails', '~> 8.0.0.beta1'

gemspec path: '../'
2 changes: 1 addition & 1 deletion page_title_helper.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Gem::Specification.new do |s|

s.license = 'MIT'

s.add_dependency 'rails', '>= 6.1.0', '< 7.3'
s.add_dependency 'rails', '>= 6.1.0', '< 8.1'

s.add_development_dependency 'rake', '~> 13.2.1'
s.add_development_dependency 'rubocop', '~> 1.65.1'
Expand Down

0 comments on commit 984c2c6

Please sign in to comment.