cbor-diag 0.8.7 → 0.8.8

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: f70fce43ab3868aa9a1238e8a97b948f91728237d5a3cbb392c175f5eb0157d7
4
- data.tar.gz: ee3b22b76582758b1cc3e49e8b4a56678ed6cc4f3faf80c630bd7bacefca748f
3
+ metadata.gz: 379c2b3b6dfeeea6841c7892dea788a50b2960c511b25a1caece85cdffbe3d42
4
+ data.tar.gz: 789d2200064abbc728744bb418027e56b6516d20464a020739de9f12cbb6439e
5
5
  SHA512:
6
- metadata.gz: 48247fcfa7ff800328bb785f95f6de827bcb219d08b4c19c90c29654c33f4c85dcbc377ceac1bfa5b418a4fefdd26940ec64c9498346f0643f840778e6e7f351
7
- data.tar.gz: 10d4dcee7c89ffc6895413d00c42a79e618a6dc1368616e1e5ad33b5e0ca8a3dc9828d77885f96e3a945b2c6fdeff0a178e998dac76c459b136f83cda0cef562
6
+ metadata.gz: e4e20ee282d15a50654c605137eb8ad0f02b109d368e60a62a38adc3e48d7b00a7736d57dc80f56a745bf0731a0e2decff670a4d960c80eb853cd9c3021ecbf8
7
+ data.tar.gz: 40fac29e490c8389573b2ca7c6d0de591228c7dc5721eca5942993726cfd6aba4366220b53d906deb4294e8626a9a2b299e9c507dff6dfe76ed43b681e8c38e1
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.7"
3
+ s.version = "0.8.8"
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"
@@ -1101,7 +1101,7 @@ module CBOR_DIAG
1101
1101
  end
1102
1102
 
1103
1103
  module StringPart0
1104
- def partval; text_value.b end
1104
+ def partval; text_value.gsub("\r", "").b end
1105
1105
  end
1106
1106
 
1107
1107
  module StringPart1
@@ -1169,11 +1169,11 @@ module CBOR_DIAG
1169
1169
  i0 = index
1170
1170
  s1, i1 = [], index
1171
1171
  loop do
1172
- if has_terminal?(@regexps[gr = '\A[^\\\\"]'] ||= Regexp.new(gr), :regexp, index)
1172
+ if has_terminal?(@regexps[gr = '\A[^\\\\"\\t]'] ||= Regexp.new(gr), :regexp, index)
1173
1173
  r2 = true
1174
1174
  @index += 1
1175
1175
  else
1176
- terminal_parse_failure('[^\\\\"]')
1176
+ terminal_parse_failure('[^\\\\"\\t]')
1177
1177
  r2 = nil
1178
1178
  end
1179
1179
  if r2
@@ -1722,7 +1722,7 @@ module CBOR_DIAG
1722
1722
  end
1723
1723
 
1724
1724
  module BstringPart0
1725
- def partval; text_value end
1725
+ def partval; text_value.gsub("\r", "") end
1726
1726
  end
1727
1727
 
1728
1728
  module BstringPart1
@@ -1789,11 +1789,11 @@ module CBOR_DIAG
1789
1789
  i0 = index
1790
1790
  s1, i1 = [], index
1791
1791
  loop do
1792
- if has_terminal?(@regexps[gr = '\A[^\\\\\']'] ||= Regexp.new(gr), :regexp, index)
1792
+ if has_terminal?(@regexps[gr = '\A[^\\\\\'\\t]'] ||= Regexp.new(gr), :regexp, index)
1793
1793
  r2 = true
1794
1794
  @index += 1
1795
1795
  else
1796
- terminal_parse_failure('[^\\\\\']')
1796
+ terminal_parse_failure('[^\\\\\'\\t]')
1797
1797
  r2 = nil
1798
1798
  end
1799
1799
  if r2
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.7
4
+ version: 0.8.8
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-08-24 00:00:00.000000000 Z
11
+ date: 2024-07-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.10
193
+ rubygems_version: 3.5.14
194
194
  signing_key:
195
195
  specification_version: 4
196
196
  summary: CBOR (Concise Binary Object Representation) diagnostic notation