cherrypicker 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -30,9 +30,9 @@ class Hotfile
30
30
 
31
31
  def create_url
32
32
  hash_to_url({
33
- link: self.link,
34
- username: self.username.to_s,
35
- password: self.password.to_s
33
+ :link => self.link,
34
+ :username => self.username.to_s,
35
+ :password => self.password.to_s
36
36
  })
37
37
  end
38
38
 
@@ -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
- files: files.join(","),
36
- filenames: filenames.join(","),
37
- incmd5: '0'
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: links.join(","),
77
- id: ids.join(","),
78
- keys: keys.join(","),
79
- files: "id,status,size"
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: self.fileid,
41
- filename: self.filename,
42
- login: self.username.to_s,
43
- password: self.password.to_s
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
 
@@ -1,3 +1,3 @@
1
1
  module Cherrypicker
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
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.3
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-03-21 00:00:00 +00:00
13
+ date: 2011-04-01 00:00:00 +01:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency