lockdown 0.4.4 → 0.4.5

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,6 @@
1
+ == 0.4.5 2008-05-08
2
+ * Rubyforge having an issue with the gem, I'm getting 404 errors trying to install 0.4.4 so I'm deploying a new version. no code changes.
3
+
1
4
  == 0.4.4 2008-05-08
2
5
  * Modified: refactored the link_to_secured and authorized? code to be more efficient
3
6
 
@@ -2,7 +2,7 @@ module Lockdown #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 4
5
- TINY = 4
5
+ TINY = 5
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/website/index.txt CHANGED
@@ -43,8 +43,6 @@ This will install resources such as:
43
43
 
44
44
  Please refer to the <a href="generator.html">generator page</a> for more detail.
45
45
 
46
- I recommend reading this page to get a feel for Lockdown's functionality.
47
-
48
46
  h2. How it works
49
47
 
50
48
  Lockdown stores an array of access rights in the session. For example, if you have a standard REST users controller, the access rights would be:
@@ -58,7 +56,7 @@ Lockdown stores an array of access rights in the session. For example, if you h
58
56
  users/destroy (delete for Merb)
59
57
  </pre>
60
58
 
61
- The above list will be stored in the session as an array and each request is tested against this list. So this means, you <strong>should not use client side session storage</strong>. If you can, I recommend using memcache, but a database session store will suffice.
59
+ The above list will be stored in the session as an array and each request is tested against this list.
62
60
 
63
61
  To define access rights you need to modify lib/lockdown/init.rb. This is the default init.rb included with Lockdown:
64
62
  <pre syntax="ruby">
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.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Stone