movies_client 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDA2MmJiMjBhNTgyMzIyZDRmMDdkNGEyZmVkZDRhMTQxODdmZWMwMA==
4
+ NzY5Y2I3YTk4ZjYyNzc1ZWIxMDIxNTQ3MjJiOThkMjc1ODU2YWU5NA==
5
5
  data.tar.gz: !binary |-
6
- MGM2MTNhNGFlMzg3ODc4NWY2NTE0Y2MyYzZiMDNkZTQ3MGNjYTliMQ==
6
+ ZGIwOTUxNjBmZWQ3ODc3MTBlZWJkNmMwOGEyNDMyYWU0ODA3NDYxYg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YmEyMTg3NmI0NTA3ODg2YjVkZWRiNTdhYWNhZDgwNzBjMjMwYmQxYTQzODU1
10
- NDhjNzllOTY4YjhmNmI5OTlmNTRjNDI4MTg2N2ViZjQyZjdlZDU3NGQ2ZGU5
11
- NDRjMzc0OWRhZmRiMmIwMWIwZWJmZTZjZTQ2Y2Y0ZGNiMmNkYjY=
9
+ YzQxYTZjYTJkMDk5OGE0OWIyNTJlNDE0NjMwYTA4OWNmY2QxNmYwOGMxNjFh
10
+ NjkzOTEzYTc4ZTA3Y2JkNjE3NDY0YWFjM2M5ZTYxZmZmMmMwYjAwN2IzZWIz
11
+ MjgwNmY2Njg0ZDFlNGQ5MGI2YWJiMTk3NTQ4YjVhZDM2NWI0MWE=
12
12
  data.tar.gz: !binary |-
13
- MzVkZGNkOWJkYzViZjg4NDZiMjUwZTJiMDdjYTZlMWVhODVjNzJmYTJiZmNh
14
- ZDZkMGIwMDAyMmM2MjE5NWQ4MmQwZThkNmE3YTYwMWY3ZDljMmU2MWIyMjEz
15
- Y2ZiZGYxNjYxNDMxMTQ3MTQzYzA2ZGFiOWMyMjkzMjI2YzIyNzM=
13
+ NGQxNmJlODNlMTI0N2Y1NTU3MTAxMTE0YzQwNGJlNmIxMGViZWExMDE4MzUz
14
+ MWFkMDc0YmEzYTkxOWVhOGE3NTA4YWFiOTY3NjZhMzdlMGY1YjcwN2NiZmE0
15
+ ODc4NmRjOTUwZmIzZmE5ODQ3NTYxZjNkZTg2Zjc5ZDk1MThhOWY=
@@ -1,3 +1,3 @@
1
1
  module MoviesClient
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
data/lib/movies_client.rb CHANGED
@@ -309,6 +309,8 @@ module MoviesClient
309
309
  date = Date.parse @movie[i][:release_date]
310
310
  if date.year == Date.today.year or date.year == Date.today.prev_year
311
311
  @movie_id = @movie[i][:id]
312
+ else
313
+ @movie_id = @movie[0][:id]
312
314
  end
313
315
  end
314
316
  i += 1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: movies_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - jeanbaptistevilain