nokorexi 0.2.0 → 0.2.1

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.
Files changed (2) hide show
  1. data/lib/nokorexi.rb +1 -2
  2. metadata +2 -2
data/lib/nokorexi.rb CHANGED
@@ -12,8 +12,7 @@ class Nokorexi
12
12
  attr_reader :to_doc
13
13
 
14
14
  def initialize(x)
15
- buffer = RXFHelper.new(x).to_s
16
- raw_doc = Nokogiri::HTML(buffer)
15
+ raw_doc = Nokogiri::HTML(RXFHelper.read(x))
17
16
  @to_doc = Rexle.new(raw_doc.xpath('html/body').to_xml)
18
17
  end
19
18
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: nokorexi
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.0
5
+ version: 0.2.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - James Robertson
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-11-23 00:00:00 +00:00
13
+ date: 2012-02-09 00:00:00 +00:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency