cbor-diag 0.1.3 → 0.1.4
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 +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b69d3972c5025e19fc39e62c2f3047d065175937
|
|
4
|
+
data.tar.gz: 751518e67725d57779c880cfa7dd5076f88e4434
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 678e307b425002b382c970432808d5fdb83743b1318a72ee6f0bd6e8d14940089668a0e3d22d6d55e0c87029d5849bb59f866efe63d2d887ba275e5363ddf8a2
|
|
7
|
+
data.tar.gz: a63b963cf1f68b75349a87a39bf91280c844649bf8eaeaf49c12cab3c14f5d13f67ee42800e52e68ab239e580d691e55f712b197151c9dd7ae89d95b0d9fbc22
|
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.1.
|
|
3
|
+
s.version = "0.1.4"
|
|
4
4
|
s.summary = "CBOR (Concise Binary Object Representation) diagnostic notation"
|
|
5
5
|
s.description = %q{cbor-diag implements diagnostic notation for CBOR, RFC 7049}
|
|
6
6
|
s.author = "Carsten Bormann"
|
data/lib/cbor-diag-parser.rb
CHANGED
|
@@ -1318,11 +1318,11 @@ module CBOR_DIAG
|
|
|
1318
1318
|
i2, s2 = index, []
|
|
1319
1319
|
s3, i3 = [], index
|
|
1320
1320
|
loop do
|
|
1321
|
-
if has_terminal?(@regexps[gr = '\A[0-9a-
|
|
1321
|
+
if has_terminal?(@regexps[gr = '\A[0-9a-zA-Z_\\-+/]'] ||= Regexp.new(gr), :regexp, index)
|
|
1322
1322
|
r4 = true
|
|
1323
1323
|
@index += 1
|
|
1324
1324
|
else
|
|
1325
|
-
terminal_parse_failure('[0-9a-
|
|
1325
|
+
terminal_parse_failure('[0-9a-zA-Z_\\-+/]')
|
|
1326
1326
|
r4 = nil
|
|
1327
1327
|
end
|
|
1328
1328
|
if r4
|