rexle 1.2.8 → 1.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/rexle.rb +3 -1
- 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: 77b1f961f21a086af4b24a1462048089ca8267a7
|
4
|
+
data.tar.gz: bcd0ebb6200230227939e647bc1196d3160e49bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c0dc025274b899cffb1d8e33fae29ce96f95561f1d94ab959b6995b1fbf4478d588933aef747c95df33e63719c7a6fceff6d5e8884149be3068ad6039ae4d74d
|
7
|
+
data.tar.gz: 56c6338919840b9ede0a74553f3c9d0b8712932864c73ff5bb8f3c7f5ea8a9feb9b6e428140039ca15542af7dc696b7f303ce3d68a45f396633d86aa30eed043
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rexle.rb
CHANGED
@@ -11,6 +11,8 @@ require 'cgi'
|
|
11
11
|
|
12
12
|
# modifications:
|
13
13
|
|
14
|
+
# 05-Feb=2015: bug fix:
|
15
|
+
# Rexle::Element#texts now transforms all items to a String
|
14
16
|
# 04-Feb-2015: An xpath containing text() now calls texts() to
|
15
17
|
# return all strings within that element
|
16
18
|
# 03-Feb-2015: feature: Rexle::Element#text now includes the unescape method
|
@@ -824,7 +826,7 @@ class Rexle
|
|
824
826
|
|
825
827
|
r.map do |x|
|
826
828
|
def x.unescape()
|
827
|
-
s = self.clone
|
829
|
+
s = self.to_s.clone
|
828
830
|
%w(< < > > & & &pos; ').each_slice(2){|x| s.gsub!(*x)}
|
829
831
|
s
|
830
832
|
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.2.
|
4
|
+
version: 1.2.9
|
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: 2015-02-
|
34
|
+
date: 2015-02-05 00:00:00.000000000 Z
|
35
35
|
dependencies:
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rexleparser
|
metadata.gz.sig
CHANGED
Binary file
|