soundcloud 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
@@ -1,3 +1,3 @@
1
1
  class Soundcloud
2
- VERSION = '0.2.6'
2
+ VERSION = '0.2.7'
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: soundcloud
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.6
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-23 00:00:00 +02:00
13
+ date: 2011-08-25 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency