polyamorous 1.3.2 → 1.3.3

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
  SHA1:
3
- metadata.gz: ba8814592b049107b1eba9e3a5ae6688cb204be0
4
- data.tar.gz: accde4c264086caab8643396bb8d17a95ecbefbf
3
+ metadata.gz: c99b340d1137da69048738077239bf10471388fe
4
+ data.tar.gz: 289568abe8acfc3dd93b8c3fb45f7a6910fd1752
5
5
  SHA512:
6
- metadata.gz: 72f2e30aebe8916dd516d303a14bed69f25bc88784faca7f0cf9abaaeddfd610801cb4eb21f87e26765282965bc8ed214d5dc751975d4e829487eec5a68d927a
7
- data.tar.gz: d65afd228a8693875fbdc9d5210952c78e31bffe4c1fa033028e769489f3e218c37bd55fe2ec30779a9b4b3cb7f14ba6f555165022c8e276766d8966383bf4ac
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
- [info] + child.children.flat_map { |c|
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
- [info] + child.children.flat_map { |c|
99
+ info + child.children.flat_map { |c|
100
100
  make_polyamorous_inner_joins(child, c)
101
101
  }
102
102
  end
@@ -1,3 +1,3 @@
1
1
  module Polyamorous
2
- VERSION = '1.3.2'
2
+ VERSION = '1.3.3'
3
3
  end
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.2
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: 2017-12-29 00:00:00.000000000 Z
14
+ date: 2018-01-23 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: activerecord