rexleparser 0.9.1 → 0.9.6
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/rexleparser.rb +17 -2
- metadata +4 -3
- 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: 122ee3f637f00c846d69e1b1b66b57a328ff3879b29b902e5517d81843e9c848
|
4
|
+
data.tar.gz: 869adc2d257e1e01c2adf4956e8bba4b83678b267430d8d58a9c310f1aad48a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ffa3bbed8f9ee4e840cc2c92fe6d3e5a20f18fc36154a474c4e050551c6662929364fd24fafb38578ad63f99efcbc97a9287f58594548cbf0a848eec31aabe9
|
7
|
+
data.tar.gz: 9878555aa41e9ee664483ffbd8db2368b2dc2fd978110ebe7de30758f8b3e7d3373bdaba7336145686badab7a42524ac138aa270e4ae1f80b8a5df1b155a954a
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/rexleparser.rb
CHANGED
@@ -9,7 +9,8 @@ class Attributes < Hash
|
|
9
9
|
class Value < String
|
10
10
|
|
11
11
|
def initialize(value)
|
12
|
-
super(value.gsub("'", '''))
|
12
|
+
#jr2020-04-30 super(value.gsub("'", '''))
|
13
|
+
super(value)
|
13
14
|
end
|
14
15
|
|
15
16
|
def <(val2)
|
@@ -18,9 +19,23 @@ class Attributes < Hash
|
|
18
19
|
|
19
20
|
def >(val2)
|
20
21
|
self.to_f > val2.to_f
|
21
|
-
end
|
22
|
+
end
|
23
|
+
|
24
|
+
def inspect()
|
25
|
+
super().gsub('<','<',).gsub('>','>').gsub('&pos;',"'")
|
26
|
+
end
|
27
|
+
|
28
|
+
def to_s()
|
29
|
+
#jr2020-07-18 self.gsub('<','<',).gsub('>','>').gsub('&pos;',"'")
|
30
|
+
self.gsub('&pos;',"'")
|
31
|
+
end
|
32
|
+
|
22
33
|
end
|
23
34
|
|
35
|
+
def initialize(h={})
|
36
|
+
super().merge! h
|
37
|
+
end
|
38
|
+
|
24
39
|
def []=(k,v)
|
25
40
|
super(k, k != :class ? Value.new(v) : v)
|
26
41
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rexleparser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
T71m/FVIgpvTDrvFUbSk75LOR+Sh7epwzIFUPsY3RNhBU1HuZrPEBI6IK8Xjc27P
|
36
36
|
ahkta6LWar5SSzKmTY034ms+
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date:
|
38
|
+
date: 2020-07-18 00:00:00.000000000 Z
|
39
39
|
dependencies: []
|
40
40
|
description:
|
41
41
|
email: james@jamesrobertson.eu
|
@@ -63,7 +63,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
63
63
|
- !ruby/object:Gem::Version
|
64
64
|
version: '0'
|
65
65
|
requirements: []
|
66
|
-
|
66
|
+
rubyforge_project:
|
67
|
+
rubygems_version: 2.7.10
|
67
68
|
signing_key:
|
68
69
|
specification_version: 4
|
69
70
|
summary: Rexleparser is an XML parser used by the Rexle gem
|
metadata.gz.sig
CHANGED
Binary file
|