heroku-bouncer 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/heroku/bouncer.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db1251e6456728976191f19f21f0fd6c98c5678a
4
- data.tar.gz: ec81a607376dc9bcbcf1e5f6faee52114e519856
3
+ metadata.gz: b0a0fcbf6c90f52b0178b11532f52f99c89d882f
4
+ data.tar.gz: b98b20f813286ef2057f194b8060f325a78ffe89
5
5
  SHA512:
6
- metadata.gz: c768c3efe4c28bc8f7732b0b81bfc4c07fc6c86875c114ef4573a0860ae3a5268d65f96fbf76a7b79935e3b5966b76ed2bd4cf6425f6b57914723c74ed46495e
7
- data.tar.gz: fa1d52afd5552640d43d472f79cc5364ecf9f249dba27cdda3da6be343cf91d004fee92b7aa19db53ff51fcc5395451a891d3293bb63bab3a0db8b15e0bb0b69
6
+ metadata.gz: a64178645292a555e6dda738b02a795ce7405e649cf7467d458736da1108d74a67b03d99cc7f9f1d35681a251dc80e090df4dac9d8143a29ed07d4dadc15f0d0
7
+ data.tar.gz: 1a6ae3ff4a85d68e9be0507edf3309dab70de8221d84587a19fdefe0918f5d2a617ebbf6cba46bbc981d3af159bb1ae9101675efafe40ae97ff04fd6560da40a
@@ -51,7 +51,7 @@ class Heroku::Bouncer < Sinatra::Base
51
51
  end
52
52
 
53
53
  before do
54
- if session[:user]
54
+ if session[:store] && session[:store][:user]
55
55
  expose_store
56
56
  elsif ! %w[/auth/heroku/callback /auth/heroku /auth/failure /auth/sso-logout /auth/logout].include?(request.path)
57
57
  session[:return_to] = request.url
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heroku-bouncer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Dance
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-09-23 00:00:00.000000000 Z
11
+ date: 2013-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-heroku