activemodel-logger_attributes 0.1.1 → 0.1.2

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
  SHA256:
3
- metadata.gz: 5b9f828a1aebc9247bda77cd87ef78e5a6c0a98c2bc8979af6ad17ba2a4abf8a
4
- data.tar.gz: 64632f85e2b547c465fae51126797c330477b317424e51ac247a9bc42bb1ad6a
3
+ metadata.gz: 5a371c035fbe445e6f4464ebc8b54ed0e4feca066a1c8c5de45246a5fd7acf17
4
+ data.tar.gz: 3698ece52a170c916b7a12354551cd0d46f6b9cc1797b5372dcd00214b8f97a4
5
5
  SHA512:
6
- metadata.gz: 8786c7f31eb3ba46eb5276d0f58475b989e13e64a0855bbe53eca437b6e8887175f5a87f200e391781159db42033999c9f5a055b504600c41d3cdf36c7835e5b
7
- data.tar.gz: f9adbea86379cea672e94e80fa33f555215336145f805af21181899777d770814df3e964d68678bafd985f3b90cd072f209c53296ea0cc5d9c594b58ab149662
6
+ metadata.gz: 4c9c76af3962fc7df77052572d7bfa080cfe6242a6742312bfd26f5eac04055224b2e674eb8ecd761132755b61c7ec00f2ec1f368311ef5fa224392334c95768
7
+ data.tar.gz: e8da2f5fa98e9ba078c65ac4699fb86344fab2802e0e076663a8cee8fce0781d9812642ad5757250400bf329d3c08a48226630294c4fb363cd8ac98ede2f8ae5
data/README.md CHANGED
@@ -9,7 +9,7 @@ You may be also be interested in the (ActiveRecord version)[https://github.com/c
9
9
  Add this line to your application's Gemfile:
10
10
 
11
11
  ```ruby
12
- gem 'activemodel-logger_attributes', '~> 0.1.1'
12
+ gem 'activemodel-logger_attributes', '~> 0.1.2'
13
13
  ```
14
14
 
15
15
  And then execute:
@@ -15,7 +15,6 @@ module ActiveModel
15
15
  end
16
16
 
17
17
  def setup_logger_attr(attribute, options)
18
- puts "DEFAULTS: #{logger_attr_default_options.ai}"
19
18
  @logger_attributes ||= {}
20
19
  @logger_attributes[attribute] = logger_attr_default_options.merge(options)
21
20
  @logger_attributes[attribute][:logger_name] ||= "#{attribute}_logger"
@@ -1,5 +1,5 @@
1
1
  module ActiveModel
2
2
  module LoggerAttributes
3
- VERSION = '0.1.1'.freeze
3
+ VERSION = '0.1.2'.freeze
4
4
  end
5
5
  end
@@ -0,0 +1 @@
1
+ require 'active_model/logger_attributes'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activemodel-logger_attributes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Bielinski
@@ -109,6 +109,7 @@ files:
109
109
  - lib/active_model/logger_attributes.rb
110
110
  - lib/active_model/logger_attributes/device.rb
111
111
  - lib/active_model/logger_attributes/version.rb
112
+ - lib/activemodel/logger_attributes.rb
112
113
  homepage: https://github.com/chrisb/activemodel-logger_attributes
113
114
  licenses:
114
115
  - MIT