zuora_observability 0.1.0.pre.d → 0.1.0.pre.e
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcbd6a64b3460c7d1fb1e0c3421cf3d069b7e262f1917f46626781dc65ed7b9c
|
4
|
+
data.tar.gz: 503c94fd83f0153da289732fd846b217f11cfaef45af2ef45b5446545a258919
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2144fb2fb982c5611e4274eebb6f7eb61f0894205dec5bf43f723a72855dc10aad1243834387d5db4406261c1efe7391f96290a7a0c6b82e8ce3371c2aa241a
|
7
|
+
data.tar.gz: a3d5d771eeb3eb143bb50ab223e5b643c0e6c1573a7a99f022b0dabdbfb1090d961078011ad44e7c7ba9714ecb94ead7ed0a63170df88685d56fd11d6b44bd17
|
@@ -17,8 +17,7 @@ module ZuoraObservability
|
|
17
17
|
end
|
18
18
|
|
19
19
|
def app_name
|
20
|
-
|
21
|
-
ENV['DEIS_APP'].presence || Rails.application.class.parent_name
|
20
|
+
ENV['DEIS_APP'].presence || app_parent_name
|
22
21
|
end
|
23
22
|
|
24
23
|
def pod_name
|
@@ -40,6 +39,16 @@ module ZuoraObservability
|
|
40
39
|
end
|
41
40
|
return p_type
|
42
41
|
end
|
42
|
+
|
43
|
+
private
|
44
|
+
|
45
|
+
def app_parent_name
|
46
|
+
if Rails::VERSION::MAJOR >= 6 && Rails::VERSION::MINOR >= 1
|
47
|
+
Rails.application.class.module_parent_name
|
48
|
+
else
|
49
|
+
Rails.application.class.parent_name
|
50
|
+
end
|
51
|
+
end
|
43
52
|
end
|
44
53
|
end
|
45
54
|
end
|
@@ -37,13 +37,6 @@ module ZuoraObservability
|
|
37
37
|
items.merge!({ headers: filtered_headers })
|
38
38
|
end
|
39
39
|
|
40
|
-
if Thread.current[:appinstance].present?
|
41
|
-
items.merge!({connect_user: Thread.current[:appinstance].connect_user, new_session: Thread.current[:appinstance].new_session_message})
|
42
|
-
if Thread.current[:appinstance].logitems.present? && Thread.current[:appinstance].logitems.class == Hash
|
43
|
-
items.merge!(Thread.current[:appinstance].logitems)
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
40
|
items
|
48
41
|
end
|
49
42
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zuora_observability
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.pre.
|
4
|
+
version: 0.1.0.pre.e
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hartley McGuire
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lograge
|
@@ -140,16 +140,16 @@ dependencies:
|
|
140
140
|
name: rubocop
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - "
|
143
|
+
- - ">="
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '
|
145
|
+
version: '0'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - "
|
150
|
+
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '
|
152
|
+
version: '0'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: rubocop-rails
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -168,16 +168,16 @@ dependencies:
|
|
168
168
|
name: rubocop-rspec
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- - "
|
171
|
+
- - ">="
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version:
|
173
|
+
version: '0'
|
174
174
|
type: :development
|
175
175
|
prerelease: false
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
|
-
- - "
|
178
|
+
- - ">="
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version:
|
180
|
+
version: '0'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
182
|
name: simplecov
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|