onebox 1.5.49 → 1.5.50
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/amazon_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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 71f76b700cbeee61a2da9f769fb2c50c266809a4
|
4
|
+
data.tar.gz: 42258aef7d0cddad2730a8eaf1e3004704be2b71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a6e0d9a253cd2eda029a9e859f161621c93d92e6f6cfefd3528fa4f022d4b57057085510779a2f5d5f212266cc92d5d89a88e0c3f9f7b0072ca7f02cfe2a85e
|
7
|
+
data.tar.gz: 64bbc89d7885b4c54da395bfcc9a31ea9011badeae4da7d31ee99d552ca401e1f36aaf97e0281306b1c15eb780f577e4f5b51a8b9018e2107d1325502c57f10c
|
@@ -8,7 +8,7 @@ module Onebox
|
|
8
8
|
include HTML
|
9
9
|
|
10
10
|
always_https
|
11
|
-
matches_regexp(/^https?:\/\/(?:www\.)?(amazon|amzn)\.(?<tld>com|ca|de|it|es|fr|co\.jp|co\.uk|cn|in|com\.br)\//)
|
11
|
+
matches_regexp(/^https?:\/\/(?:www\.)?(?:smile\.)?(amazon|amzn)\.(?<tld>com|ca|de|it|es|fr|co\.jp|co\.uk|cn|in|com\.br)\//)
|
12
12
|
|
13
13
|
def url
|
14
14
|
if match && match[:id]
|
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.5.
|
4
|
+
version: 1.5.50
|
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: 2016-
|
13
|
+
date: 2016-10-09 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: multi_json
|
@@ -438,7 +438,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
438
438
|
version: '0'
|
439
439
|
requirements: []
|
440
440
|
rubyforge_project:
|
441
|
-
rubygems_version: 2.
|
441
|
+
rubygems_version: 2.5.1
|
442
442
|
signing_key:
|
443
443
|
specification_version: 4
|
444
444
|
summary: A gem for turning URLs into previews.
|