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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dbf52e6b518792b5fc204c8d1281de263b6ad5d54cba9a178cdbf4d68907d066
4
- data.tar.gz: 915ebd534a77a98598348fe4810935e2dfde505e68216eca1728394b39e1a328
3
+ metadata.gz: 122ee3f637f00c846d69e1b1b66b57a328ff3879b29b902e5517d81843e9c848
4
+ data.tar.gz: 869adc2d257e1e01c2adf4956e8bba4b83678b267430d8d58a9c310f1aad48a3
5
5
  SHA512:
6
- metadata.gz: 61781ae1a5402b782406957c681b9b252fda9c0e72b0b12b5ac9b3ad4570dbb3cf9163d3d127dec75244e4c19c6994b35bc23fb3c979053abb1c26cbd39a3c33
7
- data.tar.gz: 9ae2098c2f52b8b80f73774403eb28e0d1f81db79ee8b17040270dfe67b0eda5a6a9bff29bf37bc0097511a580fe4d5780fda5c055282611f9f376a9d0bce1e2
6
+ metadata.gz: 4ffa3bbed8f9ee4e840cc2c92fe6d3e5a20f18fc36154a474c4e050551c6662929364fd24fafb38578ad63f99efcbc97a9287f58594548cbf0a848eec31aabe9
7
+ data.tar.gz: 9878555aa41e9ee664483ffbd8db2368b2dc2fd978110ebe7de30758f8b3e7d3373bdaba7336145686badab7a42524ac138aa270e4ae1f80b8a5df1b155a954a
Binary file
data.tar.gz.sig CHANGED
Binary file
@@ -9,7 +9,8 @@ class Attributes < Hash
9
9
  class Value < String
10
10
 
11
11
  def initialize(value)
12
- super(value.gsub("'", '&apos;'))
12
+ #jr2020-04-30 super(value.gsub("'", '&apos;'))
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('&lt;','<',).gsub('&gt;','>').gsub('&pos;',"'")
26
+ end
27
+
28
+ def to_s()
29
+ #jr2020-07-18 self.gsub('&lt;','<',).gsub('&gt;','>').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.1
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: 2019-09-30 00:00:00.000000000 Z
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
- rubygems_version: 3.0.3
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