hatchet 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: da8ec369eb8d1ee5c73383645ae271e7a8dcbebe
4
+ data.tar.gz: 759af45c480c604a4dd042fb9c45f7ae3a5ed91a
5
+ SHA512:
6
+ metadata.gz: b290b169776f3dd0c3a2d4b50309db22e6717704470a352da1079236203be4a257f74968b4ccca563fe69b15c173bde641b00d9e43f573dcb0308d04fb88d167
7
+ data.tar.gz: 558575545e8205a648dc733f66f7544ab9f62c39b5da4165acba613f25e36101cad3bebf8ce0970781f2214e506cf99cc01cc4556c8967c6847d4fe604e38c31
data/RELEASE.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release notes
2
2
 
3
+ ## 0.2.2
4
+
5
+ * Achieved a [4.0 GPA on Code * Climate](https://codeclimate.com/github/gshutler/hatchet)
6
+ and resolved all warnings when running in `-w` mode
7
+
3
8
  ## 0.2.1
4
9
 
5
10
  * Changed the middleware to insert itself before `Rails::Rack::Logger` for
@@ -34,7 +34,7 @@ module Hatchet
34
34
  # with Hatchet.
35
35
  #
36
36
  def self.wrap_rails_logger(app)
37
- initialize_hatchet(Rails.logger)
37
+ initialize_hatchet(app, Rails.logger)
38
38
  replace_rails_loggers(app)
39
39
  end
40
40
 
@@ -88,7 +88,7 @@ module Hatchet
88
88
  Rails.application.assets.logger = assets.logger
89
89
  end
90
90
 
91
- def self.initialize_hatchet(logger)
91
+ def self.initialize_hatchet(app, logger)
92
92
  # Map the level of the logger so Hatchet uses the same.
93
93
  #
94
94
  current_level = logger_level(logger)
@@ -4,6 +4,6 @@ module Hatchet
4
4
 
5
5
  # Public: The version of Hatchet.
6
6
  #
7
- VERSION = '0.2.2'
7
+ VERSION = '0.2.3'
8
8
 
9
9
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hatchet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
5
- prerelease:
4
+ version: 0.2.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Garry Shutler
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-03-28 00:00:00.000000000 Z
11
+ date: 2013-09-01 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: Logging library that provides the ability to add class/module specific
15
14
  filters
@@ -56,33 +55,26 @@ files:
56
55
  - RELEASE.md
57
56
  homepage: http://gshutler.github.com/hatchet/
58
57
  licenses: []
58
+ metadata: {}
59
59
  post_install_message:
60
60
  rdoc_options: []
61
61
  require_paths:
62
62
  - lib
63
63
  required_ruby_version: !ruby/object:Gem::Requirement
64
- none: false
65
64
  requirements:
66
- - - ! '>='
65
+ - - '>='
67
66
  - !ruby/object:Gem::Version
68
67
  version: '0'
69
- segments:
70
- - 0
71
- hash: -3583664298557571275
72
68
  required_rubygems_version: !ruby/object:Gem::Requirement
73
- none: false
74
69
  requirements:
75
- - - ! '>='
70
+ - - '>='
76
71
  - !ruby/object:Gem::Version
77
72
  version: '0'
78
- segments:
79
- - 0
80
- hash: -3583664298557571275
81
73
  requirements: []
82
74
  rubyforge_project:
83
- rubygems_version: 1.8.25
75
+ rubygems_version: 2.0.3
84
76
  signing_key:
85
- specification_version: 3
77
+ specification_version: 4
86
78
  summary: Logging library that provides the ability to add class/module specific filters
87
79
  test_files:
88
80
  - spec/configuration_spec.rb