rspotify 1.16.0 → 1.16.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: 8a88de811476fbb0042abe48a1a7ff99ed6d3e30
4
- data.tar.gz: e1f261ed242e3a7abc2cf0f5b1aae6c05495f04e
3
+ metadata.gz: afb98eb04d0c06b8c501ef755e74906704bb20c0
4
+ data.tar.gz: fd53db1447782954169d5be9ed10764d03b5d986
5
5
  SHA512:
6
- metadata.gz: 58a7634fff6edcbe1d5b9f73c9c5723f49d3c446b16bff93a4e93dbe3e98bf8dd422e77ef671cbe797ae54913a05d15142e994d09d7eef71d88e79509006dd4f
7
- data.tar.gz: 24200d848d08744d17002d3215ca67d2efa6c54cefd708bdad33ac3ffef98476ac769315555c239249a02436d402fad8d2c871aa10d8cd7b0959812ac732851c
6
+ metadata.gz: c29641d9db9310feed2a446df944055c8bc4d2842ff7571ef92122313d8b7f4cc81bdee27e4da2eeaf64c3a1e1e161164249ae907751e12044ddc3888aadb4f6
7
+ data.tar.gz: 530a15f27680a5ebe831e5cb3f57a008ddd92c4dd092f0ad44e34fa26e4013438db3f9b9c4734bbf9563252496658f0304567ffbd37ed73dd8acaa1f1b64bf96
data/lib/rspotify/base.rb CHANGED
@@ -132,7 +132,7 @@ module RSpotify
132
132
  # track.complete!
133
133
  # track.instance_variable_get("@popularity") #=> 62
134
134
  def complete!
135
- initialize RSpotify.get("#{type}s/#{@id}")
135
+ initialize RSpotify.get("#{@type}s/#{@id}")
136
136
  end
137
137
 
138
138
  # Used internally to retrieve an object's instance variable. If instance
@@ -11,8 +11,12 @@ module OmniAuth
11
11
  token_url: RSpotify::TOKEN_URI,
12
12
  }
13
13
 
14
- info do
15
- access_token.get('me').parsed
14
+ uid { raw_info['id'] }
15
+
16
+ info { raw_info }
17
+
18
+ def raw_info
19
+ @raw_info ||= access_token.get('me').parsed
16
20
  end
17
21
  end
18
22
  end
@@ -1,3 +1,3 @@
1
1
  module RSpotify
2
- VERSION = '1.16.0'
2
+ VERSION = '1.16.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.16.0
4
+ version: 1.16.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: 2015-11-22 00:00:00.000000000 Z
11
+ date: 2016-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth2