milc 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/milc/base.rb +6 -6
- data/lib/milc/version.rb +1 -1
- 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: 99889ba18cd4cad3f403ee1c63644a8e948199e1
|
4
|
+
data.tar.gz: c118a88de35fc0171030731777a6f8d639354ec4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0972a6b80a373bbedecfaa8bceb8147f5b0b024c06c5e6154ebc420befef9d01d9fa64ac70844ee1e96601b96802a7befcf2fa6750973a9dabc7917ba5744a16
|
7
|
+
data.tar.gz: 1e6497230c1eb8ec4bd7a5e5a34927e8846d74e2b929182021504d798e096a593612760f97d800d51d97cdb9158181bdc4019649a9c26b20372d670fb3e94eed
|
data/lib/milc/base.rb
CHANGED
@@ -69,6 +69,11 @@ module Milc
|
|
69
69
|
end
|
70
70
|
|
71
71
|
def load_options(options)
|
72
|
+
if options["c"]
|
73
|
+
load_from_yaml(options["c"])
|
74
|
+
else
|
75
|
+
show_help_and_exit1
|
76
|
+
end
|
72
77
|
end
|
73
78
|
|
74
79
|
def setup(args)
|
@@ -82,12 +87,7 @@ module Milc
|
|
82
87
|
Milc.dry_run = !!options["n"]
|
83
88
|
Milc.verbose = !!options["V"]
|
84
89
|
|
85
|
-
|
86
|
-
load_from_yaml(options["c"])
|
87
|
-
load_options(options)
|
88
|
-
else
|
89
|
-
show_help_and_exit1
|
90
|
-
end
|
90
|
+
load_options(options)
|
91
91
|
end
|
92
92
|
|
93
93
|
def run(args)
|
data/lib/milc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: milc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- akm
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logger_pipe
|