cdqi 7.0.1 → 7.0.2
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/exe/cdqi +4 -2
- data/lib/cdqi/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ce2eea49d68a40b5ea858608762f9ecb36b61e02
|
4
|
+
data.tar.gz: 105f5c94765af9414a7dd384b8045f0ebffa3e44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1114c63ce5176e942092209724aae4379ad6925cbfa72257d6d6054590a0b5010abba478c7e3c2150be3e07916204c01215d7cf6a7893b00bf2fff56ae7e4b31
|
7
|
+
data.tar.gz: 69056705c2ac43f8b7ad9929f409433197aebb0c4c138f89dbdb9fb8440e75d76ebd33759ea11c25f7d3b95ade39828bcd999016d93e3ea1b901faa693b17721
|
data/exe/cdqi
CHANGED
@@ -21,6 +21,10 @@ $options.suffix = "Attribute"
|
|
21
21
|
$options.indent = 4
|
22
22
|
|
23
23
|
option_parser = OptionParser::new do |opts|
|
24
|
+
opts.on("-v", "--version", "Print version and quit.") do |opt|
|
25
|
+
puts CDQI::VERSION
|
26
|
+
exit
|
27
|
+
end
|
24
28
|
opts.on("-f", "--force", "Force overwrite existing files") do |opt|
|
25
29
|
$options.force = opt
|
26
30
|
end
|
@@ -222,8 +226,6 @@ File::open(model_path) do |fd|
|
|
222
226
|
end
|
223
227
|
|
224
228
|
def write_file_header(io)
|
225
|
-
io.puts "//"
|
226
|
-
io.puts "// Generated by CDQI on #{DateTime::now.strftime('%Y-%m-%d')}."
|
227
229
|
io.puts "//"
|
228
230
|
io.puts "// This file was generated by a tool. Further invocations of this tool will overwrite this file."
|
229
231
|
io.puts "// Edit it at your own risk."
|
data/lib/cdqi/version.rb
CHANGED