dirty_history 0.6.6 → 0.6.7
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/dirty_history.gemspec +1 -1
- data/lib/dirty_history/dirty_history_record.rb +4 -0
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.7
|
data/dirty_history.gemspec
CHANGED
@@ -23,10 +23,14 @@ class DirtyHistoryRecord < ActiveRecord::Base
|
|
23
23
|
order("if(revised_created_at IS NULL OR revised_created_at = '', created_at, revised_created_at) #{asc_or_desc}")
|
24
24
|
}
|
25
25
|
|
26
|
+
|
26
27
|
attr_accessible :object, :object_id, :object_type,
|
27
28
|
:column_name, :column_type, :old_value, :new_value,
|
28
29
|
:creator, :creator_id, :creator_type, :revised_created_at
|
29
30
|
|
31
|
+
attr_accessor :performing_manual_update
|
32
|
+
|
33
|
+
|
30
34
|
[:new_value, :old_value].each do |attribute|
|
31
35
|
define_method "#{attribute}" do
|
32
36
|
val_to_col_type(attribute)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dirty_history
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -2345,7 +2345,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
2345
2345
|
version: '0'
|
2346
2346
|
segments:
|
2347
2347
|
- 0
|
2348
|
-
hash: -
|
2348
|
+
hash: -1194552902652385901
|
2349
2349
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
2350
2350
|
none: false
|
2351
2351
|
requirements:
|