ioffer 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ioffer/page.rb +2 -4
- data/lib/ioffer/version.rb +1 -1
- metadata +2 -2
data/lib/ioffer/page.rb
CHANGED
@@ -28,7 +28,5 @@ def parse_description(element)
|
|
28
28
|
end
|
29
29
|
|
30
30
|
def page_active?(html)
|
31
|
-
|
32
|
-
|
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
|
data/lib/ioffer/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: ioffer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
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-
|
13
|
+
date: 2011-05-04 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: nibbler
|