aker-rails 3.0.2 → 4.0.0.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +7 -0
- data/README.md +8 -13
- data/lib/aker/rails/version.rb +1 -1
- data/lib/aker-rails.rb +1 -1
- data/spec/spec_helper.rb +1 -0
- metadata +30 -26
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -4,23 +4,23 @@ Aker-Rails
|
|
4
4
|
`aker-rails` is the Rails plugin for Aker 3.0 and later. It is a
|
5
5
|
thin wrapper around Aker's rack support.
|
6
6
|
|
7
|
-
There are separate plugins for Rails 3.x and Rails 2.3.x. You're
|
8
|
-
looking at the version for **Rails
|
9
|
-
|
7
|
+
There are separate plugins for Rails 4.x, Rails 3.x and Rails 2.3.x. You're
|
8
|
+
looking at the version for **Rails 4.x**. The version for Rails 3.x has a
|
9
|
+
version number with major version 3.
|
10
10
|
|
11
11
|
Reader's note: this README uses [YARD][] markup to provide links to
|
12
12
|
Aker-Rails' API documentation. If you aren't already, consider reading it
|
13
13
|
on [rubydoc.info][] so that the links will be followable.
|
14
14
|
|
15
15
|
[YARD]: http://yardoc.org/
|
16
|
-
[rubydoc.info]: http://rubydoc.info/github/NUBIC/aker-rails/
|
16
|
+
[rubydoc.info]: http://rubydoc.info/github/NUBIC/aker-rails/rails4/file/README.md
|
17
17
|
|
18
18
|
Setup
|
19
19
|
-----
|
20
20
|
|
21
21
|
### Prerequisites
|
22
22
|
|
23
|
-
`aker-rails` requires Rails ~>
|
23
|
+
`aker-rails` requires Rails ~> 4.0.
|
24
24
|
|
25
25
|
Since `aker-rails` is just a thin wrapper, you'll want to be familiar
|
26
26
|
with [Aker][] before you get started.
|
@@ -34,7 +34,7 @@ application's Gemfile:
|
|
34
34
|
|
35
35
|
gem 'aker-rails'
|
36
36
|
|
37
|
-
Between this and the `Bundler.require` that most Rails
|
37
|
+
Between this and the `Bundler.require` that most Rails 4 applications do
|
38
38
|
as part of their initialization process, that's all you usually need to
|
39
39
|
do to get aker and aker-rails loaded in your Rails application.
|
40
40
|
|
@@ -58,9 +58,7 @@ environment you are using, like the portal name and the modes.
|
|
58
58
|
portal :ENU
|
59
59
|
end
|
60
60
|
|
61
|
-
|
62
|
-
plugin. *Aker configuration should not happen in a Rails 3
|
63
|
-
initializer.*)
|
61
|
+
*Aker configuration should not happen in a Rails 4 initializer.*
|
64
62
|
|
65
63
|
For more information on the configuration syntax and options, see the
|
66
64
|
aker API documentation for `Aker::Configuration`.
|
@@ -86,10 +84,7 @@ will be env-specific.
|
|
86
84
|
central '/etc/nubic/aker-prod.yml'
|
87
85
|
end
|
88
86
|
|
89
|
-
|
90
|
-
plugin. *Aker configuration should not happen in a Rails 3
|
91
|
-
after_initialize block.*)
|
92
|
-
|
87
|
+
*Aker configuration should not happen in a Rails 4 after_initialize block.*
|
93
88
|
|
94
89
|
Integration into your app
|
95
90
|
-------------------------
|
data/lib/aker/rails/version.rb
CHANGED
data/lib/aker-rails.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
##
|
2
2
|
# This file, being the same name as its parent gem, is required via
|
3
|
-
# `Bundler.require` by the stock `config/application.rb` in a Rails
|
3
|
+
# `Bundler.require` by the stock `config/application.rb` in a Rails 4
|
4
4
|
# application.
|
5
5
|
#
|
6
6
|
# (Just a note as to why this file works: Railtie registration is implemented
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aker-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 4.0.0.pre
|
5
|
+
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- David Yip
|
@@ -11,25 +11,27 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2013-08-19 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
18
|
-
requirement:
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
19
19
|
none: false
|
20
20
|
requirements:
|
21
21
|
- - ~>
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: '
|
24
|
-
- - ! '>='
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 3.0.4
|
23
|
+
version: '4.0'
|
27
24
|
type: :runtime
|
28
25
|
prerelease: false
|
29
|
-
version_requirements:
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
27
|
+
none: false
|
28
|
+
requirements:
|
29
|
+
- - ~>
|
30
|
+
- !ruby/object:Gem::Version
|
31
|
+
version: '4.0'
|
30
32
|
- !ruby/object:Gem::Dependency
|
31
33
|
name: aker
|
32
|
-
requirement:
|
34
|
+
requirement: !ruby/object:Gem::Requirement
|
33
35
|
none: false
|
34
36
|
requirements:
|
35
37
|
- - ~>
|
@@ -37,7 +39,12 @@ dependencies:
|
|
37
39
|
version: '3.0'
|
38
40
|
type: :runtime
|
39
41
|
prerelease: false
|
40
|
-
version_requirements:
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
none: false
|
44
|
+
requirements:
|
45
|
+
- - ~>
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '3.0'
|
41
48
|
description:
|
42
49
|
email: r-sutphin@northwestern.edu
|
43
50
|
executables: []
|
@@ -46,22 +53,22 @@ extra_rdoc_files: []
|
|
46
53
|
files:
|
47
54
|
- CHANGELOG.md
|
48
55
|
- README.md
|
56
|
+
- lib/aker/rails/test/helpers.rb
|
49
57
|
- lib/aker/rails/application.rb
|
50
|
-
- lib/aker/rails/
|
58
|
+
- lib/aker/rails/version.rb
|
59
|
+
- lib/aker/rails/test.rb
|
51
60
|
- lib/aker/rails/railtie.rb
|
52
61
|
- lib/aker/rails/secured_controller.rb
|
53
|
-
- lib/aker/rails/
|
54
|
-
- lib/aker/rails/test.rb
|
55
|
-
- lib/aker/rails/version.rb
|
62
|
+
- lib/aker/rails/configuration_ext.rb
|
56
63
|
- lib/aker/rails.rb
|
57
64
|
- lib/aker-rails.rb
|
58
|
-
- spec/
|
59
|
-
- spec/aker/rails/
|
65
|
+
- spec/deprecation_helper.rb
|
66
|
+
- spec/aker/rails/test/helpers_spec.rb
|
60
67
|
- spec/aker/rails/railtie_spec.rb
|
61
68
|
- spec/aker/rails/secured_controller_spec.rb
|
62
|
-
- spec/aker/rails/
|
69
|
+
- spec/aker/rails/application_spec.rb
|
70
|
+
- spec/aker/rails/configuration_ext_spec.rb
|
63
71
|
- spec/aker/rails_spec.rb
|
64
|
-
- spec/deprecation_helper.rb
|
65
72
|
- spec/spec_helper.rb
|
66
73
|
homepage: https://github.com/NUBIC/aker-rails
|
67
74
|
licenses: []
|
@@ -77,19 +84,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
77
84
|
version: '0'
|
78
85
|
segments:
|
79
86
|
- 0
|
80
|
-
hash:
|
87
|
+
hash: -1037229476310319110
|
81
88
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
82
89
|
none: false
|
83
90
|
requirements:
|
84
|
-
- - ! '
|
91
|
+
- - ! '>'
|
85
92
|
- !ruby/object:Gem::Version
|
86
|
-
version:
|
87
|
-
segments:
|
88
|
-
- 0
|
89
|
-
hash: 3717730914986661083
|
93
|
+
version: 1.3.1
|
90
94
|
requirements: []
|
91
95
|
rubyforge_project:
|
92
|
-
rubygems_version: 1.8.
|
96
|
+
rubygems_version: 1.8.23
|
93
97
|
signing_key:
|
94
98
|
specification_version: 3
|
95
99
|
summary: Easy Rails integration for the Aker security framework
|