From efa901f7fe411526c4236a8beff372a8c7f8b059 Mon Sep 17 00:00:00 2001 From: Mansoor Khan Date: Mon, 19 Aug 2024 18:32:42 +0530 Subject: [PATCH] Support Rails 7.2 (#170) * Update railties dependency to support Rails 7.2 * don't need to check ruby 2.7/3.0 for rails version that supports new ones * add ruby 3.3 --------- Co-authored-by: Mansoor Khan Co-authored-by: Mathieu Jobin <99191+mathieujobin@users.noreply.github.com> --- .github/workflows/build.yml | 4 ++-- CHANGELOG.md | 4 ++++ angular-rails-templates.gemspec | 2 +- gemfiles/rails_7.2.gemfile | 10 ++++++++++ lib/angular-rails-templates/version.rb | 2 +- 5 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 gemfiles/rails_7.2.gemfile diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 896fb61..7c3c5d2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,15 +16,15 @@ jobs: fail-fast: false matrix: ruby: - - '2.7' - - '3.0' - '3.1' - '3.2' + - '3.3' gemfile: - rails_6.0 - 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