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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 371221ad1d7739cb75f52cbbebc9b41584966daa
4
- data.tar.gz: 56f2caa8d478d7bd0bf8703bbcb7a41f370baf40
3
+ metadata.gz: a1bd92af59e7bf7f9676451ea516955f4a210e72
4
+ data.tar.gz: c5854ddef98c0e4b597e75b6d8c2d024f3d8f4a0
5
5
  SHA512:
6
- metadata.gz: 495ac927b2a9f5e5ece2854ad642c404f61a6f89720eafd2c2fe817e33b1a538ecd21c25549defd9fbfc0033d36ed19c68d38b76f8d4860e6fc3b395380eeac9
7
- data.tar.gz: ae9cc774cc128cf4d38ea3b0e677190bdddbc83503f36d2f5245591a9e70f355ca5e69d9f84d32619ab7d27abf36b15b495cc92ba13556f6b66cdf8cf8b49bfc
6
+ metadata.gz: 3ac347160b509ae27eb2e68cdda0cbaadb217886a85faeaaa5a35dba990f0201753dd1bc5bd32394d5718f7db05b2dbf7226762f5edba88635af6769877dc0fa
7
+ data.tar.gz: 329bec771308fd4cbcf4c10e278e43b1872bbe2d8b3e3d7d8cf9f82814b6800d2c9a01cabd942b9597af0dd346369f0efbdacea91a50bc9aac111badc0a07299
@@ -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.class.to_s.underscore}
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) ?
@@ -1,3 +1,3 @@
1
1
  module Protokoll
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: protokoll
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Celso Dantas