From 7996d5315a79db4686a39f9294d8931e5ba24bbd Mon Sep 17 00:00:00 2001 From: Mansoor Khan Date: Sat, 17 Aug 2024 18:42:29 +0530 Subject: [PATCH 1/2] Update railties dependency to support Rails 7.2 --- .github/workflows/build.yml | 1 + CHANGELOG.md | 4 ++++ angular-rails-templates.gemspec | 2 +- gemfiles/rails_7.2.gemfile | 10 ++++++++++ lib/angular-rails-templates/version.rb | 2 +- 5 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 gemfiles/rails_7.2.gemfile diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 896fb61..b560445 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,6 +25,7 @@ jobs: - rails_6.1 - rails_7.0 - rails_7.1 + - rails_7.2 include: - gemfile: rails_5.0 ruby: '2.6' diff --git a/CHANGELOG.md b/CHANGELOG.md index 5aff2a2..d120e21 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ ### [Unreleased] +### 1.2.2 + +- Support Rails 7.2 + ### 1.2.1 - Support Rails 7.1 diff --git a/angular-rails-templates.gemspec b/angular-rails-templates.gemspec index 5fcdbf0..affea6a 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", "< 7.2" + s.add_dependency "railties", ">= 5.0", "< 7.3" s.add_dependency "sprockets", ">= 3.0", '< 5' s.add_dependency "sprockets-rails" s.add_dependency "tilt" diff --git a/gemfiles/rails_7.2.gemfile b/gemfiles/rails_7.2.gemfile new file mode 100644 index 0000000..a3f00f7 --- /dev/null +++ b/gemfiles/rails_7.2.gemfile @@ -0,0 +1,10 @@ +source "https://rubygems.org" + +gem "rails", "~> 7.2.0" +gem "slim-rails" +gem "haml" +gem "kramdown" + +gem 'coveralls', require: false + +gemspec :path => ".././" diff --git a/lib/angular-rails-templates/version.rb b/lib/angular-rails-templates/version.rb index 04c89a2..4eb8de4 100644 --- a/lib/angular-rails-templates/version.rb +++ b/lib/angular-rails-templates/version.rb @@ -1,3 +1,3 @@ module AngularRailsTemplates - VERSION = '1.2.1' + VERSION = '1.2.2' end From 4315a078328f31fc61821fa531c2dea860747e35 Mon Sep 17 00:00:00 2001 From: Mathieu Jobin <99191+mathieujobin@users.noreply.github.com> Date: Mon, 19 Aug 2024 22:00:52 +0900 Subject: [PATCH 2/2] don't need to check ruby 2.7/3.0 for rails version that supports new ones - add ruby 3.3 --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b560445..7c3c5d2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,10 +16,9 @@ jobs: fail-fast: false matrix: ruby: - - '2.7' - - '3.0' - '3.1' - '3.2' + - '3.3' gemfile: - rails_6.0 - rails_6.1