virgo 0.3.16 → 0.3.17
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: 607e688c16512c4758fbf7ae68ae1b23ac8a84a0
|
4
|
+
data.tar.gz: 34b309575de239af363c967a650ddc22d7dcc8a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed5f18dfba7654c8677490d2819c8b19d80a4e59e91933379bedac960ac092b361bc69c2c427f95bed446a81d0758036c837a9deb9305d855302957bdc115f7b
|
7
|
+
data.tar.gz: aac866ea3ca09bf41b2a4af312ae13399d9459a0d5a17f1d19408b27cc8030338b35050add25cb2999d6587f2d2065cb14da4705686e6749177426884254fcb7
|
@@ -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 >= 2
|
22
|
+
if url_parts && url_parts.length >= 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