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: df87c14bd46ecb73f2fbfe74a09b83089bdac09a
4
- data.tar.gz: 1e56eb3b6eee26c9b679db3eabde8a8f7a1fa6b4
3
+ metadata.gz: 5db48d5aece00a632a9abf5221484e4243768c24
4
+ data.tar.gz: ca012a5e8145471140495048a9e89cecba5e7371
5
5
  SHA512:
6
- metadata.gz: c843a53d609564f5395f22c2d4ea4b52902a7e69fa3073c7d6dde9ca198bb2b9f0973eb37925bbc99e208cc04b84f831827787fda641f58ef092a88b88876109
7
- data.tar.gz: 17ab0af69079b461b116e942f09d6143a556071ebc7189de70d6b57d111fa4c214a27cdeccb77f2774b1c0522ca2992c64c2277dbf50850b48433a4432788c82
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, 'source', 'Name of the source directory'
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
- MiddlemanRedcarpetHTML.scope = ::Middleman::Renderers::Haml.last_haml_scope || scope
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
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  # Current Version
3
3
  # @return [String]
4
- VERSION = '4.0.0.alpha.3' unless const_defined?(:VERSION)
4
+ VERSION = '4.0.0.alpha.4' unless const_defined?(:VERSION)
5
5
  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.3
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-23 00:00:00.000000000 Z
13
+ date: 2014-12-24 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler