escapement 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/escapement/block.rb +4 -1
- data/lib/escapement/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8b604ba6771ae474416704ecb17863b56124b7af
|
4
|
+
data.tar.gz: 9ac1bfe3ed661721f0dd3dc2ce9f1abcf7cbb6ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fa8d148809ec2c2acb8cdbea56aefa4e223e3cc4358aaec98838269fce3133a8f44efc63cee191a88d4fb94bd25cef8c119cfdec3e27fb9a498a5041d54af4a
|
7
|
+
data.tar.gz: 3bef38a534826c355c8ceaebd539f5fd427749a6851b0cddfbea43863f9c8a2bdc9ca870aeb050710119dfe1629b8ea78c63aba916c725483eaf1f7a03361a17
|
data/lib/escapement/block.rb
CHANGED
@@ -14,7 +14,10 @@ module Escapement
|
|
14
14
|
end
|
15
15
|
|
16
16
|
def process!
|
17
|
-
|
17
|
+
# This will match empty strings, strings with spaces, and
|
18
|
+
# even strings with unicode non-breakable spaces (which can be
|
19
|
+
# produced by )
|
20
|
+
return if node.text =~ /\A[[:space:]]*\z/
|
18
21
|
|
19
22
|
process_children
|
20
23
|
|
data/lib/escapement/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: escapement
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan LeFevre
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -110,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
110
110
|
version: '0'
|
111
111
|
requirements: []
|
112
112
|
rubyforge_project:
|
113
|
-
rubygems_version: 2.4.
|
113
|
+
rubygems_version: 2.4.6
|
114
114
|
signing_key:
|
115
115
|
specification_version: 4
|
116
116
|
summary: Extract child entities from an HTML string.
|