deba 0.11.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/deba/extractor.rb +1 -1
  3. data/lib/deba.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 64da76c5a1c04969f66f580d20e350c7bca13715
4
- data.tar.gz: fa665cf07572193d1a3f6ffcfa976885bf50a9ad
3
+ metadata.gz: 1018f89ff2e632d52757b6dbbd5ca81ca85ab48e
4
+ data.tar.gz: 61a006763ca3fb46a8b32bbb503016c61942d2f5
5
5
  SHA512:
6
- metadata.gz: ef43a8c834a219a8b4fa5ad78cc4a59f10b09ec637ca46574a2ef61d22cc879ac9da32fea5fbf904d396b6b95c9c64301c730a818914149d9e9db840776dc215
7
- data.tar.gz: 0f06e42c7267719f135a4bbcd0e6d24565979b19c3ade21bf49e622fccb7bec3c7cfe332651dde6fcbb2158064e08f8a560b047a1f9c029a49398711d9678cb1
6
+ metadata.gz: 2d1e257c802b4f8b5f0a7e40afd2adfc39d4ae77ee489e5b7cfc939554f8d949d985a49e7f0412663db88c3cd2e9d6b8cf6a1f6792449c166aea857b9669a063
7
+ data.tar.gz: f0333aa1253df9e03bbc496d2973ed845beb32abc1050b2c9c71be46fdf4c3f6a4ea40fe59f56385b2f697d7426d35376c9879741b3926fb69dab6d1b120fcf9
@@ -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
@@ -1,7 +1,7 @@
1
1
  require "nokogiri"
2
2
 
3
3
  module Deba
4
- VERSION = "0.11.0"
4
+ VERSION = "0.12.0"
5
5
  end
6
6
 
7
7
  require "deba/utils"
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.11.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-04 00:00:00.000000000 Z
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.6.8
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