themoviedb-api 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d98aac4f6f1b2e427b1bd719c5f478d0ad2f8fd4
4
- data.tar.gz: 8d75daf4f438c624f4b0763d44478298233e40d0
3
+ metadata.gz: 5b607aa74d50988027e64477938dcf4faf5827b3
4
+ data.tar.gz: fb2500c3674056e7d5f62e4ac811fc912f7c027d
5
5
  SHA512:
6
- metadata.gz: a7e84a131c07f28edb8e14c1e8e262e0dbfa417f8d094e76c79bf2eeee086b5981485d3c84679de05007d9984c3a640328e513d662e77cb99dfcd953795514ca
7
- data.tar.gz: 5112c0e4a2519282519faa149c72d9068bf7a155efa898e0c7d1c4e151a0c036ed2e158ab6e1b863338fd70acd79b15129d2b88a86adf4aa816768ca1cd0cf40
6
+ metadata.gz: d88955b7933dd5a4fbafbe0276d7b1bba567a8462066276889c3a61fd8aa63dbda38eb1429aac86b05f2b78ee5d5b49004712d30bea0937d699ebbf02499cb40
7
+ data.tar.gz: c63561a02fde71ec1a5301d9f31c58128c6282dd13a39e3bfcd5a5cc1b551812233d386b356d3212c47f7a50af4b31439f6adc94afe6eaf5168394cc2cb940bc
data/.coveralls.yml ADDED
@@ -0,0 +1,2 @@
1
+ service_name: travis-ci
2
+ repo_token: X4qL1yW6VHC3uNLuxCcKKpwOcCkAqCkis
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- themoviedb-api (0.7.0)
5
- activesupport (~> 4.2.2)
6
- httparty (~> 0.13.5)
4
+ themoviedb-api (0.7.1)
5
+ activesupport (~> 4.2.2, >= 4.2.2)
6
+ httparty (~> 0.13.5, >= 0.13.5)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
@@ -16,34 +16,63 @@ GEM
16
16
  tzinfo (~> 1.1)
17
17
  addressable (2.3.8)
18
18
  awesome_print (1.6.1)
19
+ coveralls (0.8.2)
20
+ json (~> 1.8)
21
+ rest-client (>= 1.6.8, < 2)
22
+ simplecov (~> 0.10.0)
23
+ term-ansicolor (~> 1.3)
24
+ thor (~> 0.19.1)
19
25
  crack (0.4.2)
20
26
  safe_yaml (~> 1.0.0)
21
27
  diff-lcs (1.2.5)
28
+ docile (1.1.5)
29
+ domain_name (0.5.24)
30
+ unf (>= 0.0.5, < 1.0.0)
31
+ http-cookie (1.0.2)
32
+ domain_name (~> 0.5)
22
33
  httparty (0.13.5)
23
34
  json (~> 1.8)
24
35
  multi_xml (>= 0.5.2)
25
36
  i18n (0.7.0)
26
37
  json (1.8.3)
38
+ mime-types (2.6.1)
27
39
  minitest (5.7.0)
28
40
  multi_xml (0.5.5)
41
+ netrc (0.10.3)
29
42
  rake (10.4.2)
43
+ rest-client (1.8.0)
44
+ http-cookie (>= 1.0.2, < 2.0)
45
+ mime-types (>= 1.16, < 3.0)
46
+ netrc (~> 0.7)
30
47
  rspec (3.3.0)
31
48
  rspec-core (~> 3.3.0)
32
49
  rspec-expectations (~> 3.3.0)
33
50
  rspec-mocks (~> 3.3.0)
34
- rspec-core (3.3.0)
51
+ rspec-core (3.3.1)
35
52
  rspec-support (~> 3.3.0)
36
53
  rspec-expectations (3.3.0)
37
54
  diff-lcs (>= 1.2.0, < 2.0)
38
55
  rspec-support (~> 3.3.0)
39
- rspec-mocks (3.3.0)
56
+ rspec-mocks (3.3.1)
40
57
  diff-lcs (>= 1.2.0, < 2.0)
41
58
  rspec-support (~> 3.3.0)
42
59
  rspec-support (3.3.0)
43
60
  safe_yaml (1.0.4)
61
+ simplecov (0.10.0)
62
+ docile (~> 1.1.0)
63
+ json (~> 1.8)
64
+ simplecov-html (~> 0.10.0)
65
+ simplecov-html (0.10.0)
66
+ term-ansicolor (1.3.2)
67
+ tins (~> 1.0)
68
+ thor (0.19.1)
44
69
  thread_safe (0.3.5)
70
+ tins (1.5.4)
45
71
  tzinfo (1.2.2)
46
72
  thread_safe (~> 0.1)
73
+ unf (0.1.4)
74
+ unf_ext
75
+ unf_ext (0.0.7.1)
47
76
  vcr (2.9.3)
48
77
  webmock (1.21.0)
49
78
  addressable (>= 2.3.6)
@@ -53,12 +82,13 @@ PLATFORMS
53
82
  ruby
54
83
 
55
84
  DEPENDENCIES
56
- awesome_print (~> 1.6.1)
57
- rake (~> 10.4.2)
58
- rspec (~> 3.3.0)
85
+ awesome_print (~> 1.6.1, >= 1.6.1)
86
+ coveralls (~> 0.8.1, >= 0.8.1)
87
+ rake (~> 10.4.2, >= 10.4.2)
88
+ rspec (~> 3.3.0, >= 3.3.0)
59
89
  themoviedb-api!
60
- vcr (~> 2.9.3)
61
- webmock (~> 1.21.0)
90
+ vcr (~> 2.9.3, >= 2.9.3)
91
+ webmock (~> 1.21.0, >= 1.21.0)
62
92
 
63
93
  BUNDLED WITH
64
94
  1.10.4
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 18Months S.r.l.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -1,6 +1,35 @@
1
- # themoviedb-api
1
+ # The Movie Database API
2
2
 
3
- [![Build Status](https://travis-ci.org/18Months/tmdb.svg?branch=master)](https://travis-ci.org/18Months/tmdb)
4
- [![Dependency Status](https://gemnasium.com/18Months/tmdb.svg)](https://gemnasium.com/18Months/tmdb)
3
+ :facepunch: Battle-tested at [18Months](http://www.18months.it)
5
4
 
6
- WIP
5
+ [![Build Status](https://travis-ci.org/18Months/themoviedb-api.svg?branch=master)](https://travis-ci.org/18Months/themoviedb-api)
6
+ [![Dependency Status](https://gemnasium.com/18Months/themoviedb-api.svg)](https://gemnasium.com/18Months/themoviedb-api)
7
+ [![Gem Version](https://badge.fury.io/rb/themoviedb-api.svg)](http://badge.fury.io/rb/themoviedb-api)
8
+ [![Coverage Status](https://coveralls.io/repos/18Months/themoviedb-api/badge.svg)](https://coveralls.io/r/18Months/themoviedb-api)
9
+ [![security](https://hakiri.io/github/18Months/themoviedb-api/master.svg)](https://hakiri.io/github/18Months/themoviedb-api/master)
10
+
11
+ Documentation coming soon
12
+
13
+ ## License
14
+
15
+ The MIT License (MIT)
16
+
17
+ Copyright (c) 2015 18Months S.r.l.
18
+
19
+ Permission is hereby granted, free of charge, to any person obtaining a copy
20
+ of this software and associated documentation files (the "Software"), to deal
21
+ in the Software without restriction, including without limitation the rights
22
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
23
+ copies of the Software, and to permit persons to whom the Software is
24
+ furnished to do so, subject to the following conditions:
25
+
26
+ The above copyright notice and this permission notice shall be included in all
27
+ copies or substantial portions of the Software.
28
+
29
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
30
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
31
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
32
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
33
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
34
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
35
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ require 'tmdb'
data/lib/tmdb/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Tmdb
2
- VERSION = '0.7.0'
2
+ VERSION = '0.7.1'
3
3
  end
data/spec/spec_helper.rb CHANGED
@@ -8,6 +8,9 @@
8
8
  require_relative '../lib/tmdb.rb'
9
9
  require 'webmock/rspec'
10
10
  require 'vcr'
11
+ require 'coveralls'
12
+
13
+ Coveralls.wear!
11
14
 
12
15
  VCR.configure do |c|
13
16
  #the directory where your cassettes will be saved
@@ -2,29 +2,31 @@
2
2
  lib = File.expand_path('../lib', __FILE__)
3
3
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
- require "tmdb/version"
5
+ require 'tmdb/version'
6
6
 
7
7
  Gem::Specification.new do |s|
8
- s.name = "themoviedb-api"
8
+ s.name = 'themoviedb-api'
9
9
  s.version = Tmdb::VERSION
10
10
  s.platform = Gem::Platform::RUBY
11
- s.authors = ["18Months"]
12
- s.email = ["dev@18months.it"]
13
- s.homepage = "http://rubygems.org/gems/themoviedb-api"
11
+ s.authors = ['18Months']
12
+ s.email = ['dev@18months.it']
13
+ s.homepage = 'https://github.com/18Months/themoviedb-api'
14
14
  s.summary = %q{A simple to use Ruby wrapper for the The Movie Database API.}
15
15
  s.description = %q{Provides a simple and intuitive interface for the Movie Database API making use of OpenStruct.}
16
- s.rubyforge_project = "themoviedb-api"
16
+ s.rubyforge_project = 'themoviedb-api'
17
+ s.license = 'MIT'
17
18
 
18
19
  s.files = `git ls-files`.split($/)
19
20
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
20
21
  s.require_paths = %w[lib]
21
22
 
22
- s.add_runtime_dependency 'httparty', '~> 0.13.5'
23
- s.add_runtime_dependency 'activesupport', '~> 4.2.2'
23
+ s.add_runtime_dependency 'httparty', '~> 0.13.5', '>= 0.13.5'
24
+ s.add_runtime_dependency 'activesupport', '~> 4.2.2', '>= 4.2.2'
24
25
 
25
- s.add_development_dependency 'awesome_print', '~> 1.6.1'
26
- s.add_development_dependency 'vcr', '~> 2.9.3'
27
- s.add_development_dependency 'rake', '~> 10.4.2'
28
- s.add_development_dependency 'rspec', '~> 3.3.0'
29
- s.add_development_dependency 'webmock', '~> 1.21.0'
26
+ s.add_development_dependency 'awesome_print', '~> 1.6.1', '>= 1.6.1'
27
+ s.add_development_dependency 'vcr', '~> 2.9.3', '>= 2.9.3'
28
+ s.add_development_dependency 'rake', '~> 10.4.2', '>= 10.4.2'
29
+ s.add_development_dependency 'rspec', '~> 3.3.0', '>= 3.3.0'
30
+ s.add_development_dependency 'webmock', '~> 1.21.0', '>= 1.21.0'
31
+ s.add_development_dependency 'coveralls', '~> 0.8.1', '>= 0.8.1'
30
32
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: themoviedb-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - 18Months
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-26 00:00:00.000000000 Z
11
+ date: 2015-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -17,6 +17,9 @@ dependencies:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 0.13.5
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 0.13.5
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -24,6 +27,9 @@ dependencies:
24
27
  - - "~>"
25
28
  - !ruby/object:Gem::Version
26
29
  version: 0.13.5
30
+ - - ">="
31
+ - !ruby/object:Gem::Version
32
+ version: 0.13.5
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: activesupport
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -31,6 +37,9 @@ dependencies:
31
37
  - - "~>"
32
38
  - !ruby/object:Gem::Version
33
39
  version: 4.2.2
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 4.2.2
34
43
  type: :runtime
35
44
  prerelease: false
36
45
  version_requirements: !ruby/object:Gem::Requirement
@@ -38,6 +47,9 @@ dependencies:
38
47
  - - "~>"
39
48
  - !ruby/object:Gem::Version
40
49
  version: 4.2.2
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 4.2.2
41
53
  - !ruby/object:Gem::Dependency
42
54
  name: awesome_print
43
55
  requirement: !ruby/object:Gem::Requirement
@@ -45,6 +57,9 @@ dependencies:
45
57
  - - "~>"
46
58
  - !ruby/object:Gem::Version
47
59
  version: 1.6.1
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 1.6.1
48
63
  type: :development
49
64
  prerelease: false
50
65
  version_requirements: !ruby/object:Gem::Requirement
@@ -52,6 +67,9 @@ dependencies:
52
67
  - - "~>"
53
68
  - !ruby/object:Gem::Version
54
69
  version: 1.6.1
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 1.6.1
55
73
  - !ruby/object:Gem::Dependency
56
74
  name: vcr
57
75
  requirement: !ruby/object:Gem::Requirement
@@ -59,6 +77,9 @@ dependencies:
59
77
  - - "~>"
60
78
  - !ruby/object:Gem::Version
61
79
  version: 2.9.3
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 2.9.3
62
83
  type: :development
63
84
  prerelease: false
64
85
  version_requirements: !ruby/object:Gem::Requirement
@@ -66,6 +87,9 @@ dependencies:
66
87
  - - "~>"
67
88
  - !ruby/object:Gem::Version
68
89
  version: 2.9.3
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: 2.9.3
69
93
  - !ruby/object:Gem::Dependency
70
94
  name: rake
71
95
  requirement: !ruby/object:Gem::Requirement
@@ -73,6 +97,9 @@ dependencies:
73
97
  - - "~>"
74
98
  - !ruby/object:Gem::Version
75
99
  version: 10.4.2
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: 10.4.2
76
103
  type: :development
77
104
  prerelease: false
78
105
  version_requirements: !ruby/object:Gem::Requirement
@@ -80,6 +107,9 @@ dependencies:
80
107
  - - "~>"
81
108
  - !ruby/object:Gem::Version
82
109
  version: 10.4.2
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
112
+ version: 10.4.2
83
113
  - !ruby/object:Gem::Dependency
84
114
  name: rspec
85
115
  requirement: !ruby/object:Gem::Requirement
@@ -87,6 +117,9 @@ dependencies:
87
117
  - - "~>"
88
118
  - !ruby/object:Gem::Version
89
119
  version: 3.3.0
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: 3.3.0
90
123
  type: :development
91
124
  prerelease: false
92
125
  version_requirements: !ruby/object:Gem::Requirement
@@ -94,6 +127,9 @@ dependencies:
94
127
  - - "~>"
95
128
  - !ruby/object:Gem::Version
96
129
  version: 3.3.0
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: 3.3.0
97
133
  - !ruby/object:Gem::Dependency
98
134
  name: webmock
99
135
  requirement: !ruby/object:Gem::Requirement
@@ -101,6 +137,9 @@ dependencies:
101
137
  - - "~>"
102
138
  - !ruby/object:Gem::Version
103
139
  version: 1.21.0
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: 1.21.0
104
143
  type: :development
105
144
  prerelease: false
106
145
  version_requirements: !ruby/object:Gem::Requirement
@@ -108,6 +147,29 @@ dependencies:
108
147
  - - "~>"
109
148
  - !ruby/object:Gem::Version
110
149
  version: 1.21.0
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: 1.21.0
153
+ - !ruby/object:Gem::Dependency
154
+ name: coveralls
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: 0.8.1
160
+ - - ">="
161
+ - !ruby/object:Gem::Version
162
+ version: 0.8.1
163
+ type: :development
164
+ prerelease: false
165
+ version_requirements: !ruby/object:Gem::Requirement
166
+ requirements:
167
+ - - "~>"
168
+ - !ruby/object:Gem::Version
169
+ version: 0.8.1
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: 0.8.1
111
173
  description: Provides a simple and intuitive interface for the Movie Database API
112
174
  making use of OpenStruct.
113
175
  email:
@@ -116,13 +178,16 @@ executables: []
116
178
  extensions: []
117
179
  extra_rdoc_files: []
118
180
  files:
181
+ - ".coveralls.yml"
119
182
  - ".gitignore"
120
183
  - ".ruby-gemset"
121
184
  - ".ruby-version"
122
185
  - ".travis.yml"
123
186
  - Gemfile
124
187
  - Gemfile.lock
188
+ - LICENSE
125
189
  - README.md
190
+ - lib/themoviedb-api.rb
126
191
  - lib/tmdb.rb
127
192
  - lib/tmdb/account.rb
128
193
  - lib/tmdb/api.rb
@@ -286,8 +351,9 @@ files:
286
351
  - spec/vcr/tv/translations.yml
287
352
  - spec/vcr/tv/videos.yml
288
353
  - themoviedb-api.gemspec
289
- homepage: http://rubygems.org/gems/themoviedb-api
290
- licenses: []
354
+ homepage: https://github.com/18Months/themoviedb-api
355
+ licenses:
356
+ - MIT
291
357
  metadata: {}
292
358
  post_install_message:
293
359
  rdoc_options: []