tvdb_party 0.8.3 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: edf84cb1fb11a9b32d176c8a5b5cef12453ce87f
4
- data.tar.gz: 630b2cd5afb53223179d6f1a0586bb0a00e7a6e5
3
+ metadata.gz: '09f8ddaa7919cf04a7552bfdd024fad9896f564c'
4
+ data.tar.gz: 1bc662ada02f87cb56eebc78852f4080abb0cbde
5
5
  SHA512:
6
- metadata.gz: 4a78084fd180bc55e8301ece0eb5a85c6b33b74ae13456a7b377e7fab38775253e6618968c5cac71ef3b95aabd9e0610197abc99dfa22662a9e891915b3bd217
7
- data.tar.gz: 1fabdca6149fb688d16bc919545957a2d4a725c3cfed8509327a8b4589946210529dcd9a92fdcf57e3ca67636bd8c1e158b9b52c66c4c4ab05fe0e4e8e41bb1c
6
+ metadata.gz: ffb3fd470936997d35d3d4736269a228421293b3851d74b1bbdc249c1cb38f96ce88d99ff3fc9452e92dd34123e5265d4534ffd9c56778cedcd8d3a86ce1ea11
7
+ data.tar.gz: a9822b6a2d9e04c80d98c5e501162a107929a983c9c72abe1f5cd07c891a494ae57d01d2f73164973bd00bd646727a32307e6e84864fe23245741f9ba0c3eb40
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.3
1
+ 0.9.0
@@ -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
- "http://thetvdb.com/banners/" + @path
14
+ "https://thetvdb.com/banners/" + @path
15
15
  end
16
16
 
17
17
  def thumb_url
18
- "http://thetvdb.com/banners/_cache/" + @path
18
+ "https://thetvdb.com/banners/_cache/" + @path
19
19
  end
20
20
 
21
21
  end
22
- end
22
+ end
@@ -4,7 +4,7 @@ module TvdbParty
4
4
  include HTTParty::Icebox
5
5
  attr_accessor :language
6
6
 
7
- base_uri 'www.thetvdb.com/api'
7
+ base_uri 'https://www.thetvdb.com/api'
8
8
 
9
9
  def initialize(the_api_key, language = 'en', cache_options = {})
10
10
  @api_key = the_api_key
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.8.3 ruby lib
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.8.3"
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-08-03"
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.8.3
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-08-03 00:00:00.000000000 Z
11
+ date: 2017-09-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thoughtbot-shoulda