Skip to content

Commit 27a2b4f

Browse files
author
adi-herwana-nus
committed
chore: add configurations for rails 7.2, ruby {3.2, 3.3}
1 parent 789e8fe commit 27a2b4f

File tree

6 files changed

+16
-26
lines changed

6 files changed

+16
-26
lines changed

.github/workflows/ruby.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ on:
1616
- master
1717
schedule:
1818
- cron: '0 0 * * 0'
19+
workflow_dispatch:
1920

2021
permissions:
2122
contents: read
@@ -25,12 +26,15 @@ jobs:
2526
runs-on: ubuntu-latest
2627
strategy:
2728
matrix:
28-
ruby-version: ['3.0', '3.1', '3.2']
29-
activerecord: ['6.0', '6.1', '7.0', '7.1']
29+
ruby-version: ['3.0', '3.1', '3.2', '3.3']
30+
activerecord: ['7.0', '7.1', '7.2']
31+
exclude:
32+
- ruby-version: '3.0'
33+
activerecord: '7.2'
3034
env:
3135
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails_${{ matrix.activerecord }}.gemfile
3236
steps:
33-
- uses: actions/checkout@v3
37+
- uses: actions/checkout@v4
3438
- name: Set up Ruby
3539
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
3640
# change this to (see https://github.com/ruby/setup-ruby#versioning):

Appraisals

+5-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
appraise "rails-6.0" do
2-
gem 'rails', '6.0.6.1'
3-
gem 'rspec-rails', '~> 5'
4-
end
5-
6-
appraise "rails-6.1" do
7-
gem 'rails', '~> 6.1'
8-
gem 'rspec-rails', '>= 6'
9-
end
10-
111
appraise "rails-7.0" do
122
gem 'rails', '7.0.8.4'
133
gem 'rspec-rails', '>= 6'
@@ -17,3 +7,8 @@ appraise "rails-7.1" do
177
gem 'rails', '~> 7.1'
188
gem 'rspec-rails', '>= 6'
199
end
10+
11+
appraise "rails-7.2" do
12+
gem 'rails', '~> 7.2'
13+
gem 'rspec-rails', '>= 6'
14+
end

gemfiles/rails_6.0.gemfile

-9
This file was deleted.

gemfiles/rails_6.1.gemfile renamed to gemfiles/rails_7.2.gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
source "https://rubygems.org"
44

55
gem "coveralls_reborn", require: false
6-
gem "rails", "~> 6.1"
6+
gem "rails", "~> 7.2"
77
gem "rspec-rails", ">= 6"
88

99
gemspec path: "../"

lib/settings_on_rails/version.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module SettingsOnRails
2-
VERSION = '0.4.0'
2+
VERSION = '0.4.1'
33
end

settings_on_rails.gemspec

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require 'settings_on_rails/version'
66
Gem::Specification.new do |spec|
77
spec.name = 'settings_on_rails'
88
spec.version = SettingsOnRails::VERSION
9-
spec.authors = ['Bivan Alzacky Harmanto']
9+
spec.authors = ['Adi Suryanata Herwana', 'Allen Wang Qiang', 'Bivan Alzacky Harmanto']
1010
spec.email = ['[email protected]']
1111

1212
spec.summary = %q{Model specific Hash Preferences/Settings for Rails.}
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
2020
spec.require_paths = ["lib"]
2121

2222
spec.required_ruby_version = '>= 3'
23-
spec.add_dependency 'rails', '>= 6'
23+
spec.add_dependency 'rails', '>= 7'
2424

2525
spec.add_development_dependency 'sqlite3', '~> 1.7'
2626
spec.add_development_dependency 'bundler', '>= 1.6'

0 commit comments

Comments
 (0)