hydeweb 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY.md +5 -0
- data/lib/hyde/config.rb +2 -2
- data/lib/hyde.rb +1 -1
- data/test/fixture/build_options/control/page.html +0 -0
- data/test/fixture/build_options/control/style.css +2 -0
- data/test/fixture/build_options/hyde.conf +2 -0
- data/test/fixture/build_options/site/page.haml +0 -0
- metadata +4 -1
data/HISTORY.md
CHANGED
data/lib/hyde/config.rb
CHANGED
@@ -22,8 +22,8 @@ class Config < OpenStruct
|
|
22
22
|
# @example tilt_options('index.haml') # { :escape_html => ... }
|
23
23
|
def tilt_options_for(file, options)
|
24
24
|
ext = file.split('.').last.downcase
|
25
|
-
opts = tilt_options(ext)
|
26
|
-
opts = opts.merge(tilt_options(ext, :tilt_build_options)) if options[:build]
|
25
|
+
opts = tilt_options(ext) || Hash.new
|
26
|
+
opts = opts.merge(tilt_options(ext, :tilt_build_options) || Hash.new) if options[:build]
|
27
27
|
opts
|
28
28
|
end
|
29
29
|
|
data/lib/hyde.rb
CHANGED
File without changes
|
File without changes
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: hydeweb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.9
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Rico Sta. Cruz
|
@@ -93,7 +93,10 @@ files:
|
|
93
93
|
- lib/hyde/server.rb
|
94
94
|
- lib/hyde/set.rb
|
95
95
|
- lib/hyde.rb
|
96
|
+
- test/fixture/build_options/control/page.html
|
97
|
+
- test/fixture/build_options/control/style.css
|
96
98
|
- test/fixture/build_options/hyde.conf
|
99
|
+
- test/fixture/build_options/site/page.haml
|
97
100
|
- test/fixture/build_options/site/style.scss
|
98
101
|
- test/fixture/extensions/control/index.html
|
99
102
|
- test/fixture/extensions/extensions/a/a.rb
|