omdbapi 0.2.1 → 0.3.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.
@@ -0,0 +1,57 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://omdbapi.com/?t=Star%20Wars
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Date:
22
+ - Sat, 16 Apr 2016 17:34:21 GMT
23
+ Content-Type:
24
+ - application/json; charset=utf-8
25
+ Transfer-Encoding:
26
+ - chunked
27
+ Connection:
28
+ - keep-alive
29
+ Set-Cookie:
30
+ - __cfduid=d85dcf404128afb68772a045b4d5bd3761460828061; expires=Sun, 16-Apr-17
31
+ 17:34:21 GMT; path=/; domain=.omdbapi.com; HttpOnly
32
+ Cache-Control:
33
+ - public, max-age=639
34
+ Expires:
35
+ - Sat, 16 Apr 2016 17:45:26 GMT
36
+ Last-Modified:
37
+ - Sat, 16 Apr 2016 16:45:26 GMT
38
+ Vary:
39
+ - "*"
40
+ X-Aspnet-Version:
41
+ - 4.0.30319
42
+ X-Powered-By:
43
+ - ASP.NET
44
+ Access-Control-Allow-Origin:
45
+ - "*"
46
+ Server:
47
+ - cloudflare-nginx
48
+ Cf-Ray:
49
+ - 294963369a9816be-ARN
50
+ body:
51
+ encoding: ASCII-8BIT
52
+ string: '{"Title":"Star Wars","Year":"1983","Rated":"N/A","Released":"01 May
53
+ 1983","Runtime":"N/A","Genre":"Action, Adventure, Sci-Fi","Director":"N/A","Writer":"N/A","Actors":"Harrison
54
+ Ford, Alec Guinness, Mark Hamill, James Earl Jones","Plot":"N/A","Language":"English","Country":"USA","Awards":"N/A","Poster":"N/A","Metascore":"N/A","imdbRating":"7.9","imdbVotes":"342","imdbID":"tt0251413","Type":"game","Response":"True"}'
55
+ http_version:
56
+ recorded_at: Sat, 16 Apr 2016 17:34:21 GMT
57
+ recorded_with: VCR 3.0.1
@@ -0,0 +1,119 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://omdbapi.com/?t=True%20Grit
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept-Encoding:
11
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
12
+ Accept:
13
+ - "*/*"
14
+ User-Agent:
15
+ - Ruby
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: OK
20
+ headers:
21
+ Date:
22
+ - Sat, 16 Apr 2016 17:09:08 GMT
23
+ Content-Type:
24
+ - application/json; charset=utf-8
25
+ Transfer-Encoding:
26
+ - chunked
27
+ Connection:
28
+ - keep-alive
29
+ Set-Cookie:
30
+ - __cfduid=da9755df9dd8c84170e3222c321b3396f1460826548; expires=Sun, 16-Apr-17
31
+ 17:09:08 GMT; path=/; domain=.omdbapi.com; HttpOnly
32
+ Cache-Control:
33
+ - public, max-age=3600
34
+ Expires:
35
+ - Sat, 16 Apr 2016 18:09:34 GMT
36
+ Last-Modified:
37
+ - Sat, 16 Apr 2016 17:09:34 GMT
38
+ Vary:
39
+ - "*"
40
+ X-Aspnet-Version:
41
+ - 4.0.30319
42
+ X-Powered-By:
43
+ - ASP.NET
44
+ Access-Control-Allow-Origin:
45
+ - "*"
46
+ Server:
47
+ - cloudflare-nginx
48
+ Cf-Ray:
49
+ - 29493e4810f136f0-ARN
50
+ body:
51
+ encoding: ASCII-8BIT
52
+ string: '{"Title":"True Grit","Year":"2010","Rated":"PG-13","Released":"22 Dec
53
+ 2010","Runtime":"110 min","Genre":"Adventure, Drama, Western","Director":"Ethan
54
+ Coen, Joel Coen","Writer":"Joel Coen (screenplay), Ethan Coen (screenplay),
55
+ Charles Portis (novel)","Actors":"Jeff Bridges, Hailee Steinfeld, Matt Damon,
56
+ Josh Brolin","Plot":"A tough U.S. Marshal helps a stubborn teenager track
57
+ down her father''s murderer.","Language":"English","Country":"USA","Awards":"Nominated
58
+ for 10 Oscars. Another 36 wins & 147 nominations.","Poster":"http://ia.media-imdb.com/images/M/MV5BMjIxNjAzODQ0N15BMl5BanBnXkFtZTcwODY2MjMyNA@@._V1_SX300.jpg","Metascore":"80","imdbRating":"7.7","imdbVotes":"234,121","imdbID":"tt1403865","Type":"movie","Response":"True"}'
59
+ http_version:
60
+ recorded_at: Sat, 16 Apr 2016 17:09:08 GMT
61
+ - request:
62
+ method: get
63
+ uri: http://omdbapi.com/?t=True%20Grit&y=1969
64
+ body:
65
+ encoding: US-ASCII
66
+ string: ''
67
+ headers:
68
+ Accept-Encoding:
69
+ - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
70
+ Accept:
71
+ - "*/*"
72
+ User-Agent:
73
+ - Ruby
74
+ response:
75
+ status:
76
+ code: 200
77
+ message: OK
78
+ headers:
79
+ Date:
80
+ - Sat, 16 Apr 2016 17:09:09 GMT
81
+ Content-Type:
82
+ - application/json; charset=utf-8
83
+ Transfer-Encoding:
84
+ - chunked
85
+ Connection:
86
+ - keep-alive
87
+ Set-Cookie:
88
+ - __cfduid=d47de8afa948291ba019b92b1f638db781460826548; expires=Sun, 16-Apr-17
89
+ 17:09:08 GMT; path=/; domain=.omdbapi.com; HttpOnly
90
+ Cache-Control:
91
+ - public, max-age=3588
92
+ Expires:
93
+ - Sat, 16 Apr 2016 18:09:23 GMT
94
+ Last-Modified:
95
+ - Sat, 16 Apr 2016 17:09:23 GMT
96
+ Vary:
97
+ - "*"
98
+ X-Aspnet-Version:
99
+ - 4.0.30319
100
+ X-Powered-By:
101
+ - ASP.NET
102
+ Access-Control-Allow-Origin:
103
+ - "*"
104
+ Server:
105
+ - cloudflare-nginx
106
+ Cf-Ray:
107
+ - 29493e4abcf03744-ARN
108
+ body:
109
+ encoding: ASCII-8BIT
110
+ string: '{"Title":"True Grit","Year":"1969","Rated":"M","Released":"11 Jun 1969","Runtime":"128
111
+ min","Genre":"Adventure, Western, Drama","Director":"Henry Hathaway","Writer":"Charles
112
+ Portis (novel), Marguerite Roberts (screenplay)","Actors":"John Wayne, Glen
113
+ Campbell, Kim Darby, Jeremy Slate","Plot":"A drunken, hard-nosed U.S. Marshal
114
+ and a Texas Ranger help a stubborn teenager track down her father''s murderer
115
+ in Indian territory.","Language":"English","Country":"USA","Awards":"Won 1
116
+ Oscar. Another 5 wins & 7 nominations.","Poster":"http://ia.media-imdb.com/images/M/MV5BMTYwNTE3NDYzOV5BMl5BanBnXkFtZTcwNTU5MzY0MQ@@._V1_SX300.jpg","Metascore":"N/A","imdbRating":"7.4","imdbVotes":"32,382","imdbID":"tt0065126","Type":"movie","Response":"True"}'
117
+ http_version:
118
+ recorded_at: Sat, 16 Apr 2016 17:09:09 GMT
119
+ recorded_with: VCR 3.0.1
metadata CHANGED
@@ -1,80 +1,108 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omdbapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Casey Scarborough
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-07 00:00:00.000000000 Z
11
+ date: 2016-05-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.3'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: '11.1'
34
34
  type: :development
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: '11.1'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '3.4'
48
48
  type: :development
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: '0'
54
+ version: '3.4'
55
+ - !ruby/object:Gem::Dependency
56
+ name: vcr
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '3.0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '3.0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: webmock
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ~>
74
+ - !ruby/object:Gem::Version
75
+ version: '1.24'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: '1.24'
55
83
  - !ruby/object:Gem::Dependency
56
84
  name: httparty
57
85
  requirement: !ruby/object:Gem::Requirement
58
86
  requirements:
59
- - - ">="
87
+ - - ~>
60
88
  - !ruby/object:Gem::Version
61
89
  version: '0.13'
62
90
  type: :runtime
63
91
  prerelease: false
64
92
  version_requirements: !ruby/object:Gem::Requirement
65
93
  requirements:
66
- - - ">="
94
+ - - ~>
67
95
  - !ruby/object:Gem::Version
68
96
  version: '0.13'
69
- description: "[In Progress] A wrapper for the omdbapi.com movie API."
97
+ description: '[In Progress] A wrapper for the omdbapi.com movie API.'
70
98
  email:
71
99
  - caseyscarborough@gmail.com
72
100
  executables: []
73
101
  extensions: []
74
102
  extra_rdoc_files: []
75
103
  files:
76
- - ".gitignore"
77
- - ".rspec"
104
+ - .gitignore
105
+ - .rspec
78
106
  - Gemfile
79
107
  - LICENSE.txt
80
108
  - README.md
@@ -87,6 +115,20 @@ files:
87
115
  - spec/omdbapi/client_spec.rb
88
116
  - spec/omdbapi/default_spec.rb
89
117
  - spec/spec_helper.rb
118
+ - spec/vcr/id/existing.yml
119
+ - spec/vcr/id/nonexistent.yml
120
+ - spec/vcr/search/empty.yml
121
+ - spec/vcr/search/find.yml
122
+ - spec/vcr/search/result.yml
123
+ - spec/vcr/search/results.yml
124
+ - spec/vcr/title/episode.yml
125
+ - spec/vcr/title/nonexistent.yml
126
+ - spec/vcr/title/plot.yml
127
+ - spec/vcr/title/season.yml
128
+ - spec/vcr/title/season_and_episode.yml
129
+ - spec/vcr/title/tomatoes.yml
130
+ - spec/vcr/title/valid.yml
131
+ - spec/vcr/title/year.yml
90
132
  homepage: http://caseyscarborough.github.io/omdbapi
91
133
  licenses:
92
134
  - MIT
@@ -97,17 +139,17 @@ require_paths:
97
139
  - lib
98
140
  required_ruby_version: !ruby/object:Gem::Requirement
99
141
  requirements:
100
- - - ">="
142
+ - - '>='
101
143
  - !ruby/object:Gem::Version
102
144
  version: '0'
103
145
  required_rubygems_version: !ruby/object:Gem::Requirement
104
146
  requirements:
105
- - - ">="
147
+ - - '>='
106
148
  - !ruby/object:Gem::Version
107
149
  version: '0'
108
150
  requirements: []
109
151
  rubyforge_project:
110
- rubygems_version: 2.4.3
152
+ rubygems_version: 2.4.6
111
153
  signing_key:
112
154
  specification_version: 4
113
155
  summary: This gem provides easy access for information retrieval from omdbapi.com.
@@ -115,3 +157,17 @@ test_files:
115
157
  - spec/omdbapi/client_spec.rb
116
158
  - spec/omdbapi/default_spec.rb
117
159
  - spec/spec_helper.rb
160
+ - spec/vcr/id/existing.yml
161
+ - spec/vcr/id/nonexistent.yml
162
+ - spec/vcr/search/empty.yml
163
+ - spec/vcr/search/find.yml
164
+ - spec/vcr/search/result.yml
165
+ - spec/vcr/search/results.yml
166
+ - spec/vcr/title/episode.yml
167
+ - spec/vcr/title/nonexistent.yml
168
+ - spec/vcr/title/plot.yml
169
+ - spec/vcr/title/season.yml
170
+ - spec/vcr/title/season_and_episode.yml
171
+ - spec/vcr/title/tomatoes.yml
172
+ - spec/vcr/title/valid.yml
173
+ - spec/vcr/title/year.yml