movlog 0.2.5 → 0.2.6

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: 667c3dc1c62c44f2f9c83bbdd3cecc0b03adcf2e
4
- data.tar.gz: c0388bc1761b7276f2f11eafb0c3a030c7bf3182
3
+ metadata.gz: 27e52125605440e76bd72d86c8446ed80d5963b7
4
+ data.tar.gz: 3d06f4cd1d9658427dab2553cf455e30faed454c
5
5
  SHA512:
6
- metadata.gz: 6dd56971bf105ffbbcfb792df35550c07441f05f8cc27381cbaae0e3bf0e237d273ffc9322559a4840c9e47d05fc503bae68433da6cad71ec24429ba5adfe185
7
- data.tar.gz: 4e51399144498406d3c1b4e00878e68cc86d6f51d74161b4f906253f6dd99be0f015b42250cb500fadcdc1914abc77569583dbdb25486b4c7197a79c09af78c0
6
+ metadata.gz: 5db2790aaa39b7b839982c2aca69d3f9f50afe627c1ff66658e0d5816aea237e710fec7ca01aef4bb64c98a73517bb1321f907b886de537c251cbe9e8066ef3d
7
+ data.tar.gz: a75a9b34173a96bbd306c6f60ee1aead1bf44d56afc06d1f261159b102e5e85fac4ff5912046e49693164215bfca4b196f8cbb89daba20ad711e39fd796d52af
@@ -40,7 +40,7 @@ module Movlog
40
40
 
41
41
  doc.search('//div[@class="soda sodavote even"]/dt/a').each { |link| location_arr << link.content}
42
42
 
43
- JSON.parse(location_arr.to_s)
43
+ location_arr.to_json
44
44
  end
45
45
  end
46
46
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Movlog
4
- VERSION = '0.2.5'
4
+ VERSION = '0.2.6'
5
5
  end
data/spec/omdb_spec.rb CHANGED
@@ -24,5 +24,6 @@ describe 'OMDB specifications' do
24
24
  @movie.poster.length.must_be :>, 0
25
25
  @movie.plot.length.must_be :>, 0
26
26
  @movie.location.length.must_be :>, 0
27
+ puts @movie.location
27
28
  end
28
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: movlog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Wen