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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 59fe7880fcbc6fb271deaa4a861cc59bfbc5c5066ad1ce3bcf8f5118500772da
4
- data.tar.gz: 80add92b8de605c41f52b3d980c1dbef1e0ab36528967ee4afd01f6d489aa29b
3
+ metadata.gz: 0724c094fbdbb1a44eceb5d0e8f00da74ab87e32b77a3c26b78a4ca343764495
4
+ data.tar.gz: 6476d63eb97631de3cbc280d2daf306695227c3f4b7b2cb16bd7836f016d6e1b
5
5
  SHA512:
6
- metadata.gz: c0c42b50055513832cd28efd095fd924359c396af986fc5769b28efb867bf64bcf1175653e1b414b5790184d9feba8500ff4b9a480128d3b38f6ada8e8db1bfa
7
- data.tar.gz: cc230dcef1e3eeb604523676e1d335243706b86d691e210d2cc4fc82a81f14c33cefe1977fb1db1907d7634625b0f008748bdd118d30abfb5720fba0b2441ea0
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.force_encoding("UTF-8").lstrip =~ /^<\?xml/ then
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).force_encoding("UTF-8")
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.2
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-18 00:00:00.000000000 Z
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
- rubyforge_project:
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