middleman 2.0.12.pre → 2.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/middleman/builder.rb +2 -2
- data/lib/middleman/version.rb +1 -1
- metadata +8 -11
data/lib/middleman/builder.rb
CHANGED
@@ -111,8 +111,8 @@ module Middleman
|
|
111
111
|
|
112
112
|
protected
|
113
113
|
def handle_path(file_source)
|
114
|
-
# Skip partials prefixed with an underscore
|
115
|
-
return unless file_source.gsub(SHARED_SERVER.root, '').split('/').select { |p| p[
|
114
|
+
# Skip partials prefixed with an underscore while still handling files prefixed with 2 consecutive underscores
|
115
|
+
return unless file_source.gsub(SHARED_SERVER.root, '').split('/').select { |p| p[/^_[^_]/] }.empty?
|
116
116
|
|
117
117
|
file_extension = File.extname(file_source)
|
118
118
|
file_destination = File.join(given_destination, file_source.gsub(source, '.'))
|
data/lib/middleman/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: middleman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 23
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 0
|
9
9
|
- 12
|
10
|
-
|
11
|
-
version: 2.0.12.pre
|
10
|
+
version: 2.0.12
|
12
11
|
platform: ruby
|
13
12
|
authors:
|
14
13
|
- Thomas Reynolds
|
@@ -16,7 +15,7 @@ autorequire:
|
|
16
15
|
bindir: bin
|
17
16
|
cert_chain: []
|
18
17
|
|
19
|
-
date: 2011-10-
|
18
|
+
date: 2011-10-13 00:00:00 -07:00
|
20
19
|
default_executable:
|
21
20
|
dependencies:
|
22
21
|
- !ruby/object:Gem::Dependency
|
@@ -732,14 +731,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
732
731
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
733
732
|
none: false
|
734
733
|
requirements:
|
735
|
-
- - "
|
734
|
+
- - ">="
|
736
735
|
- !ruby/object:Gem::Version
|
737
|
-
hash:
|
736
|
+
hash: 3
|
738
737
|
segments:
|
739
|
-
-
|
740
|
-
|
741
|
-
- 1
|
742
|
-
version: 1.3.1
|
738
|
+
- 0
|
739
|
+
version: "0"
|
743
740
|
requirements: []
|
744
741
|
|
745
742
|
rubyforge_project:
|