rexle 1.5.2 → 1.5.3
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 +4 -3
- metadata +15 -15
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c99a5e463c69419d77ab9fc23a2899dcee634840d3df17ff6be5531c9602175b
|
4
|
+
data.tar.gz: 968a9dd1f8f41763cab001ca540ddb48c9519c1cbaa1df67d9dbea484a43de9f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1a6ffe5c2d5f56ba866fbda5bfda8fda6b79e21cc2fe5ef17a358092467a2da043b377a397009bca4bd1ed2ec73512fd4b841f8a9a544b5402b1ca9b432755b
|
7
|
+
data.tar.gz: 60dde98962041333633d2a0a6308346f2fee8c8089978460cdaef01c80ac6a39ba6386c03b3f65b1bf25413cac529808f468e9abbb9b50ed69632c364e524ea8
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rexle.rb
CHANGED
@@ -13,6 +13,7 @@ require 'backtrack-xpath'
|
|
13
13
|
|
14
14
|
# modifications:
|
15
15
|
|
16
|
+
# 18-Sep-2019: minor bug fix: &apos is now unescaped properly
|
16
17
|
# 09-Jul-2019: minor improvement: A comment tag now has a
|
17
18
|
# new line when pretty printed
|
18
19
|
# 02-Feb-2019: feature: A comment tag can now have nested elements
|
@@ -1016,7 +1017,7 @@ class Rexle
|
|
1016
1017
|
r.map do |x|
|
1017
1018
|
def x.unescape()
|
1018
1019
|
s = self.to_s.clone
|
1019
|
-
%w(< < > > & & &
|
1020
|
+
%w(< < > > & & ' ').each_slice(2){|x| s.gsub!(*x)}
|
1020
1021
|
s
|
1021
1022
|
end
|
1022
1023
|
end
|
@@ -1031,7 +1032,7 @@ class Rexle
|
|
1031
1032
|
|
1032
1033
|
def r.unescape()
|
1033
1034
|
s = self.clone
|
1034
|
-
%w(< < > > & & &
|
1035
|
+
%w(< < > > & & ' ').each_slice(2){|x| s.gsub!(*x)}
|
1035
1036
|
s
|
1036
1037
|
end
|
1037
1038
|
|
@@ -1323,7 +1324,7 @@ class Rexle
|
|
1323
1324
|
|
1324
1325
|
def unescape()
|
1325
1326
|
s = @value.clone
|
1326
|
-
%w(< < > > & & &
|
1327
|
+
%w(< < > > & & ' ').each_slice(2){|x| s.gsub!(*x)}
|
1327
1328
|
s
|
1328
1329
|
end
|
1329
1330
|
|
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.5.
|
4
|
+
version: 1.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
Zdf6ufm6l1fXtBUvl0XuKmNH8p6u/7SmI2oqJoV7Oiarx5i1LrpWL8Zc3q9MFaT4
|
36
36
|
pzftGMNXyXUyb9mSx4krfsRT
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2019-
|
38
|
+
date: 2019-09-18 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: c32
|
@@ -83,40 +83,40 @@ dependencies:
|
|
83
83
|
requirements:
|
84
84
|
- - ">="
|
85
85
|
- !ruby/object:Gem::Version
|
86
|
-
version: 0.
|
86
|
+
version: 0.6.0
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '0.
|
89
|
+
version: '0.6'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
96
|
+
version: 0.6.0
|
97
97
|
- - "~>"
|
98
98
|
- !ruby/object:Gem::Version
|
99
|
-
version: '0.
|
99
|
+
version: '0.6'
|
100
100
|
- !ruby/object:Gem::Dependency
|
101
101
|
name: rexle-css
|
102
102
|
requirement: !ruby/object:Gem::Requirement
|
103
103
|
requirements:
|
104
|
-
- - "~>"
|
105
|
-
- !ruby/object:Gem::Version
|
106
|
-
version: '0.1'
|
107
104
|
- - ">="
|
108
105
|
- !ruby/object:Gem::Version
|
109
|
-
version: 0.
|
106
|
+
version: 0.2.0
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0.2'
|
110
110
|
type: :runtime
|
111
111
|
prerelease: false
|
112
112
|
version_requirements: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
|
-
- - "~>"
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '0.1'
|
117
114
|
- - ">="
|
118
115
|
- !ruby/object:Gem::Version
|
119
|
-
version: 0.
|
116
|
+
version: 0.2.0
|
117
|
+
- - "~>"
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '0.2'
|
120
120
|
- !ruby/object:Gem::Dependency
|
121
121
|
name: backtrack-xpath
|
122
122
|
requirement: !ruby/object:Gem::Requirement
|
@@ -163,7 +163,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
163
163
|
- !ruby/object:Gem::Version
|
164
164
|
version: '0'
|
165
165
|
requirements: []
|
166
|
-
rubygems_version: 3.0.
|
166
|
+
rubygems_version: 3.0.3
|
167
167
|
signing_key:
|
168
168
|
specification_version: 4
|
169
169
|
summary: Rexle is an XML parser written purely in Ruby
|
metadata.gz.sig
CHANGED
Binary file
|