onebox 1.5.60 → 1.5.61
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/soundcloud_onebox.rb +1 -1
- data/lib/onebox/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e679c5ee06dec67d693d09cec310dbfdd08dd45
|
4
|
+
data.tar.gz: e0735b4905d8c3783c3afdcba33de765d09df021
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7250b319e3f358b0d2dcc4c2a7d3f5ef7e428ab0f2887f0888c08729fff498145512ba058a1a32ceb50c597d9c3689e57ffe424b25f1524abf4780554fa890dd
|
7
|
+
data.tar.gz: dfef8ef79e658734722ab967d8e76dd92b2f6bc559fed63a62441f45a211dd203cfb6e70d70b5ec12226ab2958b1fee6b617dfe24e2fce8cc1e49f8ab8ba9d39
|
@@ -21,7 +21,7 @@ module Onebox
|
|
21
21
|
def oembed_data
|
22
22
|
@oembed_data ||= begin
|
23
23
|
oembed_url = "https://soundcloud.com/oembed.json?url=#{url}"
|
24
|
-
oembed_url << "&maxheight=166"
|
24
|
+
oembed_url << "&maxheight=166" unless url["/sets/"]
|
25
25
|
Onebox::Helpers.symbolize_keys(::MultiJson.load(Onebox::Helpers.fetch_response(oembed_url).body))
|
26
26
|
rescue
|
27
27
|
{}
|
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.61
|
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-11-
|
13
|
+
date: 2016-11-06 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: multi_json
|