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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/exe/cdqi +4 -2
  3. data/lib/cdqi/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c615addf0b44693553f73f46ceb0f225fb33a6ed
4
- data.tar.gz: 23bbbb9ed9e4d5d2f3efab05debd0b664b64ab2a
3
+ metadata.gz: ce2eea49d68a40b5ea858608762f9ecb36b61e02
4
+ data.tar.gz: 105f5c94765af9414a7dd384b8045f0ebffa3e44
5
5
  SHA512:
6
- metadata.gz: 4cecc9517d70e414adc5f48f43de76e5b88f5b124fcc5b08968f5ccc90cd213063ace0305a31e3fa16382e392ed59b51a3c91f8731bd2eddac6dff212a7e9759
7
- data.tar.gz: 1657d0b1ad1685ecd460611437e866dedd5bb1970aff9999136e22152ca893f1fcb67433ff41a76ffb9e41878a006918263f42f2b24b0bd0be5afd410c1b71a8
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."
@@ -1,3 +1,3 @@
1
1
  module CDQI
2
- VERSION = "7.0.1"
2
+ VERSION = "7.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cdqi
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.1
4
+ version: 7.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gregory Higley