From 857cfc7e4ad6f67d4edc44d682431baa71c5487a Mon Sep 17 00:00:00 2001 From: Jade Ornelas Date: Wed, 19 Nov 2025 08:41:58 -0800 Subject: [PATCH 1/2] Rails 8.1 support --- .github/workflows/build.yml | 3 +++ angular-rails-templates.gemspec | 2 +- gemfiles/rails_8.1.gemfile | 10 ++++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 gemfiles/rails_8.1.gemfile diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d74b435..8425561 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,9 +26,12 @@ jobs: - rails_7.1 - rails_7.2 - rails_8.0 + - rails_8.1 exclude: - gemfile: rails_8.0 ruby: '3.1' + - gemfile: rails_8.1 + ruby: '3.1' include: - gemfile: rails_5.0 ruby: '2.6' diff --git a/angular-rails-templates.gemspec b/angular-rails-templates.gemspec index cd8de3e..1452032 100644 --- a/angular-rails-templates.gemspec +++ b/angular-rails-templates.gemspec @@ -16,7 +16,7 @@ Gem::Specification.new do |s| s.require_paths = ["lib"] - s.add_dependency "railties", ">= 5.0", "< 8.1" + s.add_dependency "railties", ">= 5.0", "< 8.2" s.add_dependency "sprockets", ">= 3.0", '< 5' s.add_dependency "sprockets-rails" s.add_dependency "tilt" diff --git a/gemfiles/rails_8.1.gemfile b/gemfiles/rails_8.1.gemfile new file mode 100644 index 0000000..56b28d7 --- /dev/null +++ b/gemfiles/rails_8.1.gemfile @@ -0,0 +1,10 @@ +source "https://rubygems.org" + +gem "rails", "~> 8.1.0" +gem "slim-rails" +gem "haml" +gem "kramdown" + +gem 'coveralls', require: false + +gemspec :path => ".././" From 7dce531d2dafa18f94e82136c18fbe080ab4c09f Mon Sep 17 00:00:00 2001 From: Peter Vernigorov Date: Thu, 20 Nov 2025 14:49:19 +0100 Subject: [PATCH 2/2] use latest ubuntu --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8425561..80a480e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ on: [push, pull_request] jobs: test: - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest strategy: fail-fast: false matrix: