deep_cloneable_checked 1.0.1 → 1.1.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: ae5f15517f7b64bd368d8300ea9837609f3d6b1f8f38dde1f3981d5cc421f69c
4
- data.tar.gz: ceb59ba3f33a98bd04a452dab32395ee56cd37796b061efb93322541ebc3210e
3
+ metadata.gz: d13258c10306da772b33a465fa76ad5d4fcdefdd9dc991569238e62565844ba6
4
+ data.tar.gz: fbb2ab54ded08a430a5363bccec29465f9e958d5f58b56dfceedaf814f426f77
5
5
  SHA512:
6
- metadata.gz: 1952904ebd2460c0f7277123f73db60a40451641a011989257af0f3e053a2e4a07a6459b87792c19e6c1c363082e3519d58f8a3fba92a2e89319e8b37198adf4
7
- data.tar.gz: 4e74c7ff8b65d57445ad752581878035845ab52e377585d688485aa5e103950c0d77a7e45ffbe2b0f8188842874691805b71a6b767eaf76b0d7047748a45d798
6
+ metadata.gz: 6fa6a9df05c377ac333b4c6405bbd070ea3f06efbd8b89dae49802d32581554728ccfb4b05c29e0d1b968f53e0831d70db07c8bfd6a64ee485ef81a56c56a178
7
+ data.tar.gz: 58594c4abfbfbed02fee57db01fd291acb573d36ee3df3257226750c70dc3c039235690601ce65d29611b477299e0a40f6bddd1e7c4928b69f18aa05bbedcdbe
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- deep_cloneable_checked (1.0.0)
4
+ deep_cloneable_checked (1.0.1)
5
5
  deep_cloneable (~> 3.2.0)
6
6
 
7
7
  GEM
@@ -16,8 +16,9 @@ module DeepCloneableChecked
16
16
  excludes = DeepCloneableChecked.options_to_hash(excludes)
17
17
  # puts "-----------\n klass: #{klass.name}, includes: #{includes.inspect}, excludes: #{excludes.inspect}"
18
18
  associations = klass.reflections
19
-
19
+
20
20
  associations.map do |association_name, reflection|
21
+ next nil if reflection.is_a? ActiveRecord::Reflection::ThroughReflection
21
22
  next_excludes = excludes[association_name.to_sym]
22
23
  next_includes = includes[association_name.to_sym]
23
24
 
@@ -1,3 +1,3 @@
1
1
  module DeepCloneableChecked
2
- VERSION = "1.0.1"
2
+ VERSION = "1.1.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deep_cloneable_checked
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kaori Kohama
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2022-09-07 00:00:00.000000000 Z
12
+ date: 2022-09-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: deep_cloneable