rexle-builder 0.3.7 → 0.3.8

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: 0bc43b0478282ecc5d20125bf38ab1dddd593d5b
4
- data.tar.gz: '063394b19666bafe27768940e50a522104b9c2e8'
3
+ metadata.gz: d034f43549a4fc1fb7dd77652d9fd422365a8640
4
+ data.tar.gz: 7ebdd419ef0c02edd86ab4804a05c925806a5f5a
5
5
  SHA512:
6
- metadata.gz: fddbc641edca99f7c2c2b8759fdcda31becc91f17df59f958529c5dbeb131229115485a7a174d5289782cf50de4577d7b8435c8f14617893bf49b3109f522599
7
- data.tar.gz: d1298e6ab5126e62bc2530d00fae39392444f89f4d2f22e13371be4e331cf689f26c85fc1cb3fb64b80022e7064a6102ddebcb9a78c69f89f91abcd4df56a251
6
+ metadata.gz: 7153dd1c1eada836ec1686dad883d30a85e8812a8c4ab2df9f30e026035de6fe64ec9cabefa4dc31f210758d0cbddc7be473ac46d2d65db65e99da02828fa535
7
+ data.tar.gz: e530c16bf8a12fd02f6f3dd384ef71691be5800706603f0fe0170ac380b219c8ea5d159711c8318c88eea1e4b36f0b32a8f1b34e56187c5c7f78c0f934566412
checksums.yaml.gz.sig CHANGED
Binary file
data/lib/rexle-builder.rb CHANGED
@@ -26,7 +26,16 @@ class RexleBuilder
26
26
  @current_a = @a
27
27
  @namespace = nil
28
28
 
29
- self.root { buildx obj} if obj.is_a? Hash
29
+ if obj.is_a? Hash then
30
+
31
+ if obj.length > 1 then
32
+ self.root { buildx obj}
33
+ else
34
+ key = obj.keys.first
35
+ self.send(key.to_sym) {buildx obj[key]}
36
+ end
37
+
38
+ end
30
39
  end
31
40
 
32
41
  def [](s)
@@ -104,4 +113,4 @@ class RexleBuilder
104
113
 
105
114
  end
106
115
 
107
- end
116
+ end
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.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -10,28 +10,27 @@ bindir: bin
10
10
  cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
- MIIDljCCAn6gAwIBAgIBATANBgkqhkiG9w0BAQUFADBIMRIwEAYDVQQDDAlnZW1t
14
- YXN0ZXIxHjAcBgoJkiaJk/IsZAEZFg5qYW1lc3JvYmVydHNvbjESMBAGCgmSJomT
15
- 8ixkARkWAmV1MB4XDTE2MTIwMzE0NTgzMFoXDTE3MTIwMzE0NTgzMFowSDESMBAG
16
- A1UEAwwJZ2VtbWFzdGVyMR4wHAYKCZImiZPyLGQBGRYOamFtZXNyb2JlcnRzb24x
17
- EjAQBgoJkiaJk/IsZAEZFgJldTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC
18
- ggEBAOjzrjutfCzSrk+od7vOcMfs56Kn1dHQa9/RSo+tdFoB4lQM5DXMQIZSKlWf
19
- eN+LhkcH/vUZlvTrrlL6ByqdEZUIG8OAgK+4zpdsdaLE0DSIvVz/9T2xEa5RkJ9l
20
- EEuzQr2nt8wxyj+RgUnWOAwYQk1cIBIILQ1O3JGXlRFsp47dmFQ86rcFyLdzlnTU
21
- +flvqspgggilMg8JbkxMElDPUQM71TNbccvoYciA5ZtKEbRGiz4xeGr4NsgaRul+
22
- ILsXB0ftQbSvjC1yBNL1OLsmLLwRiywHq1RgoC27U/Py50keB6Xo/JvOtI90Mn+M
23
- O0teNinq0XgqdSXz5lyk4jSB8ZUCAwEAAaOBijCBhzAJBgNVHRMEAjAAMAsGA1Ud
24
- DwQEAwIEsDAdBgNVHQ4EFgQUjHb/0QFdLyeYmzOYwHycen75t2EwJgYDVR0RBB8w
25
- HYEbZ2VtbWFzdGVyQGphbWVzcm9iZXJ0c29uLmV1MCYGA1UdEgQfMB2BG2dlbW1h
26
- c3RlckBqYW1lc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YowgYcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw
23
+ HQYDVR0OBBYEFPAaUAOj/lTAo9PAzrfIaXPR2d/mMCYGA1UdEQQfMB2BG2dlbW1h
24
+ c3RlckBqYW1lc3JvYmVydHNvbi5ldTAmBgNVHRIEHzAdgRtnZW1tYXN0ZXJAamFt
25
+ ZXNyb2JlcnRzb24uZXUwDQYJKoZIhvcNAQEFBQADggEBAAnXC/QxSXyB+7s9m0YP
26
+ /f1ty7tx1VKZBWzITbdRAZJCAf7SbXQOfzv+0XaPCa4K7tPGq7GDwPWeIvse/uzN
27
+ ReJ8BwxwR7FNWW+NwsyAx9T/8gRfTB/tKV/JhvmLPmsyy2QlVTuYWwJDReaxnss8
28
+ /u/Q+5bx3Z1w2lBTrB4x/CCMhlqcxXrgX9BVu7HorZ8GXLQMphhBzYU/pnPyH9oi
29
+ KZsetXARaDuHnHxxIV1XPRcVRzTqsLI5KAPiXYkSpyNPnKqiYir8p8w6nmaIpsJm
30
+ aDX7i2H14HeFyGsVMNhU+xjp3bGnz2yvPVaW63pg8rJ2PXlFPy+fWzvYsNftG+Pk
31
+ 1/E=
33
32
  -----END CERTIFICATE-----
34
- date: 2017-02-23 00:00:00.000000000 Z
33
+ date: 2018-03-29 00:00:00.000000000 Z
35
34
  dependencies: []
36
35
  description:
37
36
  email: james@jamesrobertson.eu
@@ -60,7 +59,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
60
59
  version: '0'
61
60
  requirements: []
62
61
  rubyforge_project:
63
- rubygems_version: 2.6.8
62
+ rubygems_version: 2.6.13
64
63
  signing_key:
65
64
  specification_version: 4
66
65
  summary: Generates XML, by producing an array of raw XML elements which can parsed
metadata.gz.sig CHANGED
Binary file