opulent 1.4.2 → 1.4.3

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: 7fbb64044a74d50242806f7da9884dc7fce9301c
4
- data.tar.gz: 719f2346be0329264c72385421254681a30e4ac0
3
+ metadata.gz: df43fd45b8245869b48b7562164b6e67563cd13b
4
+ data.tar.gz: d73e21e0bc8d93cf71058d07c3b188b58d5cb18e
5
5
  SHA512:
6
- metadata.gz: 0c9b17d6a8384411a954c1adef1129626475fc6a94e3b2eb65d3ed1caa0c57c5aaaeb5f4aba84d23bff867e47a1d690224d1eddfcdf768a6978f0d1f40e73499
7
- data.tar.gz: 6906b5acebccf9a436527ba4644e4bfd5660be16f31dca80020a58438c11e5d6afe083a0ec95281b8269520df77e66a70189690a5f390d96524e01fe9df0bb47
6
+ metadata.gz: 49d721f1914ea6e651eead34e6e8ceae051b8e4ee624ed0252ed07c05e050023bcb81b7212dac65eda9fc495976ccfe0a3deabea9b567795a649d8f9628e9545
7
+ data.tar.gz: 73079f543ad251df0fd68f76cf8d6e0756c43854c0f5908ef04959dc337cb0343751061d4e5fe710143778b9790f977a23a233ae761682f5aedc9182d424cf29
@@ -1,5 +1,4 @@
1
1
  require 'tilt'
2
- require 'escape_utils'
3
2
  require_relative 'opulent/compiler.rb'
4
3
  require_relative 'opulent/context.rb'
5
4
  require_relative 'opulent/engine.rb'
@@ -33,7 +33,7 @@ module Opulent
33
33
  # @param html [String] The string to escape
34
34
  # @return [String] The escaped string
35
35
  def escape(html)
36
- html.to_s.gsub EscapeHTMLPattern, EscapeHTML
36
+ html.to_s.chomp.gsub EscapeHTMLPattern, EscapeHTML
37
37
  end
38
38
  end
39
39
  end
@@ -1,4 +1,4 @@
1
1
  # @Opulent
2
2
  module Opulent
3
- VERSION = "1.4.2"
3
+ VERSION = "1.4.3"
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opulent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Grozav
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-09 00:00:00.000000000 Z
11
+ date: 2015-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler