chairman 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/chairman.rb +2 -0
  2. data/lib/version.rb +1 -1
  3. metadata +2 -2
data/lib/chairman.rb CHANGED
@@ -26,6 +26,8 @@ module Chairman
26
26
  end
27
27
 
28
28
  get '/authorize/return' do
29
+ halt if params[:error] == 'access_denied'
30
+
29
31
  token = Chairman.session.get_token(params[:code])
30
32
 
31
33
  @user = Chairman.session(token.token).users.get
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Chairman
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chairman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-08-11 00:00:00.000000000 Z
12
+ date: 2013-08-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sinatra