video_info 1.4.0 → 1.5.0
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 +4 -4
- data/README.md +1 -1
- data/lib/video_info.rb +4 -0
- data/lib/video_info/providers/youtube.rb +1 -1
- data/lib/video_info/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ed3d8969372248a0472f8987ee8b487af924e10
|
4
|
+
data.tar.gz: 1e92e42ca47410bdcdeff660fd5df4f6f2fd295a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 790020a37c437e7c8868d7afeae0e9bfdb393dfe4f6c1057bde41396393cab86956476be53fb022aef3d5dc34459bac81fb52cfeaf7ca3dd7676270b6c200e3c
|
7
|
+
data.tar.gz: d6635217f67d020d376fb30c8cacbc57789a2df31a79cc4cbc4c19f5c66e3629ffa0e9de0f90656c838c528f746b0d017152c9f3735f466b2cba37be614d39cf
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# VideoInfo [](http://badge.fury.io/rb/video_info) [](http://travis-ci.org/thibaudgg/video_info) [](https://gemnasium.com/thibaudgg/video_info) [](https://codeclimate.com/github/thibaudgg/video_info) [](https://coveralls.io/r/thibaudgg/video_info)
|
2
2
|
|
3
3
|
Simple Ruby Gem to get video info from youtube and vimeo url.
|
4
|
-
Tested against Ruby 1.8.7, 1.9.
|
4
|
+
Tested against Ruby 1.8.7, 1.9.3, 2.0.0 and the latest versions of JRuby & Rubinius.
|
5
5
|
|
6
6
|
Install
|
7
7
|
--------
|
data/lib/video_info.rb
CHANGED
@@ -20,7 +20,7 @@ module VideoInfo
|
|
20
20
|
private
|
21
21
|
|
22
22
|
def _url_regex
|
23
|
-
/youtube
|
23
|
+
/(?:youtube(?:-nocookie)?\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/ ]{11})/i
|
24
24
|
end
|
25
25
|
|
26
26
|
def _set_info_from_api
|
data/lib/video_info/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: video_info
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thibaud Guillaume-Gentil
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
133
133
|
version: '0'
|
134
134
|
requirements: []
|
135
135
|
rubyforge_project: video_info
|
136
|
-
rubygems_version: 2.0.
|
136
|
+
rubygems_version: 2.0.7
|
137
137
|
signing_key:
|
138
138
|
specification_version: 4
|
139
139
|
summary: Vimeo & Youtube parser
|