lockdown 0.9.0 → 0.9.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/lib/lockdown.rb CHANGED
@@ -3,7 +3,7 @@ require File.join(File.dirname(__FILE__), "lockdown", "helper")
3
3
  module Lockdown
4
4
  extend Lockdown::Helper
5
5
 
6
- VERSION = '0.9.0'
6
+ VERSION = '0.9.1'
7
7
 
8
8
  # Returns the version string for the library.
9
9
  def self.version
@@ -14,18 +14,15 @@ Lockdown::System.configure do
14
14
  # When current_user_id returns nil, this is the value to use
15
15
  # options[:default_who_did_it] = 1
16
16
  #
17
+ # Lockdown version < 0.9.0 set this to:
18
+ # options[:default_who_did_it] = Profile::System
19
+ #
17
20
  # Should probably be something like:
18
21
  # options[:default_who_did_it] = User::SystemId
19
22
  #
20
23
  # Set timeout to 1 hour:
21
24
  # options[:session_timeout] = (60 * 60)
22
25
  #
23
- # Set default_creator_id. This is the value assigned to created_by and/or
24
- # updated_by when no one is logged in. Think of it as the system id.
25
- #
26
- # Lockdown version < 0.9.0 set this to:
27
- # options[:default_creator_id] = Profile::System
28
- #
29
26
  # Call method when timeout occurs (method must be callable by controller):
30
27
  # options[:session_timeout_method] = :clear_session_values
31
28
  #
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.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Stone