middleman-cli 4.1.12 → 4.1.13

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: 9583d99ace74d31b43b15deff477dfb7e77869b3
4
- data.tar.gz: 0c62993294c97c3db5156c8f8be09f5d36a9b097
3
+ metadata.gz: 424921b70cbb4ad03bedfeab1a4d5b44abf3e7dd
4
+ data.tar.gz: b9e7be647241b0b06130412a4d9f159c4de779e3
5
5
  SHA512:
6
- metadata.gz: 87fac31502858937c9735f10aa8316741a2d5884f147c2182c7d6eef81f62df4ea1a8f2a027508b65100601b40a67e8cc78d14539c0f7b05ce7dd414e839c486
7
- data.tar.gz: 5784535dabb0ede3c997e3599ad7cd40bdcb9aab7b0bd3586ea0e4b72f68938124b4a515f78cb849a3bd80d67e3b0f72d67b1c5da86853eff53c1d01eeff2706
6
+ metadata.gz: 6f9068ae428d31ce9e88cbd74990f7633d12e51b3451200a185c66bfc32fce971b559a4171b501c4c11725101386c42dad0d0cad5845e11b35919b5f8e7a61c5
7
+ data.tar.gz: d10cc99cb8c9a2fa976984d0c4cb79423bef070382239f99ed2f84a3c28fc22e99b6ede829ef0fd9e5847db64435fea65c37f03f327d91d271fc80fe29698dd7
data/bin/middleman CHANGED
@@ -25,12 +25,10 @@ module Middleman::Cli
25
25
  if setting.default.is_a?(String) || setting.default.is_a?(NilClass)
26
26
  base.class_option setting.key,
27
27
  type: :string,
28
- default: :undefined,
29
28
  desc: setting.description
30
29
  elsif setting.default.is_a?(TrueClass) || setting.default.is_a?(FalseClass)
31
30
  base.class_option setting.key,
32
31
  type: :boolean,
33
- default: :undefined,
34
32
  desc: setting.description
35
33
  end
36
34
  end
@@ -29,7 +29,7 @@ module Middleman::Cli
29
29
  default: false,
30
30
  desc: 'Print debug messages'
31
31
  class_option :instrument,
32
- type: :string,
32
+ type: :boolean,
33
33
  default: false,
34
34
  desc: 'Print instrument messages'
35
35
  class_option :profile,
@@ -64,7 +64,7 @@ module Middleman::Cli
64
64
  config[:mode] = :build
65
65
  config[:show_exceptions] = false
66
66
  config[:cli_options] = cli_options.each_with_object({}) do |(k, v), sum|
67
- sum[k] = v unless v == :undefined
67
+ sum[k] = v
68
68
  end
69
69
  end
70
70
 
@@ -17,7 +17,7 @@ module Middleman::Cli
17
17
  default: false,
18
18
  desc: 'Print debug messages'
19
19
  class_option :instrument,
20
- type: :string,
20
+ type: :boolean,
21
21
  default: false,
22
22
  desc: 'Print instrument messages'
23
23
  class_option :profile,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.12
4
+ version: 4.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Reynolds
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-11-25 00:00:00.000000000 Z
12
+ date: 2016-11-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor