spix_parser 1.6.9 → 1.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,8 +3,8 @@ module Spix
3
3
  module Parser
4
4
  module Version
5
5
  MAJOR = 1
6
- MINOR = 6
7
- TINY = 9
6
+ MINOR = 7
7
+ TINY = 0
8
8
 
9
9
  def self.current_version
10
10
  "#{MAJOR}.#{MINOR}.#{TINY}"
@@ -20,8 +20,8 @@ module Spix
20
20
  def summary
21
21
  text = @entry.entry_summary || ""
22
22
  text = text.busk_normalize
23
- Sanitizer.strip_comments(text)
24
- Sanitizer.strip_disallowed_tags(text)
23
+ text = Sanitizer.strip_comments(text)
24
+ text = Sanitizer.strip_disallowed_tags(text)
25
25
  Sanitizer.entities_to_chars(text)
26
26
  end
27
27
  memoize(:summary)
@@ -55,9 +55,9 @@ module Spix
55
55
 
56
56
  def content
57
57
  text = encoded_raw_content
58
- Sanitizer.strip_comments(text)
59
- Sanitizer.strip_disallowed_tags(text)
60
- Sanitizer.entities_to_chars(text)
58
+ text = Sanitizer.strip_comments(text)
59
+ text = Sanitizer.strip_disallowed_tags(text)
60
+ text = Sanitizer.entities_to_chars(text)
61
61
  Spix::Utils.format_links({:text => text, :site_url => @feed.site_url})
62
62
  end
63
63
  memoize(:content)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: spix_parser
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.6.9
5
+ version: 1.7.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Marcio Lopes de Faria
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-06-20 00:00:00 -03:00
17
+ date: 2011-06-21 00:00:00 -03:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency