lockdown 0.3.13 → 0.3.14

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/History.txt CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.3.14 2008-05-02
2
+ * Fixed: Session keys to use symbols. Wasn't correctly expiring the session.
3
+
1
4
  == 0.3.13 2008-05-02
2
5
  * Fixed: The users and user_groups controller templates needed user_groups_for_users and all_permissions (respectively) instance variables set if validation failed on update.
3
6
 
@@ -2,7 +2,7 @@ module Lockdown #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 3
5
- TINY = 13
5
+ TINY = 14
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/lib/lockdown.rb CHANGED
@@ -72,7 +72,7 @@ module Lockdown
72
72
  include Lockdown::Helper
73
73
 
74
74
  def nil_lockdown_values
75
- %w(expiry_time user_id user_name user_profile_id access_rights).each do |val|
75
+ [:expiry_time, :user_id, :user_name, :user_profile_id, :access_rights].each do |val|
76
76
  session[val] = nil if session[val]
77
77
  end
78
78
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lockdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.13
4
+ version: 0.3.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Stone