flipper-cloud 0.27.0 → 0.28.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: 4a1a355a899184ffbdea0d81f1816ced283a5fe9d3e36c0aa494bbe4f73c84ba
4
- data.tar.gz: '02945aa2db1e923e223f82b9d908a34b0a407dc7d6678618f19bd86ae0980a31'
3
+ metadata.gz: 6740dd504882aa4b590387fc7b660ee14999ab333efa5a58035cfa2e13fac7c2
4
+ data.tar.gz: 8836019e6ef2f5b1910f0418419971595ca5c9ffd2055381473434f3f1a717ef
5
5
  SHA512:
6
- metadata.gz: 5b2af155c566be595650296da21598cfad8102b603d2df2dd523bf4749149e17b329b3e7ff150fd9a1c9be852aa5fb0e7f363734a73c091bf8371628bd20119a
7
- data.tar.gz: b606a483e3f33b7ee2cb739bcb286a8d07791c04f6fae26dff772e3b2dae17c660c2af5fdf2146b2747c5629c11d02e57bd0e0acd6bcd3d8ead667821090ab40
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,
@@ -1,3 +1,3 @@
1
1
  module Flipper
2
- VERSION = '0.27.0'.freeze
2
+ VERSION = '0.28.0'.freeze
3
3
  end
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.27.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-18 00:00:00.000000000 Z
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.27.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.27.0
26
+ version: 0.28.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: brow
29
29
  requirement: !ruby/object:Gem::Requirement