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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e21890ff4f2bb80ce29de5a00a043cc9b1707db6
4
- data.tar.gz: 8e04e728c6d134d80cea44bd00ceed5107a31d4f
3
+ metadata.gz: 454840bd50221d4b681e52e7a465b29a53eb9d43
4
+ data.tar.gz: 6dd80b5dee7733de4276797474df545c0b582245
5
5
  SHA512:
6
- metadata.gz: ab7451b0af4f4617cc66153f85ce04243c5fa28383dc06aae4e2f3f4aaaa9919ebad4dc5e47cf339a998781fafa2e01828022d5f8a444552e9f6fba6489bcedb
7
- data.tar.gz: d1d0370700ba5dc9b7e0ffc36dca4fead0fb2ee207ef67305ac339692e9116f93257186d58aa0b47003678630b6f7833426d34415cda8783b9cfd97cef43549d
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 >= 3
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
@@ -1,3 +1,3 @@
1
1
  module Virgo
2
- VERSION = "0.3.15"
2
+ VERSION = "0.3.16"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: virgo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.15
4
+ version: 0.3.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nicholas Zaillian