rack-honeycomb 0.0.17 → 0.0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rack-honeycomb/auto_install.rb +6 -0
- data/lib/rack/honeycomb/middleware.rb +6 -0
- data/lib/rack/honeycomb/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8462b0a0923efce44eddd081ebe87f528cbd23cc1bd9086a5401183adbc9ee1
|
4
|
+
data.tar.gz: f35eeb477ade70d60e1e059429041fdbb33ff43b026d8f12b9f997159b096d97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 291f4e3801f073249d29d2076f3eeb45a4bfc73aadf8ccddd3dce290055f032228e6ed490a9b47caf82f25ad234c2ae5dbb986d7f63b2a2cee64eadae3e2e333
|
7
|
+
data.tar.gz: da0269e7f6577d88e86562c445161b0e88ad47b9d018ea4944e1b5c9b17334cbbb1c743d9c6d588945c9ed88bb7f599c0732ac021b875f853479881ebe21be6c
|
@@ -43,6 +43,12 @@ module Rack
|
|
43
43
|
end
|
44
44
|
build_without_honeycomb(*args, &block)
|
45
45
|
end
|
46
|
+
|
47
|
+
::Sinatra::Base.include(Module.new do
|
48
|
+
def add_honeycomb_field(field, value)
|
49
|
+
::Rack::Honeycomb.add_field(env, field, value)
|
50
|
+
end
|
51
|
+
end)
|
46
52
|
end
|
47
53
|
|
48
54
|
attr_accessor :already_added
|