rexle-builder 0.3.8 → 0.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/rexle-builder.rb +4 -3
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 673f3ba4e4ce4c2767ff25cf4294964fc1e501e2
|
4
|
+
data.tar.gz: 14b646bed8bb32adc9efd125d1c31eaef169a85d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f8a0b23dfbd19a186da2bef7641f14ad155d55013644e50a506ae9a24a235666f23faa8492cf3b02aaf8d247797b41db278ebd0951bf2b4d5d5b51421918578
|
7
|
+
data.tar.gz: 3827c74972c7d0f6cde461753cfaaecc4b63654fada7077dea91bd18c7412d63847cf271f3c83508eb3fbe379dcf677d6cf218bfb9769cd4962b0050c05a0435
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rexle-builder.rb
CHANGED
@@ -28,10 +28,11 @@ class RexleBuilder
|
|
28
28
|
|
29
29
|
if obj.is_a? Hash then
|
30
30
|
|
31
|
-
|
31
|
+
key = obj.keys.first
|
32
|
+
|
33
|
+
if obj.length > 1 or obj[key].is_a? Array then
|
32
34
|
self.root { buildx obj}
|
33
35
|
else
|
34
|
-
key = obj.keys.first
|
35
36
|
self.send(key.to_sym) {buildx obj[key]}
|
36
37
|
end
|
37
38
|
|
@@ -83,7 +84,7 @@ class RexleBuilder
|
|
83
84
|
# build from a Hash object
|
84
85
|
#
|
85
86
|
def buildx( h)
|
86
|
-
|
87
|
+
puts 'h: ' + h.inspect
|
87
88
|
h.each_pair do |key, value|
|
88
89
|
|
89
90
|
if value.is_a? Hash then
|
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.
|
4
|
+
version: 0.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
aDX7i2H14HeFyGsVMNhU+xjp3bGnz2yvPVaW63pg8rJ2PXlFPy+fWzvYsNftG+Pk
|
31
31
|
1/E=
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2018-03-
|
33
|
+
date: 2018-03-30 00:00:00.000000000 Z
|
34
34
|
dependencies: []
|
35
35
|
description:
|
36
36
|
email: james@jamesrobertson.eu
|
metadata.gz.sig
CHANGED
Binary file
|