virgo 0.3.15 → 0.3.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/virgo/posts/show.coffee +1 -1
- data/lib/virgo/version.rb +1 -1
- 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: 454840bd50221d4b681e52e7a465b29a53eb9d43
|
4
|
+
data.tar.gz: 6dd80b5dee7733de4276797474df545c0b582245
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ce1cc9b234630c776ec25005b202549b6ba5f0be5a871b9798b3c61436038ad84ab85a591a422e5ff6e0ea1d39605ec9ab2ce4c0fff7327671ab906f0a3d729
|
7
|
+
data.tar.gz: 09dc422b90c93c41e1fb1922c1a1af4b98c84d251c4be3641702111a8ddc628073cd19d74917990418638556f0fd1b193138a881ca7247d4372888be066de87c
|
@@ -19,7 +19,7 @@ class PostShow
|
|
19
19
|
is_video_embed_url: (url) =>
|
20
20
|
url_parts = url.match(/https?:\/\/(:?www.)?(\w*)/)
|
21
21
|
|
22
|
-
if url_parts >=
|
22
|
+
if url_parts >= 2
|
23
23
|
provider = url_parts[2]
|
24
24
|
|
25
25
|
if provider == 'youtube' or provider == 'vimeo' or provider == 'player' or provider == 'youtu.be'
|
data/lib/virgo/version.rb
CHANGED