lockdown 0.3.10 → 0.3.11

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.3.11 2008-05-01
2
+ * Modified: Lockdown::System controller inspect to use "load" instead of "require".
3
+
1
4
  == 0.3.10 2008-05-01
2
5
  * Fixed: users_controller management of user_groups was using outdated methods. this applies only to the stubs produced with the generator
3
6
 
@@ -217,14 +217,14 @@ module Lockdown
217
217
  @controller_classes = {}
218
218
 
219
219
  unless const_defined?("Application")
220
- require(Lockdown.project_root + "/app/controllers/application.rb")
220
+ load(Lockdown.project_root + "/app/controllers/application.rb")
221
221
  end
222
222
 
223
223
  Dir.chdir("#{Lockdown.project_root}/app/controllers") do
224
224
  Dir["**/*.rb"].sort.each do |c|
225
225
  next if c == "application.rb"
226
226
  klass = controller_class_name_from_file(c)
227
- require(c) unless qualified_const_defined?(klass)
227
+ load(c) unless qualified_const_defined?(klass)
228
228
  @controller_classes[klass] = qualified_const_get(klass)
229
229
  end
230
230
  end
@@ -2,7 +2,7 @@ module Lockdown #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 3
5
- TINY = 10
5
+ TINY = 11
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/website/index.txt CHANGED
@@ -2,7 +2,7 @@ h1. lockdown
2
2
 
3
3
  h1. → 'lockdown'
4
4
 
5
- h3. Lockdown has not been officially released! This page is a Work-In-Progress. The first version will be released by May 1st.
5
+ h3. Lockdown has not been officially released! This page is a Work-In-Progress.
6
6
 
7
7
  h2. What
8
8
 
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.10
4
+ version: 0.3.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Stone