flipper-cloud 0.27.1 → 0.28.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flipper/cloud/instrumenter.rb +5 -0
- data/lib/flipper/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6740dd504882aa4b590387fc7b660ee14999ab333efa5a58035cfa2e13fac7c2
|
4
|
+
data.tar.gz: 8836019e6ef2f5b1910f0418419971595ca5c9ffd2055381473434f3f1a717ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9eb6b19af132461f7254cc255a53f9210568d5230dbc1c9297f713b2cabcd1df41d4884bba115c556989f37607090066abd737c1f8749e35c4e00844b9381939
|
7
|
+
data.tar.gz: bab9a8aa39e569b0d1702c9cad1551c9f817c0476811ce6fd69b077b68dc1a0d89b9324684e0acba137976daf29e5aa9fdd8093ff04523377f5ad4f7c0681f02
|
@@ -26,10 +26,15 @@ module Flipper
|
|
26
26
|
"feature" => payload[:feature_name].to_s,
|
27
27
|
"result" => payload[:result].to_s,
|
28
28
|
}
|
29
|
+
|
29
30
|
if (thing = payload[:thing])
|
30
31
|
dimensions["flipper_id"] = thing.value.to_s
|
31
32
|
end
|
32
33
|
|
34
|
+
if (actors = payload[:actors])
|
35
|
+
dimensions["flipper_ids"] = actors.map { |actor| actor.value.to_s }
|
36
|
+
end
|
37
|
+
|
33
38
|
event = {
|
34
39
|
type: "enabled",
|
35
40
|
dimensions: dimensions,
|
data/lib/flipper/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flipper-cloud
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.28.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Nunemaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flipper
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.28.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.28.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: brow
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|