nay-record_with_operator 0.0.17 → 0.0.18

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.
Files changed (3) hide show
  1. data/README.rdoc +5 -0
  2. data/Rakefile +1 -1
  3. metadata +1 -1
@@ -60,5 +60,10 @@ For example, you can write the code under config/initializers.
60
60
 
61
61
  RecordWithOperator.config[:user_class_name] = "AdminUser"
62
62
 
63
+ It's also possible to modify options for creator/updater/deleter associations.
64
+ For example, in the case you use acts_as_paranoid and want to get creator/updater/deleter even if they are deleted,
65
+ the configuration will be look like this.
66
+
67
+ RecordWithOperator.config[:operator_association_options] = {:with_deleted => true}
63
68
 
64
69
  Copyright (c) 2009 Yasuko Ohba, released under the MIT license
data/Rakefile CHANGED
@@ -12,7 +12,7 @@ DESCRIPTION = "Rails plugin to set created_by, updated_by, deleted_by to ActiveR
12
12
  GITHUB_PROJECT = "record_with_operator"
13
13
  HOMEPAGE = "http://github.com/nay/#{GITHUB_PROJECT}/tree"
14
14
  BIN_FILES = %w( )
15
- VER = "0.0.17"
15
+ VER = "0.0.18"
16
16
  CLEAN.include ['pkg']
17
17
 
18
18
  desc 'Default: run unit tests.'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nay-record_with_operator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yasuko Ohba