onebox 1.8.64 → 1.8.65
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/onebox/engine/instagram_onebox.rb +1 -1
- data/lib/onebox/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d249177bca9ba281eeab6fa2a5ad4cac2295dd2021aaa7fa3967e7a357d3d915
|
4
|
+
data.tar.gz: 9cae641310a8886e531b67247b1e403c537c1b043d2250a11ed0ef31e0945906
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94c808d0859e5ddd48c59886bb1b14e8b2bcc4fd390062beea442933e1f171f9b7ed374db237da3826d78fde1fb6d88fcf425f888705e91ff599ccc05aaa76d7
|
7
|
+
data.tar.gz: 8360776b6a49763d42b4a1e4c4277f427537108574cf0821cb2d269f4a52c0629b15f1f2a08146708765b7753710b406b76ecbd7f728b24bcdafb00a62a03d0e
|
@@ -12,7 +12,7 @@ module Onebox
|
|
12
12
|
|
13
13
|
def data
|
14
14
|
og = get_opengraph
|
15
|
-
title = og[:title].split(":")[0].strip
|
15
|
+
title = og[:title].split(":")[0].strip.gsub(" on Instagram", "")
|
16
16
|
html_entities = HTMLEntities.new
|
17
17
|
|
18
18
|
json_data = html_doc.xpath('//script[contains(text(),"window._sharedData")]').text.to_s
|
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.65
|
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-10-
|
13
|
+
date: 2018-10-25 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.7.
|
416
|
+
rubygems_version: 2.7.7
|
417
417
|
signing_key:
|
418
418
|
specification_version: 4
|
419
419
|
summary: A gem for generating embeddable HTML previews from URLs.
|