onebox 1.8.62 → 1.8.63

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
- SHA1:
3
- metadata.gz: 9519e506e1b016d8bd3729316a2245703e855c41
4
- data.tar.gz: 146c1341db89704266842c7d0978430ac0255586
2
+ SHA256:
3
+ metadata.gz: ed37848d1d08747c6a3bcca16710f51031a7b14c4d639f89513f76d7cbe6bf27
4
+ data.tar.gz: a4ec00be8e5cfaf7d48907ff845daaf4f72a2a1058542b9b67f822eb8e172fee
5
5
  SHA512:
6
- metadata.gz: b6a8a234f6fd6088cd1c1e939ce514a3face9154be170d83b0b22af7ee847f3b42e4b8c4fc293d51cc04de44c4ff2222392bbe8da985ae7c9ee0a7e4fd18cf01
7
- data.tar.gz: a56a1be9b7298df7a2d130b4359fe6b0075b489fb2adcb326676fa708fc426f94bdd7e8ad6c5814a7dd27b295f8789e7f0a018e447815f94fea730fb17bce1e8
6
+ metadata.gz: 360a41c6884f4858f23a400a573ab90923a00d0fd9eedeaf47e643fe8d99b86aa5944dbec9764f0cfa8f7e79fa8035de59bdfd2287500dbc8f159adb982a516e
7
+ data.tar.gz: '00987da7e04891648f9427a44f9db8b7a2b902dabb0fb89c95328bff00865d16dc762410e16a1ce5bedc06b09385881bb14334fb565886f4137d280f248df4a5'
@@ -157,7 +157,7 @@ module Onebox
157
157
  result[:description] = og[:description] || (summary && summary.inner_text)
158
158
  end
159
159
 
160
- result[:price] = nil if result[:price] == "$0" || result[:price] == 0
160
+ result[:price] = nil if result[:price].start_with?("$0") || result[:price] == 0
161
161
 
162
162
  result
163
163
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Onebox
4
- VERSION = "1.8.62"
4
+ VERSION = "1.8.63"
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.62
4
+ version: 1.8.63
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joanna Zeta
@@ -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.13
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.