rexle-builder 0.6.0 → 1.0.0

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: 5d1ab4fb18bb6089e219fa71bcf5cd4b9a792a6435a6353bd91ab74d507694d0
4
- data.tar.gz: 323c64568ddfaa30d8e43d2e00401ae9b9841bd424d03076032666adaa7ecc34
3
+ metadata.gz: 547c1b1c12078cb9ed8bcfe6d9f4593d6165a3c7ade4024c643a16da9e4a7a13
4
+ data.tar.gz: 6c5cc21289dfc25b269bdf6be6a13653f40b992c9abcb0264b8dbe703be4b345
5
5
  SHA512:
6
- metadata.gz: 27c22dd5b67e3c18d35510c61785ed92eab1d87dc816fb8345fefe71a081bc6d29b0ba4f5eed75877817b2bf8538496d3ddc7d773ba6e3d26ac79be6c486f7c5
7
- data.tar.gz: b7c66566e65d30cbacad4d2a3c1a3c2c29ad4fff6f249be5837447aa632ad894f01a16927521837e1e50622c86841ab65e35c06ad0873b26dff806c6c927f3d7
6
+ metadata.gz: 2f321466d5a124f1d6884b2e9610020e4271e4467fe0f061d8b63376c211bba466604a4dc3788952e808bab880b352e2bc9a0adaae568f2db70f59b47dc9c422
7
+ data.tar.gz: 1fa96ebfe99b94b071e9dbbd9c729b4a17b54230cebfe58650b803247db438c432899bf6a5edcdf29933fd892562e4be9af4640ad10367fbf87c726afb8953e1
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -20,7 +20,7 @@ class RexleBuilder
20
20
 
21
21
  end
22
22
 
23
- def initialize(obj=nil, debug: false)
23
+ def initialize(obj=nil, root: 'root', debug: false)
24
24
 
25
25
  @debug = debug
26
26
  @a = []
@@ -32,7 +32,7 @@ class RexleBuilder
32
32
  key = obj.keys.first
33
33
 
34
34
  if obj.length > 1 or obj[key].is_a?(Array) or obj[key].is_a?(String) then
35
- self.root { buildx obj}
35
+ self.send(root.to_sym) { buildx obj}
36
36
  else
37
37
  self.send(key.to_sym) {buildx obj[key]}
38
38
  end
@@ -59,7 +59,7 @@ class RexleBuilder
59
59
  a = [
60
60
  sym.to_s,
61
61
  attributes,
62
- *Rexle.new("<root>%s</root>" % value).to_a[2..-1]
62
+ *Rexle.new("<root>%s</root>" % value, debug: @debug).to_a[2..-1]
63
63
  ]
64
64
 
65
65
  end
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.6.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -11,31 +11,31 @@ cert_chain:
11
11
  - |
12
12
  -----BEGIN CERTIFICATE-----
13
13
  MIIEXjCCAsagAwIBAgIBATANBgkqhkiG9w0BAQsFADAsMSowKAYDVQQDDCFnZW1t
14
- YXN0ZXIvREM9amFtZXNyb2JlcnRzb24vREM9ZXUwHhcNMTkwNDIxMTc0OTMzWhcN
15
- MjAwNDIwMTc0OTMzWjAsMSowKAYDVQQDDCFnZW1tYXN0ZXIvREM9amFtZXNyb2Jl
16
- cnRzb24vREM9ZXUwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQDPTWCu
17
- 5qtl5scAzUKl1043ftug6+rjNCxNxzJ3aCAvrHEcIp+Dmo5KZ9SJ+LPXuxG7bans
18
- zLqhI3ab7XN5x3QE2d99DxBU/UiPT/svUaZG7A4HxbItfwIu59p8XoaMFiuQ/uAh
19
- SG+KxKTjlrmoj8HE5RmXmMawEeCeSnm//6544J63PMiSpXF97NOFlte2cu+95Ht5
20
- jG/r8At0BlAIUr2PuPiBnHkaCxjMOMbpZG77X7Mhs2XWy/VDA+OOyKfJOSv1cG+h
21
- 1D4QaFLA2QvC6yO2aW+q4D+96syVNRxgCWVqZsVWBvdNvPY/8o0o7++iWReVbLOz
22
- SnlIaJiT667XnaVZfzBmiQfhCJq+6Mn9XyIDt20KLl9VekHCMLIzb8zvEoYjNVMC
23
- jmxdrNZv4zpbylEfnUc6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Dx61GZrLwaoDorq/nKnaIHikVGAUMX
33
+ 7zfbefTm9GvWrDQTjESHOfLVzjvcVR3/lLdDy914oSbA3+v9a2xsyZzVXKYADidr
34
+ LxGza+bzBCYgXoht0vSUR82d8uH+YdngvcK99G+3T8W53ikFDF2wS0l57yF9jfks
35
+ rC7AiWdayhS+wLWd/i/UtpYL25JcgKdaq24E/7+vB1EPRzPsDJrx8AzYo759WDob
36
+ o0Nd2o91GHfpqyL9snw6G3Dl
37
37
  -----END CERTIFICATE-----
38
- date: 2019-09-18 00:00:00.000000000 Z
38
+ date: 2020-05-01 00:00:00.000000000 Z
39
39
  dependencies: []
40
40
  description:
41
41
  email: james@jamesrobertson.eu
metadata.gz.sig CHANGED
Binary file