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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6284a87a3edbd77cb74a40d458a2774f350ec86d
4
- data.tar.gz: 2e2e203e7321cd7e453f50e18e3bd73a56ade1e0
3
+ metadata.gz: 6e679c5ee06dec67d693d09cec310dbfdd08dd45
4
+ data.tar.gz: e0735b4905d8c3783c3afdcba33de765d09df021
5
5
  SHA512:
6
- metadata.gz: af6c86905744a6da99816a166be42e52dd4d785cba77e4e7fa17d4b097262ad7e57ebe27abea5120fcfd2d5db2bff1fdf3a7ba81f1b743616307315fa90fa787
7
- data.tar.gz: 7e68883159aa1313539b1501689aafd5f6080359d587d7b138c36c5b1f334188a37a9f5b02c150148dbaa48af0f570ad68432842ec37960bfb89d6cead4203e2
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" if url["/sets/"]
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
  {}
@@ -1,3 +1,3 @@
1
1
  module Onebox
2
- VERSION = "1.5.60"
2
+ VERSION = "1.5.61"
3
3
  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.5.60
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-03 00:00:00.000000000 Z
13
+ date: 2016-11-06 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: multi_json