cbor-elision 0.0.1 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cdd78bc9cb9e28d583bda6fd95a46dc60581ff1c7c37e79c6250083c268a9f9f
4
- data.tar.gz: 9ca8f6d93f55acc6f6f66e02c6eee0b60391d9bc5367210a4c099f67dd1403d5
3
+ metadata.gz: d77af3091357e4863588014d6b6b48d6c9e31e059dd592e29de494bc878bd28e
4
+ data.tar.gz: 4b5db126ad6ccb75dc99c22e44388a360c32af5e2ad6d372b4587a625b391ac8
5
5
  SHA512:
6
- metadata.gz: ec2f45cfcb0bcc500a47d6c3be3552a6a1588672a1e36581b12d12382ce5138264443990d57ed96368828a0973a4d9e905d0fabe28c285dc09fe9d43dd06c95a
7
- data.tar.gz: 1b76e49d8a34bc9490409209c69fe1c17e7bbf0da8f8f4a2cb4f65f69f940b3a3f82a77a3413acdf7f5299af4176a4d3b2d9e3b88557bbb65af70219ae13efae
6
+ metadata.gz: c645a550f85f4dae189fe7d42b29fa3fdb841c36dee6c3aee49da4d1fec43d43d5a16c3bb818644575408a5b1bcc608859003a66ddc0028be58c6ceb9004f5d0
7
+ data.tar.gz: 0d257d9e66fdb0e74c9b4415b09eb1d6744a47d432b5d5c871931f3442442029d2ef7a1c8b291f71d7f69d1217e0da5eecb3ffbfd2b6abcb296f8c0c9629b64d
data/cbor-elision.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "cbor-elision"
3
- s.version = "0.0.1"
3
+ s.version = "0.0.2"
4
4
  s.summary = "CBOR (Concise Binary Object Representation) diagnostic notation"
5
5
  s.description = %q{cbor-elision implements elision for CBOR diagnostic notation}
6
6
  s.author = "Carsten Bormann"
@@ -8,9 +8,9 @@ class CBOR_DIAG::App_h
8
8
  if s == "..."
9
9
  CBOR::Tagged.new(888, nil)
10
10
  else
11
- xeh_string(s)
11
+ xeh_string(s) if s != ""
12
12
  end
13
- }
13
+ }.compact
14
14
  CBOR::Tagged.new(888, content)
15
15
  end
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cbor-elision
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carsten Bormann