kvx 1.0.2 → 1.0.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/lib/kvx.rb +2 -2
- data.tar.gz.sig +0 -0
- metadata +3 -4
- 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: 0724c094fbdbb1a44eceb5d0e8f00da74ab87e32b77a3c26b78a4ca343764495
|
4
|
+
data.tar.gz: 6476d63eb97631de3cbc280d2daf306695227c3f4b7b2cb16bd7836f016d6e1b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 723fa80c597055c449a17dd464e474610b6ee54b1b9f6cd967523927a4a8ac5550deeb00ad44d1318226d8b73ac6b42bcbc2d6dd611735c968a9ddff71d0e09a
|
7
|
+
data.tar.gz: d3bea6a4718d6acd627e0047ecde964ec1686d04ace938a83d1ebe18c42034c34d1682855b0482a63cd92e50596479a6b00be29c21e668087b610d309476eda3
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/kvx.rb
CHANGED
@@ -311,7 +311,7 @@ s = "
|
|
311
311
|
buffer, type = RXFHelper.read(s)
|
312
312
|
puts ('buffer: ' + buffer.inspect).debug if @debug
|
313
313
|
|
314
|
-
if buffer.
|
314
|
+
if buffer.lstrip =~ /^<\?xml/ then
|
315
315
|
|
316
316
|
s = buffer.force_encoding("UTF-8")
|
317
317
|
doc = Rexle.new(s)
|
@@ -342,7 +342,7 @@ s = "
|
|
342
342
|
|
343
343
|
def parse_to_h(s, header_pattern: %r(^<\?kvx[\s\?]))
|
344
344
|
|
345
|
-
raw_txt, _ = RXFHelper.read(s)
|
345
|
+
raw_txt, _ = RXFHelper.read(s)
|
346
346
|
|
347
347
|
# does the raw_txt contain header information?
|
348
348
|
a = s.strip.lines
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kvx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Robertson
|
@@ -35,7 +35,7 @@ cert_chain:
|
|
35
35
|
m/+jxdgFjKKGxeZqunu9cp5ca9wSjjtKh/VA/3xZtPwokCa7vCMB+ZxUP0jvd++u
|
36
36
|
OTXy8k/zqddw/VfD/It1UUK4
|
37
37
|
-----END CERTIFICATE-----
|
38
|
-
date: 2022-02-
|
38
|
+
date: 2022-02-19 00:00:00.000000000 Z
|
39
39
|
dependencies:
|
40
40
|
- !ruby/object:Gem::Dependency
|
41
41
|
name: line-tree
|
@@ -103,8 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
- !ruby/object:Gem::Version
|
104
104
|
version: '0'
|
105
105
|
requirements: []
|
106
|
-
|
107
|
-
rubygems_version: 2.7.10
|
106
|
+
rubygems_version: 3.2.22
|
108
107
|
signing_key:
|
109
108
|
specification_version: 4
|
110
109
|
summary: Kvx (Keys, Values, and XML) makes it convenient to store and retrieve the
|
metadata.gz.sig
CHANGED
Binary file
|