mn_utils_gem 1.8.0 → 1.9.0

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: ad2f7397f4cf0a20fd6a4a2ab3a02827bc336ff19f84389b0418c3bf6e5c0475
4
- data.tar.gz: 705a9af48e033b191bb1b3122f96a34cd730de35255f396d85a3ec6a390f0217
3
+ metadata.gz: ff9559b71c211fca5e4e77ffd822962f3b0116769b28fa733ad773379ccd8cb4
4
+ data.tar.gz: 320245dda3483b9eda05b20c01a40ee1ff6f4e7f4f51e06ca9bac6a6a3d83828
5
5
  SHA512:
6
- metadata.gz: 6371fe07495e1581482c2c3f52c29ea3134b958c1301d39ee842a203d8be32b24ff150b83f5ab9adfff49023723744947d4b3950622ebaa4dce4a4b28d74189b
7
- data.tar.gz: 00512bf9b87dfb58b928b53a84fdca92ce5607b33044335d23e3eabe8888f6c8af9c28c9c1aa39178e619887bb9fe707f3122d27aa82dffc9f1f280d3a22a6e7
6
+ metadata.gz: a1bd7857d15d245f8e02b4c3ebb42ae21a08d9c9db868313c0bb83b8ca0845b1fee7ca53efbae7b010061bc37bbb9151cc6d108fbe1392f0450181f6ac3b5ffc
7
+ data.tar.gz: 393968a8b0e8ab19fb3376fd9414d710d201bf219d462b4db633a4ef06a040e962f07df8845d984b0dcbf45a193e54b15204b5a5b524fc8337c857156366a32f
@@ -170,7 +170,7 @@ module MnUtilsLogging
170
170
  # add other data to the payload if available
171
171
  full_payload[:_srv_code] = ENV['SRV_CODE'] if ENV.key? 'SRV_CODE'
172
172
  full_payload[:_site_hostname] = ENV['SITE_HOSTNAME'] if ENV.key? 'SITE_HOSTNAME'
173
- full_payload[:_request_id] = RequestStore.store[:request_id] if RequestStore.store[:request_id]
173
+ full_payload[:_request_id] ||= RequestStore.store[:request_id] if RequestStore.store[:request_id]
174
174
  full_payload[:_remote_ip] = RequestStore.store[:remote_ip] if RequestStore.store[:remote_ip]
175
175
 
176
176
  # send it off
@@ -1,3 +1,3 @@
1
1
  module MnUtilsGem
2
- VERSION = "1.8.0"
2
+ VERSION = "1.9.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mn_utils_gem
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shamim Mirzai