n1_loader 1.7.3 → 1.7.4

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: 69bd23d2b22a8c7fccab4ca436c23079961fe20d5eb9eb5c9d5f9d6e9cfe6ab2
4
- data.tar.gz: 8c7d60b0cb94207339ea697dc977d9669a5af9931b745bce889257535aaed109
3
+ metadata.gz: 6a80439f77077004912f1e3bdcd9d7352691d92da0350e474e8286a6deb0f3f5
4
+ data.tar.gz: 414c47adbfd1cbff273085b7c1728a7db40eeb5c17e578d131ccc1f0a8cd2899
5
5
  SHA512:
6
- metadata.gz: 340851e05310b0cfb05c9b8acd412d4bb1d06747e61e311008bd217bfead1aef6cc123bd3ca333a6bca025d0a367b2b0b4f589899438455cd9702ac6d79012c8
7
- data.tar.gz: bdf43c35be906b011170d053ed050a60b7491087e10afde229510a10293df1d64e32a2a04d8c304611ae8a417c05568f7deda51a91b81b68820390a47dd824e7
6
+ metadata.gz: 5d0bf3469584e36dffc65a36960cf8190272f71d71a91c1e8ab8bda04ebce1525f09061f46f395d9b91d88f950b745cee37be3758d9ef5d23ea936d27419fc3b
7
+ data.tar.gz: a2c718ab66fb8055261d31ef0424f9739493636e081ed0301bc92a7d251bb9a53284c714857740f5ab81b892c71e9748a5c99079c90a5036bd88fcc1e279dc5d
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  N1Loader::Loader.define_method :preloaded_records do
4
- @preloaded_records ||= loaded.values
4
+ @preloaded_records ||= loaded.values.flatten
5
5
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module N1Loader
4
- VERSION = "1.7.3"
4
+ VERSION = "1.7.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: n1_loader
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.3
4
+ version: 1.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evgeniy Demin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-04 00:00:00.000000000 Z
11
+ date: 2023-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -189,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
189
189
  - !ruby/object:Gem::Version
190
190
  version: '0'
191
191
  requirements: []
192
- rubygems_version: 3.2.33
192
+ rubygems_version: 3.4.21
193
193
  signing_key:
194
194
  specification_version: 4
195
195
  summary: Loader to solve N+1 issue for good.