ixtlan-audit 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ixtlan/audit/cuba.rb +4 -1
- metadata +5 -5
data/lib/ixtlan/audit/cuba.rb
CHANGED
@@ -25,6 +25,9 @@ module Ixtlan
|
|
25
25
|
module Audit
|
26
26
|
class Cuba < ::CubaAPI
|
27
27
|
define do
|
28
|
+
on get, 'last' do |number|
|
29
|
+
write Ixtlan::Audit::Audit.all.last
|
30
|
+
end
|
28
31
|
on get, :numder do |number|
|
29
32
|
write Ixtlan::Audit::Audit.get!( number.to_i )
|
30
33
|
end
|
@@ -34,4 +37,4 @@ module Ixtlan
|
|
34
37
|
end
|
35
38
|
end
|
36
39
|
end
|
37
|
-
end
|
40
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ixtlan-audit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 2
|
10
|
+
version: 0.3.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Christian Meier
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-12-
|
18
|
+
date: 2012-12-30 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: slf4r
|
@@ -174,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
174
174
|
requirements: []
|
175
175
|
|
176
176
|
rubyforge_project:
|
177
|
-
rubygems_version: 1.8.
|
177
|
+
rubygems_version: 1.8.15
|
178
178
|
signing_key:
|
179
179
|
specification_version: 3
|
180
180
|
summary: audit the controller actions for the current user
|