rspotify 1.19.0 → 1.19.1

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: c38e76877f674bd0d2b288bcb718bd9ceeb6c1c4
4
- data.tar.gz: 6f278aeac2bc1e6c7af4c4b4fb0e25b6435cfbb6
3
+ metadata.gz: ca4b04de3b3895c1f1177fa8605555c8194d8afd
4
+ data.tar.gz: 14a9d725d5eaecb027d663423e6dbee7941c82c9
5
5
  SHA512:
6
- metadata.gz: 843549feffdc3a350760d2a3348c4d8b5790b5be60bfd00437ea12ee57eb4dd95c0ecb968c2c798486cfaeed34ac4e0f025bcee3540ace68be64a96b3110476f
7
- data.tar.gz: 077a6a37500bb4966db1fccee08e7119b23ce9839747153380b4728c85e4dd9b890286cb880e033414a1435ebc642cb7ef6d9bb33ee30b73136aaeba3b394a89
6
+ metadata.gz: 2031354beb1320777591b3dc11e231c49a35bc177b5582611347ee302a7d3c3297c04e150db82206156e1e15a37832e1e98bf47fc54e93281f00ae212fac27f3
7
+ data.tar.gz: d58ee19c8da18ac3a4a57235c2576f5636774c9ae47788bea1f4bf24294f8f889b6d429868f6db2d25864eb3e3ea5081c350eead84d376c2eeabb518f7ab1c01
@@ -32,7 +32,7 @@ module RSpotify
32
32
  response = RSpotify.get(url)
33
33
  return response if RSpotify.raw_response
34
34
 
35
- response['audio_features'].map { |i| AudioFeatures.new i }
35
+ response['audio_features'].map { |i| i.nil? ? nil : AudioFeatures.new(i) }
36
36
  when String
37
37
  url = "audio-features/#{ids}"
38
38
  response = RSpotify.get(url)
@@ -1,3 +1,3 @@
1
1
  module RSpotify
2
- VERSION = '1.19.0'
2
+ VERSION = '1.19.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspotify
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.19.0
4
+ version: 1.19.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guilherme Sad
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-17 00:00:00.000000000 Z
11
+ date: 2017-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2
@@ -243,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
243
243
  version: '0'
244
244
  requirements: []
245
245
  rubyforge_project:
246
- rubygems_version: 2.4.6
246
+ rubygems_version: 2.6.8
247
247
  signing_key:
248
248
  specification_version: 4
249
249
  summary: A ruby wrapper for the Spotify Web API