hatchet 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
data/RELEASE.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release notes
2
2
 
3
+ ## 0.2.1
4
+
5
+ * Changed the middleware to insert itself before `Rails::Rack::Logger` for
6
+ consistent behavior
7
+
3
8
  ## 0.2.0
4
9
 
5
10
  * Added nested diagnostic context and Rack middleware to clear it between
@@ -19,7 +19,7 @@ module Hatchet
19
19
  # diagnostic context clearance between requests.
20
20
  #
21
21
  initializer "hatchet_railtie.insert_middleware" do |app|
22
- app.config.middleware.use Hatchet::Middleware
22
+ app.config.middleware.insert_before(Rails::Rack::Logger, Hatchet::Middleware)
23
23
  end
24
24
 
25
25
  # Wrap the default Rails.logger, Rails.application.assets.logger, and all
@@ -4,6 +4,6 @@ module Hatchet
4
4
 
5
5
  # Public: The version of Hatchet.
6
6
  #
7
- VERSION = '0.2.0'
7
+ VERSION = '0.2.1'
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.2.0
4
+ version: 0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-01-10 00:00:00.000000000 Z
12
+ date: 2013-01-14 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Logging library that provides the ability to add class/module specific
15
15
  filters