lockdown 0.1.0 → 0.1.1
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 +8 -2
- data/lib/lockdown/version.rb +1 -1
- data/lib/lockdown.rb +2 -2
- metadata +1 -1
data/History.txt
CHANGED
@@ -1,4 +1,10 @@
|
|
1
|
+
== 0.1.1 2008-04-18
|
2
|
+
* Fixed bug with session cleanup.
|
3
|
+
|
4
|
+
== 0.1.0 2008-04-18
|
5
|
+
* Nearing public release status. Will release at a minor version of 1
|
6
|
+
* In bug testing mode now.
|
7
|
+
|
1
8
|
== 0.0.1 2008-04-18
|
2
9
|
|
3
|
-
*
|
4
|
-
* Initial release
|
10
|
+
* initial add of gem
|
data/lib/lockdown/version.rb
CHANGED
data/lib/lockdown.rb
CHANGED
@@ -111,8 +111,8 @@ module Lockdown
|
|
111
111
|
include Lockdown::Helper
|
112
112
|
|
113
113
|
def nil_lockdown_values
|
114
|
-
|
115
|
-
session[
|
114
|
+
%w(user_id user_name user_profile_id access_rights).each do |val|
|
115
|
+
session[val] = nil if session[val]
|
116
116
|
end
|
117
117
|
end
|
118
118
|
|