plato 0.2.4 → 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/plato/site.rb +2 -1
- data/plato.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.5
|
data/lib/plato/site.rb
CHANGED
@@ -98,7 +98,8 @@ module Plato
|
|
98
98
|
next if path =~ /\A(config\.rb|view_helpers\.rb)/
|
99
99
|
|
100
100
|
if tilt_class = Tilt[path]
|
101
|
-
|
101
|
+
tilt_opts = config["options"][Tilt.mappings.index(tilt_class).to_sym]
|
102
|
+
tilt = tilt_class.new(File.join(template_path, path), tilt_opts || {})
|
102
103
|
|
103
104
|
if match = path_parser.parse(path)
|
104
105
|
name, format = match.values_at("name", "format")
|
data/plato.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plato
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 29
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 5
|
10
|
+
version: 0.2.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Freels
|