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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cd776461bd3a6e2dba08148d046abf1654ebb74f
4
- data.tar.gz: 73fb52ba97cac652bf4d125607b0cdceaf88ed3d
3
+ metadata.gz: 9de614bb483dc440c87a4bbc90631bac36f70101
4
+ data.tar.gz: 3f9d1fbd949d30c81b9fa51b88218a2b053c86fb
5
5
  SHA512:
6
- metadata.gz: 048ea9444d47ddb1c4f4ef69c2119951866f0882254ce30e82da1db5b453d854416050ea8c55f1b86f9608b2a788e375492c5403f14d8cc08e2e3443662c994c
7
- data.tar.gz: 9da324787f7490f21f5f9d06ae6c595e61a0174ff784bec70e7b93a90bafe4785f110c5ab57e1ee4ffbf276cf88897666919e5aa3f71c909281257602006140b
6
+ metadata.gz: 442095497ac645984419f23a7412a6e4cc2720147f815fe6fd8b4d575f2a450f25c0b51e1d0ecdbd68ec85c5847e072cad92e69f59cf9314e2802063ea50fcc4
7
+ data.tar.gz: e392248b8605796612974fcaf738c16229317fb8b0e9a3f9e23ec068e9feb837abed5e21ff40f1dcb2c00b1c1796762c33ab960b0a14aa4d3c7c741ad1f283a8
@@ -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("'", "\'").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.15'
2
+ VERSION = '0.9.16'
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.15
4
+ version: 0.9.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Shook