dirty_history 0.6.4 → 0.6.5
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 +2 -2
- data/lib/dirty_history/dirty_history_record.rb +2 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.5
|
data/dirty_history.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "dirty_history"
|
8
|
-
s.version = "0.6.
|
8
|
+
s.version = "0.6.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Gavin Todes"]
|
12
|
-
s.date = "2012-
|
12
|
+
s.date = "2012-10-11"
|
13
13
|
s.description = "Dirty History is a simple gem that allows you to keep track of changes to specific fields in your Rails models using the ActiveRecord::Dirty module."
|
14
14
|
s.email = "gavin.todes@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -25,7 +25,8 @@ class DirtyHistoryRecord < ActiveRecord::Base
|
|
25
25
|
|
26
26
|
attr_accessible :object, :object_id, :object_type,
|
27
27
|
:column_name, :column_type, :old_value, :new_value,
|
28
|
-
:creator, :creator_id, :creator_type,
|
28
|
+
:creator, :creator_id, :creator_type,
|
29
|
+
:revised_created_at, :performing_manual_update
|
29
30
|
|
30
31
|
[:new_value, :old_value].each do |attribute|
|
31
32
|
define_method "#{attribute}" do
|
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.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-10-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: shoulda
|
@@ -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: -2431802651301732245
|
2349
2349
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
2350
2350
|
none: false
|
2351
2351
|
requirements:
|