mongoid-audit_log 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +9 -9
- data/lib/mongoid/audit_log/entry.rb +5 -0
- data/lib/mongoid/audit_log/version.rb +1 -1
- data/spec/mongoid/audit_log/entry_spec.rb +9 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzJiNjE2NmQyNGY1ZDU4ZjUyODVhNjQ1MWQ4NTgyNmRiMTkzZmI5OQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
7
|
-
|
6
|
+
YmFmNzViMDI4NGE5MDY2OGEyODIwNDkwNjNmODRhOTc4N2EzN2YzZA==
|
7
|
+
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YWMxMzM2NGE2YmZlNDc1ZWQzNTAzNjlkMWY0Y2JlNTdmNmFhY2E4MmZmZjYx
|
10
|
+
MmRhMDY0MDE1NDE0ZGY0MjFkNTI5YTNmMWRjZDRhZmM0ZmQ5YjdmNmZkMDQ1
|
11
|
+
YzdiYzA5ZmU4NmRhYTAzNTZhNzA2Yzk5ODEzOWYxNDUxNzQyZTQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGNlNGNlN2Y4ZWE1ZjU2ZWNkOTEyZjhhODUwMmNhNDU4OTQ2YWEwMDAwNzIw
|
14
|
+
NjQ1NWUwMjE1OTg1MTE2ZTAzZTdlMGZiMjhhNTljZmRiOGE1YjcxYjliMWFm
|
15
|
+
ZDBlY2MyZTZiMDAyM2Q2MDEyNGM1YmIwNzE5NmZlMWEwZmVhYjM=
|
@@ -71,6 +71,15 @@ module Mongoid
|
|
71
71
|
end
|
72
72
|
end
|
73
73
|
|
74
|
+
describe '#respond_to?' do
|
75
|
+
let(:entry) { Entry.new(:caches => { 'name' => 'foo', 'other' => nil }) }
|
76
|
+
|
77
|
+
it 'returns true for cached methods it responds to' do
|
78
|
+
entry.respond_to?(:name).should be_true
|
79
|
+
entry.respond_to?(:other).should be_true
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
74
83
|
describe '#method_missing' do
|
75
84
|
let(:entry) { Entry.new(:caches => { 'name' => 'foo', 'other' => nil }) }
|
76
85
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongoid-audit_log
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Crouse
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mongoid
|
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
98
|
version: 1.3.6
|
99
99
|
requirements: []
|
100
100
|
rubyforge_project:
|
101
|
-
rubygems_version: 2.
|
101
|
+
rubygems_version: 2.1.11
|
102
102
|
signing_key:
|
103
103
|
specification_version: 4
|
104
104
|
summary: No fancy versioning, undo, redo, etc. Just saves changes to Mongoid models
|