middleman-cli 4.1.0.rc.2 → 4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/middleman +1 -1
- data/lib/middleman-cli/build.rb +6 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 300bd0ca4236f55e859a0b0851dc385fee84aefd
|
4
|
+
data.tar.gz: 11651393ad35eb11f0e4e1dc2bc1cd7e02a46daa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a08ea5d53118644e8ad0da5d7550e3b5e061f49987c07aa7d052dbb225aadb75273e3be369b9157283f78d40531d041b84c0f9673746c4c384e0b495b1449bd
|
7
|
+
data.tar.gz: 6792271f26765c4bccb2f2339a4742e433df920ebf5ccd71faa075492a38c89acd821333f3ed57fc25c23470b1ac4cf26f50b8cd014b2d68a8bad7f02e78f495
|
data/bin/middleman
CHANGED
@@ -4,7 +4,7 @@ require 'middleman-core/profiling'
|
|
4
4
|
if ARGV.include? '--profile'
|
5
5
|
Middleman::Profiling.profiler = Middleman::Profiling::RubyProfProfiler.new
|
6
6
|
end
|
7
|
-
Middleman::Profiling.start
|
7
|
+
# Middleman::Profiling.start
|
8
8
|
|
9
9
|
require "middleman-core/load_paths"
|
10
10
|
Middleman.setup_load_paths
|
data/lib/middleman-cli/build.rb
CHANGED
@@ -14,6 +14,10 @@ module Middleman::Cli
|
|
14
14
|
type: :boolean,
|
15
15
|
default: true,
|
16
16
|
desc: 'Remove orphaned files from build (--no-clean to disable)'
|
17
|
+
class_option :parallel,
|
18
|
+
type: :boolean,
|
19
|
+
default: true,
|
20
|
+
desc: 'Output files in parallel (--no-parallel to disable)'
|
17
21
|
class_option :glob,
|
18
22
|
type: :string,
|
19
23
|
aliases: '-g',
|
@@ -52,7 +56,7 @@ module Middleman::Cli
|
|
52
56
|
|
53
57
|
::Middleman::Logger.singleton(verbose, instrument)
|
54
58
|
|
55
|
-
::Middleman::Util.instrument '
|
59
|
+
::Middleman::Util.instrument 'builder.setup' do
|
56
60
|
@app = ::Middleman::Application.new do
|
57
61
|
config[:mode] = :build
|
58
62
|
config[:environment] = env
|
@@ -67,7 +71,7 @@ module Middleman::Cli
|
|
67
71
|
builder.on_build_event(&method(:on_event))
|
68
72
|
end
|
69
73
|
|
70
|
-
::Middleman::Util.instrument '
|
74
|
+
::Middleman::Util.instrument 'builder.run' do
|
71
75
|
if builder.run!
|
72
76
|
clean_directories! if options['clean']
|
73
77
|
shell.say 'Project built successfully.'
|
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.0
|
4
|
+
version: 4.1.0
|
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-
|
12
|
+
date: 2016-02-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: thor
|
@@ -98,9 +98,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
98
98
|
version: 2.0.0
|
99
99
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - "
|
101
|
+
- - ">="
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: '0'
|
104
104
|
requirements: []
|
105
105
|
rubyforge_project:
|
106
106
|
rubygems_version: 2.4.8
|