htmlbeautifier 1.0.2 → 1.1.0

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: d1c8931fa0f5cefbea1f5dd7537a1ef412b87889
4
- data.tar.gz: 3018176f5047d9e731e0bdab5f09bf60dab81af6
3
+ metadata.gz: eb927f5efa5cd85b002af5945bd03106b0fc7c31
4
+ data.tar.gz: a2dfedd5c2565b7245d1473d77fd729f621e0f0c
5
5
  SHA512:
6
- metadata.gz: cb02ac85d25eaa333147a02667afc8c761fb44d537a78ca7f9f39de44814efc1552befdeab689d7da3a96ae0bb4e189263ab8b2746513a70ade37b33da63195b
7
- data.tar.gz: 7aff7cddcfd6e058dbd6f633598e66ec5a786b6e1e5ba5cb8b593048ac958157335fa19ab81abcd07e9486d18df26b9031ffe25c5d8f0391546d3a07c1b2f9f2
6
+ metadata.gz: 2a06c094220e541614b3026403dfe017207d2b09821044720a5bb4093fc580007c638b746022739d1ba75a22b96e6a9a46bb21eeab293bc84c1a313bacd4f0ed
7
+ data.tar.gz: 1d29ae0712bed379920a1c1a3e3431d7ffc5404388b1bad04e8b32ae542efdb10f14605fc39e03028a852ddab060ac3e216dcafa5be48fca8c7940736b7ee40a
@@ -66,7 +66,7 @@ module HtmlBeautifier
66
66
 
67
67
  def foreign_block(opening, code, closing)
68
68
  emit opening
69
- unless code.empty?
69
+ unless code.strip.empty?
70
70
  indent
71
71
 
72
72
  lines = code.split(/\n/)
@@ -141,4 +141,3 @@ module HtmlBeautifier
141
141
  end
142
142
  end
143
143
  end
144
-
@@ -1,8 +1,8 @@
1
1
  module HtmlBeautifier #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 1
4
- MINOR = 0
5
- TINY = 2
4
+ MINOR = 1
5
+ TINY = 0
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: htmlbeautifier
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Battley
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-23 00:00:00.000000000 Z
11
+ date: 2015-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake