sequel-audit_by_day 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -18,6 +18,7 @@ module Sequel
|
|
18
18
|
master.instance_eval do
|
19
19
|
@audit_foreign_key = audit_foreign_key
|
20
20
|
@audit_checked_columns = Set.new version_columns
|
21
|
+
@default_valid_from = default_valid_from
|
21
22
|
end
|
22
23
|
end
|
23
24
|
|
@@ -42,7 +43,7 @@ module Sequel
|
|
42
43
|
attrs[:admin_user_id] = nil
|
43
44
|
end
|
44
45
|
audit_for_day.update_attributes attrs.merge({
|
45
|
-
partial_update: true, valid_from:
|
46
|
+
partial_update: true, valid_from: default_valid_from
|
46
47
|
})
|
47
48
|
end
|
48
49
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sequel-audit_by_day
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -59,7 +59,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
59
59
|
version: '0'
|
60
60
|
segments:
|
61
61
|
- 0
|
62
|
-
hash: -
|
62
|
+
hash: -3607155131098875955
|
63
63
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
64
|
none: false
|
65
65
|
requirements:
|
@@ -68,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
68
|
version: '0'
|
69
69
|
segments:
|
70
70
|
- 0
|
71
|
-
hash: -
|
71
|
+
hash: -3607155131098875955
|
72
72
|
requirements: []
|
73
73
|
rubyforge_project:
|
74
74
|
rubygems_version: 1.8.24
|