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.
- checksums.yaml +4 -4
- data/lib/cli.rb +3 -5
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab86f373337b427a453e8d0f770997486c9cc93d18158b7bb5ae047da68c9c87
|
4
|
+
data.tar.gz: 05532ca2abafb2b0a021e5b9b93806482b04dcb1e087786a240c3ce93a530859
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(
|
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
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.
|
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-
|
11
|
+
date: 2025-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: automotive-ecu
|