activeaudit 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/active_audit/audit.rb +2 -2
- metadata +3 -3
@@ -4,8 +4,8 @@ class ActiveAudit::Audit < ActiveRecord::Base
|
|
4
4
|
validates_presence_of :obj_id, :obj_type, :activity
|
5
5
|
|
6
6
|
if defined?(::Rails)
|
7
|
-
if File.exists?(File.join(Rails.root.to_s,'app','concerns','active_audit','audit_concern.rb'))
|
8
|
-
require File.join(Rails.root.to_s,'app','concerns','active_audit','audit_concern.rb')
|
7
|
+
if File.exists?(File.join(Rails.root.to_s,'app','models','concerns','active_audit','audit_concern.rb'))
|
8
|
+
require File.join(Rails.root.to_s,'app','models','concerns','active_audit','audit_concern.rb')
|
9
9
|
end
|
10
10
|
if defined?(::ActiveAudit::AuditConcern)
|
11
11
|
include ::ActiveAudit::AuditConcern
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activeaudit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
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: 2013-
|
12
|
+
date: 2013-03-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rdoc
|
@@ -157,7 +157,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
157
157
|
version: '0'
|
158
158
|
segments:
|
159
159
|
- 0
|
160
|
-
hash:
|
160
|
+
hash: 3583920372480114366
|
161
161
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
162
162
|
none: false
|
163
163
|
requirements:
|