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 +5 -5
- data/lib/onebox/engine/amazon_onebox.rb +1 -1
- data/lib/onebox/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ed37848d1d08747c6a3bcca16710f51031a7b14c4d639f89513f76d7cbe6bf27
|
4
|
+
data.tar.gz: a4ec00be8e5cfaf7d48907ff845daaf4f72a2a1058542b9b67f822eb8e172fee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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]
|
160
|
+
result[:price] = nil if result[:price].start_with?("$0") || result[:price] == 0
|
161
161
|
|
162
162
|
result
|
163
163
|
end
|
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.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.
|
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.
|