lockdown 0.5.20 → 0.5.21
Sign up to get free protection for your applications and to get access to all the features.
data/History.txt
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
== 0.5.21 2008-09-12
|
2
|
+
* Updated lockdown to abide by config.active_record.timestamped_migrations introduced in Rails 2.1.1
|
3
|
+
* Fixed: schlick fixed an issue with the user_groups edit.html.erb. thanks Michael!
|
4
|
+
|
1
5
|
== 0.5.20 2008-08-04
|
2
6
|
* Fixed authorized? method to avoid ActionController::Routing::Routes.recognize_path invalid return values
|
3
7
|
* Added option[:session_timeout_method]. This method will be called when the session times out.
|
data/lib/lockdown/version.rb
CHANGED
@@ -1,4 +1,14 @@
|
|
1
|
-
|
1
|
+
@override_next_migration_string = false
|
2
|
+
|
3
|
+
if Rails::VERSION::MAJOR >= 2 && Rails::VERSION::MINOR >= 1
|
4
|
+
if Rails::VERSION::TINY == 0
|
5
|
+
@override_next_migration_string = true
|
6
|
+
elsif ActiveRecord::Base.timestamped_migrations
|
7
|
+
@override_next_migration_string = true
|
8
|
+
end
|
9
|
+
end
|
10
|
+
|
11
|
+
if @override_next_migration_string
|
2
12
|
class Rails::Generator::Commands::Base
|
3
13
|
protected
|
4
14
|
def next_migration_string(padding = 3)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<h1>Editing Usergroup</h1>
|
2
2
|
|
3
|
-
<%%= render :partial => "form"
|
3
|
+
<%%= render :partial => "form" %>
|
4
4
|
|
5
5
|
<%%= link_to 'Show', <%= namespace.blank? ? '@user_group' : "#{namespace}_user_group_path(@user_group)" %> %> |
|
6
6
|
<%%= link_to 'Back', <%= namespace.blank? ? 'user_groups_path' : "#{namespace}_user_groups_path" %> %>
|
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.
|
36
|
+
<a href="http://rubyforge.org/projects/lockdown" class="numbers">0.5.21</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>
|
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.5.
|
4
|
+
version: 0.5.21
|
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-
|
12
|
+
date: 2008-09-12 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|