rexle 1.0.23 → 1.0.24

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
  SHA1:
3
- metadata.gz: 6198d2f9ebbaa93e391fd379ab7801439b5a9a88
4
- data.tar.gz: 02e3babf794a26b28c32e9587c2d04e91cc0485c
3
+ metadata.gz: 5e2f93a930b5109eb2521f74202504d4c1dc6164
4
+ data.tar.gz: 211789f8e6737d20bf1506b0f42eed9875996b50
5
5
  SHA512:
6
- metadata.gz: 86e248d8788198dec7ba9c5eaad1412deb723c764595e52ad00e4d63552e5f2ecec0714a081403928c40037ca4374c65bd578f4d1a2e699f225e68b1aa1bc14d
7
- data.tar.gz: 5511f2c4fe03178ac028547da13f34099c70f67bfa9c729dc8bda4f78934f3469ddd4f722dfe01ed65027095bb3403a471f885bd9b27c719d7ac3326353cde83
6
+ metadata.gz: b9963098305b97456ea505e296d4ff7fb4fd2300e18a8575fca48230bdaaa81a3fd906951124e74ff6376cdb482c53e4fbb567b2b772f3455a544c39cccaaa11
7
+ data.tar.gz: b76134b37c9f0533d22c17a05bbd0cf7f7ad19e610cb3270c681a68c5a3480fea7566db9b4f03a2737cbc94b8b79a8692a21428531f33bae362fc71acac6a411
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -11,6 +11,7 @@ include REXML
11
11
 
12
12
  # modifications:
13
13
 
14
+ # 27-Sep-2014: bug fix: ELement values are now explicitly transformed to string
14
15
  # 16-Sep-2014: Feature: Impelemented Rexle::Element#each_recursive
15
16
  # 07-Aug-2014: feature: Rexle::CData can now be used to create CDATA
16
17
  # 12-Jul-2014: XPath with a single element condition now works e.g. b[c]
@@ -1029,7 +1030,7 @@ class Rexle
1029
1030
 
1030
1031
  def scan_element(name, value=nil, attributes=nil, *children)
1031
1032
 
1032
- element = Element.new(name, value, attributes, self)
1033
+ element = Element.new(name, value.to_s, attributes, self)
1033
1034
 
1034
1035
  if children then
1035
1036
  children.each do |x|
@@ -1052,4 +1053,4 @@ class Rexle
1052
1053
  [node.name, node.text.to_s, attributes, *children]
1053
1054
  end
1054
1055
 
1055
- end
1056
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rexle
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.23
4
+ version: 1.0.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
@@ -31,7 +31,7 @@ cert_chain:
31
31
  UOGKUMV5RApHDnC0ywMYNe0HK7qMSTP5YLKs8JUjNxpc5jl8+o3D3sHkNN4DzbQm
32
32
  jVfzDZ+niKvAUA==
33
33
  -----END CERTIFICATE-----
34
- date: 2014-09-16 00:00:00.000000000 Z
34
+ date: 2014-09-27 00:00:00.000000000 Z
35
35
  dependencies:
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rexleparser
metadata.gz.sig CHANGED
Binary file