Skip to content

Commit

Permalink
chore: add configurations for rails 7.2, ruby {3.2, 3.3}
Browse files Browse the repository at this point in the history
- migrated pipeline from 'coveralls' to 'coveralls_reborn'
  • Loading branch information
adi-herwana-nus committed Aug 28, 2024
1 parent 3e9a184 commit f68304e
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 4 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
branches: ['master']
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:

permissions:
contents: read
Expand All @@ -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:
Expand Down
5 changes: 5 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions activerecord-userstamp.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ['[email protected]']

s.summary = 'Adds magic creator and updater attributes to your ActiveRecord models.'
Expand All @@ -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"
Expand Down
8 changes: 8 additions & 0 deletions gemfiles/rails_7.2.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file was generated by Appraisal

source "https://rubygems.org"

gem "rails", "~> 7.2"
gem "rspec-rails", ">= 6"

gemspec path: "../"

0 comments on commit f68304e

Please sign in to comment.