beans-middleman 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/mm-preview +0 -0
- data/lib/middleman/server.rb +1 -1
- metadata +7 -7
data/bin/mm-preview
CHANGED
File without changes
|
data/lib/middleman/server.rb
CHANGED
@@ -119,7 +119,7 @@ module Middleman
|
|
119
119
|
|
120
120
|
old_layout = settings.current_layout
|
121
121
|
settings.layout(options[:layout]) if !options[:layout].nil?
|
122
|
-
result = render(path, :layout => settings.fetch_layout_path.to_sym)
|
122
|
+
result = render(path, :layout => path.include?('stylesheets') ? false : settings.fetch_layout_path.to_sym)
|
123
123
|
settings.layout(old_layout)
|
124
124
|
|
125
125
|
if result
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beans-middleman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 6
|
10
|
+
version: 1.0.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Thomas Reynolds
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-02-
|
18
|
+
date: 2011-02-11 00:00:00 +01:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -214,12 +214,12 @@ dependencies:
|
|
214
214
|
requirements:
|
215
215
|
- - ~>
|
216
216
|
- !ruby/object:Gem::Version
|
217
|
-
hash:
|
217
|
+
hash: 19
|
218
218
|
segments:
|
219
219
|
- 0
|
220
|
+
- 3
|
220
221
|
- 0
|
221
|
-
|
222
|
-
version: 0.0.5
|
222
|
+
version: 0.3.0
|
223
223
|
type: :runtime
|
224
224
|
version_requirements: *id013
|
225
225
|
- !ruby/object:Gem::Dependency
|