protokoll 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/protokoll/counter.rb +1 -1
- data/lib/protokoll/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1bd92af59e7bf7f9676451ea516955f4a210e72
|
4
|
+
data.tar.gz: c5854ddef98c0e4b597e75b6d8c2d024f3d8f4a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ac347160b509ae27eb2e68cdda0cbaadb217886a85faeaaa5a35dba990f0201753dd1bc5bd32394d5718f7db05b2dbf7226762f5edba88635af6769877dc0fa
|
7
|
+
data.tar.gz: 329bec771308fd4cbcf4c10e278e43b1872bbe2d8b3e3d7d8cf9f82814b6800d2c9a01cabd942b9597af0dd346369f0efbdacea91a50bc9aac111badc0a07299
|
data/lib/protokoll/counter.rb
CHANGED
@@ -19,7 +19,7 @@ module Protokoll
|
|
19
19
|
private
|
20
20
|
|
21
21
|
def self.build_attrs(object, options)
|
22
|
-
attrs = {counter_model_name: object.
|
22
|
+
attrs = {counter_model_name: object.model_name.name.underscore}
|
23
23
|
return attrs unless options[:scope_by]
|
24
24
|
|
25
25
|
scope_by = options[:scope_by].respond_to?(:call) ?
|
data/lib/protokoll/version.rb
CHANGED