aker-rails 3.0.1 → 3.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +18 -3
- data/lib/aker/rails/secured_controller.rb +8 -0
- data/lib/aker/rails/version.rb +1 -1
- metadata +44 -63
data/CHANGELOG.md
CHANGED
@@ -1,9 +1,27 @@
|
|
1
1
|
Aker-Rails History
|
2
2
|
==================
|
3
3
|
|
4
|
+
3.0.2
|
5
|
+
-----
|
6
|
+
|
7
|
+
### Fixes
|
8
|
+
|
9
|
+
- CSRF token verification in Rails >= 3.0.4 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
|
3.0.1
|
5
17
|
-----
|
6
18
|
|
19
|
+
### Fixes
|
20
|
+
|
21
|
+
- Non-form UI modes can have their middleware correctly applied
|
22
|
+
(#1). This requires a rearrangement of your application's
|
23
|
+
configuration code; see the README for details.
|
24
|
+
|
7
25
|
### Development
|
8
26
|
|
9
27
|
- First open-source version.
|
@@ -11,9 +29,6 @@ Aker-Rails History
|
|
11
29
|
renaming of the main project.
|
12
30
|
- Switch integration test suite from Celerity to Mechanize. (#3931)
|
13
31
|
This eliminates the JRuby dependency for integration testing.
|
14
|
-
- Fixed: non-form UI modes can have their middleware correctly applied
|
15
|
-
(#1). This requires a rearrangement of your application's
|
16
|
-
configuration code; see the README for details.
|
17
32
|
|
18
33
|
Bcsec-Rails History
|
19
34
|
===================
|
@@ -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,64 +1,49 @@
|
|
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
|
-
- 3
|
8
|
-
- 0
|
9
|
-
- 1
|
10
|
-
version: 3.0.1
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 3.0.2
|
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: &2164932480 !ruby/object:Gem::Requirement
|
25
19
|
none: false
|
26
|
-
requirements:
|
20
|
+
requirements:
|
27
21
|
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
version: "3.0"
|
34
|
-
requirement: *id001
|
35
|
-
name: rails
|
36
|
-
prerelease: false
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '3.0'
|
24
|
+
- - ! '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.0.4
|
37
27
|
type: :runtime
|
38
|
-
|
39
|
-
version_requirements:
|
28
|
+
prerelease: false
|
29
|
+
version_requirements: *2164932480
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: aker
|
32
|
+
requirement: &2164931620 !ruby/object:Gem::Requirement
|
40
33
|
none: false
|
41
|
-
requirements:
|
34
|
+
requirements:
|
42
35
|
- - ~>
|
43
|
-
- !ruby/object:Gem::Version
|
44
|
-
|
45
|
-
segments:
|
46
|
-
- 3
|
47
|
-
- 0
|
48
|
-
version: "3.0"
|
49
|
-
requirement: *id002
|
50
|
-
name: aker
|
51
|
-
prerelease: false
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '3.0'
|
52
38
|
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: *2164931620
|
53
41
|
description:
|
54
42
|
email: r-sutphin@northwestern.edu
|
55
43
|
executables: []
|
56
|
-
|
57
44
|
extensions: []
|
58
|
-
|
59
45
|
extra_rdoc_files: []
|
60
|
-
|
61
|
-
files:
|
46
|
+
files:
|
62
47
|
- CHANGELOG.md
|
63
48
|
- README.md
|
64
49
|
- lib/aker/rails/application.rb
|
@@ -78,39 +63,35 @@ files:
|
|
78
63
|
- spec/aker/rails_spec.rb
|
79
64
|
- spec/deprecation_helper.rb
|
80
65
|
- spec/spec_helper.rb
|
81
|
-
has_rdoc: true
|
82
66
|
homepage: https://github.com/NUBIC/aker-rails
|
83
67
|
licenses: []
|
84
|
-
|
85
68
|
post_install_message:
|
86
69
|
rdoc_options: []
|
87
|
-
|
88
|
-
require_paths:
|
70
|
+
require_paths:
|
89
71
|
- lib
|
90
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
72
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
91
73
|
none: false
|
92
|
-
requirements:
|
93
|
-
- -
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
|
96
|
-
segments:
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
segments:
|
97
79
|
- 0
|
98
|
-
|
99
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
80
|
+
hash: 3717730914986661083
|
81
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
82
|
none: false
|
101
|
-
requirements:
|
102
|
-
- -
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
|
105
|
-
segments:
|
83
|
+
requirements:
|
84
|
+
- - ! '>='
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: '0'
|
87
|
+
segments:
|
106
88
|
- 0
|
107
|
-
|
89
|
+
hash: 3717730914986661083
|
108
90
|
requirements: []
|
109
|
-
|
110
91
|
rubyforge_project:
|
111
|
-
rubygems_version: 1.
|
92
|
+
rubygems_version: 1.8.10
|
112
93
|
signing_key:
|
113
94
|
specification_version: 3
|
114
95
|
summary: Easy Rails integration for the Aker security framework
|
115
96
|
test_files: []
|
116
|
-
|
97
|
+
has_rdoc:
|