deba 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/deba/extractor.rb +1 -1
- data/lib/deba.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: 1018f89ff2e632d52757b6dbbd5ca81ca85ab48e
|
4
|
+
data.tar.gz: 61a006763ca3fb46a8b32bbb503016c61942d2f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d1e257c802b4f8b5f0a7e40afd2adfc39d4ae77ee489e5b7cfc939554f8d949d985a49e7f0412663db88c3cd2e9d6b8cf6a1f6792449c166aea857b9669a063
|
7
|
+
data.tar.gz: f0333aa1253df9e03bbc496d2973ed845beb32abc1050b2c9c71be46fdf4c3f6a4ea40fe59f56385b2f697d7426d35376c9879741b3926fb69dab6d1b120fcf9
|
data/lib/deba/extractor.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
class Deba::Extractor
|
2
2
|
HEADING_TAGS = %w(h1 h2 h3 h4 h5 h6)
|
3
|
-
BLOCK_INITIATING_TAGS = %w(article aside body blockquote dd dt header li nav ol p pre section td th ul)
|
3
|
+
BLOCK_INITIATING_TAGS = %w(article aside body blockquote div dd dt header li nav ol p pre section td th ul)
|
4
4
|
ENHANCERS = { %w(b strong) => "*", %w(i em) => "_" }
|
5
5
|
|
6
6
|
attr_reader :blocks
|
data/lib/deba.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deba
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brenton "B-Train" Fletcher
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-02-
|
11
|
+
date: 2017-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
101
101
|
version: '0'
|
102
102
|
requirements: []
|
103
103
|
rubyforge_project:
|
104
|
-
rubygems_version: 2.
|
104
|
+
rubygems_version: 2.4.5.1
|
105
105
|
signing_key:
|
106
106
|
specification_version: 4
|
107
107
|
summary: Fillet HTML using this Deba knife to extract the juicy text content
|