robbie 2.1.5 → 2.1.6

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: a7acf822b6ab7afffce0d66031814aa1cceb5de9
4
- data.tar.gz: 9ee5aaac4c8bce1e584e1037297219160d81389f
3
+ metadata.gz: 12c0e2d1816880c1d923e8696c49b6f53127a4ba
4
+ data.tar.gz: b1b791f67fc964c2e888072c699d4fa3713f2f2b
5
5
  SHA512:
6
- metadata.gz: 3d5b84547b23cf46e40883605fc5b21fa2f7efa7c2f298680e1a3b28f15885e6332c44acfe0e93b85f9add47e674cebb87f2f5cadfcad2a043cb014e3039f54b
7
- data.tar.gz: 83117d05c3ab16413a5361becd3a6c042eb9615801c7c36e569e0c6884a730ea1e52ee4d92e2c9c9c1818108f2eea36bcd4b816a5edb70eadec02f9378b27204
6
+ metadata.gz: 9e0a66898c9f6ed7591310ebf7eb4f932f92b3eb562694f57832b3aac5ffa16be9ed1c9d63d3b0aa959f7156bbf0540eaeab39387313cca54e8a851d70a65cc2
7
+ data.tar.gz: ea8f29dc49eebbc8e1bedd4737df4b50f43605ccf60fa84f628f78585c70f92f3a3f56a3861e2976560ce4e24815f4a385a5f994f32107f0036f201d00aab0ad
@@ -14,9 +14,9 @@ module Search
14
14
  title = URI.escape(title.first)
15
15
  url = "http://www.omdbapi.com/?type=movie&r=json&s="+title
16
16
  omdbData = JSON.parse(HTTP.get('http://www.omdbapi.com/?type=movie&r=json&s='+title).body)
17
- puts "- #{omdbData["Search"][0]["Title"]} (#{omdbData["Search"][0]["Year"]}) - #{omdbData["Search"][0]["imdbID"]}"
18
- puts "- #{omdbData["Search"][1]["Title"]} (#{omdbData["Search"][1]["Year"]}) - #{omdbData["Search"][1]["imdbID"]}"
19
- puts "- #{omdbData["Search"][2]["Title"]} (#{omdbData["Search"][2]["Year"]}) - #{omdbData["Search"][2]["imdbID"]}"
17
+ puts "- #{omdbData["Search"][0]["Title"]} (#{omdbData["Search"][0]["Year"]}) - imdb.com/title/#{omdbData["Search"][0]["imdbID"]}"
18
+ puts "- #{omdbData["Search"][1]["Title"]} (#{omdbData["Search"][1]["Year"]}) - imdb.com/title/#{omdbData["Search"][1]["imdbID"]}"
19
+ puts "- #{omdbData["Search"][2]["Title"]} (#{omdbData["Search"][2]["Year"]}) - imdb.com/title/#{omdbData["Search"][2]["imdbID"]}"
20
20
  end
21
21
 
22
22
  def tv (title)
@@ -26,9 +26,9 @@ module Search
26
26
  end
27
27
  title = URI.escape(title.first)
28
28
  omdbData = JSON.parse(HTTP.get('http://www.omdbapi.com/?type=series&r=json&s='+title).body)
29
- puts "- #{omdbData["Search"][0]["Title"]} (#{omdbData["Search"][0]["Year"]}) /#{omdbData["Search"][0]["imdbID"]}"
30
- puts "- #{omdbData["Search"][1]["Title"]} (#{omdbData["Search"][1]["Year"]}) /#{omdbData["Search"][1]["imdbID"]}"
31
- puts "- #{omdbData["Search"][2]["Title"]} (#{omdbData["Search"][2]["Year"]}) /#{omdbData["Search"][2]["imdbID"]}"
29
+ puts "- #{omdbData["Search"][0]["Title"]} (#{omdbData["Search"][0]["Year"]}) - imdb.com/title/#{omdbData["Search"][0]["imdbID"]}"
30
+ puts "- #{omdbData["Search"][1]["Title"]} (#{omdbData["Search"][1]["Year"]}) - imdb.com/title/#{omdbData["Search"][1]["imdbID"]}"
31
+ puts "- #{omdbData["Search"][2]["Title"]} (#{omdbData["Search"][2]["Year"]}) - imdb.com/title/#{omdbData["Search"][2]["imdbID"]}"
32
32
  end
33
33
 
34
34
  def actor (name)
@@ -1,4 +1,4 @@
1
1
  module Robbie
2
- VERSION = '2.1.5'
2
+ VERSION = '2.1.6'
3
3
  E_VERSION = "robbie v#{VERSION}"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: robbie
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.5
4
+ version: 2.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Poile