middleman 2.0.0.rc7 → 2.0.0.rc8
Sign up to get free protection for your applications and to get access to all the features.
@@ -48,9 +48,11 @@ module Middleman::CoreExtensions::Routing
|
|
48
48
|
|
49
49
|
options[:layout] = settings.layout if options[:layout].nil?
|
50
50
|
|
51
|
+
has_block = block_given?
|
52
|
+
|
51
53
|
paths.each do |p|
|
52
54
|
get(p) do
|
53
|
-
|
55
|
+
instance_eval(&block) if has_block
|
54
56
|
process_request(options)
|
55
57
|
end
|
56
58
|
end
|
data/lib/middleman/guard.rb
CHANGED
data/lib/middleman/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: middleman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease: 6
|
5
|
-
version: 2.0.0.
|
5
|
+
version: 2.0.0.rc8
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Thomas Reynolds
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-07-
|
13
|
+
date: 2011-07-21 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|