epinfo 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/epinfo.rb +5 -1
  2. data/lib/epinfo/version.rb +1 -1
  3. metadata +2 -2
data/lib/epinfo.rb CHANGED
@@ -13,10 +13,14 @@ class EPInfo
13
13
  opts = OptionParser.new do |opts|
14
14
  opts.banner = "Usage: epinfo [filename]\n"
15
15
 
16
- opts.on('-h', '--help', 'Display this screen') do
16
+ opts.on('-h', '--help', 'show this screen') do
17
17
  puts opts
18
18
  exit
19
19
  end
20
+ opts.on('-v', '--version', 'show version information') do
21
+ puts EPInfo::VERSION
22
+ exit
23
+ end
20
24
  end
21
25
 
22
26
  begin
@@ -1,3 +1,3 @@
1
1
  class EPInfo
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epinfo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-14 00:00:00.000000000 Z
12
+ date: 2013-01-15 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: command line tool to show epub information
15
15
  email: