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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ff4faf628b2a56f8e278b8f7f2dcc266e2e08c1
4
- data.tar.gz: 19d633cb4a2c227a13c2def2df6f28368be4de3f
3
+ metadata.gz: 99889ba18cd4cad3f403ee1c63644a8e948199e1
4
+ data.tar.gz: c118a88de35fc0171030731777a6f8d639354ec4
5
5
  SHA512:
6
- metadata.gz: 3ab520669b91c498fd4ac6c24a0431bfa0a0e26f08708a4d774b33b525afadfc016f46adde48f46e358d6e4bf831778d8b52b0df7e713bd7cb82f4e066b53a54
7
- data.tar.gz: 40296952ad7c1d003b3b1b3a01a1c63aae1d80c639d36ce717195be1c47c030cdcd62071db448f5a5f3012d8f2d7a98e041f8181960a2a09b248b2220a305676
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
- if options["c"]
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
@@ -1,3 +1,3 @@
1
1
  module Milc
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.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-25 00:00:00.000000000 Z
11
+ date: 2015-03-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logger_pipe