onebox 1.8.57 → 1.8.58
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/onebox/engine/instagram_onebox.rb +1 -3
- data/lib/onebox/version.rb +1 -1
- data/templates/instagram.mustache +7 -9
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8b5d4ab4cdbef297071096257cd828b45e97ecab04262613ef3898b749efc006
|
4
|
+
data.tar.gz: 0c570c0480e1e95cc79adad88e8b646b9d978f08bb5bec36db40c6cdb3e7c89e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 240c7d9f42dba8965d7ed17c24d1fa480e72b29c0e85a319c0beb280933eea4dd98b12001cfec1628876bc105136ace58d953645a2bd8bca01484d6d4b02cff8
|
7
|
+
data.tar.gz: fa53316c41fb8ee6b696f8f1444478fe4a91c46d232dffeb1f7ac8f3d8ce4b09ad11e1cf37cda7d78ee96093e4b125e20d193369ad1575cef49c88493e71ccd3
|
@@ -28,9 +28,7 @@ module Onebox
|
|
28
28
|
end
|
29
29
|
|
30
30
|
if !Onebox::Helpers.blank?(og[:video_secure_url])
|
31
|
-
result[:
|
32
|
-
result[:video_height] = og[:video_height]
|
33
|
-
result[:video_secure_url] = ::Onebox::Helpers.normalize_url_for_output(og[:video_secure_url])
|
31
|
+
result[:video_link] = og[:url]
|
34
32
|
end
|
35
33
|
|
36
34
|
result
|
data/lib/onebox/version.rb
CHANGED
@@ -1,13 +1,11 @@
|
|
1
1
|
<h3><a href="{{link}}" target="_blank">{{title}}</a></h3>
|
2
2
|
|
3
|
-
{{#
|
4
|
-
<div class="instagram-images"
|
5
|
-
<
|
6
|
-
|
7
|
-
{{/
|
8
|
-
|
9
|
-
{{
|
10
|
-
{{#image}}<div class="instagram-images"><img class="instagram-image" src="{{image}}"/></div>{{/image}}
|
11
|
-
{{/video_secure_url}}
|
3
|
+
{{#image}}
|
4
|
+
<div class="instagram-images">
|
5
|
+
{{#video_link}} <a href="{{video_link}}" target="_blank"> {{/video_link}}
|
6
|
+
<img class="instagram-image" src="{{image}}"/>
|
7
|
+
{{#video_link}} </a> {{/video_link}}
|
8
|
+
</div>
|
9
|
+
{{/image}}
|
12
10
|
|
13
11
|
<div class="instagram-description">{{description}}</div>
|
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.
|
4
|
+
version: 1.8.58
|
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: 2018-
|
13
|
+
date: 2018-08-29 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: multi_json
|
@@ -413,7 +413,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
413
413
|
version: '0'
|
414
414
|
requirements: []
|
415
415
|
rubyforge_project:
|
416
|
-
rubygems_version: 2.6
|
416
|
+
rubygems_version: 2.7.6
|
417
417
|
signing_key:
|
418
418
|
specification_version: 4
|
419
419
|
summary: A gem for generating embeddable HTML previews from URLs.
|