cbor-diag 0.5.8 → 0.5.9
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/bin/cbor2diag.rb +4 -4
- data/cbor-diag.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c881af90822830a91b0437b51dcc4f321c4672adf94bacea8e22b756ff87474c
|
|
4
|
+
data.tar.gz: 1c35d18f9f7df6690f4930e26da43e1f50282e0b227a8da0e905b86d262e9866
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 75f6d9bccbb3f122f8873b7614b52c93a597f21447a42c9961c289611e22d00644a954307323213a0ec74ad003321fac1541499a8d1d7a0b30a262b57d014628
|
|
7
|
+
data.tar.gz: 19b4d359e3e3d9702e7aae54347e018c74999f11af36c7a88525885114ba82e4e8631287d4ab32ae344580d772c59ffe41a6f6144558e4430e04ca85e4f35b7d
|
data/bin/cbor2diag.rb
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env ruby
|
|
2
2
|
require 'cbor-diagnostic'
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
options = ''
|
|
5
|
+
while /\A-([et]+)\z/ === ARGV[0]
|
|
6
|
+
options << $1
|
|
7
7
|
ARGV.shift
|
|
8
8
|
end
|
|
9
9
|
|
|
10
10
|
ARGF.binmode
|
|
11
11
|
i = ARGF.read
|
|
12
12
|
o = CBOR.decode(i)
|
|
13
|
-
puts o.cbor_diagnostic(try_decode_embedded:
|
|
13
|
+
puts o.cbor_diagnostic(try_decode_embedded: /e/ === options, bytes_as_text: /t/ === options)
|
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.5.
|
|
3
|
+
s.version = "0.5.9"
|
|
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"
|
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.5.
|
|
4
|
+
version: 0.5.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Carsten Bormann
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2021-01-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
127
127
|
- !ruby/object:Gem::Version
|
|
128
128
|
version: '0'
|
|
129
129
|
requirements: []
|
|
130
|
-
rubygems_version: 3.
|
|
130
|
+
rubygems_version: 3.2.3
|
|
131
131
|
signing_key:
|
|
132
132
|
specification_version: 4
|
|
133
133
|
summary: CBOR (Concise Binary Object Representation) diagnostic notation
|