ar_lazy_preload 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ar_lazy_preload/active_record/base.rb +2 -2
- data/lib/ar_lazy_preload/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ef8cbc0a242dd2fa52cef2fd1d717038958ba790dff71ac98342607818c5f2b
|
4
|
+
data.tar.gz: 5577042748209210f9a3572c3ddca024b33b5057fe8802b3aaa2868fb5c30b89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a4370f4a24e804dd9a12475df32153c1e1d507a311252a080565d1576a37c0b355f5e74477ae67bdae813ae5a8cda46956b914dfb8654710a2e83a8c84b2f13
|
7
|
+
data.tar.gz: 79d3318b88f63b0d5ddfb1530055a1846436fdb82c83ed4d44e006563381150dbe5755ed66134cbdf76c6c5f771088743774ce8528923b8b4a97bf8669134139
|
@@ -13,8 +13,8 @@ module ArLazyPreload
|
|
13
13
|
|
14
14
|
delegate :try_preload_lazily, to: :lazy_preload_context, allow_nil: true
|
15
15
|
|
16
|
-
def reload
|
17
|
-
super.tap { try_setup_auto_preload_context }
|
16
|
+
def reload(options = nil)
|
17
|
+
super(options).tap { try_setup_auto_preload_context }
|
18
18
|
end
|
19
19
|
|
20
20
|
def skip_preload
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ar_lazy_preload
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DmitryTsepelev
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|