lockdown 0.6.0 → 0.6.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 CHANGED
@@ -1,3 +1,9 @@
1
+ == 0.6.1 2008-11-21
2
+ * Fixed: Named routes were not being honored in link_to
3
+
4
+ == 0.6.0 2008-11-15
5
+ * Big refactor of internals
6
+
1
7
  == 0.5.22 2008-09-14
2
8
  * Update: Add test for future deprecation: Dependencies to be ActiveSupport::Dependencies
3
9
 
@@ -53,7 +53,7 @@ module Lockdown
53
53
 
54
54
  # Test for a named routed
55
55
  begin
56
- hsh = ActionController::Routing::Routes.recognize_path(path)
56
+ hsh = ActionController::Routing::Routes.recognize_path(url_parts[5])
57
57
  unless hsh.nil? || hsh[:id]
58
58
  return true if path_allowed?(path_from_hash(hsh))
59
59
  end
@@ -2,7 +2,7 @@ module Lockdown #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 6
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/website/index.html CHANGED
@@ -33,7 +33,7 @@
33
33
  <h1>Lockdown</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/lockdown"; return false'>
35
35
  <p>Get Version</p>
36
- <a href="http://rubyforge.org/projects/lockdown" class="numbers">0.5.22</a>
36
+ <a href="http://rubyforge.org/projects/lockdown" class="numbers">0.6.0</a>
37
37
  </div>
38
38
  <h2>What</h2>
39
39
  <p>Lockdown is a authentication/authorization system for RubyOnRails (ver 2.x). While Merb functionality is in place, it is not complete. There will be a release solely focused on getting the Merb functionality up to par with Rails.</p>
@@ -45,7 +45,7 @@
45
45
  <p>Thanks for your interest in Lockdown,<br/><br />
46
46
  -andy</p>
47
47
  <p class="coda">
48
- 10th July 2008<br/>
48
+ 19th October 2008<br/>
49
49
  Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
50
50
  </p>
51
51
  </div>
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.6.0
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Stone
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-11-15 00:00:00 -05:00
12
+ date: 2008-11-21 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency