hatchet 0.0.4 → 0.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.
@@ -45,6 +45,10 @@ module Hatchet
45
45
  yield self if block_given?
46
46
 
47
47
  @logger.level = ::Logger::DEBUG
48
+ return unless @logger.instance_of? Logger
49
+
50
+ # Wipe the format of the core Logger. The Rails.logger doesn't have this
51
+ # method for example.
48
52
  @logger.formatter = proc do |severity, datetime, progname, msg|
49
53
  "#{msg}\n"
50
54
  end
@@ -4,6 +4,6 @@ module Hatchet
4
4
 
5
5
  # Public: The version of Hatchet.
6
6
  #
7
- VERSION = "0.0.4"
7
+ VERSION = "0.0.5"
8
8
 
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hatchet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: