tvdb_party 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/VERSION +1 -1
- data/lib/tvdb_party/series.rb +3 -1
- data/tvdb_party.gemspec +6 -5
- metadata +12 -18
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e0ca8655b38ca5ed50a2b55de562a97037b4ce23
|
4
|
+
data.tar.gz: ea7ce6069f71fa0b5bc88733cb831434fa06267f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: edd8df1966ee2c28cac009a8796fe6bc584cd02db1669c8b2c96423b79025c7f595e80248f1616de5186a808630467f5f9968bd322f795937671f8e2d9bae807
|
7
|
+
data.tar.gz: e8c12829e43ba8c35655183d9b989dc911eced61c0a74df9a9240613b6dd3f34c2cf8567eff9390661d0a3f4fcf8fdc3d7e401d7ecb351dfa0e0a351b8334b9b
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.8.0
|
data/lib/tvdb_party/series.rb
CHANGED
@@ -2,7 +2,7 @@ module TvdbParty
|
|
2
2
|
class Series
|
3
3
|
attr_reader :client
|
4
4
|
attr_accessor :id, :name, :overview, :seasons, :first_aired, :genres, :network, :rating, :runtime,
|
5
|
-
:actors, :banners, :air_time, :imdb_id
|
5
|
+
:actors, :banners, :air_time, :imdb_id, :content_rating, :status
|
6
6
|
|
7
7
|
def initialize(client, options={})
|
8
8
|
@client = client
|
@@ -13,6 +13,8 @@ module TvdbParty
|
|
13
13
|
@runtime = options["Runtime"]
|
14
14
|
@air_time = options['Airs_Time'] if options['Airs_Time']
|
15
15
|
@imdb_id = options["IMDB_ID"]
|
16
|
+
@content_rating = options["ContentRating"]
|
17
|
+
@status = options["Status"]
|
16
18
|
|
17
19
|
if options["Genre"]
|
18
20
|
@genres = options["Genre"][1..-1].split("|")
|
data/tvdb_party.gemspec
CHANGED
@@ -2,14 +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.0 ruby lib
|
5
6
|
|
6
7
|
Gem::Specification.new do |s|
|
7
8
|
s.name = "tvdb_party"
|
8
|
-
s.version = "0.
|
9
|
+
s.version = "0.8.0"
|
9
10
|
|
10
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
+
s.require_paths = ["lib"]
|
11
13
|
s.authors = ["Jon Maddox"]
|
12
|
-
s.date = "
|
14
|
+
s.date = "2014-11-11"
|
13
15
|
s.description = "Simple Ruby library to talk to thetvdb.com's api"
|
14
16
|
s.email = "jon@mustacheinc.com"
|
15
17
|
s.extra_rdoc_files = [
|
@@ -34,12 +36,11 @@ Gem::Specification.new do |s|
|
|
34
36
|
"tvdb_party.gemspec"
|
35
37
|
]
|
36
38
|
s.homepage = "http://github.com/maddox/tvdb_party"
|
37
|
-
s.
|
38
|
-
s.rubygems_version = "1.8.23"
|
39
|
+
s.rubygems_version = "2.2.2"
|
39
40
|
s.summary = "Simple Ruby library to talk to thetvdb.com's api"
|
40
41
|
|
41
42
|
if s.respond_to? :specification_version then
|
42
|
-
s.specification_version =
|
43
|
+
s.specification_version = 4
|
43
44
|
|
44
45
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
45
46
|
s.add_development_dependency(%q<thoughtbot-shoulda>, [">= 0"])
|
metadata
CHANGED
@@ -1,46 +1,41 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tvdb_party
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.8.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jon Maddox
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-11-11 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: thoughtbot-shoulda
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: httparty
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 0.6.1
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 0.6.1
|
46
41
|
description: Simple Ruby library to talk to thetvdb.com's api
|
@@ -51,7 +46,7 @@ extra_rdoc_files:
|
|
51
46
|
- LICENSE
|
52
47
|
- README.textile
|
53
48
|
files:
|
54
|
-
- .document
|
49
|
+
- ".document"
|
55
50
|
- LICENSE
|
56
51
|
- README.textile
|
57
52
|
- Rakefile
|
@@ -68,26 +63,25 @@ files:
|
|
68
63
|
- tvdb_party.gemspec
|
69
64
|
homepage: http://github.com/maddox/tvdb_party
|
70
65
|
licenses: []
|
66
|
+
metadata: {}
|
71
67
|
post_install_message:
|
72
68
|
rdoc_options: []
|
73
69
|
require_paths:
|
74
70
|
- lib
|
75
71
|
required_ruby_version: !ruby/object:Gem::Requirement
|
76
|
-
none: false
|
77
72
|
requirements:
|
78
|
-
- -
|
73
|
+
- - ">="
|
79
74
|
- !ruby/object:Gem::Version
|
80
75
|
version: '0'
|
81
76
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
77
|
requirements:
|
84
|
-
- -
|
78
|
+
- - ">="
|
85
79
|
- !ruby/object:Gem::Version
|
86
80
|
version: '0'
|
87
81
|
requirements: []
|
88
82
|
rubyforge_project:
|
89
|
-
rubygems_version:
|
83
|
+
rubygems_version: 2.2.2
|
90
84
|
signing_key:
|
91
|
-
specification_version:
|
85
|
+
specification_version: 4
|
92
86
|
summary: Simple Ruby library to talk to thetvdb.com's api
|
93
87
|
test_files: []
|