polyamorous 1.3.2 → 1.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c99b340d1137da69048738077239bf10471388fe
|
|
4
|
+
data.tar.gz: 289568abe8acfc3dd93b8c3fb45f7a6910fd1752
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0f035d8d3d7ec83992e5eb63f2bd608a7131c1104ad86b5320d7eb953d7e6f8159bf4458636cb03ca0506e18c1bba83f996ede2772bbd11671eec38b251314b0
|
|
7
|
+
data.tar.gz: 7186a137a3299ce00fdf66526e5a71763cbd99737811e48f0285b2dd2ea1b1bc0952fbf1cb750c24e26393708071e3f753a794022261871e88d1a6958edd0fe6
|
|
@@ -84,7 +84,7 @@ module Polyamorous
|
|
|
84
84
|
join_type = Arel::Nodes::OuterJoin
|
|
85
85
|
info = make_constraints parent, child, tables, join_type
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
info + child.children.flat_map { |c|
|
|
88
88
|
make_polyamorous_left_outer_joins(child, c)
|
|
89
89
|
}
|
|
90
90
|
end
|
|
@@ -96,7 +96,7 @@ module Polyamorous
|
|
|
96
96
|
join_type = child.join_type || Arel::Nodes::InnerJoin
|
|
97
97
|
info = make_constraints parent, child, tables, join_type
|
|
98
98
|
|
|
99
|
-
|
|
99
|
+
info + child.children.flat_map { |c|
|
|
100
100
|
make_polyamorous_inner_joins(child, c)
|
|
101
101
|
}
|
|
102
102
|
end
|
data/lib/polyamorous/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: polyamorous
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.3.
|
|
4
|
+
version: 1.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ernie Miller
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date:
|
|
14
|
+
date: 2018-01-23 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: activerecord
|