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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 64069873689f98f1fa630942108a16897e74f1cbf710acd87a7767f044c95fbf
4
- data.tar.gz: e4dc8edbd3ad2411e81e234b74c66145267c6e1d71a9f60fc259cc93b4bc98d0
3
+ metadata.gz: 6740dd504882aa4b590387fc7b660ee14999ab333efa5a58035cfa2e13fac7c2
4
+ data.tar.gz: 8836019e6ef2f5b1910f0418419971595ca5c9ffd2055381473434f3f1a717ef
5
5
  SHA512:
6
- metadata.gz: a10453a78250f9ccc05036aa489f1654fc027ae3852387e4c6e8bb921039ef7f4f73e13562b6f94044cd833fe57520b0fa0daf4579ca150254e8149cd989e530
7
- data.tar.gz: 294fe440f30f778ff01837d85c1f3de9ba63bbc45dc86c6b7721f2ecab72f040e3b5550b191c3d6da01c778f92c3f0f750bdb8f62272d0c9bae18d8a283f1a2c
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.1'.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.1
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-20 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.1
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.1
26
+ version: 0.28.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: brow
29
29
  requirement: !ruby/object:Gem::Requirement