rexle 1.0.16 → 1.0.17

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: 7954ff1bf28d384b8d73e23e989c267a5335a09f
4
- data.tar.gz: 968ad5e30a2ba9c7be112a9a812d6428336d32dd
3
+ metadata.gz: 5d0cd773f30476b44a8f3efca774d605dce5d4e8
4
+ data.tar.gz: f70f550783380e1110135310ff6da3888a4dbc5c
5
5
  SHA512:
6
- metadata.gz: c9b0546125c0eba3d7737c234da46dc358954e61047b52f627b976f1d264cdc42b802e8be8929ebe99a19b52b8dcf464bf6df9f0c12b9c8d4c274c2f8e04cb11
7
- data.tar.gz: 888a551d44a79d69d01bb910228e9e7df24137a8cb0ad4d272818b0669ffd9e57f9288f442690d85361efca07c9c0d372706b09faf6088f6bd9acea87cc68a10
6
+ metadata.gz: e73b58669324eb634853d98da2fd6d7441d0dd1936c823f62f4b4fe621c1586f14d3f58994c2df6f813ac570c7c9f89173736a9c2b442c3b0c3b67670e1ba603
7
+ data.tar.gz: 67c3c47d64f818463a2c5998bb38b23b9cf742ab430cd8b40ef04472497ac1ac1043b69d035751c4e8c5eeefbbdfb60a167ed8e7330c70e6a181f67915aee556
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -11,6 +11,7 @@ include REXML
11
11
 
12
12
  # modifications:
13
13
 
14
+ # 14-Jun-2014: bug fix: Processing instructions should now display properly
14
15
  # 07-Jun-2014: bug fix: An XPath nested within an XPath (using a selector)
15
16
  # should now wok properly e.g. record/abc[item/xyz="red"]
16
17
  # 04-Jun-2014: bug fix: If XPath contains /text(), only valid
@@ -107,7 +108,9 @@ module XMLhelper
107
108
  end
108
109
 
109
110
  def processing_instructions(s='')
110
- self.instructions.map { |instruction| "<?%s %s?>" % instruction }.join s
111
+ self.instructions.map do |instruction|
112
+ "<?%s?>" % instruction.join(' ')
113
+ end.join s
111
114
  end
112
115
 
113
116
  def scan_print(nodes)
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.16
4
+ version: 1.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file