deba 0.4.0 → 0.5.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.rb +1 -1
  3. data/lib/deba/extractor.rb +3 -3
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fff3ffc19108216f3b159b897739d56026146569
4
- data.tar.gz: 8f0dfc878ac364b4c98c7a84b7538a9f928f9c47
3
+ metadata.gz: 0de0977eaf9b9d811109946932505ed943047146
4
+ data.tar.gz: b01a88e68afebbe353cc53820fbe60f76a3088ea
5
5
  SHA512:
6
- metadata.gz: 46b7718daeb25c3d998549f3b8b901dbb06a834f545f1f4bb5ad050a62d029bdf095bbccdc8fc36fcdf2833c0c171e0601fb84e44796377ee909c53d3274f0ad
7
- data.tar.gz: 425e8549b155ba3bbc242010bbee55fc6c31f1a18e22b26577d10e8a70eaaa235bfe5406fb45b569c914ebf185482b4625938b0d0ab36b49165c920e3f904663
6
+ metadata.gz: 811acdf5cff0ae04067225211874eb653394043b029980ca93f040e39cb1ee883b4ad893e884f757046129eac857b8e7801f5a6949bb77298bc863a7139c992e
7
+ data.tar.gz: 0d59965ad25244a4c656fd9145f3c0cb556f0be7248472f09b6da00b248827fc829c325dc7074ccc1f535401423d80b7143bf80f68d17945e42ab00a4f0bdc74
@@ -1,7 +1,7 @@
1
1
  require "nokogiri"
2
2
 
3
3
  module Deba
4
- VERSION = "0.4.0"
4
+ VERSION = "0.5.0"
5
5
  end
6
6
 
7
7
  require "deba/utils"
@@ -29,7 +29,7 @@ class Deba::Extractor
29
29
  if @just_appended_br
30
30
  @just_appended_br = false
31
31
 
32
- @text_run.break
32
+ @text_run.break(Deba::Paragraph)
33
33
 
34
34
  return
35
35
  else
@@ -63,7 +63,7 @@ class Deba::Extractor
63
63
  if BLOCK_INITIATING_TAGS.include?(node_name)
64
64
  @text_run.break(Deba::Paragraph)
65
65
  node.children.each { |n| process(n) }
66
- @text_run.break
66
+ @text_run.break(Deba::Paragraph)
67
67
 
68
68
  return
69
69
  end
@@ -71,7 +71,7 @@ class Deba::Extractor
71
71
  if HEADING_TAGS.include?(node_name)
72
72
  @text_run.break(Deba::Heading, node_name[1..-1].to_i)
73
73
  node.children.each { |n| process(n) }
74
- @text_run.break
74
+ @text_run.break(Deba::Paragraph)
75
75
 
76
76
  return
77
77
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deba
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brenton "B-Train" Fletcher