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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75ac2126cc89b5c8398bffa74ef23a6089a59257e98386552f99adb167238433
4
- data.tar.gz: 89547651a979ceb8ddadd0df6d37a4db515c2442bd2423048596891629af4b9f
3
+ metadata.gz: d249177bca9ba281eeab6fa2a5ad4cac2295dd2021aaa7fa3967e7a357d3d915
4
+ data.tar.gz: 9cae641310a8886e531b67247b1e403c537c1b043d2250a11ed0ef31e0945906
5
5
  SHA512:
6
- metadata.gz: d2f538774199f61cd9417da74d5ada073961df165bbcd90ce743147dc9250655a350cff83992d75ebcd8a54b9006779ecc77ae3a1e16e5085a162ab555a2b50b
7
- data.tar.gz: 5b4db9e0c0d74799d5b76d6f925bf52e30f6df362fedc51c6cf6a35e72cdcfd6f8094e09c200df1b494b9c8dfc143c62e8fa3f85260951fbee25c64a3434759e
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Onebox
4
- VERSION = "1.8.64"
4
+ VERSION = "1.8.65"
5
5
  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.64
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-10 00:00:00.000000000 Z
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.6
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.