videoinfo 0.5.2 → 0.5.3

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: 1540c9b1061478e09e127acc50285960818975d2
4
- data.tar.gz: 5e5582afcd1e71270f0ed0c1b8c3789599fa08b0
3
+ metadata.gz: ab4e47912455e8f1873392a8322ed07852a15a3a
4
+ data.tar.gz: b898a9b96c4b9ca938fcc23fc2cf29f66eef425f
5
5
  SHA512:
6
- metadata.gz: 918d9b8527206079e62374e7aef1c926cba884f139d87b40a35e37abe8de11da353f26cf97413c0e6faebaf1709e2d101eb2c3f83cd205ae627564e964904a2c
7
- data.tar.gz: 40d61469cc99306aa8548a582f4b163389c02eae4d6b074fed0232669cab681ea81dec2d9a8c7f7672eed31a7f6b8e51b33e041fde6c193590d5b66c69c4c78b
6
+ metadata.gz: 38d156321220edfb9bc22559109b0ce1bd4ca31ff22e769354307c0bd893ce982ec6772c79fdfb937666467466d13e2a3752e4ef023edacc0e9d454a47f144a9
7
+ data.tar.gz: 2f6beb74aacc819b5b7be43a1b2a477ad9cc300f04a32d7edc0dd8951b85ba3956b00a53ac333fc3c399b7914893ae8af639307863e8fc87033d67291ab865a9
@@ -1,5 +1,8 @@
1
1
  ## CHANGELOG
2
2
 
3
+ #### Version 0.5.3 (October 29, 2016)
4
+ * Fix Wikipedia and Youtube URLs having double https://
5
+
3
6
  #### Version 0.5.2 (April 23, 2016)
4
7
  * Capture screenshots from the beginning of videos to avoid potential spoilers
5
8
 
@@ -1,3 +1,3 @@
1
1
  module Videoinfo
2
- VERSION = '0.5.2'
2
+ VERSION = '0.5.3'
3
3
  end
@@ -48,13 +48,11 @@ module Videoinfo
48
48
  end
49
49
 
50
50
  def search_wiki
51
- wiki_url = Videoinfo.google("site:wikipedia.org #{result.title || name} film").first
52
- wiki_url ? "https://#{wiki_url}" : nil
51
+ Videoinfo.google("site:wikipedia.org #{result.title || name} film").first
53
52
  end
54
53
 
55
54
  def search_youtube
56
- youtube_url = Videoinfo.google("site:youtube.com #{result.title || name} trailer").first
57
- youtube_url ? "https://#{youtube_url}" : nil
55
+ Videoinfo.google("site:youtube.com #{result.title || name} trailer").first
58
56
  end
59
57
 
60
58
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: videoinfo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Johns
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-24 00:00:00.000000000 Z
11
+ date: 2016-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: imdb