rexle 0.9.75 → 0.9.76
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 +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/rexle.rb +4 -2
- data.tar.gz.sig +0 -0
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 15dcad49f46781b9a81eab91d6c600ce9a5a1aa6
|
|
4
|
+
data.tar.gz: ba43c911eabe6ee2fe27ff94ac26ab799f3e1d12
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d85e712b0328d0335f8feb89d814d5726535221607bc614321f549e6471f847a132986829805cba5ab816ad6e1b1b25693979fa5a072a0b655d2f68ee13d4801
|
|
7
|
+
data.tar.gz: 9cad24df925c9b4e20927994543b0a8beed753188289d4cb2e90675bb92e6df67c449a72cd9e1ca9a2717cb75a04643af97f7e07f9665f543bca655fb3e00b44
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/lib/rexle.rb
CHANGED
|
@@ -10,6 +10,8 @@ require 'cgi'
|
|
|
10
10
|
include REXML
|
|
11
11
|
|
|
12
12
|
# modifications:
|
|
13
|
+
# 10-Oct-2013: bug fix: child elements which have the same name as their parent
|
|
14
|
+
# are now select correctly through XPath
|
|
13
15
|
# 22-sep-2013: feature: remove() is now an alias of delete()
|
|
14
16
|
# 30-jul-2013: feature: Rexle::Element#xml now accepts an xpath
|
|
15
17
|
# 25-jun-2013: bug fix: doc.root.delete(xpath) fixed
|
|
@@ -373,8 +375,8 @@ class Rexle
|
|
|
373
375
|
rs = scan_match(self, xpath_value).flatten.compact
|
|
374
376
|
return n ? rs[n.to_i-1] : rs
|
|
375
377
|
|
|
376
|
-
elsif (raw_path == '.' or raw_path == self.name) and attr_search.nil? then
|
|
377
|
-
|
|
378
|
+
#jr101013 elsif (raw_path == '.' or raw_path == self.name) and attr_search.nil? then
|
|
379
|
+
#jr101013 return [self]
|
|
378
380
|
else
|
|
379
381
|
|
|
380
382
|
return_elements = @child_lookup.map.with_index.select do |x|
|
data.tar.gz.sig
CHANGED
|
Binary file
|
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: 0.9.
|
|
4
|
+
version: 0.9.76
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- James Robertson
|
|
@@ -29,7 +29,7 @@ cert_chain:
|
|
|
29
29
|
EgghkUCgC30KsgaYheoN5ILHCE52JXCfr1Qto26qUSdC49xWkxnQz2yrSq8z085Q
|
|
30
30
|
h0bKDk/qqjLsNUnSPxhypj3wTgJNdHKX
|
|
31
31
|
-----END CERTIFICATE-----
|
|
32
|
-
date: 2013-
|
|
32
|
+
date: 2013-10-10 00:00:00.000000000 Z
|
|
33
33
|
dependencies:
|
|
34
34
|
- !ruby/object:Gem::Dependency
|
|
35
35
|
name: rexleparser
|
metadata.gz.sig
CHANGED
|
Binary file
|