ods_tmdb_GB 0.0.1 → 0.0.2

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
- OGYxZjJhNjQwZmJmZDgzMjk1MjY2YzNmMTY2NDY4OTAxNTAxZGFkNQ==
4
+ NDUyZWM3MTE4N2Y5YjBkNDUxM2MxZTdiOWYyMDJjYmFhNjQ4ZDg2Ng==
5
5
  data.tar.gz: !binary |-
6
- M2EzNTgyM2FhZWY0MDliMmExZjNkNWM5Y2UzZDFlMDkyYzkzZDU3MA==
6
+ MGMwZDNkYTlmMzZhNWU2ZTFlNGVhMThkZWQ5NTVkMzMyYzhiOTBkYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YjM0NjVlZWQzMjVkZWFmYTEyMWUxZDkyOTY5MDUxM2MzOGUwNTcyMGU2ZTA4
10
- NmQyOTAwZTNlZGFlYzg5MjU2YTA4NWI2MWI5OTc2OWNmY2JmY2QyZWRjMTJm
11
- ODhlMmU3YTI0NTRiZjBlNDgzMWI0M2JiOTNhM2Y5ZGE1NmQzNDk=
9
+ YTNkNjViNTdkNmE2N2FlM2IxMDIyOGYxMDU1NDdlMTFmYzNmN2Q5YWI3OWY0
10
+ YzVmNzQ4NDI0YTZmZDMyYzgxYmFiZTQ2M2ZjNGMxOWViMmJiNDMyOGNlYzE4
11
+ OTExNDI3NzJiZDNkNjFlMDg3ODEyYTg2ZjczYjJhM2FlMDZlYWY=
12
12
  data.tar.gz: !binary |-
13
- OTQxOGFiNzNhNzFlMTM5NGE3ZWM4MzhiNmFmOWYwZjIxNDgwOTI2ZjZjMjY0
14
- N2Y1Njc2MzdhZGYwNWIxMmQ2ZDEyYzI2ZDYzMWI5YjI3MTZjN2U0NzgyNzYy
15
- ZTIwMmYyMmI4NjZmN2RkYzJjZTFjMTZkNTIyYmM2OGY5YWY0ZTA=
13
+ ZWRkM2IwYzg0NDQwOGZmZWFlNTE3ZGY1NWM1ZDkxZjRkNGY0YTIwMDEyZjMw
14
+ ZmZiOGFkOTVkMDE0N2FkZThmNGI0YWI0M2MwOGM1OTBlYmIwMmZkYTViM2I0
15
+ YWVjZDQ1NGIyOTNmOTk4MmFiMTU4ZDJjNGQ2ZjU5NzgzZjIyZjQ=
@@ -173,4 +173,19 @@ module CinemaInformation
173
173
  prog
174
174
  end
175
175
 
176
+ def self.get_info(path, key)
177
+ #Configure file path
178
+ CinemaInformation.configure_file_path(path)
179
+ #Configure api key
180
+ CinemaInformation.configure_api_key(key)
181
+ #Parse the whole ods file
182
+ @programme = CinemaInformation.parse_ods
183
+ #Get the movie list
184
+ movie_list = CinemaInformation.get_movie
185
+ #Get the movie information from the list
186
+ @movie_info = CinemaInformation.get_movie_info_from_list(movie_list)
187
+ #Assemble programme with movie information
188
+ @result = CinemaInformation.assemble_prog_with_info(@programme, @movie_info)
189
+ @result
190
+ end
176
191
  end
@@ -1,3 +1,3 @@
1
1
  module CinemaInformation
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ods_tmdb_GB
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - SimonRonzani