onebox 1.9.9 → 1.9.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/onebox/engine/whitelisted_generic_onebox.rb +1 -0
- data/lib/onebox/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2a1a3dc2e875d3ae1dcf36398ae539fe2246d4ebc81f0aadec5367ad1eda5bb
|
4
|
+
data.tar.gz: 8a22fe033f4642d257a0ac264b4b7ff7a566eb37bb2197b58e8026a38c389e98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 436531fc0976fa08afcef6efe331cb36f2b9ba587067d6634641a55315e3d399fd3f31bc6b809ba8fbb942868f8ea85380a8b1907df81be86ecbb6c3feb2945a
|
7
|
+
data.tar.gz: 43d6ed29d364961a23ce1b4b023690996ccb3fe57c5245f6f4e0a8eba136b608adf4d3d3153a53b6108291d794520b595ded9c5f399cf01f33b88f74be9bb51e
|
data/Gemfile.lock
CHANGED
@@ -220,6 +220,7 @@ module Onebox
|
|
220
220
|
# prefer secure URLs
|
221
221
|
d[:image] = d[:image_secure_url] || d[:image_url] || d[:thumbnail_url] || d[:image]
|
222
222
|
d[:image] = Onebox::Helpers::get_absolute_image_url(d[:image], @url)
|
223
|
+
d[:image] = Onebox::Helpers::normalize_url_for_output(html_entities.decode(d[:image]))
|
223
224
|
|
224
225
|
d[:video] = d[:video_secure_url] || d[:video_url] || d[:video]
|
225
226
|
|
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.9.
|
4
|
+
version: 1.9.10
|
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: 2019-08-
|
13
|
+
date: 2019-08-19 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: multi_json
|