markdown_videos 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/markdown_videos/services.rb +2 -2
- data/lib/markdown_videos/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bca9063d5eb7dd88466325ac8100073c5111e805
|
4
|
+
data.tar.gz: d2a304156bb0a6a24753a98ca4e810353d72d9e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0da59e38bf6f22c6ae1ae9d1c4b29160f39cb124f61edb8549587c87aabb13bac1e9aae8dcc5182907f736e14b067e51971b2a40a4f458eac6ad8211172231f
|
7
|
+
data.tar.gz: b4388cf7f60178543d928c332da087ce20f3fe030d52f1608ba7341ff2e864014e29e1a077d5448998ccb7786ca06ce418ea9731ed05474048ca4f26c2692bb2
|
@@ -14,7 +14,7 @@ module MarkdownVideos
|
|
14
14
|
|
15
15
|
# http://rubular.com/r/8Xb4s9ukXy
|
16
16
|
youtube: {
|
17
|
-
regexp:
|
17
|
+
regexp: /!\[([^\]]*)\]\((https?:\/\/(?:youtu.be\/|www.youtube.com\/(?:watch\?v=|embed\/))([\w\-]{4,16})\??([\w\-\=]+)?)\)/,
|
18
18
|
markup: '<iframe width="560" height="315" title="%s" src="%s"%s frameborder="0" allowfullscreen></iframe>',
|
19
19
|
url: "https://www.youtube.com/embed/%s",
|
20
20
|
url_parameters: [:start]
|
@@ -22,7 +22,7 @@ module MarkdownVideos
|
|
22
22
|
|
23
23
|
# http://rubular.com/r/Upo2dmGbIJ
|
24
24
|
vimeo: {
|
25
|
-
regexp:
|
25
|
+
regexp: /!\[([^\]]*)\]\((https?:\/\/(?:(?:player\.)?vimeo.com\/(?:video\/)?)([0-9]{4,16})\??([\w\-\=]+)?)\)/,
|
26
26
|
markup: '<iframe title="%s" src="%s" width="500" height="281"%s frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>',
|
27
27
|
url: "https://player.vimeo.com/video/%s",
|
28
28
|
url_parameters: []
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: markdown_videos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Capripot
|
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
76
76
|
requirements:
|
77
77
|
- - ! '>='
|
78
78
|
- !ruby/object:Gem::Version
|
79
|
-
version: '0'
|
79
|
+
version: '2.0'
|
80
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
82
|
- - ! '>='
|