alego 0.4.0 → 0.5.0

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/alego.rb +5 -0
  2. data/lib/alego/version.rb +1 -1
  3. metadata +2 -2
@@ -34,11 +34,13 @@ module Alego
34
34
  flash[:erro] = "Falha no login"
35
35
  logout
36
36
  denied
37
+ return
37
38
  end
38
39
  rescue
39
40
  flash[:erro] = "Falha no login"
40
41
  logout
41
42
  denied
43
+ return
42
44
  end
43
45
  end
44
46
 
@@ -54,12 +56,15 @@ module Alego
54
56
 
55
57
  unless alego_auth_valido
56
58
  denied
59
+ return
57
60
  end
58
61
  else
59
62
  denied
63
+ return
60
64
  end
61
65
  rescue
62
66
  denied
67
+ return
63
68
  end
64
69
  end
65
70
 
@@ -1,3 +1,3 @@
1
1
  module Alego
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alego
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
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-01-08 00:00:00.000000000 Z
12
+ date: 2013-01-10 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Alego SGU Auth...
15
15
  email: