epinfo 1.0.1 → 1.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.
- data/lib/epinfo.rb +5 -1
- data/lib/epinfo/version.rb +1 -1
- 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', '
|
|
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
|
data/lib/epinfo/version.rb
CHANGED
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.
|
|
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-
|
|
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:
|