pptxt 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/pptxt +5 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ee0f088cbafc8acf18a4032651f4cc7cd9987678
|
4
|
+
data.tar.gz: 50eaaf5ff4322805f3abbcbe9c9ea08d4fcc8206
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: efbe6d59deb623df42e9a05a4be5e1bbee8a4efedd6f127b0d82adb9238cedbc9ea61485f787ff83d547659870da5484fb1cfaddd3c415993dd58a744e05b07a
|
7
|
+
data.tar.gz: 2f4ca9367b9f0f36238f3dda4fcf6e82ffebf642200ff643be9d5c9ba24284467c91a52e2c0e49b0f1b2ee89c0ffc71da01815caa2c5eafc613cdf05f37147be
|
data/bin/pptxt
CHANGED
@@ -13,6 +13,7 @@ class PPtxtExit
|
|
13
13
|
MISSING_ARGUMENT = 3
|
14
14
|
EXTRA_ARGUMENTS = 4
|
15
15
|
EXCEPTION = 5
|
16
|
+
AMBIGUOUS_ARGUMENT = 6
|
16
17
|
end
|
17
18
|
|
18
19
|
def parse(args)
|
@@ -84,6 +85,10 @@ def parse(args)
|
|
84
85
|
puts e.message
|
85
86
|
puts parser
|
86
87
|
exit PPtxtExit::MISSING_ARGUMENT
|
88
|
+
rescue OptionParser::AmbiguousOption => e
|
89
|
+
puts e.message
|
90
|
+
puts parser
|
91
|
+
exit PPtxtExit::AMBIGUOUS_ARGUMENT
|
87
92
|
end
|
88
93
|
|
89
94
|
if (args.empty?)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pptxt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miles Whittaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|