n1_loader 1.6.2 → 1.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rubocop.yml +0 -1
- data/.github/workflows/tests.yml +3 -1
- data/CHANGELOG.md +4 -0
- data/lib/n1_loader/core/loader.rb +1 -1
- data/lib/n1_loader/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: c874b380de3baf4e2c0631f223261604ecb7108a4320797d746a73a90af01db5
|
4
|
+
data.tar.gz: c7e98c2c4b07afbb45081b9435f9b544126378f585a23dc7419f320764af0908
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 071005e2ebc91c4884a2417d02162d795bea99813ea20b556d2b61f18d32e66ae3657f250af84ea67c32433c1d5c6697a2db9a20461d7ac0f73ff86e5b429d94
|
7
|
+
data.tar.gz: 001e24c4c00ffd207229dd2721baa4424ee90bd7591d9b3ea2092d823e5bec403f51ca80d6efad7b2ff8db3bc57bb955bd04705dd97f704fc64494dffe1f8321
|
data/.github/workflows/tests.yml
CHANGED
@@ -38,6 +38,9 @@ jobs:
|
|
38
38
|
- activerecord-gemfile: 'ar_7_latest'
|
39
39
|
ar_lazy_preload-gemfile: 'ar_lazy_preload_0.6.1'
|
40
40
|
|
41
|
+
- activerecord-gemfile: 'ar_5_latest'
|
42
|
+
ar_lazy_preload-gemfile: 'ar_lazy_preload_master'
|
43
|
+
|
41
44
|
env:
|
42
45
|
ACTIVERECORD_GEMFILE: ${{ matrix.activerecord-gemfile }}
|
43
46
|
AR_LAZY_PRELOAD_GEMFILE: ${{ matrix.ar_lazy_preload-gemfile }}
|
@@ -49,7 +52,6 @@ jobs:
|
|
49
52
|
uses: ruby/setup-ruby@v1
|
50
53
|
with:
|
51
54
|
ruby-version: ${{ matrix.ruby-version }}
|
52
|
-
bundler-cache: true
|
53
55
|
|
54
56
|
- name: Install dependencies
|
55
57
|
run: bundle install
|
data/CHANGELOG.md
CHANGED
@@ -110,7 +110,7 @@ module N1Loader
|
|
110
110
|
|
111
111
|
@loaded = {}.compare_by_identity
|
112
112
|
|
113
|
-
if elements.size == 1
|
113
|
+
if respond_to?(:single) && elements.size == 1
|
114
114
|
fulfill(elements.first, single(elements.first))
|
115
115
|
elsif elements.any?
|
116
116
|
perform(elements)
|
data/lib/n1_loader/version.rb
CHANGED
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.6.
|
4
|
+
version: 1.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evgeniy Demin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|