ioffer 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,7 +28,5 @@ def parse_description(element)
28
28
  end
29
29
 
30
30
  def page_active?(html)
31
- doc = Nokogiri::HTML(html)
32
- doc.xpath('//span[@id="inactive-no-longer-available"]').any? ||
33
- doc.xpath('//div[contains(@class, "bold") and contains(@class,"color-gray-dark")]').text.empty? ? false : true
34
- end
31
+ !!/You are being/.match(html).nil?
32
+ end
@@ -1,4 +1,4 @@
1
1
  module Ioffer
2
2
  # ioffer version
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: ioffer
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.3
5
+ version: 0.1.4
6
6
  platform: ruby
7
7
  authors:
8
8
  - Ezekiel Templin
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-05-03 00:00:00 Z
13
+ date: 2011-05-04 00:00:00 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: nibbler