tvdbr 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/lib/tvdbr/client.rb CHANGED
@@ -92,6 +92,11 @@ module Tvdbr
92
92
  Array(self.get_with_key('/mirrors.xml')['Mirrors']['Mirror']['mirrorpath'])
93
93
  end
94
94
 
95
+ # Returns a list of image locations for the series
96
+ def banner_urls(series_id)
97
+ self.get_with_key("/series/#{series_id}/banners.xml")['Banners']['Banner']
98
+ end
99
+
95
100
  # Returns a list of series and episode updates since given time
96
101
  # tvdb.find_updates_since(1.day.ago)
97
102
  # => { :series => [1,2,3], :episodes => [1,2,3], :time => '<stamp>' }
data/lib/tvdbr/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tvdbr
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tvdbr
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
5
- prerelease: false
4
+ hash: 17
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Miso
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-01-19 00:00:00 -08:00
19
+ date: 2011-03-15 00:00:00 -07:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
116
116
  requirements: []
117
117
 
118
118
  rubyforge_project: tvdbr
119
- rubygems_version: 1.3.7
119
+ rubygems_version: 1.6.0
120
120
  signing_key:
121
121
  specification_version: 3
122
122
  summary: Use the TVDB API from Ruby