debug_logging 1.0.4 → 1.0.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 89562d2a89d0557af4167d7e841249dde4d5746c
4
- data.tar.gz: 25d727905d37ef09e9b395a9cc25197d087231a8
3
+ metadata.gz: 6ede316640d9f7b8eab7f37ab76a16edaaf3d9ea
4
+ data.tar.gz: 4b4c216a9bbf656dc70b24d4e5bfad0bc2cbb96e
5
5
  SHA512:
6
- metadata.gz: 3763c0fbd62d426dc031aa6b3a29ba9a6812387570a0ac3f3ce619cb658244d5bfee08545508458c35b2b26d5032d817370d739ddc2f7358f783d114981fcafc
7
- data.tar.gz: 0c19c2632702184658565f33a5af035edc796967d0d920c1a86cf36fad8de18787029b7bbc489275bf91ab3651bca93a795c224e9140d1537c1084508681d09b
6
+ metadata.gz: efb479b4bf74985818e13a891495a092aba9a24e999227a5848cd4ed47f603b12fea49342c5c290f36ef1fc0e6fc48c2e328c11b37dfce02eea56d608c8ada86
7
+ data.tar.gz: eb6de008c1f9f55e868281c6772e73bdd7a65ecf3ee95b31702b2260acc9c48651a13ec6ac8c70ddbb02fa358162b6b7db90e647bfdee50f41ca6607af97e042
data/.byebug_history CHANGED
@@ -1,4 +1,7 @@
1
1
  exit
2
+ config_proxy
3
+ config
4
+ exit
2
5
  @debug_logging_configuration
3
6
  debug_logging_configuration
4
7
  debug_class_benchmarks
@@ -5,7 +5,7 @@ module DebugLogging
5
5
  Array(methods_to_log).each do |method_to_log|
6
6
  # method name must be a symbol
7
7
  define_method(method_to_log.to_sym) do |*args, &block|
8
- config_proxy = if config_proxy.is_a?(Hash)
8
+ config_proxy = if config
9
9
  Configuration.new(**(self.class.debug_config.to_hash.merge(config)))
10
10
  else
11
11
  self.class
@@ -1,3 +1,3 @@
1
1
  module DebugLogging
2
- VERSION = "1.0.4"
2
+ VERSION = "1.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: debug_logging
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling