rspotify 1.5.0 → 1.5.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: 915098c8b8896573470f1b8eeaccafc685352674
4
- data.tar.gz: 666dddc4c95848340a2e0f1b0f4425c2e74c8bcc
3
+ metadata.gz: 26509ad037a5e9fc85e8300c6bf26a4ad7351b92
4
+ data.tar.gz: 503c2cf703e781b3b1663e55bdc886783ec71f2c
5
5
  SHA512:
6
- metadata.gz: c829c3d977cc9aa8dc2b9c1d4f2aaaa45626f425729b9135fac31c118c464d48ccabcc5ec7c5a74987237e46ec9e792b2f4b61f140955e1fa5848d510337d94b
7
- data.tar.gz: ee4fcd289269c373f3a7e76dbc960818e75b3b7bd227b2918aeed9ee64bc0850f7fb16fb6d52c2c99aa817e4abfec8d34dda964233bbb0014cf7e0eb9c9b26e1
6
+ metadata.gz: 205b92525217fe076b3ed7a9d9d8e9d4ac91d13679423f3194e44c604901bf6cd50019d1a89dbe231dbf5967d34a467a89fa1bbc12c443885b965a71d3d598ba
7
+ data.tar.gz: f60cb1e6f4b39d979dcfe57abfd018ac38c8262d30fd365d8d7b86ca32e8c787ebbcdb12c576adfecd83d944d457281267201e2782e4e5dcca2ed9300311a0c6
data/lib/rspotify/base.rb CHANGED
@@ -123,7 +123,7 @@ module RSpotify
123
123
  super unless instance_variable_defined? attr
124
124
 
125
125
  attr_value = instance_variable_get attr
126
- return attr_value unless attr_value.nil?
126
+ return attr_value if !attr_value.nil? || @id.nil?
127
127
 
128
128
  complete!
129
129
  instance_variable_get attr
@@ -1,3 +1,3 @@
1
1
  module RSpotify
2
- VERSION = '1.5.0'
2
+ VERSION = '1.5.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.5.0
4
+ version: 1.5.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: 2014-10-16 00:00:00.000000000 Z
11
+ date: 2014-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2