sabnzbd 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +27 -2
- data/VERSION +1 -1
- data/fixtures/vcr_cassettes/invalid_key.yml +1 -1
- data/fixtures/vcr_cassettes/paused.yml +64 -2
- data/fixtures/vcr_cassettes/simple_queue.yml +58 -0
- data/fixtures/vcr_cassettes/slots.yml +58 -0
- data/lib/sabnzbd.rb +3 -3
- data/sabnzbd.gemspec +82 -0
- metadata +3 -2
data/README.rdoc
CHANGED
@@ -1,6 +1,31 @@
|
|
1
|
-
=
|
1
|
+
= Sabnzbd
|
2
2
|
|
3
|
-
|
3
|
+
version 0.1.0
|
4
|
+
Daniël Zwijnenburg
|
5
|
+
|
6
|
+
This gem can be used to gather status and download information from your sabnzb instance.
|
7
|
+
|
8
|
+
= Usage
|
9
|
+
|
10
|
+
You can use this gem by including it inside your Gemfile:
|
11
|
+
|
12
|
+
gem "sabnzbd"
|
13
|
+
|
14
|
+
If you have a running instance of sabnzbd somewhere you will need to get the API key (you can find the API key under config/general > API KEY) and url(defaults to localhost:8080).
|
15
|
+
|
16
|
+
sab = Sabnzbd.new({api_key: "your_api_key_here"})
|
17
|
+
|
18
|
+
sab.base_uri
|
19
|
+
=> "localhost:8080"
|
20
|
+
|
21
|
+
sab.paused?
|
22
|
+
=> false
|
23
|
+
|
24
|
+
sab.slots
|
25
|
+
=> [#<Sabnzbd::Slot:0x007fb601049638 @time_left="0:00:00", @mb=23749.483629, @msgid="", @filename="a_big_legal_file", @mb_left=22061.784398]
|
26
|
+
|
27
|
+
sab.slots.first.filename
|
28
|
+
=> "a_big_legal_file"
|
4
29
|
|
5
30
|
== Contributing to sabnzbd
|
6
31
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.1
|
@@ -52,8 +52,70 @@ http_interactions:
|
|
52
52
|
- CherryPy/3.2.0
|
53
53
|
body:
|
54
54
|
encoding: US-ASCII
|
55
|
-
string: ! '{"
|
56
|
-
","timeleft":"0:00:00","
|
55
|
+
string: ! '{"queue":{"active_lang":"en","session":"valid_key","slots":[{"status":"Queued","index":0,"eta":"unknown","missing":0,"avg_age":"57d","script":"None","msgid":"","verbosity":"","mb":"23749.48","sizeleft":"13.1
|
56
|
+
GB","filename":"a_big_legal_file","priority":"Normal","cat":"*","mbleft":"13414.81","timeleft":"0:00:00","percentage":"43","nzo_id":"SABnzbd_nzo_k92LC_","unpackopts":"3","size":"23.2
|
57
|
+
GB"}],"speed":"0 ","size":"23.2 GB","limit":0,"start":0,"diskspacetotal2":"232.44","darwin":true,"last_warning":"","have_warnings":"0","noofslots":1,"newzbin_url":"www.newzbin2.es","pause_int":"0","categories":["*","anime","apps","books","consoles","emulation","games","misc","movies","music","pda","resources","tv","unknown"],"diskspacetotal1":"232.44","mb":"23749.48","loadavg":"","cache_max":"0","speedlimit":"","webdir":"/Applications/SABnzbd.app/Contents/Resources/interfaces/Plush/templates","paused":true,"isverbose":false,"restart_req":false,"power_options":true,"helpuri":"http://wiki.sabnzbd.org/","uptime":"4d","refresh_rate":"","version":"0.6.15","color_scheme":"gold","new_release":"0.7.6","nt":false,"status":"Paused","finish":0,"cache_art":"0","paused_all":false,"finishaction":null,"sizeleft":"13.1
|
58
|
+
GB","cache_size":"0 B","mbleft":"13414.81","diskspace2":"62.49","diskspace1":"62.49","scripts":[],"timeleft":"0:00:00","nzb_quota":"","eta":"unknown","kbpersec":"0.00","new_rel_url":"http://sourceforge.net/projects/sabnzbdplus/files/sabnzbdplus/0.7.6/","queue_details":"0"}}'
|
57
59
|
http_version:
|
58
60
|
recorded_at: Wed, 19 Dec 2012 13:00:12 GMT
|
61
|
+
- request:
|
62
|
+
method: get
|
63
|
+
uri: http://localhost:8080/api?apikey=valid_key&mode=qstatus&output=json
|
64
|
+
body:
|
65
|
+
encoding: US-ASCII
|
66
|
+
string: ''
|
67
|
+
headers: {}
|
68
|
+
response:
|
69
|
+
status:
|
70
|
+
code: 200
|
71
|
+
message: OK
|
72
|
+
headers:
|
73
|
+
Date:
|
74
|
+
- Wed, 19 Dec 2012 14:48:50 GMT
|
75
|
+
Content-Length:
|
76
|
+
- '425'
|
77
|
+
Content-Type:
|
78
|
+
- application/json;charset=UTF-8
|
79
|
+
Pragma:
|
80
|
+
- no-cache
|
81
|
+
Server:
|
82
|
+
- CherryPy/3.2.0
|
83
|
+
body:
|
84
|
+
encoding: US-ASCII
|
85
|
+
string: ! '{"queue":{"active_lang":"en","session":"valid_key","slots":[{"status":"Queued","index":0,"eta":"unknown","missing":0,"avg_age":"57d","script":"None","msgid":"","verbosity":"","mb":"23749.48","sizeleft":"13.1
|
86
|
+
GB","filename":"a_big_legal_file","priority":"Normal","cat":"*","mbleft":"13414.81","timeleft":"0:00:00","percentage":"43","nzo_id":"SABnzbd_nzo_k92LC_","unpackopts":"3","size":"23.2
|
87
|
+
GB"}],"speed":"0 ","size":"23.2 GB","limit":0,"start":0,"diskspacetotal2":"232.44","darwin":true,"last_warning":"","have_warnings":"0","noofslots":1,"newzbin_url":"www.newzbin2.es","pause_int":"0","categories":["*","anime","apps","books","consoles","emulation","games","misc","movies","music","pda","resources","tv","unknown"],"diskspacetotal1":"232.44","mb":"23749.48","loadavg":"","cache_max":"0","speedlimit":"","webdir":"/Applications/SABnzbd.app/Contents/Resources/interfaces/Plush/templates","paused":true,"isverbose":false,"restart_req":false,"power_options":true,"helpuri":"http://wiki.sabnzbd.org/","uptime":"4d","refresh_rate":"","version":"0.6.15","color_scheme":"gold","new_release":"0.7.6","nt":false,"status":"Paused","finish":0,"cache_art":"0","paused_all":false,"finishaction":null,"sizeleft":"13.1
|
88
|
+
GB","cache_size":"0 B","mbleft":"13414.81","diskspace2":"62.49","diskspace1":"62.49","scripts":[],"timeleft":"0:00:00","nzb_quota":"","eta":"unknown","kbpersec":"0.00","new_rel_url":"http://sourceforge.net/projects/sabnzbdplus/files/sabnzbdplus/0.7.6/","queue_details":"0"}}'
|
89
|
+
http_version:
|
90
|
+
recorded_at: Wed, 19 Dec 2012 14:48:50 GMT
|
91
|
+
- request:
|
92
|
+
method: get
|
93
|
+
uri: http://localhost:8080/api?apikey=valid_key&limit=LIMIT&mode=queue&output=json&start=START
|
94
|
+
body:
|
95
|
+
encoding: US-ASCII
|
96
|
+
string: ''
|
97
|
+
headers: {}
|
98
|
+
response:
|
99
|
+
status:
|
100
|
+
code: 200
|
101
|
+
message: OK
|
102
|
+
headers:
|
103
|
+
Date:
|
104
|
+
- Wed, 19 Dec 2012 14:49:03 GMT
|
105
|
+
Content-Length:
|
106
|
+
- '1555'
|
107
|
+
Content-Type:
|
108
|
+
- application/json;charset=UTF-8
|
109
|
+
Pragma:
|
110
|
+
- no-cache
|
111
|
+
Server:
|
112
|
+
- CherryPy/3.2.0
|
113
|
+
body:
|
114
|
+
encoding: US-ASCII
|
115
|
+
string: ! '{"queue":{"active_lang":"en","session":"valid_key","slots":[{"status":"Queued","index":0,"eta":"unknown","missing":0,"avg_age":"57d","script":"None","msgid":"","verbosity":"","mb":"23749.48","sizeleft":"13.1
|
116
|
+
GB","filename":"a_big_legal_file","priority":"Normal","cat":"*","mbleft":"13414.81","timeleft":"0:00:00","percentage":"43","nzo_id":"SABnzbd_nzo_k92LC_","unpackopts":"3","size":"23.2
|
117
|
+
GB"}],"speed":"0 ","size":"23.2 GB","limit":0,"start":0,"diskspacetotal2":"232.44","darwin":true,"last_warning":"","have_warnings":"0","noofslots":1,"newzbin_url":"www.newzbin2.es","pause_int":"0","categories":["*","anime","apps","books","consoles","emulation","games","misc","movies","music","pda","resources","tv","unknown"],"diskspacetotal1":"232.44","mb":"23749.48","loadavg":"","cache_max":"0","speedlimit":"","webdir":"/Applications/SABnzbd.app/Contents/Resources/interfaces/Plush/templates","paused":true,"isverbose":false,"restart_req":false,"power_options":true,"helpuri":"http://wiki.sabnzbd.org/","uptime":"4d","refresh_rate":"","version":"0.6.15","color_scheme":"gold","new_release":"0.7.6","nt":false,"status":"Paused","finish":0,"cache_art":"0","paused_all":false,"finishaction":null,"sizeleft":"13.1
|
118
|
+
GB","cache_size":"0 B","mbleft":"13414.81","diskspace2":"62.49","diskspace1":"62.49","scripts":[],"timeleft":"0:00:00","nzb_quota":"","eta":"unknown","kbpersec":"0.00","new_rel_url":"http://sourceforge.net/projects/sabnzbdplus/files/sabnzbdplus/0.7.6/","queue_details":"0"}}'
|
119
|
+
http_version:
|
120
|
+
recorded_at: Wed, 19 Dec 2012 14:49:03 GMT
|
59
121
|
recorded_with: VCR 2.3.0
|
@@ -56,4 +56,62 @@ http_interactions:
|
|
56
56
|
","timeleft":"0:00:00","mb":23749.483629,"state":"PAUSED","loadavg":"","kbpersec":0.000000}'
|
57
57
|
http_version:
|
58
58
|
recorded_at: Wed, 19 Dec 2012 10:34:06 GMT
|
59
|
+
- request:
|
60
|
+
method: get
|
61
|
+
uri: http://localhost:8080/api?apikey=valid_key&mode=qstatus&output=json
|
62
|
+
body:
|
63
|
+
encoding: US-ASCII
|
64
|
+
string: ''
|
65
|
+
headers: {}
|
66
|
+
response:
|
67
|
+
status:
|
68
|
+
code: 200
|
69
|
+
message: OK
|
70
|
+
headers:
|
71
|
+
Date:
|
72
|
+
- Wed, 19 Dec 2012 14:48:51 GMT
|
73
|
+
Content-Length:
|
74
|
+
- '425'
|
75
|
+
Content-Type:
|
76
|
+
- application/json;charset=UTF-8
|
77
|
+
Pragma:
|
78
|
+
- no-cache
|
79
|
+
Server:
|
80
|
+
- CherryPy/3.2.0
|
81
|
+
body:
|
82
|
+
encoding: US-ASCII
|
83
|
+
string: ! '{"have_warnings":"0","jobs":[{"timeleft":"0:00:00","mb":23749.483629,"msgid":"","filename":"a_big_legal_file","mbleft":13414.808467,"id":"SABnzbd_nzo_k92LC_"}],"noofslots":1,"paused":true,"pause_int":"0","mbleft":13414.808467,"diskspace2":62.491737,"diskspace1":62.491737,"speed":"0
|
84
|
+
","timeleft":"0:00:00","mb":23749.483629,"state":"PAUSED","loadavg":"","kbpersec":0.000000}'
|
85
|
+
http_version:
|
86
|
+
recorded_at: Wed, 19 Dec 2012 14:48:51 GMT
|
87
|
+
- request:
|
88
|
+
method: get
|
89
|
+
uri: http://localhost:8080/api?apikey=valid_key&limit=LIMIT&mode=queue&output=json&start=START
|
90
|
+
body:
|
91
|
+
encoding: US-ASCII
|
92
|
+
string: ''
|
93
|
+
headers: {}
|
94
|
+
response:
|
95
|
+
status:
|
96
|
+
code: 200
|
97
|
+
message: OK
|
98
|
+
headers:
|
99
|
+
Date:
|
100
|
+
- Wed, 19 Dec 2012 14:49:03 GMT
|
101
|
+
Content-Length:
|
102
|
+
- '1555'
|
103
|
+
Content-Type:
|
104
|
+
- application/json;charset=UTF-8
|
105
|
+
Pragma:
|
106
|
+
- no-cache
|
107
|
+
Server:
|
108
|
+
- CherryPy/3.2.0
|
109
|
+
body:
|
110
|
+
encoding: US-ASCII
|
111
|
+
string: ! '{"queue":{"active_lang":"en","session":"valid_key","slots":[{"status":"Queued","index":0,"eta":"unknown","missing":0,"avg_age":"57d","script":"None","msgid":"","verbosity":"","mb":"23749.48","sizeleft":"13.1
|
112
|
+
GB","filename":"a_big_legal_file","priority":"Normal","cat":"*","mbleft":"13414.81","timeleft":"0:00:00","percentage":"43","nzo_id":"SABnzbd_nzo_k92LC_","unpackopts":"3","size":"23.2
|
113
|
+
GB"}],"speed":"0 ","size":"23.2 GB","limit":0,"start":0,"diskspacetotal2":"232.44","darwin":true,"last_warning":"","have_warnings":"0","noofslots":1,"newzbin_url":"www.newzbin2.es","pause_int":"0","categories":["*","anime","apps","books","consoles","emulation","games","misc","movies","music","pda","resources","tv","unknown"],"diskspacetotal1":"232.44","mb":"23749.48","loadavg":"","cache_max":"0","speedlimit":"","webdir":"/Applications/SABnzbd.app/Contents/Resources/interfaces/Plush/templates","paused":true,"isverbose":false,"restart_req":false,"power_options":true,"helpuri":"http://wiki.sabnzbd.org/","uptime":"4d","refresh_rate":"","version":"0.6.15","color_scheme":"gold","new_release":"0.7.6","nt":false,"status":"Paused","finish":0,"cache_art":"0","paused_all":false,"finishaction":null,"sizeleft":"13.1
|
114
|
+
GB","cache_size":"0 B","mbleft":"13414.81","diskspace2":"62.49","diskspace1":"62.49","scripts":[],"timeleft":"0:00:00","nzb_quota":"","eta":"unknown","kbpersec":"0.00","new_rel_url":"http://sourceforge.net/projects/sabnzbdplus/files/sabnzbdplus/0.7.6/","queue_details":"0"}}'
|
115
|
+
http_version:
|
116
|
+
recorded_at: Wed, 19 Dec 2012 14:49:03 GMT
|
59
117
|
recorded_with: VCR 2.3.0
|
@@ -28,4 +28,62 @@ http_interactions:
|
|
28
28
|
","timeleft":"0:00:00","mb":23749.483629,"state":"PAUSED","loadavg":"","kbpersec":0.000000}'
|
29
29
|
http_version:
|
30
30
|
recorded_at: Wed, 19 Dec 2012 12:58:36 GMT
|
31
|
+
- request:
|
32
|
+
method: get
|
33
|
+
uri: http://localhost:8080/api?apikey=valid_key&mode=qstatus&output=json
|
34
|
+
body:
|
35
|
+
encoding: US-ASCII
|
36
|
+
string: ''
|
37
|
+
headers: {}
|
38
|
+
response:
|
39
|
+
status:
|
40
|
+
code: 200
|
41
|
+
message: OK
|
42
|
+
headers:
|
43
|
+
Date:
|
44
|
+
- Wed, 19 Dec 2012 14:48:51 GMT
|
45
|
+
Content-Length:
|
46
|
+
- '425'
|
47
|
+
Content-Type:
|
48
|
+
- application/json;charset=UTF-8
|
49
|
+
Pragma:
|
50
|
+
- no-cache
|
51
|
+
Server:
|
52
|
+
- CherryPy/3.2.0
|
53
|
+
body:
|
54
|
+
encoding: US-ASCII
|
55
|
+
string: ! '{"have_warnings":"0","jobs":[{"timeleft":"0:00:00","mb":23749.483629,"msgid":"","filename":"a_big_legal_file","mbleft":13414.808467,"id":"SABnzbd_nzo_k92LC_"}],"noofslots":1,"paused":true,"pause_int":"0","mbleft":13414.808467,"diskspace2":62.491737,"diskspace1":62.491737,"speed":"0
|
56
|
+
","timeleft":"0:00:00","mb":23749.483629,"state":"PAUSED","loadavg":"","kbpersec":0.000000}'
|
57
|
+
http_version:
|
58
|
+
recorded_at: Wed, 19 Dec 2012 14:48:51 GMT
|
59
|
+
- request:
|
60
|
+
method: get
|
61
|
+
uri: http://localhost:8080/api?apikey=valid_key&limit=LIMIT&mode=queue&output=json&start=START
|
62
|
+
body:
|
63
|
+
encoding: US-ASCII
|
64
|
+
string: ''
|
65
|
+
headers: {}
|
66
|
+
response:
|
67
|
+
status:
|
68
|
+
code: 200
|
69
|
+
message: OK
|
70
|
+
headers:
|
71
|
+
Date:
|
72
|
+
- Wed, 19 Dec 2012 14:49:03 GMT
|
73
|
+
Content-Length:
|
74
|
+
- '1555'
|
75
|
+
Content-Type:
|
76
|
+
- application/json;charset=UTF-8
|
77
|
+
Pragma:
|
78
|
+
- no-cache
|
79
|
+
Server:
|
80
|
+
- CherryPy/3.2.0
|
81
|
+
body:
|
82
|
+
encoding: US-ASCII
|
83
|
+
string: ! '{"queue":{"active_lang":"en","session":"valid_key","slots":[{"status":"Queued","index":0,"eta":"unknown","missing":0,"avg_age":"57d","script":"None","msgid":"","verbosity":"","mb":"23749.48","sizeleft":"13.1
|
84
|
+
GB","filename":"a_big_legal_file","priority":"Normal","cat":"*","mbleft":"13414.81","timeleft":"0:00:00","percentage":"43","nzo_id":"SABnzbd_nzo_k92LC_","unpackopts":"3","size":"23.2
|
85
|
+
GB"}],"speed":"0 ","size":"23.2 GB","limit":0,"start":0,"diskspacetotal2":"232.44","darwin":true,"last_warning":"","have_warnings":"0","noofslots":1,"newzbin_url":"www.newzbin2.es","pause_int":"0","categories":["*","anime","apps","books","consoles","emulation","games","misc","movies","music","pda","resources","tv","unknown"],"diskspacetotal1":"232.44","mb":"23749.48","loadavg":"","cache_max":"0","speedlimit":"","webdir":"/Applications/SABnzbd.app/Contents/Resources/interfaces/Plush/templates","paused":true,"isverbose":false,"restart_req":false,"power_options":true,"helpuri":"http://wiki.sabnzbd.org/","uptime":"4d","refresh_rate":"","version":"0.6.15","color_scheme":"gold","new_release":"0.7.6","nt":false,"status":"Paused","finish":0,"cache_art":"0","paused_all":false,"finishaction":null,"sizeleft":"13.1
|
86
|
+
GB","cache_size":"0 B","mbleft":"13414.81","diskspace2":"62.49","diskspace1":"62.49","scripts":[],"timeleft":"0:00:00","nzb_quota":"","eta":"unknown","kbpersec":"0.00","new_rel_url":"http://sourceforge.net/projects/sabnzbdplus/files/sabnzbdplus/0.7.6/","queue_details":"0"}}'
|
87
|
+
http_version:
|
88
|
+
recorded_at: Wed, 19 Dec 2012 14:49:03 GMT
|
31
89
|
recorded_with: VCR 2.3.0
|
data/lib/sabnzbd.rb
CHANGED
@@ -17,7 +17,7 @@ class Sabnzbd
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def paused?
|
20
|
-
make_request["paused"]
|
20
|
+
make_request["queue"]["paused"]
|
21
21
|
end
|
22
22
|
|
23
23
|
def slots
|
@@ -26,7 +26,7 @@ class Sabnzbd
|
|
26
26
|
|
27
27
|
private
|
28
28
|
|
29
|
-
def make_request(url = "/api?mode=
|
29
|
+
def make_request(url = "/api?mode=queue&start=START&limit=LIMIT&output=json&apikey=#{@api_key}")
|
30
30
|
verify_response( self.class.get(url).parsed_response )
|
31
31
|
end
|
32
32
|
|
@@ -37,7 +37,7 @@ class Sabnzbd
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def initialize_slots
|
40
|
-
jobs = make_request["
|
40
|
+
jobs = make_request["queue"]["slots"]
|
41
41
|
|
42
42
|
jobs.each.inject([]) do |arr, job|
|
43
43
|
arr << Sabnzbd::Slot.new(job)
|
data/sabnzbd.gemspec
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
# Generated by jeweler
|
2
|
+
# DO NOT EDIT THIS FILE DIRECTLY
|
3
|
+
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
|
+
# -*- encoding: utf-8 -*-
|
5
|
+
|
6
|
+
Gem::Specification.new do |s|
|
7
|
+
s.name = "sabnzbd"
|
8
|
+
s.version = "0.1.1"
|
9
|
+
|
10
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
+
s.authors = ["Daniel Zwijnenburg"]
|
12
|
+
s.date = "2012-12-19"
|
13
|
+
s.description = "Ruby wrapper for the sabnzbd api. This gem can be used to gather status and download information from your sabnzb instance."
|
14
|
+
s.email = "daniel@danielz.nl"
|
15
|
+
s.extra_rdoc_files = [
|
16
|
+
"LICENSE.txt",
|
17
|
+
"README.rdoc"
|
18
|
+
]
|
19
|
+
s.files = [
|
20
|
+
".autotest",
|
21
|
+
".document",
|
22
|
+
".rspec",
|
23
|
+
"Gemfile",
|
24
|
+
"Gemfile.lock",
|
25
|
+
"LICENSE.txt",
|
26
|
+
"README.rdoc",
|
27
|
+
"Rakefile",
|
28
|
+
"VERSION",
|
29
|
+
"fixtures/vcr_cassettes/invalid_key.yml",
|
30
|
+
"fixtures/vcr_cassettes/paused.yml",
|
31
|
+
"fixtures/vcr_cassettes/simple_queue.yml",
|
32
|
+
"fixtures/vcr_cassettes/slots.yml",
|
33
|
+
"fixtures/vcr_cassettes/valid_key.yml",
|
34
|
+
"lib/sabnzbd.rb",
|
35
|
+
"lib/sabnzbd/slot.rb",
|
36
|
+
"sabnzbd.gemspec",
|
37
|
+
"spec/sabnzbd_spec.rb",
|
38
|
+
"spec/spec_helper.rb"
|
39
|
+
]
|
40
|
+
s.homepage = "http://github.com/DanielZwijnenburg/sabnzbd"
|
41
|
+
s.licenses = ["MIT"]
|
42
|
+
s.require_paths = ["lib"]
|
43
|
+
s.rubygems_version = "1.8.24"
|
44
|
+
s.summary = "Ruby wrapper for the sabnzbd api."
|
45
|
+
|
46
|
+
if s.respond_to? :specification_version then
|
47
|
+
s.specification_version = 3
|
48
|
+
|
49
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
50
|
+
s.add_runtime_dependency(%q<httparty>, [">= 0"])
|
51
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
|
52
|
+
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
53
|
+
s.add_development_dependency(%q<bundler>, [">= 0"])
|
54
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
|
55
|
+
s.add_development_dependency(%q<webmock>, ["~> 1.8.0"])
|
56
|
+
s.add_development_dependency(%q<vcr>, [">= 0"])
|
57
|
+
s.add_development_dependency(%q<autotest-growl>, [">= 0"])
|
58
|
+
s.add_runtime_dependency(%q<httparty>, [">= 0"])
|
59
|
+
else
|
60
|
+
s.add_dependency(%q<httparty>, [">= 0"])
|
61
|
+
s.add_dependency(%q<rspec>, ["~> 2.8.0"])
|
62
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
63
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
64
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
65
|
+
s.add_dependency(%q<webmock>, ["~> 1.8.0"])
|
66
|
+
s.add_dependency(%q<vcr>, [">= 0"])
|
67
|
+
s.add_dependency(%q<autotest-growl>, [">= 0"])
|
68
|
+
s.add_dependency(%q<httparty>, [">= 0"])
|
69
|
+
end
|
70
|
+
else
|
71
|
+
s.add_dependency(%q<httparty>, [">= 0"])
|
72
|
+
s.add_dependency(%q<rspec>, ["~> 2.8.0"])
|
73
|
+
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
74
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
75
|
+
s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
|
76
|
+
s.add_dependency(%q<webmock>, ["~> 1.8.0"])
|
77
|
+
s.add_dependency(%q<vcr>, [">= 0"])
|
78
|
+
s.add_dependency(%q<autotest-growl>, [">= 0"])
|
79
|
+
s.add_dependency(%q<httparty>, [">= 0"])
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sabnzbd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -180,6 +180,7 @@ files:
|
|
180
180
|
- fixtures/vcr_cassettes/valid_key.yml
|
181
181
|
- lib/sabnzbd.rb
|
182
182
|
- lib/sabnzbd/slot.rb
|
183
|
+
- sabnzbd.gemspec
|
183
184
|
- spec/sabnzbd_spec.rb
|
184
185
|
- spec/spec_helper.rb
|
185
186
|
homepage: http://github.com/DanielZwijnenburg/sabnzbd
|
@@ -197,7 +198,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
197
198
|
version: '0'
|
198
199
|
segments:
|
199
200
|
- 0
|
200
|
-
hash:
|
201
|
+
hash: 3295881341766727851
|
201
202
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
203
|
none: false
|
203
204
|
requirements:
|