Skip to content

Commit

Permalink
Merge branch 'master' into 20240906-attribute-aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
benlangfeld authored Sep 9, 2024
2 parents b1f8c79 + a6cfc89 commit fa7dcee
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 7 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
strategy:
fail-fast: false
matrix:
gemfile: ['rails_5.2', 'rails_6.0', 'rails_6.1', 'rails_7.0', 'rails_7.1']
gemfile: ['rails_5.2', 'rails_6.0', 'rails_6.1', 'rails_7.0', 'rails_7.1', 'rails_7.2']

ruby: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3']

Expand Down Expand Up @@ -61,6 +61,16 @@ jobs:
gemfile: 'rails_7.1'
- ruby: '2.6'
gemfile: 'rails_7.1'
- ruby: '2.4'
gemfile: 'rails_7.2'
- ruby: '2.5'
gemfile: 'rails_7.2'
- ruby: '2.6'
gemfile: 'rails_7.2'
- ruby: '2.7'
gemfile: 'rails_7.2'
- ruby: '3.0'
gemfile: 'rails_7.2'

env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
Expand Down
2 changes: 1 addition & 1 deletion .github_changelog_generator
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
user=rpush
project=modis
future-release=v4.3.1
future-release=v4.3.2
5 changes: 5 additions & 0 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ appraise 'rails-7.1' do
gem 'activemodel', '~> 7.1.0', '!= 7.1.4' # https://github.com/rails/rails/issues/52820
gem 'activesupport', '~> 7.1.0', '!= 7.1.4' # https://github.com/rails/rails/issues/52820
end

appraise 'rails-7.2' do
gem 'activemodel', '~> 7.2.0'
gem 'activesupport', '~> 7.2.0'
end
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## [v4.3.2](https://github.com/rpush/modis/tree/v4.3.2) (2024-09-06)

[Full Changelog](https://github.com/rpush/modis/compare/v4.3.1...v4.3.2)

**Merged pull requests:**

- Test on Rails 7.2 [\#54](https://github.com/rpush/modis/pull/54) ([benlangfeld](https://github.com/benlangfeld))
- Test on new Ruby/Rails versions [\#52](https://github.com/rpush/modis/pull/52) ([benlangfeld](https://github.com/benlangfeld))

## [v4.3.1](https://github.com/rpush/modis/tree/v4.3.1) (2024-08-01)

[Full Changelog](https://github.com/rpush/modis/compare/v4.3.0...v4.3.1)
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
modis (4.3.1)
modis (4.3.2)
activemodel (>= 5.2)
activesupport (>= 5.2)
connection_pool (>= 2)
Expand Down Expand Up @@ -94,7 +94,7 @@ GEM
public_suffix (5.0.1)
rainbow (3.0.0)
rake (13.0.1)
redis (5.2.0)
redis (5.3.0)
redis-client (>= 0.22.0)
redis-client (0.22.2)
connection_pool
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 "activemodel", "~> 7.2.0"
gem "activesupport", "~> 7.2.0"

gemspec path: "../"
2 changes: 1 addition & 1 deletion lib/modis/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Modis
VERSION = '4.3.1'
VERSION = '4.3.2'
end
4 changes: 2 additions & 2 deletions spec/persistence_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ class MockModelNoAllIndex < MockModel
end

describe 'update_attributes!' do
around(:each) { |example| ActiveSupport::Deprecation.silence { example.run } }
around(:each) { |example| ActiveSupport::Deprecation.new.silence { example.run } }

it 'updates the given attributes' do
model.update_attributes!(name: 'Derp', age: 29)
Expand Down Expand Up @@ -331,7 +331,7 @@ class MockModelNoAllIndex < MockModel
end

describe 'update_attributes' do
around(:each) { |example| ActiveSupport::Deprecation.silence { example.run } }
around(:each) { |example| ActiveSupport::Deprecation.new.silence { example.run } }

it 'updates the given attributes' do
model.update_attributes(name: 'Derp', age: 29)
Expand Down

0 comments on commit fa7dcee

Please sign in to comment.