onebox 1.8.29 → 1.8.30
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/whitelisted_generic_onebox.rb +1 -0
- data/lib/onebox/version.rb +1 -1
- 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: ec5f210240ae4ab90531a0c8f0ec70ac850284100c3abca4122e0f838d50ea09
|
4
|
+
data.tar.gz: b7657bfb7f94a52b27c6a090b87d987bd94f8c5c35fa23e1dcdead57881baae7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b49f8df6e349b9c6f5b5adb6b9d6b65d54d5ceae40eb93784793e6cb0a56252bb0a0e1d7749f4223f9edd418671277a53c01e243c2273050c11873eb5095f6c9
|
7
|
+
data.tar.gz: 1089fbcd3dfb8406d9970c3103ae822a4d04a122a46777160fe9eaa0d55bea27c0e941cef2a433e41d0228d2bd6ef50d02295653d0d94739ecbcbbfe5641f138
|
@@ -222,6 +222,7 @@ module Onebox
|
|
222
222
|
d[:image] = d[:image_secure_url] || d[:image_url] || d[:thumbnail_url] || d[:image]
|
223
223
|
d[:video] = d[:video_secure_url] || d[:video_url] || d[:video]
|
224
224
|
|
225
|
+
d[:published_time] = d[:article_published_time] unless Onebox::Helpers.blank?(d[:article_published_time])
|
225
226
|
if !Onebox::Helpers.blank?(d[:published_time])
|
226
227
|
d[:article_published_time] = Time.parse(d[:published_time]).strftime("%-d %b %y")
|
227
228
|
d[:article_published_time_title] = Time.parse(d[:published_time]).strftime("%I:%M%p - %d %B %Y")
|
data/lib/onebox/version.rb
CHANGED
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.30
|
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-12-
|
13
|
+
date: 2017-12-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: multi_json
|
@@ -524,7 +524,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
524
524
|
version: '0'
|
525
525
|
requirements: []
|
526
526
|
rubyforge_project:
|
527
|
-
rubygems_version: 2.
|
527
|
+
rubygems_version: 2.7.2
|
528
528
|
signing_key:
|
529
529
|
specification_version: 4
|
530
530
|
summary: A gem for turning URLs into previews.
|