aker-rails 3.0.2 → 4.0.0.pre

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  Aker-Rails History
2
2
  ==================
3
3
 
4
+ 4.0.0
5
+ -----
6
+
7
+ ### Features
8
+
9
+ - Rails 4.0 support
10
+
4
11
  3.0.2
5
12
  -----
6
13
 
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 3.x**. The version for Rails 2.3.x
9
- has a version number with major version 2.
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/rails3/file/README.md
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 ~> 3.0.
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 3 applications do
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
- (Migration note: this differs from the Rails 2.3 version of this
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
- (Migration note: this differs from the Rails 2.3 version of this
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
  -------------------------
@@ -2,6 +2,6 @@ module Aker
2
2
  module Rails
3
3
  # VERSION is in a separate file with no external dependencies so it
4
4
  # can be sourced from the gemspec.
5
- VERSION = "3.0.2"
5
+ VERSION = "4.0.0.pre"
6
6
  end
7
7
  end
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
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
@@ -6,6 +6,7 @@ require "spec"
6
6
 
7
7
  $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
8
8
 
9
+ require 'rails'
9
10
  require 'aker/rails'
10
11
 
11
12
  require File.expand_path('../deprecation_helper', __FILE__)
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: 3.0.2
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: 2012-01-04 00:00:00.000000000Z
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: &2164932480 !ruby/object:Gem::Requirement
18
+ requirement: !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ~>
22
22
  - !ruby/object:Gem::Version
23
- version: '3.0'
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: *2164932480
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: &2164931620 !ruby/object:Gem::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: *2164931620
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/configuration_ext.rb
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/test/helpers.rb
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/aker/rails/application_spec.rb
59
- - spec/aker/rails/configuration_ext_spec.rb
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/test/helpers_spec.rb
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: 3717730914986661083
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: '0'
87
- segments:
88
- - 0
89
- hash: 3717730914986661083
93
+ version: 1.3.1
90
94
  requirements: []
91
95
  rubyforge_project:
92
- rubygems_version: 1.8.10
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