cbor-diag 0.8.4 → 0.8.5

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: 4a3163ba242d988fe3de24ae969175fb395140fcd471c62d87ad6a63375295b3
4
- data.tar.gz: 490fe38bed173ca0f43d8beb58b82175b3d8bd9afecafe43990ce1863e2dffad
3
+ metadata.gz: 874c39aa430d1c66778805425a48b8223ca300d07467098273d82e1f00d684bc
4
+ data.tar.gz: eb6fec8c5fbd56b412154c23f5b5205cfb9c298634ddaf754b389400a52d2ffa
5
5
  SHA512:
6
- metadata.gz: 808cdfe201f5233f1f4992d479e7b3d582532a0730ef8aeac946cd3cb1be087035af7354c296b97718fae9682eba37ae2b61c3a18183a2715de489141d338c65
7
- data.tar.gz: 8c45f267a209a892bc2f69bdd4a4ad24f15838ca164297734e4d82b51930c70b6d3a5d99384a22b9e530ded365ee6e9441a050efc854bd81ee9169f3c230a366
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.4"
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"
@@ -1732,11 +1732,10 @@ module CBOR_DIAG
1732
1732
  end
1733
1733
 
1734
1734
  module BstringPart2
1735
- #"
1736
- def partval
1737
- v = s.text_value
1738
- {"b" => "\b", "f" => "\f", "n" => "\n", "r" => "\r", "t" => "\t"}[v] || v
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["\\\\/bfnrt]'] ||= Regexp.new(gr), :regexp, index)
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('["\\\\/bfnrt]')
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
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-02-05 00:00:00.000000000 Z
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.2
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