cherrypicker 0.1.6 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -51,8 +51,4 @@ def random_agent
51
51
  "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)",
52
52
  "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.14) Gecko/20110218 Firefox/3.6.14"]
53
53
  @useragent[rand(14)]
54
- end
55
-
56
-
57
-
58
- p random_agent
54
+ end
@@ -12,7 +12,7 @@ class LinkChecker
12
12
 
13
13
  def initialize(links)
14
14
  @links = links
15
- if links.sample =~ /^http:\/\/rapidshare.com/
15
+ if links[0] =~ /^http:\/\/rapidshare.com/
16
16
  @status = rapidshare
17
17
  else
18
18
  @status = hotfile
@@ -1,3 +1,3 @@
1
1
  module Cherrypicker
2
- VERSION = "0.1.6"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: cherrypicker
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.6
5
+ version: 0.2.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - Karl Entwistle