imdb_term 1.0.1 → 1.0.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8461de3a8903a0f78b85450d30e35dac10ac52c
4
- data.tar.gz: e8e024c96d42a07257e579f5ea474b498c301821
3
+ metadata.gz: 8fbbcf80ccad1ba161d684d99a21b01c630f8a96
4
+ data.tar.gz: 78847deb3114b45c6a0b62ba3afd90f772bfafee
5
5
  SHA512:
6
- metadata.gz: 02b728c9635813013663032d74fb03dd9ba7a7d189ba17cb3aa70e7e4aaf529bbb285f6b4769b389e5e843d364932fd9d727fa6a30db1ea8753aa7f9dff1b212
7
- data.tar.gz: ecabf03f83562ff3c038cb6eb91df9be450b4fdced77ffcce3622e9ae13164e0e08f3b92a37cd568611d54d45bffe09fcd8ec07b1751a88e0d52158e3f17137c
6
+ metadata.gz: 70e3ff5eb5b6bad6322df9ceb9ee2a5f292d28be13093393149860a8272c02e7f20fdba73823d96cb48e4a101e3b9df184cd0a3645d324b6c503853a7bfecf4d
7
+ data.tar.gz: 6e16ddf3d608401e60390d2a8797e1c219916b5536e3e467044000e8e742d3c41a0b1de9590330d6953361d69feefbb5e0e10d90329a3048e2eaf9c3a7e755a5
data/lib/imdb_term/CLI.rb CHANGED
@@ -85,7 +85,7 @@ class CLI
85
85
  if @movies.nil? && @movie.nil?
86
86
  puts 'No movie to save'
87
87
  elsif !@movie.nil?
88
- movie_data = Scraper.scrape_movie_by_id(@movie[:id])
88
+ movie_data = Scraper.scrape_movie_by_id(@movie.id)
89
89
  Movie.create_or_update(movie_data)
90
90
  @movie = nil
91
91
  puts 'Movie saved'
@@ -1,3 +1,3 @@
1
1
  module ImdbTerm
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imdb_term
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hiram Cruz