rexle-builder 0.3.6 → 0.3.7

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: d1a051fe6177ff122fdf043cbecea29358307f0c
4
- data.tar.gz: fc1c4627afb313ef404c6780029664261293715a
3
+ metadata.gz: 0bc43b0478282ecc5d20125bf38ab1dddd593d5b
4
+ data.tar.gz: '063394b19666bafe27768940e50a522104b9c2e8'
5
5
  SHA512:
6
- metadata.gz: 18208661db796bac88472d4ff82ac424620290c17a57ac73c8162b6320e5ae9d9355077a9f6f2349a6cdd07a4ae227b1f51759e2e15d190d7d26b4ee3b908a87
7
- data.tar.gz: c4ad20311322d6c96cb34cd86ba9c5e09267593a2f873f2ce491be1dc478ab5c247371e5f7ebaac75f96f9d360ff76ad29cac79715185504c8bfab8999ca58c3
6
+ metadata.gz: fddbc641edca99f7c2c2b8759fdcda31becc91f17df59f958529c5dbeb131229115485a7a174d5289782cf50de4577d7b8435c8f14617893bf49b3109f522599
7
+ data.tar.gz: d1298e6ab5126e62bc2530d00fae39392444f89f4d2f22e13371be4e331cf689f26c85fc1cb3fb64b80022e7064a6102ddebcb9a78c69f89f91abcd4df56a251
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/rexle-builder.rb CHANGED
@@ -85,7 +85,15 @@ class RexleBuilder
85
85
 
86
86
  elsif value.is_a? Array
87
87
 
88
- self.send(key.to_sym) {RexleArray.new value}
88
+ self.send(key.to_sym) do
89
+
90
+ if value.first.is_a? Hash then
91
+ value.map {|x| buildx x}
92
+ else
93
+ RexleArray.new value
94
+ end
95
+
96
+ end
89
97
 
90
98
  else
91
99
 
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: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  +5OspjeCgSiLRKUcTJP1NdRNdLN5C8l0o/ptas5h0K8a2/Tm2Gtfrk1Xm73ybOJp
32
32
  +84ECQVjSRJHUA==
33
33
  -----END CERTIFICATE-----
34
- date: 2017-01-06 00:00:00.000000000 Z
34
+ date: 2017-02-23 00:00:00.000000000 Z
35
35
  dependencies: []
36
36
  description:
37
37
  email: james@jamesrobertson.eu
metadata.gz.sig CHANGED
Binary file