Skip to content

Commit

Permalink
Add support for Rails 8 (#172)
Browse files Browse the repository at this point in the history
* Try out rc2 of Rails 8

* Move to Rails 8

* use released version

* use two digits

* remove third digit style

* Exclude Ruby 3.1 for Rails 8, unsupported.

---------

Co-authored-by: Mathieu Jobin <99191+mathieujobin@users.noreply.github.com>
  • Loading branch information
epugh and mathieujobin authored Dec 1, 2024
1 parent efa901f commit 551bc8e
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ jobs:
- rails_7.0
- rails_7.1
- rails_7.2
- rails_8.0
exclude:
- gemfile: rails_8.0
ruby: '3.1'
include:
- gemfile: rails_5.0
ruby: '2.6'
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

### [Unreleased]

### 1.3.0

- Support Rails 8

### 1.2.2

- Support Rails 7.2
Expand Down
2 changes: 1 addition & 1 deletion angular-rails-templates.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Gem::Specification.new do |s|

s.require_paths = ["lib"]

s.add_dependency "railties", ">= 5.0", "< 7.3"
s.add_dependency "railties", ">= 5.0", "< 8.1"
s.add_dependency "sprockets", ">= 3.0", '< 5'
s.add_dependency "sprockets-rails"
s.add_dependency "tilt"
Expand Down
10 changes: 10 additions & 0 deletions gemfiles/rails_8.0.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
source "https://rubygems.org"

gem "rails", "~> 8.0.0"
gem "slim-rails"
gem "haml"
gem "kramdown"

gem 'coveralls', require: false

gemspec :path => ".././"
2 changes: 1 addition & 1 deletion lib/angular-rails-templates/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module AngularRailsTemplates
VERSION = '1.2.2'
VERSION = '1.3.0'
end

0 comments on commit 551bc8e

Please sign in to comment.