cbor-diag 0.8.4 → 0.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/cbor-diag.gemspec +1 -1
- data/lib/cbor-diag-parser.rb +6 -7
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 874c39aa430d1c66778805425a48b8223ca300d07467098273d82e1f00d684bc
|
|
4
|
+
data.tar.gz: eb6fec8c5fbd56b412154c23f5b5205cfb9c298634ddaf754b389400a52d2ffa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 16e2d15926aef6606baca2bd6ecb2cfa36471cd0bf51860fe0951bfa5bae2ddc28af5c05e6dad291332d832a8990f9cf3774619b87617d3aa339c866b15d6e01
|
|
7
|
+
data.tar.gz: c39f2222f467ab9c5b6fbd894c378890896df0272a253354876fcf7c925ebb654b4cf0dba5a699630dad8afb5a163965b3561d205a83dcbe2bc1985ff1395cf5
|
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.8.
|
|
3
|
+
s.version = "0.8.5"
|
|
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"
|
data/lib/cbor-diag-parser.rb
CHANGED
|
@@ -1732,11 +1732,10 @@ module CBOR_DIAG
|
|
|
1732
1732
|
end
|
|
1733
1733
|
|
|
1734
1734
|
module BstringPart2
|
|
1735
|
-
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
end
|
|
1735
|
+
def partval
|
|
1736
|
+
v = s.text_value
|
|
1737
|
+
{"b" => "\b", "f" => "\f", "n" => "\n", "r" => "\r", "t" => "\t"}[v] || v
|
|
1738
|
+
end
|
|
1740
1739
|
end
|
|
1741
1740
|
|
|
1742
1741
|
module BstringPart3
|
|
@@ -1825,11 +1824,11 @@ module CBOR_DIAG
|
|
|
1825
1824
|
end
|
|
1826
1825
|
s3 << r4
|
|
1827
1826
|
if r4
|
|
1828
|
-
if has_terminal?(@regexps[gr = '\A[
|
|
1827
|
+
if has_terminal?(@regexps[gr = '\A[\'\\\\/bfnrt]'] ||= Regexp.new(gr), :regexp, index)
|
|
1829
1828
|
r5 = true
|
|
1830
1829
|
@index += 1
|
|
1831
1830
|
else
|
|
1832
|
-
terminal_parse_failure('[
|
|
1831
|
+
terminal_parse_failure('[\'\\\\/bfnrt]')
|
|
1833
1832
|
r5 = nil
|
|
1834
1833
|
end
|
|
1835
1834
|
s3 << r5
|
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.8.
|
|
4
|
+
version: 0.8.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Carsten Bormann
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-06-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -190,7 +190,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
190
190
|
- !ruby/object:Gem::Version
|
|
191
191
|
version: '0'
|
|
192
192
|
requirements: []
|
|
193
|
-
rubygems_version: 3.4.
|
|
193
|
+
rubygems_version: 3.4.6
|
|
194
194
|
signing_key:
|
|
195
195
|
specification_version: 4
|
|
196
196
|
summary: CBOR (Concise Binary Object Representation) diagnostic notation
|