tvdb_party 0.8.3 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/tvdb_party/banner.rb +5 -5
- data/lib/tvdb_party/search.rb +1 -1
- data/tvdb_party.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '09f8ddaa7919cf04a7552bfdd024fad9896f564c'
|
4
|
+
data.tar.gz: 1bc662ada02f87cb56eebc78852f4080abb0cbde
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ffb3fd470936997d35d3d4736269a228421293b3851d74b1bbdc249c1cb38f96ce88d99ff3fc9452e92dd34123e5265d4534ffd9c56778cedcd8d3a86ce1ea11
|
7
|
+
data.tar.gz: a9822b6a2d9e04c80d98c5e501162a107929a983c9c72abe1f5cd07c891a494ae57d01d2f73164973bd00bd646727a32307e6e84864fe23245741f9ba0c3eb40
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.9.0
|
data/lib/tvdb_party/banner.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module TvdbParty
|
2
2
|
class Banner
|
3
3
|
attr_accessor :banner_type, :banner_type2, :season, :path, :thumbnail_path, :language
|
4
|
-
|
4
|
+
|
5
5
|
def initialize(options={})
|
6
6
|
@banner_type = options["BannerType"]
|
7
7
|
@banner_type2 = options["BannerType2"]
|
@@ -9,14 +9,14 @@ module TvdbParty
|
|
9
9
|
@path = options["BannerPath"]
|
10
10
|
@language = options["Language"]
|
11
11
|
end
|
12
|
-
|
12
|
+
|
13
13
|
def url
|
14
|
-
"
|
14
|
+
"https://thetvdb.com/banners/" + @path
|
15
15
|
end
|
16
16
|
|
17
17
|
def thumb_url
|
18
|
-
"
|
18
|
+
"https://thetvdb.com/banners/_cache/" + @path
|
19
19
|
end
|
20
20
|
|
21
21
|
end
|
22
|
-
end
|
22
|
+
end
|
data/lib/tvdb_party/search.rb
CHANGED
data/tvdb_party.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: tvdb_party 0.
|
5
|
+
# stub: tvdb_party 0.9.0 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "tvdb_party"
|
9
|
-
s.version = "0.
|
9
|
+
s.version = "0.9.0"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Jon Maddox"]
|
14
|
-
s.date = "2017-
|
14
|
+
s.date = "2017-09-15"
|
15
15
|
s.description = "Simple Ruby library to talk to thetvdb.com's api"
|
16
16
|
s.email = "jon@mustacheinc.com"
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tvdb_party
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jon Maddox
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thoughtbot-shoulda
|