dcp 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/exe/dcp +7 -4
- data/lib/dcp/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 443a8aeede841ab51e1599ad08b8fb4e905de9cebc7b1b66caf135f1ef46864f
|
4
|
+
data.tar.gz: 0c11715af33f809bad76c6c7d0959b14ed56756982a9d7007e13b07dc5ecfe86
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10afb67747d77d9a1fe3f49daa3c6913e31a80df837ae575264070b0631c1c2d62d9cb377721cfd84402369cb9df08bd074379a8540509c75e0417bc2176254d
|
7
|
+
data.tar.gz: aaa4de559daf52fa455b14b7b8ea33234c6453708867d641d3818206a1e6d1ebd41ac5ba3115257ba4a5cf147eaf9425416a776619b7e86ccd356eaed704b9c0
|
data/Gemfile.lock
CHANGED
data/exe/dcp
CHANGED
@@ -30,10 +30,13 @@ module DCP
|
|
30
30
|
private
|
31
31
|
def parse_options(argv = ARGV)
|
32
32
|
op = OptionParser.new
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
33
|
+
|
34
|
+
self.class.module_eval do
|
35
|
+
define_method(:usage) do |msg = nil|
|
36
|
+
puts op.to_s
|
37
|
+
puts "error: #{msg}" if msg
|
38
|
+
exit 1
|
39
|
+
end
|
37
40
|
end
|
38
41
|
|
39
42
|
opts = {
|
data/lib/dcp/version.rb
CHANGED