aker-rails 2.0.2 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +12 -0
- data/lib/aker/rails/secured_controller.rb +8 -0
- data/lib/aker/rails/version.rb +1 -1
- metadata +41 -64
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
Aker-Rails History
|
2
2
|
==================
|
3
3
|
|
4
|
+
2.0.3
|
5
|
+
-----
|
6
|
+
|
7
|
+
### Fixes
|
8
|
+
|
9
|
+
- CSRF token verification in Rails >= 2.3.11 is now properly handled (#4).
|
10
|
+
|
11
|
+
### Development
|
12
|
+
|
13
|
+
- Added missing LICENSE. Aker-Rails is made available under the MIT
|
14
|
+
license.
|
15
|
+
|
4
16
|
2.0.2
|
5
17
|
-----
|
6
18
|
|
@@ -35,6 +35,14 @@ module Aker::Rails
|
|
35
35
|
request.env['aker.check'].authentication_required!
|
36
36
|
end
|
37
37
|
|
38
|
+
def handle_unverified_request
|
39
|
+
super
|
40
|
+
|
41
|
+
if request.env['aker.interactive']
|
42
|
+
request.env['aker.check'].user = nil
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
38
46
|
##
|
39
47
|
# Extensions for the rails controller DSL for
|
40
48
|
# authentication-required controllers.
|
data/lib/aker/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,65 +1,46 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: aker-rails
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
prerelease:
|
6
|
-
segments:
|
7
|
-
- 2
|
8
|
-
- 0
|
9
|
-
- 2
|
10
|
-
version: 2.0.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.0.3
|
5
|
+
prerelease:
|
11
6
|
platform: ruby
|
12
|
-
authors:
|
7
|
+
authors:
|
13
8
|
- David Yip
|
14
9
|
- Rhett Sutphin
|
15
10
|
- Peter Nyberg
|
16
11
|
autorequire:
|
17
12
|
bindir: bin
|
18
13
|
cert_chain: []
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
version_requirements: &id001 !ruby/object:Gem::Requirement
|
14
|
+
date: 2012-01-04 00:00:00.000000000Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: rails
|
18
|
+
requirement: &2152515780 !ruby/object:Gem::Requirement
|
25
19
|
none: false
|
26
|
-
requirements:
|
20
|
+
requirements:
|
27
21
|
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
segments:
|
31
|
-
- 2
|
32
|
-
- 3
|
33
|
-
- 5
|
34
|
-
version: 2.3.5
|
35
|
-
requirement: *id001
|
36
|
-
name: rails
|
37
|
-
prerelease: false
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 2.3.11
|
38
24
|
type: :runtime
|
39
|
-
|
40
|
-
version_requirements:
|
25
|
+
prerelease: false
|
26
|
+
version_requirements: *2152515780
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: aker
|
29
|
+
requirement: &2152514380 !ruby/object:Gem::Requirement
|
41
30
|
none: false
|
42
|
-
requirements:
|
31
|
+
requirements:
|
43
32
|
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
|
46
|
-
segments:
|
47
|
-
- 3
|
48
|
-
- 0
|
49
|
-
version: "3.0"
|
50
|
-
requirement: *id002
|
51
|
-
name: aker
|
52
|
-
prerelease: false
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '3.0'
|
53
35
|
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: *2152514380
|
54
38
|
description:
|
55
39
|
email: r-sutphin@northwestern.edu
|
56
40
|
executables: []
|
57
|
-
|
58
41
|
extensions: []
|
59
|
-
|
60
42
|
extra_rdoc_files: []
|
61
|
-
|
62
|
-
files:
|
43
|
+
files:
|
63
44
|
- CHANGELOG.md
|
64
45
|
- README.md
|
65
46
|
- lib/aker/rails/application.rb
|
@@ -75,39 +56,35 @@ files:
|
|
75
56
|
- spec/deprecation_helper.rb
|
76
57
|
- spec/spec_helper.rb
|
77
58
|
- rails/init.rb
|
78
|
-
has_rdoc: true
|
79
59
|
homepage: https://github.com/NUBIC/aker-rails
|
80
60
|
licenses: []
|
81
|
-
|
82
61
|
post_install_message:
|
83
62
|
rdoc_options: []
|
84
|
-
|
85
|
-
require_paths:
|
63
|
+
require_paths:
|
86
64
|
- lib
|
87
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
65
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
88
66
|
none: false
|
89
|
-
requirements:
|
90
|
-
- -
|
91
|
-
- !ruby/object:Gem::Version
|
92
|
-
|
93
|
-
segments:
|
67
|
+
requirements:
|
68
|
+
- - ! '>='
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: '0'
|
71
|
+
segments:
|
94
72
|
- 0
|
95
|
-
|
96
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
|
+
hash: 2362672654052909796
|
74
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
97
75
|
none: false
|
98
|
-
requirements:
|
99
|
-
- -
|
100
|
-
- !ruby/object:Gem::Version
|
101
|
-
|
102
|
-
segments:
|
76
|
+
requirements:
|
77
|
+
- - ! '>='
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0'
|
80
|
+
segments:
|
103
81
|
- 0
|
104
|
-
|
82
|
+
hash: 2362672654052909796
|
105
83
|
requirements: []
|
106
|
-
|
107
84
|
rubyforge_project:
|
108
|
-
rubygems_version: 1.
|
85
|
+
rubygems_version: 1.8.10
|
109
86
|
signing_key:
|
110
87
|
specification_version: 3
|
111
88
|
summary: Easy Rails integration for the Aker security framework
|
112
89
|
test_files: []
|
113
|
-
|
90
|
+
has_rdoc:
|