associationist 0.1.9 → 0.2.0

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: 187820657e6aa46774e5161d105e4ae1e939d062ec389be51a9e510b5eda7aed
4
- data.tar.gz: 57b2cdc4270aaf9b75a3b52957ce272e8c4492087079c20b5771208b8a2a9fe0
3
+ metadata.gz: bbd3506c4a0c0b1c488c490432f4c247ec5906b00ab41ccb0b45b83faad36344
4
+ data.tar.gz: 90f64a090cd9e3dad4db7dd270ad6bd4c743644e65515e7373dc0879617ea060
5
5
  SHA512:
6
- metadata.gz: 938dd23506837a38292a3ae074a72a2b40815ddae10f0f946e14e00514b8cd601baa006b4589f580406aad73ff7ed8065e0d710544ba90c3847c63e4916cf30e
7
- data.tar.gz: 830e60e54c9c865ff97c5b6d57b92270b67625093a3c28828e6d89f9abb44cbd2565080c9b8fcc3bdd967cd4e9cbce1b0307728e6ee9000844777c7af808c297
6
+ metadata.gz: a99ccc641e5ab5e551763e2294f5dc45f497fcfa328a82d0c2a43591642cfd7f1e385aa2ca5c1e41bdc54fab7a2886fe8f0a2cb854ccce177d4da422f69a3d49
7
+ data.tar.gz: 97d4a871f91aade776e983fc6b09882f902dae9279d15cfdb2b55f63ae9aef4fc6572a34bdc763892b48937fa383f6c95683e17d37fd3eb357fa85a0e6db4e1f
@@ -39,7 +39,7 @@ module Associationist
39
39
  end
40
40
 
41
41
  def preloaded_records
42
- @owners.flat_map { |owner| owner.association(@reflection.name).target }
42
+ @owners.flat_map { |owner| owner.association(@reflection.name).target }.compact
43
43
  end
44
44
 
45
45
  # handle >=7.0
@@ -1,3 +1,3 @@
1
1
  module Associationist
2
- VERSION = '0.1.9'
2
+ VERSION = '0.2.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: associationist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - onyxblade
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-19 00:00:00.000000000 Z
11
+ date: 2023-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  requirements: []
126
- rubygems_version: 3.2.15
126
+ rubygems_version: 3.2.33
127
127
  signing_key:
128
128
  specification_version: 4
129
129
  summary: ''