cbor-diag 0.9.3 → 0.9.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/cbor-diag.gemspec +1 -1
  3. data/lib/cbor-pure.rb +2 -0
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d2f5a5b7004328e19eda678d89cf85258aaff376c0a066678841f7601a1ee7ee
4
- data.tar.gz: 1f66f10b0dd50edb027c3287bb7b59279752cc714a578e3981703bcdabea7c26
3
+ metadata.gz: 8d480918da78cb7f8d00b412cdccf4e4ff218f0c1ca798727a9404f7089bc350
4
+ data.tar.gz: a9dd918fe4738aef2b13784f46fe95df4ed2943edb9d74b30a88435a5a991bfb
5
5
  SHA512:
6
- metadata.gz: 200b7c3d5edf925b3726bfbb29e17c20033784f07281c9b71ad9684bcc1340d0c1b970eec379a30885b6cc1195c3fc34eb7b7df9c106cc4b8822aedcd6726624
7
- data.tar.gz: 4341884ae7a446d826f531981a0b79478ef60bf0dfd989cf9b2b191480bf5bd164debd323283e0368ba423b24cc5f15292cd6dd240cecdcfdb2e592d24f453bb
6
+ metadata.gz: 34e037c18cb38a009ff233369466dab741ad244cd5116b7d8a054614c55b6e70fe5cec2599cf4e88af2ab01e59f700e64c56d07f1b855eefb9da0a860eacdd11
7
+ data.tar.gz: 27d71d7b0463c202b21f24e30ec9a9cc4a0cd5b62141c11dd243169db48d1ba39515296f5d7a30456bae32796b0b892468b274f9f9768082200640dd064a67e6
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.3"
3
+ s.version = "0.9.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 8949 and RFC 8742}
6
6
  s.author = "Carsten Bormann"
data/lib/cbor-pure.rb CHANGED
@@ -258,12 +258,14 @@ module CBOR
258
258
  result = subs.join.cbor_stream!(subs.map(&:length)).force_encoding(want_encoding)
259
259
  when 4
260
260
  result = Array.new;
261
+ result.cbor_stream!
261
262
  while (element = decode_item(true)) != BREAK
262
263
  result << element
263
264
  end
264
265
  result
265
266
  when 5
266
267
  result = Hash.new
268
+ result.cbor_stream!
267
269
  while (key = decode_item(true)) != BREAK
268
270
  result[key] = decode_item
269
271
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cbor-diag
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.3
4
+ version: 0.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carsten Bormann