middleman-core 4.0.0.alpha.3 → 4.0.0.alpha.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5db48d5aece00a632a9abf5221484e4243768c24
|
4
|
+
data.tar.gz: ca012a5e8145471140495048a9e89cecba5e7371
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d8f21f528ba7b8d4fe101adc84137789a58650fdf96f8ae4bd6136507dad9b29c703aaae6e9b728f73098444d55a7a3408afdb3d482bab7b4ba792133cfbe67
|
7
|
+
data.tar.gz: 137b34399f69fe0085a5ccb13074abd1bef0a8d1b0e05391a30f87cc7ec2a364b6de1b453e2e504effff5b7993300b486d1185a7994b6e93ed42a46fa26633e1
|
@@ -80,7 +80,7 @@ module Middleman
|
|
80
80
|
|
81
81
|
# Name of the source directory
|
82
82
|
# @return [String]
|
83
|
-
config.define_setting :source,
|
83
|
+
config.define_setting :source, 'source', 'Name of the source directory'
|
84
84
|
|
85
85
|
# Middleman mode. Defaults to :server, set to :build by the build process
|
86
86
|
# @return [String]
|
@@ -255,12 +255,12 @@ module Middleman
|
|
255
255
|
Tilt.mappings.delete(key)
|
256
256
|
end
|
257
257
|
end
|
258
|
+
|
259
|
+
@extensions.activate_all
|
258
260
|
|
259
261
|
run_hook :after_configuration
|
260
262
|
config_context.execute_after_configuration_callbacks
|
261
263
|
|
262
|
-
@extensions.activate_all
|
263
|
-
|
264
264
|
run_hook :ready
|
265
265
|
@config_context.execute_ready_callbacks
|
266
266
|
end
|
@@ -39,7 +39,11 @@ module Middleman
|
|
39
39
|
|
40
40
|
def evaluate(scope, _)
|
41
41
|
@output ||= begin
|
42
|
-
|
42
|
+
if defined?(::Middleman::Renderers::Haml)
|
43
|
+
MiddlemanRedcarpetHTML.scope = ::Middleman::Renderers::Haml.last_haml_scope || scope
|
44
|
+
else
|
45
|
+
MiddlemanRedcarpetHTML.scope = scope
|
46
|
+
end
|
43
47
|
|
44
48
|
@engine.render(data)
|
45
49
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.0.alpha.
|
4
|
+
version: 4.0.0.alpha.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Reynolds
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2014-12-
|
13
|
+
date: 2014-12-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|