cddl 0.12.4 → 0.12.5

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/cddl.gemspec +1 -1
  3. data/lib/cddl.rb +4 -0
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f150cc0a1db8532ed33bd7e9cfde5aa93a32883a4bf9ea7c0197e281acebd4ed
4
- data.tar.gz: af5a579a6465b21134583986899ba003b68f55964a92105b977da7765a9d5eaa
3
+ metadata.gz: b77b45ee60d8e79876e52c98aa9ab48548edf4e8af92faa28672db533c292a39
4
+ data.tar.gz: f4f61374b1b0c74010f4e2f73ef87487889b1d5f5feefbedba829bba685fc959
5
5
  SHA512:
6
- metadata.gz: 4cc593dfeac8e95d31d563e098c0cdefc786a25e95245b30f2554a6a2b07fcd75476051e55ddcf350724a7ac5f69b5823b296d771d3bc2ad985c3770687d7727
7
- data.tar.gz: d513213818f2b00f88864d799adea6495aa97a011da8a8f722f4091938ddd4d0bbfd27c75959fc893ad86fdbb079f93618442a93fafabb7e58b5ecdb59c87929
6
+ metadata.gz: ed08c886645ce05ad9af193ce4e2a724f1d394c731a3e5438112fd1a5a7a264db2833036d004ec249052ca9cefb42f5a5adb6a13c6ab1ef186edf524debc4b3a
7
+ data.tar.gz: e4bcc5a23cf88e2a20d5238a1f2ebf74fa3ae2988deaf3f71336bd009b15b38d511c0cd037a68923d24a86b5ae7d41365f1b31d5294fdeb6ab57dd0f13117ec1
data/cddl.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'cddl'
3
- s.version = '0.12.4'
3
+ s.version = '0.12.5'
4
4
  s.summary = "CDDL generator and validator."
5
5
  s.description = %{A parser, generator, and validator for CDDL}
6
6
  s.add_dependency('cbor-diag')
data/lib/cddl.rb CHANGED
@@ -1428,6 +1428,10 @@ module CDDL
1428
1428
  else
1429
1429
  [:type1]
1430
1430
  end
1431
+ elsif s = ENV["CDDL_INVENT"]
1432
+ s = "_" if s == ""
1433
+ r = [:type1, [:text, "#{s}-#{name}"]]
1434
+ return r
1431
1435
  end
1432
1436
  end
1433
1437
  if r
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cddl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.4
4
+ version: 0.12.5
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-06-17 00:00:00.000000000 Z
11
+ date: 2024-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cbor-diag