rugular 0.9.20 → 0.9.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rugular/tasks/build.rb +1 -1
- data/lib/rugular/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5eeed6fd9f076660002e4ebd96c15708857b2058
|
4
|
+
data.tar.gz: 710589e967be28398747701aaf2cadb4e7d671f0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd0d78c397c639eea3823251b76a6798a66e2333a4b0eee1db4c41931277066c72d5c03ec375037294c2f7c547ea08d125201551975a8cc2dd1626e99dbd4c8c
|
7
|
+
data.tar.gz: 395268e7aac89c46e1f58b0292bae7f7f9b60e00c065410542e5038f5d44beed2cb5dc9e16cdc4d0ebd90c17822ebfa5caeef2b23ca4d30fae424131cf66b540
|
data/lib/rugular/tasks/build.rb
CHANGED
@@ -45,7 +45,7 @@ module Rugular
|
|
45
45
|
(Dir.glob('**/*.haml') - ['src/index.haml']).each do |haml_file|
|
46
46
|
haml_html = ::Haml::Engine.new(File.read(haml_file), {}).render
|
47
47
|
|
48
|
-
html = haml_html.tr("\n", '').gsub(/'/, '"')
|
48
|
+
html = haml_html.tr("\n", '').gsub(/'/, "\'").gsub(/"/, '\"')
|
49
49
|
|
50
50
|
html_filename = haml_file.gsub('src/', '').gsub('haml', 'html')
|
51
51
|
|
data/lib/rugular/version.rb
CHANGED