rotten_tomatoes 1.0.0 → 1.0.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: ae29de64c08ecb7561820f761106f36b99ef903a
4
- data.tar.gz: 53dc49a42a33695021e048f28330063a663e4ae0
3
+ metadata.gz: 1c39b412f038bae213e01616f01829c8e04d9ea0
4
+ data.tar.gz: be5dfb7fd5aaef132f784184a27e32cc1520bff9
5
5
  SHA512:
6
- metadata.gz: 0dd28d8c41cd574cbb1f340e522d6eb7369c8252513e776673e40fc9c2ac5c0effb59c5c536a6d1e2e5455c94300106d22229071c625e795fb84bbbe266952f4
7
- data.tar.gz: 0b8b6feadeb9c143e313b34f5d95a1efd307f4fe9cdfa8a274da50cfc7f25c4643b8309beae3668ab5aac471c1ccf2a1651e226d20bd9b1c0205aabe401cedbe
6
+ metadata.gz: 1616224a2ba22e31b50458748fee11c1a06953061973160db9030dd83b62f91ae4c42cc46fdaef0f4a118abb2e6bfa93ddc7b3a5c1e1eb2545b8660cebc9f2ad
7
+ data.tar.gz: 0ecab2045cded2b253d4f126b15de8423eb9d3df95065fe01e04fa4d3b3f19a100b2be425db76c85b89ba582a2fb90875d79c152b452cc8373438503fb37a333
data/README.md CHANGED
@@ -2,9 +2,7 @@
2
2
 
3
3
  # Rotten Tomatoes
4
4
 
5
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/rotten_tomatoes`. To experiment with that code, run `bin/console` for an interactive prompt.
6
-
7
- TODO: Delete this and the text above, and describe your gem
5
+ Welcome to the Rotten Tomatoes Gem, your unofficial wrapper for the complete Rotten Tomatoes v1.0 JSON API. Here, I work to provide developers with a full featured library letting them focus on the important part, their idea.
8
6
 
9
7
  ## Installation
10
8
 
@@ -7,11 +7,43 @@ module RottenTomatoes
7
7
  attr_accessor :client
8
8
  attr_reader :api_key
9
9
 
10
+ # == Client
11
+ # RottenTomatoes::Client class is used to interact with the v1.0 JSON API for Rotten Tomatoes.
12
+ #
13
+ # == Parameters
14
+ #
15
+ # +api_key+ - String
16
+ #
17
+ # == Returns
18
+ #
19
+ # +self+ - Object
20
+ #
21
+ # == Example
22
+ #
23
+ # client = RottenTomatoes::Client.new 'myAPIkey'
10
24
  def initialize(api_key)
11
25
  @api_key = api_key
12
26
  @client = Hurley::Client.new 'http://api.rottentomatoes.com/api/public/v1.0'
27
+ self
13
28
  end
14
29
 
30
+ # == Argument Hash
31
+ # The argument_hash method is used to generate the hash which will be URL encoded when making the next request with the Rotten Tomatoes API.
32
+ #
33
+ # == Parameters
34
+ #
35
+ # +args+ - Hash - The original hash which was sent to the calling method.
36
+ # +symbols - Array - An array of symbols which you would like to send to the API.
37
+ #
38
+ # == Returns
39
+ #
40
+ # Void
41
+ #
42
+ # == Example
43
+ #
44
+ # def method(args ={})
45
+ # client.get(url, argument_hash(args, [:query, :page]))
46
+ # end
15
47
  def argument_hash(args = {}, symbols = [])
16
48
  {}.tap do |hash|
17
49
  hash[:apikey] = @api_key
@@ -21,6 +53,22 @@ module RottenTomatoes
21
53
  end
22
54
  end
23
55
 
56
+ # == Request
57
+ # The request method is used to send the get request to the API
58
+ # and then will return the parsed body as a hash.
59
+ #
60
+ # == Parameters
61
+ #
62
+ # +args+ - Hash - The hash may, as all parameters except :url are optional, contain :url containing the API endpoint which will be contacted, :args which represent the arguments of the calling method, and :symbols which are the symbols which may be sent with the request. Examples include :page, :limit, :query.
63
+ #
64
+ # == Returns
65
+ #
66
+ # Hash - Response body after being parsed from JSON will be returned as a Hash.
67
+ #
68
+ # == Example
69
+ #
70
+ # client = RottenTomatoes::Client.new 'myAPIkey'
71
+ # client.request url: 'movies.json', args: args, symbols: [:q, :page_limit, :page]
24
72
  def request(args = {})
25
73
  response = @client.get(args[:url],
26
74
  argument_hash(args[:args] || {},
@@ -28,80 +76,400 @@ module RottenTomatoes
28
76
  JSON.parse(response.body)
29
77
  end
30
78
 
79
+ # == Movies Search
80
+ # The movies_search method is used to do plain text searches allowing you to find your favorite movies.
81
+ # http://developer.rottentomatoes.com/docs/read/json/v10/Movies_Search
82
+ #
83
+ # == Parameters
84
+ #
85
+ # +args+ - Hash - May contain the following keys:
86
+ # * :q - The plain text search query to search for a movie. Default value is nil.
87
+ # * :page_limit - The amount of movie search results to show per page. Default value is 30.
88
+ # * :page - The selected page of movie search results. Default value is 1.
89
+ #
90
+ # == Returns
91
+ #
92
+ # Hash - Response body after being parsed from JSON will be returned as a Hash.
93
+ #
94
+ # == Example
95
+ #
96
+ # client = RottenTomatoes::Client.new 'myAPIkey'
97
+ # response1 = client.movies_search q: 'Fight Club', page_limit: 100, page: 1
98
+ # response2 = client.movies_search
99
+ # response3 = client.movies_search q: 'Along Came Polly'
31
100
  def movies_search(args = {})
32
101
  request url: 'movies.json', args: args, symbols: [:q, :page_limit, :page]
33
102
  end
34
103
 
104
+ # == Lists Directory
105
+ # The lists_directory method is used to retrieve the top level lists available in the API.
106
+ # http://developer.rottentomatoes.com/docs/read/json/v10/Lists_Directory
107
+ #
108
+ # == Parameters
109
+ #
110
+ # None
111
+ #
112
+ # == Returns
113
+ #
114
+ # Hash - Response body after being parsed from JSON will be returned as a Hash with the following example response:
115
+ #
116
+ # links: {
117
+ # movies: 'http://api.rottentomatoes.com/api/public/v1.0/lists/movies.json',
118
+ # dvds: 'http://api.rottentomatoes.com/api/public/v1.0/lists/dvds.json'
119
+ # }
120
+ #
121
+ # == Example
122
+ #
123
+ # client = RottenTomatoes::Client.new 'myAPIkey'
124
+ # response = client.lists_directory
35
125
  def lists_directory
36
126
  request url: 'lists.json'
37
127
  end
38
128
 
129
+ # == Movie Lists Directory
130
+ # The movie_lists_directory method is used to retrieve the movie lists available.
131
+ # http://developer.rottentomatoes.com/docs/read/json/v10/Movie_Lists_Directory
132
+ #
133
+ # == Parameters
134
+ #
135
+ # None
136
+ #
137
+ # == Returns
138
+ #
139
+ # Hash - Response body after being parsed from JSON will be returned as a Hash.
140
+ #
141
+ # == Example
142
+ #
143
+ # client = RottenTomatoes::Client.new 'myAPIkey'
144
+ # response = client.movie_lists_directory
39
145
  def movie_lists_directory
40
146
  request url: 'lists/movies.json'
41
147
  end
42
148
 
149
+ # == DVD Lists Directory
150
+ # The dvd_lists_directory method is used to retrieve the dvd lists available.
151
+ # http://developer.rottentomatoes.com/docs/read/json/v10/DVD_Lists_Directory
152
+ #
153
+ # == Parameters
154
+ #
155
+ # None
156
+ #
157
+ # == Returns
158
+ #
159
+ # Hash - Response body after being parsed from JSON will be returned as a Hash.
160
+ #
161
+ # == Example
162
+ #
163
+ # client = RottenTomatoes::Client.new 'myAPIkey'
164
+ # response = client.dvd_lists_directory
43
165
  def dvd_lists_directory
44
166
  request url: 'lists/dvds.json'
45
167
  end
46
168
 
169
+ # == Box Office Movies
170
+ # Displays Top Box Office Earning Movies, Sorted by Most Recent Gross Ticket Sales
171
+ # http://developer.rottentomatoes.com/docs/read/json/v10/Box_Office_Movies
172
+ #
173
+ # == Parameters
174
+ #
175
+ # +args+ - Hash - May contain the following keys:
176
+ # * :limit - Limits the number of box office movies returned. Default value is 10.
177
+ # * :country - Provides localized data for the selected country (ISO 3166-1 alpha-2) if available. Otherwise, returns US data. Default value is 'us'
178
+ #
179
+ # == Returns
180
+ #
181
+ # Hash - Response body after being parsed from JSON will be returned as a Hash.
182
+ #
183
+ # == Example
184
+ #
185
+ # client = RottenTomatoes::Client.new 'myAPIkey'
186
+ # response1 = client.box_office_movies limit: 50, country: 'us'
187
+ # response2 = client.box_office_movies
47
188
  def box_office_movies(args = {})
48
189
  request url: 'lists/movies/box_office.json',
49
190
  args: args, symbols: [:limit, :country]
50
191
  end
51
192
 
193
+ # == In Theater Movies
194
+ # Retrieves movies currently in theaters.
195
+ # http://developer.rottentomatoes.com/docs/read/json/v10/In_Theaters_Movies
196
+ #
197
+ # == Parameters
198
+ #
199
+ # +args+ - Hash - May contain the following keys:
200
+ # * :page_limit - The amount of movies in theaters to show per page. Default value is 16.
201
+ # * :page - The selected page of in theaters movies. Default value is 1.
202
+ # * :country - Provides localized data for the selected country (ISO 3166-1 alpha-2) if available. Otherwise, returns US data. Default value is 'us'
203
+ #
204
+ # == Returns
205
+ #
206
+ # Hash - Response body after being parsed from JSON will be returned as a Hash.
207
+ #
208
+ # == Example
209
+ #
210
+ # client = RottenTomatoes::Client.new 'myAPIkey'
211
+ # response1 = client.in_theater_movies page_limit: 20, page: 3, country: 'us'
212
+ # response2 = client.in_theater_movies
52
213
  def in_theater_movies(args = {})
53
214
  request url: 'lists/movies/in_theaters.json',
54
215
  args: args, symbols: [:page_limit, :page, :country]
55
216
  end
56
217
 
218
+ # == Opening Movies
219
+ # Retrieves movies current opening movies.
220
+ # http://developer.rottentomatoes.com/docs/read/json/v10/Opening_Movies
221
+ #
222
+ # == Parameters
223
+ #
224
+ # +args+ - Hash - May contain the following keys:
225
+ # * :limit - Limits the number of opening movies returned. Default value is 16.
226
+ # * :country - Provides localized data for the selected country (ISO 3166-1 alpha-2) if available. Otherwise, returns US data. Default value is 'us'
227
+ #
228
+ # == Returns
229
+ #
230
+ # Hash - Response body after being parsed from JSON will be returned as a Hash.
231
+ #
232
+ # == Example
233
+ #
234
+ # client = RottenTomatoes::Client.new 'myAPIkey'
235
+ # response1 = client.opening_movies limit: 20, country: 'us'
236
+ # response2 = client.opening_movies
57
237
  def opening_movies(args = {})
58
238
  request url: 'lists/movies/opening.json',
59
239
  args: args, symbols: [:limit, :country]
60
240
  end
61
241
 
242
+ # == Upcoming Movies
243
+ # Retrieves movies current opening movies.
244
+ # http://developer.rottentomatoes.com/docs/read/json/v10/Upcoming_Movies
245
+ #
246
+ # == Parameters
247
+ #
248
+ # +args+ - Hash - May contain the following keys:
249
+ # * :page_limit - The amount of upcoming movies to show per page. Default value is 16.
250
+ # * :page - The selected page of upcoming movies. Default value is 1.
251
+ # * :country - Provides localized data for the selected country (ISO 3166-1 alpha-2) if available. Otherwise, returns US data. Default value is 'us'
252
+ #
253
+ # == Returns
254
+ #
255
+ # Hash - Response body after being parsed from JSON will be returned as a Hash.
256
+ #
257
+ # == Example
258
+ #
259
+ # client = RottenTomatoes::Client.new 'myAPIkey'
260
+ # response1 = client.upcoming_movies page_limit: 20, page: 1, country: 'us'
261
+ # response2 = client.upcoming_movies
62
262
  def upcoming_movies(args = {})
63
263
  request url: 'lists/movies/upcoming.json',
64
264
  args: args, symbols: [:page_limit, :page, :country]
65
265
  end
66
266
 
267
+ # == Top Rentals
268
+ # Retrieves the current top dvd rentals.
269
+ # http://developer.rottentomatoes.com/docs/read/json/v10/Top_Rentals
270
+ #
271
+ # == Parameters
272
+ #
273
+ # +args+ - Hash - May contain the following keys:
274
+ # * :limit - Limits the number of top rentals returned. Default value is 10.
275
+ # * :country - Provides localized data for the selected country (ISO 3166-1 alpha-2) if available. Otherwise, returns US data. Default value is 'us'
276
+ #
277
+ # == Returns
278
+ #
279
+ # Hash - Response body after being parsed from JSON will be returned as a Hash.
280
+ #
281
+ # == Example
282
+ #
283
+ # client = RottenTomatoes::Client.new 'myAPIkey'
284
+ # response1 = client.top_rentals limit: 20, country: 'us'
285
+ # response2 = client.top_rentals
67
286
  def top_rentals(args = {})
68
287
  request url: 'lists/dvds/top_rentals.json',
69
288
  args: args, symbols: [:limit, :country]
70
289
  end
71
290
 
291
+ # == Current Release DVDs
292
+ # Retrieves current release dvds. Results are paginated if they go past the specified page limit.
293
+ # http://developer.rottentomatoes.com/docs/read/json/v10/Current_Release_DVDs
294
+ #
295
+ # == Parameters
296
+ #
297
+ # +args+ - Hash - May contain the following keys:
298
+ # * :page_limit - The amount of new release dvds to show per page. Default value is 16.
299
+ # * :page - The selected page of current DVD releases. Default value is 1.
300
+ # * :country - Provides localized data for the selected country (ISO 3166-1 alpha-2) if available. Otherwise, returns US data. Default value is 'us'
301
+ #
302
+ # == Returns
303
+ #
304
+ # Hash - Response body after being parsed from JSON will be returned as a Hash.
305
+ #
306
+ # == Example
307
+ #
308
+ # client = RottenTomatoes::Client.new 'myAPIkey'
309
+ # response1 = client.current_dvd_releases page_limit: 20, page: 3, country: 'us'
310
+ # response2 = client.current_dvd_releases
72
311
  def current_dvd_releases(args = {})
73
312
  request url: 'lists/dvds/current_releases.json',
74
313
  args: args, symbols: [:page_limit, :page, :country]
75
314
  end
76
315
 
316
+ # == New Release DVDs
317
+ # Retrieves new release dvds. Results are paginated if they go past the specified page limit.
318
+ # http://developer.rottentomatoes.com/docs/read/json/v10/New_Release_DVDs
319
+ #
320
+ # == Parameters
321
+ #
322
+ # +args+ - Hash - May contain the following keys:
323
+ # * :page_limit - The amount of new release dvds to show per page. Default value is 16.
324
+ # * :page - The selected page of new release DVDs. Default value is 1.
325
+ # * :country - Provides localized data for the selected country (ISO 3166-1 alpha-2) if available. Otherwise, returns US data. Default value is 'us'
326
+ #
327
+ # == Returns
328
+ #
329
+ # Hash - Response body after being parsed from JSON will be returned as a Hash.
330
+ #
331
+ # == Example
332
+ #
333
+ # client = RottenTomatoes::Client.new 'myAPIkey'
334
+ # response1 = client.new_dvd_releases page_limit: 20, page: 3, country: 'us'
335
+ # response2 = client.new_dvd_releases
77
336
  def new_dvd_releases(args = {})
78
337
  request url: 'lists/dvds/new_releases.json',
79
338
  args: args, symbols: [:page_limit, :page, :country]
80
339
  end
81
340
 
341
+ # == Upcoming DVDs
342
+ # Retrieves upcoming dvds. Results are paginated if they go past the specified page limit.
343
+ # http://developer.rottentomatoes.com/docs/read/json/v10/Upcoming_DVDs
344
+ #
345
+ # == Parameters
346
+ #
347
+ # +args+ - Hash - May contain the following keys:
348
+ # * :page_limit - The amount of new release dvds to show per page. Default value is 16.
349
+ # * :page - The selected page of new release DVDs. Default value is 1.
350
+ # * :country - Provides localized data for the selected country (ISO 3166-1 alpha-2) if available. Otherwise, returns US data. Default value is 'us'
351
+ #
352
+ # == Returns
353
+ #
354
+ # Hash - Response body after being parsed from JSON will be returned as a Hash.
355
+ #
356
+ # == Example
357
+ #
358
+ # client = RottenTomatoes::Client.new 'myAPIkey'
359
+ # response1 = client.upcoming_dvds page_limit: 20, page: 3, country: 'us'
360
+ # response2 = client.upcoming_dvds
82
361
  def upcoming_dvds(args = {})
83
362
  request url: 'lists/dvds/upcoming.json',
84
363
  args: args, symbols: [:page_limit, :page, :country]
85
364
  end
86
365
 
366
+ # == Movie Info
367
+ # Detailed information on a specific movie specified by ID. You can use the movies_search method or peruse the lists of movies/dvds to get the urls to movies.
368
+ # http://developer.rottentomatoes.com/docs/read/json/v10/Movie_Info
369
+ #
370
+ # == Parameters
371
+ #
372
+ # +movie_id+ - Int / String - Example: 770672122
373
+ #
374
+ # == Returns
375
+ #
376
+ # Hash - Response body after being parsed from JSON will be returned as a Hash.
377
+ #
378
+ # == Example
379
+ #
380
+ # client = RottenTomatoes::Client.new 'myAPIkey'
381
+ # response = client.movie_info 770672122
87
382
  def movie_info(movie_id, args = {})
88
383
  request url: "movies/#{movie_id}.json", args: args
89
384
  end
90
385
 
386
+ # == Movie Cast
387
+ # Pulls the complete movie cast for a movie.
388
+ # http://developer.rottentomatoes.com/docs/read/json/v10/Movie_Cast
389
+ #
390
+ # == Parameters
391
+ #
392
+ # +movie_id+ - Int / String - Example: 770672122
393
+ #
394
+ # == Returns
395
+ #
396
+ # Hash - Response body after being parsed from JSON will be returned as a Hash.
397
+ #
398
+ # == Example
399
+ #
400
+ # client = RottenTomatoes::Client.new 'myAPIkey'
401
+ # response = client.movie_cast 770672122
91
402
  def movie_cast(movie_id, args = {})
92
403
  request url: "movies/#{movie_id}/cast.json", args: args
93
404
  end
94
405
 
406
+ # == Movie Reviews
407
+ # Retrieves the reviews for a movie. Results are paginated if they go past the specified page limit.
408
+ # http://developer.rottentomatoes.com/docs/read/json/v10/Movie_Reviews
409
+ #
410
+ # == Parameters
411
+ #
412
+ # +movie_id+ - Int / String - Example: 770672122
413
+ # +args+ - Hash - May contain the following keys:
414
+ # * :review_type - 3 different review types are possible: "all", "top_critic", and "dvd". "top_critic" shows all the Rotten Tomatoes designated top critics. "dvd" pulls the reviews given on the DVD of the movie. "all" as the name implies retrieves all reviews. Default value is "top_critic".
415
+ # * :page_limit - The number of reviews to show per page. Default value is 20.
416
+ # * :page - The selected page of reviews. Default value is 1.
417
+ # * :country - Provides localized data for the selected country (ISO 3166-1 alpha-2) if available. Otherwise, returns US data. Default value is 'us'
418
+ #
419
+ # == Returns
420
+ #
421
+ # Hash - Response body after being parsed from JSON will be returned as a Hash.
422
+ #
423
+ # == Example
424
+ #
425
+ # client = RottenTomatoes::Client.new 'myAPIkey'
426
+ # response = client.movie_reviews 770672122, { review_type: 'all', page_limit: 20, page: 1, country: 'us' }
95
427
  def movie_reviews(movie_id, args = {})
96
428
  request url: "movies/#{movie_id}/reviews.json",
97
429
  args: args, symbols: [:review_type, :page_limit, :page, :country]
98
430
  end
99
431
 
432
+ # == Movie Similar
433
+ # Shows similar movies for a movie.
434
+ # http://developer.rottentomatoes.com/docs/read/json/v10/Movie_Similar
435
+ #
436
+ # == Parameters
437
+ #
438
+ # +movie_id+ - Int / String - Example: 770672122
439
+ # +args+ - Hash - May contain the following keys:
440
+ # * :limit - Limit the number of similar movies to show.
441
+ #
442
+ # == Returns
443
+ #
444
+ # Hash - Response body after being parsed from JSON will be returned as a Hash.
445
+ #
446
+ # == Example
447
+ #
448
+ # client = RottenTomatoes::Client.new 'myAPIkey'
449
+ # response = client.similar_movies 770672122, limit: 5
100
450
  def similar_movies(movie_id, args = {})
101
451
  request url: "movies/#{movie_id}/similar.json",
102
452
  args: args, symbols: [:limit]
103
453
  end
104
454
 
455
+ # == Movie Alias
456
+ # Provides a movie lookup by an ID from a different vendor. Only supports imdb lookup at this time. WARNING: This feature is Beta quality. Accuracy of the lookup is not promised. If you see inaccuracies, please report them in the Rotten Tomatoes forums.
457
+ # http://developer.rottentomatoes.com/docs/read/json/v10/Movie_Alias
458
+ #
459
+ # == Parameters
460
+ #
461
+ # +args+ - Hash - May contain the following keys:
462
+ # * :type - alias type you want to look up - only imdb is supported at this time.
463
+ # * :id - The ID you want to look up
464
+ #
465
+ # == Returns
466
+ #
467
+ # Hash - Response body after being parsed from JSON will be returned as a Hash.
468
+ #
469
+ # == Example
470
+ #
471
+ # client = RottenTomatoes::Client.new 'myAPIkey'
472
+ # response = client.movie_alias id: 770672122, type: 'imdb'
105
473
  def movie_alias(args = {})
106
474
  request url: 'movie_alias.json', args: args, symbols: [:type, :id]
107
475
  end
@@ -1,3 +1,3 @@
1
1
  module RottenTomatoes
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rotten_tomatoes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Kirsche
@@ -14,70 +14,70 @@ dependencies:
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.9'
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.9'
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
33
  version: '10.0'
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
40
  version: '10.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
47
  version: '5.6'
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
54
  version: '5.6'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: codeclimate-test-reporter
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0.4'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0.4'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: hurley
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0.1'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0.1'
83
83
  description: Unofficial wrapper for the complete Rotten Tomatoes v1.0 JSON API. Here,
@@ -89,8 +89,8 @@ executables: []
89
89
  extensions: []
90
90
  extra_rdoc_files: []
91
91
  files:
92
- - .gitignore
93
- - .travis.yml
92
+ - ".gitignore"
93
+ - ".travis.yml"
94
94
  - Gemfile
95
95
  - README.md
96
96
  - Rakefile
@@ -110,19 +110,18 @@ require_paths:
110
110
  - lib
111
111
  required_ruby_version: !ruby/object:Gem::Requirement
112
112
  requirements:
113
- - - '>='
113
+ - - ">="
114
114
  - !ruby/object:Gem::Version
115
115
  version: 2.0.0
116
116
  required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  requirements:
118
- - - '>='
118
+ - - ">="
119
119
  - !ruby/object:Gem::Version
120
120
  version: '0'
121
121
  requirements: []
122
122
  rubyforge_project:
123
- rubygems_version: 2.0.14
123
+ rubygems_version: 2.4.6
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Unofficial Rotten Tomatoes v1 API Wrapper.
127
127
  test_files: []
128
- has_rdoc: