active_record_inherit_assoc 2.12.0 → 2.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_record_inherit_assoc.rb +3 -5
- metadata +9 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 033d47940e3df15f886ad8ecfd7b14b15b7680ad7ec7ef27f34ce7147039c909
|
4
|
+
data.tar.gz: d10c8490134d13f2dc76823101dc676d4801b3986a405f09879585e1361b3640
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6245bc447cd008fff5df7258a6fa9ba43d43fad3562b411a804ad6b4c01042e6b37d9f5b503ab195d1ae5b2d290ea11ce3eae908dc4e41c5a61304612c15d8bd
|
7
|
+
data.tar.gz: c59fbffe50ce299027b9f94b55c7983fcb25fba8a3fe0af45e7e83117a7ac43a6a7f75c920e1120be81f34eb0ff4605251565c885e4c08b88f04132c823ce70a
|
@@ -33,10 +33,8 @@ module ActiveRecordInheritAssocPrepend
|
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
36
|
-
|
37
|
-
|
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
|
|
@@ -62,7 +60,7 @@ module ActiveRecordInheritPreloadAssocPrepend
|
|
62
60
|
end
|
63
61
|
end
|
64
62
|
|
65
|
-
def
|
63
|
+
def build_scope
|
66
64
|
prescope = super
|
67
65
|
|
68
66
|
if inherit = reflection.options[:inherit]
|
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.
|
4
|
+
version: 2.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Osheroff
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-02-28 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: '
|
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: '
|
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
|
@@ -128,7 +114,7 @@ dependencies:
|
|
128
114
|
- - ">="
|
129
115
|
- !ruby/object:Gem::Version
|
130
116
|
version: '0'
|
131
|
-
description:
|
117
|
+
description:
|
132
118
|
email:
|
133
119
|
- ben@gimbo.net
|
134
120
|
executables: []
|
@@ -140,7 +126,7 @@ homepage: https://github.com/zendesk/active_record_inherit_assoc
|
|
140
126
|
licenses:
|
141
127
|
- Apache License Version 2.0
|
142
128
|
metadata: {}
|
143
|
-
post_install_message:
|
129
|
+
post_install_message:
|
144
130
|
rdoc_options: []
|
145
131
|
require_paths:
|
146
132
|
- lib
|
@@ -155,8 +141,8 @@ 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
|
159
|
-
signing_key:
|
144
|
+
rubygems_version: 3.0.3.1
|
145
|
+
signing_key:
|
160
146
|
specification_version: 4
|
161
147
|
summary: Attribute inheritance for AR associations
|
162
148
|
test_files: []
|