modis 4.3.1 → 4.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4490e45322b9ae24bb78a01190616971ff18fd0ee14030493a2cb76f1496d8ac
4
- data.tar.gz: 135acda908b954b448aff439a4fd6663f06297da29b7bc8ce936c2f153696e05
3
+ metadata.gz: bd66702e695b7d99aa4687b5112f11182228c746109da11e993ababfa5eb62d0
4
+ data.tar.gz: 7999704909f7ad4bfa8365d3107fe2e9f4446070545898bc53d6939c0f733526
5
5
  SHA512:
6
- metadata.gz: 656b9746bb1381ae3eee2cec837e3a1adebcd505eea7cb3289f660d8bfa17371e4defabb567898000b4e1a5a49775205deff1081a00299422e125360a3a186b2
7
- data.tar.gz: 49c2d453ca3079306ee51fc9d97bda1330d10871a205a57b22ca70260dc746b8d8c589fc66750bb09b8af7aa6421faf8fa1e3fb79ae2035411c32033fd328bb3
6
+ metadata.gz: fc275ca88973e5b553125a3b0cd7f4aa048e4627d4b6ba2f8ebba9867910e0f7acd004d1084b8ad93dbe9bbb836c111615a0cd8e0bbd523c323ee8098c1023ce
7
+ data.tar.gz: 37848dacc6eb044dbf04af650111916876f0c13c74f09cd8793cd34a52b5121f8504283357944175c3cfb4c4105d0bec1212649ecef3a87c76d9c3d646885d19
@@ -28,9 +28,9 @@ jobs:
28
28
  strategy:
29
29
  fail-fast: false
30
30
  matrix:
31
- gemfile: ['rails_5.2', 'rails_6.0', 'rails_6.1', 'rails_7.0']
31
+ gemfile: ['rails_5.2', 'rails_6.0', 'rails_6.1', 'rails_7.0', 'rails_7.1', 'rails_7.2']
32
32
 
33
- ruby: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1']
33
+ ruby: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
34
34
 
35
35
  exclude:
36
36
  # Rails 5.2 requires Ruby < 3.0
@@ -39,6 +39,10 @@ jobs:
39
39
  gemfile: 'rails_5.2'
40
40
  - ruby: '3.1'
41
41
  gemfile: 'rails_5.2'
42
+ - ruby: '3.2'
43
+ gemfile: 'rails_5.2'
44
+ - ruby: '3.3'
45
+ gemfile: 'rails_5.2'
42
46
  # Rails >= 6 requires Ruby >= 2.5
43
47
  - ruby: '2.4'
44
48
  gemfile: 'rails_6.0'
@@ -51,6 +55,22 @@ jobs:
51
55
  gemfile: 'rails_7.0'
52
56
  - ruby: '2.6'
53
57
  gemfile: 'rails_7.0'
58
+ - ruby: '2.4'
59
+ gemfile: 'rails_7.1'
60
+ - ruby: '2.5'
61
+ gemfile: 'rails_7.1'
62
+ - ruby: '2.6'
63
+ gemfile: 'rails_7.1'
64
+ - ruby: '2.4'
65
+ gemfile: 'rails_7.2'
66
+ - ruby: '2.5'
67
+ gemfile: 'rails_7.2'
68
+ - ruby: '2.6'
69
+ gemfile: 'rails_7.2'
70
+ - ruby: '2.7'
71
+ gemfile: 'rails_7.2'
72
+ - ruby: '3.0'
73
+ gemfile: 'rails_7.2'
54
74
 
55
75
  env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
56
76
  BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
@@ -66,3 +86,15 @@ jobs:
66
86
 
67
87
  - name: Run tests
68
88
  run: bundle exec rake
89
+
90
+ tests:
91
+ runs-on: ubuntu-latest
92
+ needs: test
93
+ if: always()
94
+ steps:
95
+ - name: All tests ok
96
+ if: ${{ !(contains(needs.*.result, 'failure')) }}
97
+ run: exit 0
98
+ - name: Some tests failed
99
+ if: ${{ contains(needs.*.result, 'failure') }}
100
+ run: exit 1
@@ -1,3 +1,3 @@
1
1
  user=rpush
2
2
  project=modis
3
- future-release=v4.3.1
3
+ future-release=v4.3.2
data/Appraisals CHANGED
@@ -19,3 +19,13 @@ appraise 'rails-7.0' do
19
19
  gem 'activemodel', '~> 7.0.0'
20
20
  gem 'activesupport', '~> 7.0.0'
21
21
  end
22
+
23
+ appraise 'rails-7.1' do
24
+ gem 'activemodel', '~> 7.1.0'
25
+ gem 'activesupport', '~> 7.1.0'
26
+ end
27
+
28
+ appraise 'rails-7.2' do
29
+ gem 'activemodel', '~> 7.2.0'
30
+ gem 'activesupport', '~> 7.2.0'
31
+ end
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Changelog
2
2
 
3
+ ## [v4.3.2](https://github.com/rpush/modis/tree/v4.3.2) (2024-09-06)
4
+
5
+ [Full Changelog](https://github.com/rpush/modis/compare/v4.3.1...v4.3.2)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - Test on Rails 7.2 [\#54](https://github.com/rpush/modis/pull/54) ([benlangfeld](https://github.com/benlangfeld))
10
+ - Test on new Ruby/Rails versions [\#52](https://github.com/rpush/modis/pull/52) ([benlangfeld](https://github.com/benlangfeld))
11
+
3
12
  ## [v4.3.1](https://github.com/rpush/modis/tree/v4.3.1) (2024-08-01)
4
13
 
5
14
  [Full Changelog](https://github.com/rpush/modis/compare/v4.3.0...v4.3.1)
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- modis (4.3.1)
4
+ modis (4.3.2)
5
5
  activemodel (>= 5.2)
6
6
  activesupport (>= 5.2)
7
7
  connection_pool (>= 2)
@@ -94,7 +94,7 @@ GEM
94
94
  public_suffix (5.0.1)
95
95
  rainbow (3.0.0)
96
96
  rake (13.0.1)
97
- redis (5.2.0)
97
+ redis (5.3.0)
98
98
  redis-client (>= 0.22.0)
99
99
  redis-client (0.22.2)
100
100
  connection_pool
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activemodel", "~> 7.1.0"
6
+ gem "activesupport", "~> 7.1.0"
7
+
8
+ gemspec path: "../"
@@ -0,0 +1,8 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "activemodel", "~> 7.2.0"
6
+ gem "activesupport", "~> 7.2.0"
7
+
8
+ gemspec path: "../"
data/lib/modis/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Modis
4
- VERSION = '4.3.1'
4
+ VERSION = '4.3.2'
5
5
  end
@@ -277,7 +277,7 @@ describe Modis::Persistence do
277
277
  end
278
278
 
279
279
  describe 'update_attributes!' do
280
- around(:each) { |example| ActiveSupport::Deprecation.silence { example.run } }
280
+ around(:each) { |example| ActiveSupport::Deprecation.new.silence { example.run } }
281
281
 
282
282
  it 'updates the given attributes' do
283
283
  model.update_attributes!(name: 'Derp', age: 29)
@@ -331,7 +331,7 @@ describe Modis::Persistence do
331
331
  end
332
332
 
333
333
  describe 'update_attributes' do
334
- around(:each) { |example| ActiveSupport::Deprecation.silence { example.run } }
334
+ around(:each) { |example| ActiveSupport::Deprecation.new.silence { example.run } }
335
335
 
336
336
  it 'updates the given attributes' do
337
337
  model.update_attributes(name: 'Derp', age: 29)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modis
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.1
4
+ version: 4.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ian Leitch
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-01 00:00:00.000000000 Z
11
+ date: 2024-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -233,6 +233,8 @@ files:
233
233
  - gemfiles/rails_6.0.gemfile
234
234
  - gemfiles/rails_6.1.gemfile
235
235
  - gemfiles/rails_7.0.gemfile
236
+ - gemfiles/rails_7.1.gemfile
237
+ - gemfiles/rails_7.2.gemfile
236
238
  - lib/modis.rb
237
239
  - lib/modis/attribute.rb
238
240
  - lib/modis/configuration.rb