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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf40749ef625c8e08f51c6b1c86197c861124e3d
4
- data.tar.gz: b03d1448bd3c0301cadb5287ea031ffe7297a00c
3
+ metadata.gz: 5eeed6fd9f076660002e4ebd96c15708857b2058
4
+ data.tar.gz: 710589e967be28398747701aaf2cadb4e7d671f0
5
5
  SHA512:
6
- metadata.gz: e6235c46dcf5f0c1a24eece022f2b32f20e0c09b70ce625a768ba4e7802cbb4923e2938c38ce177937dc4f2d3daed9e69c853145df7225fcaa57c80ddd36461c
7
- data.tar.gz: 1f166e5a2367342c5c7e57ed8c366e1e799b78ffa8ac8601789c7a26c0cc2aebb67d2375e478741848177276c15d419c22df4f50661e063e53cea25805eb2452
6
+ metadata.gz: bd0d78c397c639eea3823251b76a6798a66e2333a4b0eee1db4c41931277066c72d5c03ec375037294c2f7c547ea08d125201551975a8cc2dd1626e99dbd4c8c
7
+ data.tar.gz: 395268e7aac89c46e1f58b0292bae7f7f9b60e00c065410542e5038f5d44beed2cb5dc9e16cdc4d0ebd90c17822ebfa5caeef2b23ca4d30fae424131cf66b540
@@ -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
 
@@ -1,3 +1,3 @@
1
1
  module Rugular
2
- VERSION = '0.9.20'
2
+ VERSION = '0.9.21'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rugular
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.20
4
+ version: 0.9.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Shook