rexle-builder 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 173cd08ae892bc695eba952bfbe63fc021ef7a3fd0241b399e36cff7a8c1b5c8
4
- data.tar.gz: 2e31849b636155a8251e1a2a06620f33b1b868a7fc1d90cca981619a76041f9b
3
+ metadata.gz: 492edd3887ea1741d4024c90f698659c401ee65083960f91e5846dd4916f11b1
4
+ data.tar.gz: e4faa2914d561ba4a896a39a78634368cd93f3bd644b0071fc2b86a6d544c427
5
5
  SHA512:
6
- metadata.gz: b16a7f83b82355b14e61f320a4f032ffa29697fe6850b386490754da64a1cf19eced22b92c49deba892ed1bcd616978065ce0f27e0c342b2e4f0f10bc468152f
7
- data.tar.gz: 75ea0138a555d42c640f94fe7600f8e0970e2e0ba58760a36af1cdcf17479fb33108decbee4a6fae604541a674755dace8c0493c711e794bc0cff507ed1841c4
6
+ metadata.gz: b78105a25b08b860de82960c0e2bcee2bb0434d09f97c8a2748e67402c782cc0b57f0127164bf87128470e52fdd2b139ae677a1f8610afebe7f9404b5239b293
7
+ data.tar.gz: 0ee549658fefba3984efa121632e3fc6ea7a9d85979fa4e172c360eb6b8cea934474c2abca8f2389ffde4b85fdfc3c2899a066565d9204d8a05e1b4cd16a4ab0
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/lib/rexle-builder.rb CHANGED
@@ -107,8 +107,13 @@ class RexleBuilder
107
107
  # build from a Hash object
108
108
  #
109
109
  def buildx( h)
110
-
111
- h.each_pair do |key, value|
110
+
111
+ # the following statement prevents duplicate elements where 1 key is
112
+ # represented by a String and the other by a symbol.
113
+ #
114
+ h2 = h.map {|x| [x[0].to_sym, x[1]]}.to_h
115
+
116
+ h2.each_pair do |key, value|
112
117
 
113
118
  if value.is_a? Hash then
114
119
 
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.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -35,10 +35,10 @@ cert_chain:
35
35
  rC7AiWdayhS+wLWd/i/UtpYL25JcgKdaq24E/7+vB1EPRzPsDJrx8AzYo759WDob
36
36
  o0Nd2o91GHfpqyL9snw6G3Dl
37
37
  -----END CERTIFICATE-----
38
- date: 2020-06-22 00:00:00.000000000 Z
38
+ date: 2021-02-24 00:00:00.000000000 Z
39
39
  dependencies: []
40
40
  description:
41
- email: james@jamesrobertson.eu
41
+ email: digital.robertson@gmail.com
42
42
  executables: []
43
43
  extensions: []
44
44
  extra_rdoc_files: []
@@ -63,7 +63,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  - !ruby/object:Gem::Version
64
64
  version: '0'
65
65
  requirements: []
66
- rubygems_version: 3.0.3
66
+ rubyforge_project:
67
+ rubygems_version: 2.7.10
67
68
  signing_key:
68
69
  specification_version: 4
69
70
  summary: Generates XML, by producing an array of raw XML elements which can parsed
metadata.gz.sig CHANGED
Binary file