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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c318927cb52d775d3a85e91fb24b7102e9fcb8004ced72fc1482ec0c7c4d1269
4
- data.tar.gz: 8ceb003e63266df93da708925b261fab06334758366ce68b361609c2dbd07682
3
+ metadata.gz: 5ef8cbc0a242dd2fa52cef2fd1d717038958ba790dff71ac98342607818c5f2b
4
+ data.tar.gz: 5577042748209210f9a3572c3ddca024b33b5057fe8802b3aaa2868fb5c30b89
5
5
  SHA512:
6
- metadata.gz: 9d52b4b8293a9e0c2eaa47bf21b603d1066d7b18b738e724a3b16b20188a56326bd4a52d9397481ef81fcbec368e1929ff4679fe7cfb47ba3d704421eda2ad83
7
- data.tar.gz: 716b102784e7c22119320d7cc5ae513dcb8f2097eb5dba31e50fbbe64940f96324eff7ed2410eea6171a899880b4fc81683d2b43233607ea12740693b8358b69
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ArLazyPreload
4
- VERSION = "1.1.0"
4
+ VERSION = "1.1.1"
5
5
  end
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.0
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-30 00:00:00.000000000 Z
11
+ date: 2022-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails