weibo_2 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ module WeiboOAuth2
12
12
  @options[:token_url] = '/oauth2/access_token'
13
13
  end
14
14
 
15
- def authorize_url(params=nil)
15
+ def authorize_url(params={})
16
16
  params[:client_id] = @id unless params[:client_id]
17
17
  params[:response_type] = 'code' unless params[:response_type]
18
18
  params[:redirect_uri] = WeiboOAuth2::Config.redirect_uri unless params[:redirect_uri]
@@ -1,3 +1,3 @@
1
1
  module WeiboOAuth2
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weibo_2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: