Skip to content

Commit

Permalink
Merge pull request #234 from bokmann/233-rails-8
Browse files Browse the repository at this point in the history
Update Build Matrix and Add Rails 8 Support
  • Loading branch information
rmm5t authored Nov 10, 2024
2 parents 360d931 + 50f961d commit c82f80b
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 6 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ["2.7", "3.0"]
ruby: ["3.2", "3.3"]
bundler: [default]
gemfile:
- rails-6.0
- rails-6.1
- rails-7.0
- rails-7.1
- rails-7.2
- rails-8.0
include:
- { ruby: "2.5", gemfile: "rails-5.2", bundler: "default" }
- { ruby: "2.6", gemfile: "rails-5.2", bundler: "default" }
- { ruby: "2.7", gemfile: "rails-6.0", bundler: "default" }
- { ruby: "3.0", gemfile: "rails-6.1", bundler: "default" }
- { ruby: "3.1", gemfile: "rails-7.0", bundler: "default" }

env:
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ source 'https://rubygems.org'
gemspec

group :development do
gem "guard", ">= 2.9"
gem "guard", "~> 2.9"
gem "guard-minitest"
end
2 changes: 1 addition & 1 deletion font-awesome-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Gem::Specification.new do |gem|
gem.require_paths = ["lib"]
gem.version = FontAwesome::Rails::VERSION

gem.add_dependency "railties", ">= 3.2", "< 8.0"
gem.add_dependency "railties", ">= 3.2", "< 9.0"

gem.add_development_dependency "activesupport"
gem.add_development_dependency "sassc-rails"
Expand Down
4 changes: 4 additions & 0 deletions gemfiles/rails-7.1.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source 'https://rubygems.org'

gemspec path: "../"
gem "railties", "~> 7.1.0"
4 changes: 4 additions & 0 deletions gemfiles/rails-7.2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source 'https://rubygems.org'

gemspec path: "../"
gem "railties", "~> 7.2.0"
4 changes: 4 additions & 0 deletions gemfiles/rails-8.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source 'https://rubygems.org'

gemspec path: "../"
gem "railties", "~> 8.0.0"

0 comments on commit c82f80b

Please sign in to comment.