honeycomb-rails 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a7cb5db4cd8ae4478d1cda742c05abc52cf47123c1990c5e41e398bd2db74a15
4
- data.tar.gz: bc5beac5c64c75d6755a839717b9ac3a9e33a5b42c6fac948f4d4d15afd6910c
3
+ metadata.gz: 0a2b71f4dd7faf9e77bb9c81f3ff4accefb56ff90b80f6aec3146968e9cb4aae
4
+ data.tar.gz: 0d41717e62b0c6a2f0ec8095e19e4e4380d72ea73f05a95a8e16c02a9db872d1
5
5
  SHA512:
6
- metadata.gz: afc18e55a4563f1d8740f1cc7b328767ac6162ec7f95ce94eb745025f7c5e44856fef1bf1a75f448b88906d71c00dcc41a5376176113e2d719fd1cf2928744a4
7
- data.tar.gz: d24b041b9aa4123cb0f4ab7fceb60594467aec3b576f332466986d0773cd6c2594b4912dd06506c48d3df31e2ca195fc0376dfe569f2061c7b119accff4a94f2
6
+ metadata.gz: 749e9fdfe9b1c29368e03a4758e71aa1add18def3cf9b9147fd1a77fd81b065e7bd9e4bd16bfc053b6252c668b7aba678a2df26f706fa63e2491e869977cbc3e
7
+ data.tar.gz: 4f232b225976ff82f71d93a866cefef47c31bb72244a7e6f06f56e756aca8045f27d1c89b6af76a2e7afd151d7986f514acc7d452c9aaafd9283995b1727776e
@@ -27,7 +27,7 @@ module HoneycombRails
27
27
  :status, :db_runtime, :view_runtime,
28
28
  :exception, :exception_object)
29
29
 
30
- if request_id = event.payload[:headers][:'action_dispatch.request_id']
30
+ if event.payload.key?(:headers) && request_id = event.payload[:headers][:'action_dispatch.request_id']
31
31
  data[:request_id] = request_id
32
32
  end
33
33
 
@@ -1,7 +1,7 @@
1
1
  module HoneycombRails
2
2
  GEM_NAME = 'honeycomb-rails'
3
3
 
4
- VERSION = '0.7.0'
4
+ VERSION = '0.7.1'
5
5
 
6
6
  USER_AGENT_SUFFIX = "#{GEM_NAME}/#{VERSION}".freeze
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: honeycomb-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Stokes