rugular 0.9.16 → 0.9.17
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: 54bd22b2e0e456db19efd69a2f4b2ebad3fa844f
|
4
|
+
data.tar.gz: 990accca91f6b8525bfa14ea6c48964a52995fdd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f70e2e5e48ba5aec67704881d219f086d41d2147a345f8bd5ea49291c535a566c8d257b0341f718e374c2e5c0c4ad080d0795599f2f16887457421c3af87f511
|
7
|
+
data.tar.gz: ad8eed57b2dd9c7417f303054a92a0d87e188487df969d2fbf3ed1ecff573588597e1e8ffcf4133a59f72a3b6160b935c9071868dcfd1a688e8de44a6ea43a6a
|
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