rexle-builder 1.0.4 → 1.0.5

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: d6c908421b55a41fe3988edff4238b011358ba5b78440036593ebf4b5ff65bb7
4
- data.tar.gz: 150737d9be007c7c9d48fe30be8f606efe2b66bb3bfcbb69f3ea18b298cded1b
3
+ metadata.gz: ff62c53e5a7dd2775aa78650ebdc6bafeec01f666af4c0f88cd4ea85ddc407d2
4
+ data.tar.gz: b2b64bb339c75f2082d3be69675c4e9bf871df5a4b2d0aaf1dca4c2a1fe1c9c7
5
5
  SHA512:
6
- metadata.gz: 29db012b7fcd96b56a5490afda250c9f7791c1d8354f0de0a66f40c4bf57689d130ca9db6077242a624af0882f61904c0ea77e186df480fe1194519bdadd398f
7
- data.tar.gz: a56a35dd95093c7545bed8b7e2f5c9584947ccef4348fe2a5ccddc612167c89165dca45a79f1daa4a10dd12fb6998f5f33cbff428fe4bf23dcda58280947765c
6
+ metadata.gz: bd689817a5975e66798398cfb361dba7d25cef704c97078c4a23f00b8cfb1fd6915172a809cc692bf7b3983372bbb9c722bb870bc2d2e6382f35736cb1ade03b
7
+ data.tar.gz: 47707186dbe3b2bf49b26418f2c44a0ad30dfd3bee5c5814a36e21d2956355b7e18016330ce77b80271f10efeb608153f67b7bf4339cd64ba33a99d8f356e061
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/rexle-builder.rb CHANGED
@@ -103,7 +103,15 @@ class RexleBuilder
103
103
  end
104
104
 
105
105
  return r if r == @a.first
106
- @current_a.concat r if r.is_a? Array
106
+
107
+ if r.is_a? Array then
108
+
109
+ # only concat if r contains raw Rexle elements.
110
+ if r.all? {|field, attributes, value| attributes.is_a? Hash} then
111
+ @current_a.concat r
112
+ end
113
+
114
+ end
107
115
  puts '@current_a ' + @current_a.inspect if @debug
108
116
  @current_a = prev_a
109
117
  return @a.first
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rexle-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -36,7 +36,7 @@ cert_chain:
36
36
  w7Z+7EzJFzhHpXYm4QBYR+qb81pB/ZX0LWtVs/2jjCWoCOOdIuH/jh+DzQk4Qhby
37
37
  R02xW5SGXEOiylE3Q9SDqGfvomcQ8ENDYts=
38
38
  -----END CERTIFICATE-----
39
- date: 2022-07-24 00:00:00.000000000 Z
39
+ date: 2022-07-31 00:00:00.000000000 Z
40
40
  dependencies: []
41
41
  description:
42
42
  email: digital.robertson@gmail.com
metadata.gz.sig CHANGED
Binary file