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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/deep_cloneable_checked/deep_clone_checked.rb +2 -1
- data/lib/deep_cloneable_checked/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: d13258c10306da772b33a465fa76ad5d4fcdefdd9dc991569238e62565844ba6
|
4
|
+
data.tar.gz: fbb2ab54ded08a430a5363bccec29465f9e958d5f58b56dfceedaf814f426f77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fa6a9df05c377ac333b4c6405bbd070ea3f06efbd8b89dae49802d32581554728ccfb4b05c29e0d1b968f53e0831d70db07c8bfd6a64ee485ef81a56c56a178
|
7
|
+
data.tar.gz: 58594c4abfbfbed02fee57db01fd291acb573d36ee3df3257226750c70dc3c039235690601ce65d29611b477299e0a40f6bddd1e7c4928b69f18aa05bbedcdbe
|
data/Gemfile.lock
CHANGED
@@ -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
|
|
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
|
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-
|
12
|
+
date: 2022-09-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: deep_cloneable
|