active_record_inherit_assoc 2.12.0 → 2.13.0

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: f7464b4f61c782b150c6100fcf822b5cbc7c3f0efe1c4ba19073caeb97f61c47
4
- data.tar.gz: a03bc5d15df64295725a023d897d58ed7feec22f7b64aff6b179d599d341bc3b
3
+ metadata.gz: '09866a9c2ca0fc57c2ba239e86fc5fd403142b0a7057909fe97b90ccfc7eed40'
4
+ data.tar.gz: 93b9fb74224ff8d478fa96ea74d51b159627afb6e797b063f9ea122ad49a2430
5
5
  SHA512:
6
- metadata.gz: 560b8bb3dbe7e42cb3f7ef7ebdf7a1239d2ecaca856d80f86e50fa76395ee18d86b00701707ddb5aa55433bebc0a3e3b857252f821707119182b2100a1e7c12d
7
- data.tar.gz: 9ad0c5cc7eec65fe81591b68c92d10b496632f9e8de50ab76c5dfcd20a3b02e6d2219c05429225ab16979f07a392c4421e6758dddae0ab2205b4dba9921f8b39
6
+ metadata.gz: cb16ff79acb2f0842a408189bc9614a258bcb042c49fb5dcc7bcbe71f9ba67ab106893aa05414d0a40b1a9c0463d9ac74154aec15ccff393fe3a5a755ddfdafe
7
+ data.tar.gz: 708349a6e173122fbeed770538e30197a1e15db2f572394a81b77db27b49c37e1d0b80800080fd7890ed777578889ae46fe8d223ca96442b4a7951e158a84e2f
@@ -33,10 +33,8 @@ module ActiveRecordInheritAssocPrepend
33
33
  end
34
34
  end
35
35
 
36
- if ActiveRecord::VERSION::MAJOR >= 4
37
- def skip_statement_cache?(*)
38
- super || !!reflection.options[:inherit]
39
- end
36
+ def skip_statement_cache?(*)
37
+ super || !!reflection.options[:inherit]
40
38
  end
41
39
  end
42
40
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_record_inherit_assoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.12.0
4
+ version: 2.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Osheroff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-21 00:00:00.000000000 Z
11
+ date: 2022-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: 5.0.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '6.2'
22
+ version: '7.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: 5.0.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '6.2'
32
+ version: '7.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: minitest
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -72,20 +72,6 @@ dependencies:
72
72
  - - ">="
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
- - !ruby/object:Gem::Dependency
76
- name: rails
77
- requirement: !ruby/object:Gem::Requirement
78
- requirements:
79
- - - ">="
80
- - !ruby/object:Gem::Version
81
- version: '0'
82
- type: :development
83
- prerelease: false
84
- version_requirements: !ruby/object:Gem::Requirement
85
- requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- version: '0'
89
75
  - !ruby/object:Gem::Dependency
90
76
  name: bump
91
77
  requirement: !ruby/object:Gem::Requirement
@@ -155,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
141
  - !ruby/object:Gem::Version
156
142
  version: '0'
157
143
  requirements: []
158
- rubygems_version: 3.1.6
144
+ rubygems_version: 3.3.7
159
145
  signing_key:
160
146
  specification_version: 4
161
147
  summary: Attribute inheritance for AR associations