rugular 0.9.15 → 0.9.16
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: 9de614bb483dc440c87a4bbc90631bac36f70101
|
4
|
+
data.tar.gz: 3f9d1fbd949d30c81b9fa51b88218a2b053c86fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 442095497ac645984419f23a7412a6e4cc2720147f815fe6fd8b4d575f2a450f25c0b51e1d0ecdbd68ec85c5847e072cad92e69f59cf9314e2802063ea50fcc4
|
7
|
+
data.tar.gz: e392248b8605796612974fcaf738c16229317fb8b0e9a3f9e23ec068e9feb837abed5e21ff40f1dcb2c00b1c1796762c33ab960b0a14aa4d3c7c741ad1f283a8
|
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(
|
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