onebox 1.8.14 → 1.8.15

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: 4f00805e5c613840f9f98fefcb90c73d6d51b7f8
4
- data.tar.gz: e792fae938aa9941c43b9dc2e777bc9989e5a1ff
3
+ metadata.gz: e4a80e27ec77691311cc1a1f60d2b95300bce80a
4
+ data.tar.gz: fd8062c7f883e595ae0819d58d5c6d077584d7bc
5
5
  SHA512:
6
- metadata.gz: fac489547c2fe0b742a73e079976ce2ced75fbc700c52136b24406ab6765d8157ee02bb25ce64c2a6fbaa8d674163f4f998212ad5a4dd1628ebae5c705aad3b2
7
- data.tar.gz: d1ab7cae2d6fee5348f161b50936fa4d7fbb64ba3ff607a58640751160c0294de5f29d4a45b31e1881f42450a83fae3dba354b5d484a924bc4724a9dd7b9fe94
6
+ metadata.gz: 03a0eea96817613625fdebebbbd9ad78eacbd4cea4e9977b2d3ffd032ae339bb8e5c74cb282904e31dc43e5e31bb831676c2a1525708200254b5a99b99f77fca
7
+ data.tar.gz: 76132f3f650d5c50bd42b604b7dd647f90067c7dba3a1e0c11f9bfcc0d027ab05110929d307d67702cfe4779f07de5a108914e739a4ab25f1b0760772b6dbd44
@@ -258,7 +258,7 @@ module Onebox
258
258
  end
259
259
 
260
260
  def is_video?
261
- data[:type] =~ /^video\// && !Onebox::Helpers.blank?(data[:video])
261
+ data[:type] =~ /^video[\/\.]/ && !Onebox::Helpers.blank?(data[:video])
262
262
  end
263
263
 
264
264
  def is_embedded?
@@ -1,3 +1,3 @@
1
1
  module Onebox
2
- VERSION = "1.8.14"
2
+ VERSION = "1.8.15"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: onebox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.14
4
+ version: 1.8.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joanna Zeta
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-07-07 00:00:00.000000000 Z
13
+ date: 2017-07-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: multi_json