dcm 0.0.22 → 0.0.23

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cli.rb +3 -5
  3. data/lib/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4d1b0aa8f081ef0f1efbca60cc9ead8e1ea76b78d2c53cc620660a9b5557683
4
- data.tar.gz: b158d5f4234c7a8f1475c677a65598212d01b017c8381659080882995f7d0845
3
+ metadata.gz: ab86f373337b427a453e8d0f770997486c9cc93d18158b7bb5ae047da68c9c87
4
+ data.tar.gz: 05532ca2abafb2b0a021e5b9b93806482b04dcb1e087786a240c3ce93a530859
5
5
  SHA512:
6
- metadata.gz: 353275fc1499468ef1a193f962010bed519cffc00b9ea224614364ade58ec62b34908ae9cebb0e416ed6b5ad83b37fca0d8668df6731852227482f126452da29
7
- data.tar.gz: ed0ddf049c9f8b0beb037260d6e59183b8fb8884dfc858a654c8d73a17a6e2e928bf7ecca823d4ee6ff20f268f1c4d966cd3cfb8541bb2c093586136d8d991c8
6
+ metadata.gz: 398a01fb11da5563ff6d035dd935118783a21dbf79711dae09830e3992980914961a4eaa75887452a0750ad450796b1427cc57306e8712d6fd1a406854bdd6bf
7
+ data.tar.gz: f191a8b89c6eede286cb3eb9b80d6eca62952b751cd4a63f6bb8bb2beccdd3dabe57dce3cbcbcae84403a032e201bffdfb8fd6f7b9423e60dd0a7793aabc579c
data/lib/cli.rb CHANGED
@@ -21,8 +21,6 @@ module Dcm
21
21
 
22
22
  class CLI < Thor
23
23
 
24
- check_unknown_options!
25
-
26
24
  def help
27
25
  super
28
26
  puts <<~EOS
@@ -42,7 +40,7 @@ module Dcm
42
40
  option :indented, aliases: ["-i"], type: :boolean, default: false
43
41
  def new(*spec)
44
42
  list = parse_spec(spec)
45
- puts list.to_dcm(option[:indented])
43
+ puts list.to_dcm(options[:indented])
46
44
  rescue RuntimeError => e
47
45
  puts e.message
48
46
  exit 1
@@ -264,8 +262,8 @@ module Dcm
264
262
  end
265
263
  Ecu::LabelList.from_dcm(FileReader.read(file))
266
264
  rescue Ecu::MalformedDcmError => e
267
- puts e.message
268
- puts e.context
265
+ STDERR.puts e.message
266
+ STDERR.puts e.context
269
267
  exit 1
270
268
  end
271
269
 
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dcm
2
- VERSION = "0.0.22"
2
+ VERSION = "0.0.23"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dcm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.22
4
+ version: 0.0.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Mueller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-01-29 00:00:00.000000000 Z
11
+ date: 2025-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: automotive-ecu