trakt_api 0.0.3 → 0.1.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 +4 -4
- data/.gitignore +1 -1
- data/.travis.yml +3 -1
- data/README.md +21 -209
- data/lib/trakt_api.rb +3 -17
- data/lib/trakt_api/base.rb +35 -68
- data/lib/trakt_api/client.rb +6 -67
- data/lib/trakt_api/search.rb +7 -18
- data/lib/trakt_api/version.rb +1 -1
- data/spec/fixtures/search.json +125 -0
- data/spec/functionals/search_spec.rb +23 -0
- data/spec/integrations/search_spec.rb +9 -30
- data/spec/spec_helper.rb +2 -38
- data/spec/support/.keep +0 -0
- data/spec/support/trakt_api.rb.example +1 -0
- data/trakt_api.gemspec +4 -3
- metadata +42 -94
- data/lib/generators/templates/trakt_api.rb +0 -5
- data/lib/generators/trakt_api/install_generator.rb +0 -12
- data/lib/trakt_api/account.rb +0 -16
- data/lib/trakt_api/activity.rb +0 -94
- data/lib/trakt_api/calendar.rb +0 -17
- data/lib/trakt_api/comment.rb +0 -16
- data/lib/trakt_api/configuration.rb +0 -7
- data/lib/trakt_api/genres.rb +0 -11
- data/lib/trakt_api/lists.rb +0 -26
- data/lib/trakt_api/movie.rb +0 -86
- data/lib/trakt_api/movies.rb +0 -11
- data/lib/trakt_api/network.rb +0 -26
- data/lib/trakt_api/rate.rb +0 -31
- data/lib/trakt_api/recommendations.rb +0 -21
- data/lib/trakt_api/server.rb +0 -6
- data/lib/trakt_api/show.rb +0 -151
- data/lib/trakt_api/shows.rb +0 -11
- data/lib/trakt_api/user.rb +0 -116
- data/spec/integration_spec_helper.rb +0 -3
- data/spec/integrations/account_spec.rb +0 -19
- data/spec/integrations/calendar_spec.rb +0 -31
- data/spec/integrations/client_spec.rb +0 -173
- data/spec/integrations/genres_spec.rb +0 -19
- data/spec/integrations/movies_spec.rb +0 -25
- data/spec/integrations/network_spec.rb +0 -37
- data/spec/integrations/server_spec.rb +0 -13
- data/spec/integrations/shows_spec.rb +0 -25
- data/spec/integrations/support/trakt_api.rb.example +0 -5
- data/spec/trakt_api/account_spec.rb +0 -56
- data/spec/trakt_api/activity_spec.rb +0 -243
- data/spec/trakt_api/base_spec.rb +0 -140
- data/spec/trakt_api/calendar_spec.rb +0 -48
- data/spec/trakt_api/client_spec.rb +0 -101
- data/spec/trakt_api/comment_spec.rb +0 -69
- data/spec/trakt_api/genres_spec.rb +0 -24
- data/spec/trakt_api/lists_spec.rb +0 -111
- data/spec/trakt_api/movie_spec.rb +0 -345
- data/spec/trakt_api/movies_spec.rb +0 -44
- data/spec/trakt_api/network_spec.rb +0 -105
- data/spec/trakt_api/rate_spec.rb +0 -132
- data/spec/trakt_api/recommendations_spec.rb +0 -90
- data/spec/trakt_api/search_spec.rb +0 -81
- data/spec/trakt_api/server_spec.rb +0 -15
- data/spec/trakt_api/show_spec.rb +0 -618
- data/spec/trakt_api/shows_spec.rb +0 -44
- data/spec/trakt_api/user_spec.rb +0 -489
data/lib/trakt_api/search.rb
CHANGED
@@ -1,26 +1,15 @@
|
|
1
1
|
class TraktApi::Search < TraktApi::Base
|
2
|
-
|
3
|
-
|
4
|
-
get('search/episodes').params(options).response
|
2
|
+
def call(options)
|
3
|
+
search_path_with_params(options).get
|
5
4
|
end
|
6
5
|
|
7
|
-
|
8
|
-
def movies(options = {})
|
9
|
-
get('search/movies').params(options).response
|
10
|
-
end
|
11
|
-
|
12
|
-
# documentation: http://trakt.tv/api-docs/search-people
|
13
|
-
def people(options = {})
|
14
|
-
get('search/people').params(options).response
|
15
|
-
end
|
6
|
+
private
|
16
7
|
|
17
|
-
|
18
|
-
|
19
|
-
get('search/shows').params(options).response
|
8
|
+
def search_path_with_params(options)
|
9
|
+
path(search_path).params(options)
|
20
10
|
end
|
21
11
|
|
22
|
-
|
23
|
-
|
24
|
-
get('search/users').params(options).response
|
12
|
+
def search_path
|
13
|
+
'search'
|
25
14
|
end
|
26
15
|
end
|
data/lib/trakt_api/version.rb
CHANGED
@@ -0,0 +1,125 @@
|
|
1
|
+
[
|
2
|
+
{
|
3
|
+
"type": "movie",
|
4
|
+
"score": 26.019499,
|
5
|
+
"movie": {
|
6
|
+
"title": "Batman Begins",
|
7
|
+
"overview": "Driven by tragedy, billionaire Bruce Wayne dedicates his life to uncovering and defeating the corruption that plagues his home, Gotham City. Unable to work within the system, he instead creates a new identity, a symbol of fear for the criminal underworld - The Batman.",
|
8
|
+
"year": 2005,
|
9
|
+
"images": {
|
10
|
+
"poster": {
|
11
|
+
"full": "https://walter.trakt.us/images/movies/000/000/001/posters/original/9634ffd477.jpg?1406080393",
|
12
|
+
"medium": "https://walter.trakt.us/images/movies/000/000/001/posters/medium/9634ffd477.jpg?1406080393",
|
13
|
+
"thumb": "https://walter.trakt.us/images/movies/000/000/001/posters/thumb/9634ffd477.jpg?1406080393"
|
14
|
+
},
|
15
|
+
"fanart": {
|
16
|
+
"full": "https://walter.trakt.us/images/movies/000/000/001/fanarts/original/7da8cfbe9e.jpg?1406080393",
|
17
|
+
"medium": "https://walter.trakt.us/images/movies/000/000/001/fanarts/medium/7da8cfbe9e.jpg?1406080393",
|
18
|
+
"thumb": "https://walter.trakt.us/images/movies/000/000/001/fanarts/thumb/7da8cfbe9e.jpg?1406080393"
|
19
|
+
}
|
20
|
+
},
|
21
|
+
"ids": {
|
22
|
+
"trakt": 1,
|
23
|
+
"slug": "batman-begins-2005",
|
24
|
+
"imdb": "tt0372784",
|
25
|
+
"tmdb": 272
|
26
|
+
}
|
27
|
+
}
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"type": "show",
|
31
|
+
"score": 19.533358,
|
32
|
+
"show": {
|
33
|
+
"title": "Breaking Bad",
|
34
|
+
"overview": "Breaking Bad is an American crime drama television series created and produced by Vince Gilligan. Set and produced in Albuquerque, New Mexico, Breaking Bad is the story of Walter White, a struggling high school chemistry teacher who is diagnosed with inoperable lung cancer at the beginning of the series. He turns to a life of crime, producing and selling methamphetamine, in order to secure his family's financial future before he dies, teaming with his former student, Jesse Pinkman. Heavily serialized, the series is known for positioning its characters in seemingly inextricable corners and has been labeled a contemporary western by its creator.",
|
35
|
+
"year": 2008,
|
36
|
+
"images": {
|
37
|
+
"poster": {
|
38
|
+
"full": "https://walter.trakt.us/images/shows/000/000/001/posters/original/7217fe0ea7.jpg?1412271410",
|
39
|
+
"medium": "https://walter.trakt.us/images/shows/000/000/001/posters/medium/7217fe0ea7.jpg?1412271410",
|
40
|
+
"thumb": "https://walter.trakt.us/images/shows/000/000/001/posters/thumb/7217fe0ea7.jpg?1412271410"
|
41
|
+
},
|
42
|
+
"fanart": {
|
43
|
+
"full": "https://walter.trakt.us/images/shows/000/000/001/fanarts/original/2fb47044fd.jpg?1412271412",
|
44
|
+
"medium": "https://walter.trakt.us/images/shows/000/000/001/fanarts/medium/2fb47044fd.jpg?1412271412",
|
45
|
+
"thumb": "https://walter.trakt.us/images/shows/000/000/001/fanarts/thumb/2fb47044fd.jpg?1412271412"
|
46
|
+
}
|
47
|
+
},
|
48
|
+
"ids": {
|
49
|
+
"trakt": 1,
|
50
|
+
"slug": "breaking-bad",
|
51
|
+
"tvdb": 81189,
|
52
|
+
"imdb": "tt0903747",
|
53
|
+
"tmdb": 1396,
|
54
|
+
"tvrage": 18164
|
55
|
+
}
|
56
|
+
}
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"type": "episode",
|
60
|
+
"score": 42.50835,
|
61
|
+
"episode": {
|
62
|
+
"season": 1,
|
63
|
+
"number": 5,
|
64
|
+
"title": "Gray Matter",
|
65
|
+
"overview": "Walter and Skyler attend a former colleague's party. Jesse tries to free himself from the drugs, while Skyler organizes an intervention.",
|
66
|
+
"images": {
|
67
|
+
"screenshot": {
|
68
|
+
"full": "https://walter.trakt.us/images/episodes/000/000/062/screenshots/original/dbb0a11808.jpg?1412374314",
|
69
|
+
"medium": "https://walter.trakt.us/images/episodes/000/000/062/screenshots/medium/dbb0a11808.jpg?1412374314",
|
70
|
+
"thumb": "https://walter.trakt.us/images/episodes/000/000/062/screenshots/thumb/dbb0a11808.jpg?1412374314"
|
71
|
+
}
|
72
|
+
},
|
73
|
+
"ids": {
|
74
|
+
"trakt": 20,
|
75
|
+
"tvdb": 349238,
|
76
|
+
"imdb": "tt1054727",
|
77
|
+
"tmdb": 62089,
|
78
|
+
"tvrage": 637646
|
79
|
+
}
|
80
|
+
},
|
81
|
+
"show": {
|
82
|
+
"title": "Breaking Bad",
|
83
|
+
"year": 2008,
|
84
|
+
"ids": {
|
85
|
+
"trakt": 1
|
86
|
+
}
|
87
|
+
}
|
88
|
+
},
|
89
|
+
{
|
90
|
+
"type": "person",
|
91
|
+
"score": 53.421608,
|
92
|
+
"person": {
|
93
|
+
"name": "Bryan Cranston",
|
94
|
+
"images": {
|
95
|
+
"headshot": {
|
96
|
+
"full": "https://walter.trakt.us/images/people/000/000/001/headshots/original/47aebaace9.jpg?1412273271",
|
97
|
+
"medium": "https://walter.trakt.us/images/people/000/000/001/headshots/medium/47aebaace9.jpg?1412273271",
|
98
|
+
"thumb": "https://walter.trakt.us/images/people/000/000/001/headshots/thumb/47aebaace9.jpg?1412273271"
|
99
|
+
}
|
100
|
+
},
|
101
|
+
"ids": {
|
102
|
+
"trakt": 1,
|
103
|
+
"slug": "bryan-cranston",
|
104
|
+
"imdb": "nm0186505",
|
105
|
+
"tmdb": 17419,
|
106
|
+
"tvrage": 1797
|
107
|
+
}
|
108
|
+
}
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"type": "list",
|
112
|
+
"score": 38.643196,
|
113
|
+
"list": {
|
114
|
+
"name": "Custom List",
|
115
|
+
"description": "desc for the custom list",
|
116
|
+
"privacy": "private",
|
117
|
+
"display_numbers": true,
|
118
|
+
"allow_comments": true,
|
119
|
+
"ids": {
|
120
|
+
"trakt": 77,
|
121
|
+
"slug": "custom-list"
|
122
|
+
}
|
123
|
+
}
|
124
|
+
}
|
125
|
+
]
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe TraktApi::Search do
|
4
|
+
let(:client) { TraktApi::Client.new(api_key: '123456789', adapter: :test, adapter_options: faraday_stubs) }
|
5
|
+
|
6
|
+
let(:faraday_stubs) do
|
7
|
+
Faraday::Adapter::Test::Stubs.new do |stub|
|
8
|
+
stub.get('/search?query=batman&type=show') do
|
9
|
+
[200, { content_type: 'json' }, File.read('spec/fixtures/search.json')]
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
|
14
|
+
describe '.search' do
|
15
|
+
it 'should return Faraday::Response class' do
|
16
|
+
expect(client.search(query: 'batman', type: 'show')).to be_a(Faraday::Response)
|
17
|
+
end
|
18
|
+
|
19
|
+
it 'should return Hash class for body reponse' do
|
20
|
+
expect(client.search(query: 'batman', type: 'show').body).to be_a(Array)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -1,37 +1,16 @@
|
|
1
|
-
require '
|
1
|
+
require 'spec_helper'
|
2
2
|
|
3
3
|
describe TraktApi::Search do
|
4
|
-
let(:model) { TraktApi::Search.new(
|
4
|
+
let(:model) { TraktApi::Search.new(api_key: API_KEY) }
|
5
5
|
|
6
|
-
describe '
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
end
|
11
|
-
end
|
12
|
-
|
13
|
-
describe '.movies' do
|
14
|
-
it 'should return response class' do
|
15
|
-
model.movies('test').class.should == HTTParty::Response
|
16
|
-
end
|
17
|
-
end
|
18
|
-
|
19
|
-
describe '.people' do
|
20
|
-
it 'should return response class' do
|
21
|
-
model.people('test').class.should == HTTParty::Response
|
22
|
-
end
|
23
|
-
end
|
24
|
-
|
25
|
-
describe '.shows' do
|
26
|
-
it 'should return response class' do
|
27
|
-
model.shows('test').class.should == HTTParty::Response
|
28
|
-
end
|
29
|
-
end
|
6
|
+
describe '.search' do
|
7
|
+
it 'should return response class' do
|
8
|
+
response = model.call(query: 'batman', type: 'show')
|
9
|
+
ap response.body
|
30
10
|
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
end
|
11
|
+
expect(response).to be_a(Faraday::Response)
|
12
|
+
expect(response.status).to eq(200)
|
13
|
+
expect(response.body).to be_a(Array)
|
35
14
|
end
|
36
15
|
end
|
37
16
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,43 +1,7 @@
|
|
1
|
-
require 'rubygems'
|
2
|
-
require 'bundler/setup'
|
3
1
|
require 'coveralls'
|
4
2
|
Coveralls.wear!
|
5
3
|
|
4
|
+
require 'awesome_print'
|
6
5
|
require 'trakt_api'
|
7
6
|
|
8
|
-
|
9
|
-
config.username = 'tester'
|
10
|
-
config.password = 'qwerty'
|
11
|
-
end
|
12
|
-
|
13
|
-
class SampleModel
|
14
|
-
def auth
|
15
|
-
self
|
16
|
-
end
|
17
|
-
|
18
|
-
def optional_auth(options = {})
|
19
|
-
self
|
20
|
-
end
|
21
|
-
|
22
|
-
def get(uri)
|
23
|
-
self
|
24
|
-
end
|
25
|
-
|
26
|
-
def post(uri)
|
27
|
-
self
|
28
|
-
end
|
29
|
-
|
30
|
-
def params(options = {}, fields = [])
|
31
|
-
self
|
32
|
-
end
|
33
|
-
|
34
|
-
def restful_params(options = {}, fields = [])
|
35
|
-
self
|
36
|
-
end
|
37
|
-
|
38
|
-
def response
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
|
-
RSpec.configure do |config|
|
43
|
-
end
|
7
|
+
Dir['spec/support/**/*.rb'].each { |f| require "./#{f}" }
|
data/spec/support/.keep
ADDED
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
API_KEY = ''
|
data/trakt_api.gemspec
CHANGED
@@ -18,12 +18,13 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ['lib']
|
20
20
|
|
21
|
-
spec.add_runtime_dependency '
|
22
|
-
spec.add_runtime_dependency 'httparty', '>= 0.12.0'
|
21
|
+
spec.add_runtime_dependency 'service_api', '~> 0.1.0'
|
23
22
|
spec.add_runtime_dependency 'string_to_sha1', '>= 1.0.0'
|
23
|
+
spec.add_runtime_dependency 'ov', '~> 0.1.0'
|
24
24
|
|
25
25
|
spec.add_development_dependency 'bundler', '~> 1.3'
|
26
26
|
spec.add_development_dependency 'rake'
|
27
|
-
spec.add_development_dependency 'rspec', '
|
27
|
+
spec.add_development_dependency 'rspec', '~> 3.1.0'
|
28
28
|
spec.add_development_dependency 'coveralls', '>= 0.7'
|
29
|
+
spec.add_development_dependency 'awesome_print', '~> 1.6.0'
|
29
30
|
end
|
metadata
CHANGED
@@ -1,57 +1,57 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trakt_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Krzysztof Wawer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: service_api
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.1.
|
19
|
+
version: 0.1.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.1.
|
26
|
+
version: 0.1.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: string_to_sha1
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 1.0.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 1.0.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: ov
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.0
|
47
|
+
version: 0.1.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.0
|
54
|
+
version: 0.1.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -84,16 +84,16 @@ dependencies:
|
|
84
84
|
name: rspec
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ~>
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 3.1.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ~>
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 3.1.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: coveralls
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -108,6 +108,20 @@ dependencies:
|
|
108
108
|
- - '>='
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0.7'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: awesome_print
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ~>
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.6.0
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ~>
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.6.0
|
111
125
|
description: Ruby client for trakt.tv API
|
112
126
|
email:
|
113
127
|
- krzysztof.wawer@gmail.com
|
@@ -121,59 +135,17 @@ files:
|
|
121
135
|
- LICENSE.txt
|
122
136
|
- README.md
|
123
137
|
- Rakefile
|
124
|
-
- lib/generators/templates/trakt_api.rb
|
125
|
-
- lib/generators/trakt_api/install_generator.rb
|
126
138
|
- lib/trakt_api.rb
|
127
|
-
- lib/trakt_api/account.rb
|
128
|
-
- lib/trakt_api/activity.rb
|
129
139
|
- lib/trakt_api/base.rb
|
130
|
-
- lib/trakt_api/calendar.rb
|
131
140
|
- lib/trakt_api/client.rb
|
132
|
-
- lib/trakt_api/comment.rb
|
133
|
-
- lib/trakt_api/configuration.rb
|
134
|
-
- lib/trakt_api/genres.rb
|
135
|
-
- lib/trakt_api/lists.rb
|
136
|
-
- lib/trakt_api/movie.rb
|
137
|
-
- lib/trakt_api/movies.rb
|
138
|
-
- lib/trakt_api/network.rb
|
139
|
-
- lib/trakt_api/rate.rb
|
140
|
-
- lib/trakt_api/recommendations.rb
|
141
141
|
- lib/trakt_api/search.rb
|
142
|
-
- lib/trakt_api/server.rb
|
143
|
-
- lib/trakt_api/show.rb
|
144
|
-
- lib/trakt_api/shows.rb
|
145
|
-
- lib/trakt_api/user.rb
|
146
142
|
- lib/trakt_api/version.rb
|
147
|
-
- spec/
|
148
|
-
- spec/
|
149
|
-
- spec/integrations/calendar_spec.rb
|
150
|
-
- spec/integrations/client_spec.rb
|
151
|
-
- spec/integrations/genres_spec.rb
|
152
|
-
- spec/integrations/movies_spec.rb
|
153
|
-
- spec/integrations/network_spec.rb
|
143
|
+
- spec/fixtures/search.json
|
144
|
+
- spec/functionals/search_spec.rb
|
154
145
|
- spec/integrations/search_spec.rb
|
155
|
-
- spec/integrations/server_spec.rb
|
156
|
-
- spec/integrations/shows_spec.rb
|
157
|
-
- spec/integrations/support/trakt_api.rb.example
|
158
146
|
- spec/spec_helper.rb
|
159
|
-
- spec/
|
160
|
-
- spec/trakt_api
|
161
|
-
- spec/trakt_api/base_spec.rb
|
162
|
-
- spec/trakt_api/calendar_spec.rb
|
163
|
-
- spec/trakt_api/client_spec.rb
|
164
|
-
- spec/trakt_api/comment_spec.rb
|
165
|
-
- spec/trakt_api/genres_spec.rb
|
166
|
-
- spec/trakt_api/lists_spec.rb
|
167
|
-
- spec/trakt_api/movie_spec.rb
|
168
|
-
- spec/trakt_api/movies_spec.rb
|
169
|
-
- spec/trakt_api/network_spec.rb
|
170
|
-
- spec/trakt_api/rate_spec.rb
|
171
|
-
- spec/trakt_api/recommendations_spec.rb
|
172
|
-
- spec/trakt_api/search_spec.rb
|
173
|
-
- spec/trakt_api/server_spec.rb
|
174
|
-
- spec/trakt_api/show_spec.rb
|
175
|
-
- spec/trakt_api/shows_spec.rb
|
176
|
-
- spec/trakt_api/user_spec.rb
|
147
|
+
- spec/support/.keep
|
148
|
+
- spec/support/trakt_api.rb.example
|
177
149
|
- trakt_api.gemspec
|
178
150
|
homepage: http://github.com/wafcio/trakt_api
|
179
151
|
licenses:
|
@@ -195,38 +167,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
195
167
|
version: '0'
|
196
168
|
requirements: []
|
197
169
|
rubyforge_project:
|
198
|
-
rubygems_version: 2.
|
170
|
+
rubygems_version: 2.4.5
|
199
171
|
signing_key:
|
200
172
|
specification_version: 4
|
201
173
|
summary: Ruby client for trakt.tv API
|
202
174
|
test_files:
|
203
|
-
- spec/
|
204
|
-
- spec/
|
205
|
-
- spec/integrations/calendar_spec.rb
|
206
|
-
- spec/integrations/client_spec.rb
|
207
|
-
- spec/integrations/genres_spec.rb
|
208
|
-
- spec/integrations/movies_spec.rb
|
209
|
-
- spec/integrations/network_spec.rb
|
175
|
+
- spec/fixtures/search.json
|
176
|
+
- spec/functionals/search_spec.rb
|
210
177
|
- spec/integrations/search_spec.rb
|
211
|
-
- spec/integrations/server_spec.rb
|
212
|
-
- spec/integrations/shows_spec.rb
|
213
|
-
- spec/integrations/support/trakt_api.rb.example
|
214
178
|
- spec/spec_helper.rb
|
215
|
-
- spec/
|
216
|
-
- spec/trakt_api
|
217
|
-
- spec/trakt_api/base_spec.rb
|
218
|
-
- spec/trakt_api/calendar_spec.rb
|
219
|
-
- spec/trakt_api/client_spec.rb
|
220
|
-
- spec/trakt_api/comment_spec.rb
|
221
|
-
- spec/trakt_api/genres_spec.rb
|
222
|
-
- spec/trakt_api/lists_spec.rb
|
223
|
-
- spec/trakt_api/movie_spec.rb
|
224
|
-
- spec/trakt_api/movies_spec.rb
|
225
|
-
- spec/trakt_api/network_spec.rb
|
226
|
-
- spec/trakt_api/rate_spec.rb
|
227
|
-
- spec/trakt_api/recommendations_spec.rb
|
228
|
-
- spec/trakt_api/search_spec.rb
|
229
|
-
- spec/trakt_api/server_spec.rb
|
230
|
-
- spec/trakt_api/show_spec.rb
|
231
|
-
- spec/trakt_api/shows_spec.rb
|
232
|
-
- spec/trakt_api/user_spec.rb
|
179
|
+
- spec/support/.keep
|
180
|
+
- spec/support/trakt_api.rb.example
|