youtube_id 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/youtube_id/version.rb +1 -1
- data/spec/youtube_id_spec.rb +2 -2
- metadata +3 -3
data/lib/youtube_id/version.rb
CHANGED
data/spec/youtube_id_spec.rb
CHANGED
@@ -45,12 +45,12 @@ describe YoutubeID do
|
|
45
45
|
it { should == "8WVTOUh53QY" }
|
46
46
|
end
|
47
47
|
|
48
|
-
context "
|
48
|
+
context "short url format", "//youtu.be/RCUkmUXMd_k" do
|
49
49
|
let(:url) { "#{protocol}://youtu.be/RCUkmUXMd_k" }
|
50
50
|
it { should == "RCUkmUXMd_k" }
|
51
51
|
end
|
52
52
|
|
53
|
-
context "
|
53
|
+
context "short url format with dashes", "//youtu.be/Hu0i--4tz0N" do
|
54
54
|
let(:url) { "#{protocol}://youtu.be/Hu0i--4tz0N" }
|
55
55
|
it { should == "Hu0i--4tz0N" }
|
56
56
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: youtube_id
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -15,7 +15,7 @@ date: 2012-05-14 00:00:00.000000000Z
|
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rspec
|
18
|
-
requirement: &
|
18
|
+
requirement: &2152883180 !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
21
|
- - ! '>='
|
@@ -23,7 +23,7 @@ dependencies:
|
|
23
23
|
version: '0'
|
24
24
|
type: :development
|
25
25
|
prerelease: false
|
26
|
-
version_requirements: *
|
26
|
+
version_requirements: *2152883180
|
27
27
|
description: Easily extract the video id from youtube videos urls
|
28
28
|
email:
|
29
29
|
- rnavarro1@gmail.com
|