gitlab-labkit 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/labkit/context.rb +2 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 297e3401bccd4afab4140cd1b99f09cce620cd2320c1fa5b31d7be4b7c3c2da3
|
4
|
+
data.tar.gz: 0452bb061b8a1f202374fd35c918316d5c9c69d076374a51c9ffbc30345a4ed6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aa99523ff13de432b362f5f81294c7187b70d0b7225efa945cd1e1d8662ebe271319ea5dffd90d6a0b21d3518adb521cfc25f71eef5fb3e909e6ec88206de172
|
7
|
+
data.tar.gz: 2f8c528142133bb7d2569c1acecd74b58083cc383ffa65bc2acb6defc0f153d8e9516a04be0f6097a12ef01728b27f464b32a325d9f2a9faa70fdfc26f571cb7
|
data/lib/labkit/context.rb
CHANGED
@@ -21,7 +21,8 @@ module Labkit
|
|
21
21
|
LOG_KEY = "meta"
|
22
22
|
CORRELATION_ID_KEY = "correlation_id"
|
23
23
|
RAW_KEYS = [CORRELATION_ID_KEY].freeze
|
24
|
-
KNOWN_KEYS = %w[user project root_namespace subscription_plan caller_id
|
24
|
+
KNOWN_KEYS = %w[user project root_namespace subscription_plan caller_id
|
25
|
+
related_class].freeze
|
25
26
|
|
26
27
|
class << self
|
27
28
|
def with_context(attributes = {})
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gitlab-labkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Newdigate
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionpack
|