cherrypicker 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/cherrypicker/hotfile.rb
CHANGED
@@ -32,9 +32,9 @@ class LinkChecker
|
|
32
32
|
|
33
33
|
query = "http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=checkfiles&" +
|
34
34
|
hash_to_url({
|
35
|
-
|
36
|
-
|
37
|
-
incmd5
|
35
|
+
:files => files.join(","),
|
36
|
+
:filenames => filenames.join(","),
|
37
|
+
:incmd5 => '0'
|
38
38
|
})
|
39
39
|
|
40
40
|
check = remote_query(query).body.split("\n")
|
@@ -73,10 +73,10 @@ class LinkChecker
|
|
73
73
|
|
74
74
|
query = "http://api.hotfile.com/?action=checklinks&" +
|
75
75
|
hash_to_url({
|
76
|
-
links
|
77
|
-
id
|
78
|
-
|
79
|
-
files
|
76
|
+
:links => links.join(","),
|
77
|
+
:id => ids.join(","),
|
78
|
+
:keys => keys.join(","),
|
79
|
+
:files => "id,status,size"
|
80
80
|
})
|
81
81
|
|
82
82
|
check = remote_query(query).body.split("\n")
|
@@ -37,10 +37,10 @@ class Rapidshare
|
|
37
37
|
|
38
38
|
def create_url
|
39
39
|
hash_to_url({
|
40
|
-
fileid
|
41
|
-
filename
|
42
|
-
login
|
43
|
-
password
|
40
|
+
:fileid => self.fileid,
|
41
|
+
:filename => self.filename,
|
42
|
+
:login => self.username.to_s,
|
43
|
+
:password => self.password.to_s
|
44
44
|
})
|
45
45
|
end
|
46
46
|
|
data/lib/cherrypicker/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: cherrypicker
|
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
|
- Karl Entwistle
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-
|
13
|
+
date: 2011-04-01 00:00:00 +01:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|