cbor-diag 0.9.1 → 0.9.2

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: 8f5f740d95ba93b29dbb055e7bef4ca565c6e5dca0480f5b158ca13cf89926ee
4
- data.tar.gz: 331b0b2f200e9d9a3c204ff412d126b029f308a083ad9f1909e4451e3468574e
3
+ metadata.gz: 8f01333932a6fb7c1479a0c82afb49fbc52ce8f854675b5b9c7340bfe6251a4e
4
+ data.tar.gz: 6e5b104bbf7214ea2104e07681f48dfb84e5de1c3b2f4fdb8e47609616d29b62
5
5
  SHA512:
6
- metadata.gz: 29564130a614b985b937802b8af3d71287e9fe28da8d1c95ebd0c17cb32a600014775f4f6995b5349806d9de60bc5db1c66f0453f92768916e916e27143f17fe
7
- data.tar.gz: ce45dc8cfc3e96cbb26e7f8f6ba5cb6bba2923adbe05f3114abc39ad727022f04cbb7e8c1d19775166398e53e30b346df3a594fde60b736157ef96d6fdcad272
6
+ metadata.gz: 58e2602d6c645d2f22f99293be8708d16f56adc2def08d59f2f231e561e9a71f7a6a71759f4c3a2bf6d1305498c5aa29abf6ecca22309925791145bdeb246cf0
7
+ data.tar.gz: 14a216acb543617fae6713a2742f9ab40861f609bd55cdadd05eb71094e5abd393e0d60725ec42fc5fe8e9402141b359fb706ade71faa6c695407adec0f4c877
data/cbor-diag.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cbor-diag"
3
- s.version = "0.9.1"
3
+ s.version = "0.9.2"
4
4
  s.summary = "CBOR (Concise Binary Object Representation) diagnostic notation"
5
5
  s.description = %q{cbor-diag implements diagnostic notation for CBOR, RFC 8949 and RFC 8742}
6
6
  s.author = "Carsten Bormann"
@@ -2,7 +2,7 @@ require 'scanf'
2
2
 
3
3
  class CBOR_DIAG::App_nan
4
4
  def self.decode(_, s)
5
- val, = s.scanf("%a")
5
+ val, = s.sub("p0", "p+0").scanf("%a")
6
6
  raise ArgumentError.new ("nan'#{s}' not valid") unless val &&
7
7
  val.abs > 1.0 && val.abs < 2.0
8
8
  val.cbor_nan_toggle
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cbor-diag
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.1
4
+ version: 0.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carsten Bormann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-04 00:00:00.000000000 Z
11
+ date: 2024-08-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler