nzbmatrix 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/nzbmatrix/client.rb +7 -1
- data/lib/nzbmatrix/version.rb +1 -1
- metadata +3 -3
data/lib/nzbmatrix/client.rb
CHANGED
@@ -20,7 +20,13 @@ module Nzbmatrix
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def details(nzb_id)
|
23
|
-
|
23
|
+
params = { :id => nzb_id }.merge(@creds)
|
24
|
+
response = RestClient.get("#{BASE_URL}/details.php", :params => params)
|
25
|
+
parsed_response = @parser.parse(response).first
|
26
|
+
result = SearchResult.new(parsed_response, self)
|
27
|
+
result.id = nzb_id
|
28
|
+
|
29
|
+
result
|
24
30
|
end
|
25
31
|
|
26
32
|
# Options
|
data/lib/nzbmatrix/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nzbmatrix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -94,7 +94,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
94
94
|
version: '0'
|
95
95
|
segments:
|
96
96
|
- 0
|
97
|
-
hash:
|
97
|
+
hash: -2704151392312097006
|
98
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
99
|
none: false
|
100
100
|
requirements:
|
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
103
103
|
version: '0'
|
104
104
|
segments:
|
105
105
|
- 0
|
106
|
-
hash:
|
106
|
+
hash: -2704151392312097006
|
107
107
|
requirements: []
|
108
108
|
rubyforge_project:
|
109
109
|
rubygems_version: 1.8.23
|