youtube_video_info 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/youtube_video_info.rb +1 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 206d8684a938f4c5e2aa3b4e080bbb05f65874c7
|
4
|
+
data.tar.gz: d288b428c6c9b1fd716ba4aa9d8df3fd8636fac0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 743b43b281b571aad2cb9d9bffc3351a2484245eb9a00f2d2a71a439ce4f229baac43d4680a348c739fc5d54d8e2f6442863bb656e7739e1136f18e3e6fb343d
|
7
|
+
data.tar.gz: a29bf4c4ad24c1fa12fff6dffe4536c252dd6e6bcede1974fcf7598e0af30f599536bc052fd9a1cc5d4718049a33ca6e8c3c07bdf974e76ec5c1815c79c9f5e7
|
data/lib/youtube_video_info.rb
CHANGED
@@ -1,13 +1,11 @@
|
|
1
1
|
module YoutubeVideoInfo
|
2
|
-
require 'bundler'
|
3
2
|
require 'net/http'
|
4
3
|
require 'uri'
|
5
4
|
require 'cgi'
|
6
5
|
require 'ostruct'
|
7
|
-
Bundler.require
|
8
6
|
require_relative 'youtube_video_info/request'
|
9
7
|
require_relative 'youtube_video_info/response'
|
10
8
|
def self.download url
|
11
9
|
Request.new(url, URI, Net::HTTP, Response, CGI).get
|
12
10
|
end
|
13
|
-
end
|
11
|
+
end
|