inspector_gadget 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module InspectorGadget
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -16,11 +16,11 @@ module InspectorGadget
16
16
  define_method(method_with_logging_name) do |*args|
17
17
  args_to_log = args.dup
18
18
  filter_args(method_name, args_to_log)
19
- Rails.logger.info "LDAP LOG: method name: #{method_name}, args: #{args_to_log.inspect}"
19
+ Rails.logger.info "#{self.class.name} LOG: method name: #{method_name}, args: #{args_to_log.inspect}"
20
20
  result = send(method_without_logging_name, *args)
21
21
  result_to_log = result.dup rescue result
22
22
  filter_result(method_name, result_to_log)
23
- Rails.logger.info "LDAP LOG: method name: #{method_name}, args: #{args_to_log.inspect} returned #{result_to_log.inspect}"
23
+ Rails.logger.info "#{self.class.name} LOG: method name: #{method_name}, args: #{args_to_log.inspect} returned #{result_to_log.inspect}"
24
24
  result
25
25
  end
26
26
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inspector_gadget
3
3
  version: !ruby/object:Gem::Version
4
- hash: 29
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 1
10
- version: 0.0.1
9
+ - 2
10
+ version: 0.0.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - mdobrota@tribune.com