hone-lockdown 1.2.2 → 1.2.3

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/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.2
1
+ 1.2.3
@@ -123,9 +123,9 @@ module Lockdown
123
123
  end
124
124
 
125
125
  def access_denied_path
126
- if Lockdown::System.fetch(:access_denied_path_authorized) and Lockdown::System.fetch(:access_denied_path_public)
126
+ if Lockdown::System.fetch(:access_denied_path_authenticated) and Lockdown::System.fetch(:access_denied_path_public)
127
127
  if logged_in?
128
- Lockdown::System.fetch(:access_denied_path_authorized)
128
+ Lockdown::System.fetch(:access_denied_path_authenticated)
129
129
  else
130
130
  Lockdown::System.fetch(:access_denied_path_public)
131
131
  end
@@ -27,7 +27,7 @@ module Lockdown
27
27
  :who_did_it => :current_user_id,
28
28
  :default_who_did_it => 1,
29
29
  :logout_on_access_violation => false,
30
- :access_denied_path_authorized => nil,
30
+ :access_denied_path_authenticated => nil,
31
31
  :access_denied_path_public => nil,
32
32
  :access_denied_path => "/",
33
33
  :successful_login_path => "/",
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{lockdown}
8
- s.version = "1.2.2"
8
+ s.version = "1.2.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Andrew Stone"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hone-lockdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Stone