markdown_videos 1.0.0 → 1.0.2
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
|
!binary "U0hBMQ==":
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b65cccfd771229fcfbe0aef2a7807ac6a46e6b43
|
4
|
+
data.tar.gz: 9e63aabb95e670d354f2b68dfd8e7d85db873efb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e11717899ae71ceffa4b311448624c83570c7544e4ca78376a59c63d3047a9a6ed2a78b9b6ab20f8809c7aaa74ef15e45151370d722dcd48f639569f8ca49c98
|
7
|
+
data.tar.gz: 7626bbc8c8d66cb26e38f5f5b68763f4a5a76d50546a9d50a3c26fd49d3fd6bc4d2cf9ef6241f99ef83e145cd5f1e14a44b7a56ebdc52c3e613e897822054f98
|
@@ -3,7 +3,7 @@ module MarkdownVideos::Services
|
|
3
3
|
class VimeoService < ServiceBase
|
4
4
|
|
5
5
|
def self.regexp
|
6
|
-
|
6
|
+
/^(https?:\/\/(?:(?:player\.)?vimeo.com\/(?:video\/)?)([0-9]{4,16})\??([\w\-\=]+)?)$/
|
7
7
|
end
|
8
8
|
|
9
9
|
def url
|
@@ -3,7 +3,7 @@ module MarkdownVideos::Services
|
|
3
3
|
class YoutubeService < ServiceBase
|
4
4
|
|
5
5
|
def self.regexp
|
6
|
-
|
6
|
+
/^(https?:\/\/(?:youtu.be\/|www.youtube.com\/(?:watch\?v=|embed\/))([\w\-]{4,16})\??([\w\-\=]+)?)$/
|
7
7
|
end
|
8
8
|
|
9
9
|
def width
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: markdown_videos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Capripot
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ~>
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '2
|
19
|
+
version: '2'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '2
|
26
|
+
version: '2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|