soundcloud 0.2.6 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/soundcloud.rb +1 -1
- data/lib/soundcloud/version.rb +1 -1
- metadata +2 -2
data/lib/soundcloud.rb
CHANGED
@@ -152,7 +152,7 @@ class Soundcloud
|
|
152
152
|
self.class.post("https://#{api_host}#{TOKEN_PATH}", :query => params)
|
153
153
|
}
|
154
154
|
@options.merge!(:access_token => response.access_token, :refresh_token => response.refresh_token)
|
155
|
-
@options[:expires_at] = Time.now + response.expires_in
|
155
|
+
@options[:expires_at] = Time.now + response.expires_in if response.expires_in
|
156
156
|
@options[:on_exchange_token].call(*[(self if @options[:on_exchange_token].arity == 1)].compact)
|
157
157
|
response
|
158
158
|
end
|
data/lib/soundcloud/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: soundcloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.2.
|
5
|
+
version: 0.2.7
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Johannes Wagener
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-08-
|
13
|
+
date: 2011-08-25 00:00:00 +02:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|