edn-abnf 0.1.5 → 0.1.6

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: a595a62b037a2f01e97e65a81ded57ab06f7bb8644b13b154ec0cff3bc10024c
4
- data.tar.gz: 9e08a40602ace456c0f354dd9c0faa377bfa5dc45e8f457210808d0933cb49ab
3
+ metadata.gz: 4a6d50c20324f9915e90cb313aae08cb443bc60102e99eab1c40bd64744371d2
4
+ data.tar.gz: 4a90a0f27bc2fdb1827a0537a68bdd9a97968945aef23dc8fb94ba379719c4ef
5
5
  SHA512:
6
- metadata.gz: af634c12b0f15f52f1693e5ffc341bdb3c212cb162fbb34b912183d525069029a2c946a8b09143da497fda2726407d22f46e1ebce3f75bbe70550bceb6ac9566
7
- data.tar.gz: d17d1bb4da4943e31d2670a21e05b7a0ce4f74bbb202e5732f7f93bef469301b4c600168e48615a4458cab1c7d84b60dcd7b9ba4bc331ef6ed7ff63cb84080a9
6
+ metadata.gz: cddfcc37da78d059dd33d771ec1759d19be1111512335c5a89fafc50402249ee9755197aed94628b2c5b7469e7b765f661ce0f26ba9c914e5665daa9efd8f9b8
7
+ data.tar.gz: 1bf62702cbb69f420832f24ec82cf42db7f13c15179adf519899aa2e2f655e0ea1d4f9250051c8305e7cf955421b37169a2bd147ead874f123ab470dc9abf4cc
data/edn-abnf.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "edn-abnf"
3
- s.version = "0.1.5"
3
+ s.version = "0.1.6"
4
4
  s.summary = "CBOR Extended Diagnostic Notation (EDN) implemented in ABNF"
5
5
  s.description = %q{edn-abnf implements converters and miscellaneous tools for CBOR EDN's ABNF}
6
6
  s.author = "Carsten Bormann"
@@ -80,8 +80,8 @@ module HGRAMMAR
80
80
  curr = [el]
81
81
  end
82
82
  }
83
- if out.size == 0 && String === curr[0]
84
- curr.join # unpack_thread(curr)
83
+ if out.size == 0 && (curr.size == 0 || String === curr[0])
84
+ curr.join.b # unpack_thread(curr)
85
85
  else
86
86
  CBOR::Tagged.new(888, (out << curr).map {|x| unpack_thread(x)})
87
87
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: edn-abnf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carsten Bormann
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-27 00:00:00.000000000 Z
11
+ date: 2024-04-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
122
122
  - !ruby/object:Gem::Version
123
123
  version: '0'
124
124
  requirements: []
125
- rubygems_version: 3.4.10
125
+ rubygems_version: 3.5.4
126
126
  signing_key:
127
127
  specification_version: 4
128
128
  summary: CBOR Extended Diagnostic Notation (EDN) implemented in ABNF