lilp 0.2.0 → 0.2.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 (3) hide show
  1. data/lib/lilp/base.rb +5 -0
  2. data/lib/lilp/version.rb +1 -1
  3. metadata +1 -1
@@ -14,6 +14,11 @@ module Lilp
14
14
  @parser.on("-o", "--output D", String, "Output directory") do |val|
15
15
  @params[:output] = File.join('.', "#{val}")
16
16
  end
17
+
18
+ @parser.on("-v", "--version", "Version number") do
19
+ puts "lilp version " + Lilp::VERSION
20
+ exit
21
+ end
17
22
  end
18
23
 
19
24
  def parse
@@ -1,6 +1,6 @@
1
1
  # To keep up with the version, we declare it as a constant under
2
2
  # the Lilp module.
3
3
  module Lilp
4
- VERSION = '0.2.0'
4
+ VERSION = '0.2.2'
5
5
  end
6
6
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: lilp
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.0
5
+ version: 0.2.2
6
6
  platform: ruby
7
7
  authors:
8
8
  - Michael Sokol