diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index b8674da..e18b698 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -14,6 +14,7 @@ on: branches: ['master'] schedule: - cron: '0 0 * * 0' + workflow_dispatch: permissions: contents: read @@ -23,8 +24,19 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ['3.0', '3.1'] - activerecord: ['6.0', '6.1', '7.0', '7.1'] + ruby-version: ['3.0', '3.1', '3.2', '3.3'] + activerecord: ['6.0', '6.1', '7.0', '7.1', '7.2'] + exclude: + - ruby-version: '3.2' + activerecord: '6.0' + - ruby-version: '3.2' + activerecord: '6.1' + - ruby-version: '3.3' + activerecord: '6.0' + - ruby-version: '3.3' + activerecord: '6.1' + - ruby-version: '3.0' + activerecord: '7.2' env: BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.activerecord }}.gemfile steps: diff --git a/Appraisals b/Appraisals index f3dc278..df946e7 100644 --- a/Appraisals +++ b/Appraisals @@ -17,3 +17,8 @@ appraise "rails-7.1" do gem 'rails', '~> 7.1' gem "rspec-rails", '>= 6' end + +appraise "rails-7.2" do + gem 'rails', '~> 7.2' + gem "rspec-rails", '>= 6' +end diff --git a/activerecord-userstamp.gemspec b/activerecord-userstamp.gemspec index 2f53d86..1427ee7 100644 --- a/activerecord-userstamp.gemspec +++ b/activerecord-userstamp.gemspec @@ -6,7 +6,7 @@ require 'active_record/userstamp/version' Gem::Specification.new do |s| s.name = 'activerecord-userstamp' s.version = ActiveRecord::Userstamp::VERSION - s.authors = ['Bivan Alzacky Harmanto'] + s.authors = ['Joel Low', 'Bivan Alzacky Harmanto'] s.email = ['bivan.alzacky@gmail.com'] s.summary = 'Adds magic creator and updater attributes to your ActiveRecord models.' @@ -27,7 +27,7 @@ Gem::Specification.new do |s| s.add_development_dependency 'rake' s.add_development_dependency 'rdoc' s.add_development_dependency 'simplecov' - s.add_development_dependency 'coveralls' + s.add_development_dependency 'coveralls_reborn' s.add_development_dependency 'codeclimate-test-reporter' s.add_development_dependency 'sqlite3', "~> 1.7" s.add_development_dependency "appraisal", "~> 2.1" diff --git a/gemfiles/rails_7.2.gemfile b/gemfiles/rails_7.2.gemfile new file mode 100644 index 0000000..e2c7394 --- /dev/null +++ b/gemfiles/rails_7.2.gemfile @@ -0,0 +1,8 @@ +# This file was generated by Appraisal + +source "https://rubygems.org" + +gem "rails", "~> 7.2" +gem "rspec-rails", ">= 6" + +gemspec path: "../"