determinator 1.1.2 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fd852966a9351ecb27cf0b4d6553686e995d291e
4
- data.tar.gz: 48f7d48e91deb7f5dcb142ebdf764cf68ee949b7
3
+ metadata.gz: d219da75a8bee8e9cd53595730a49efb4749ed05
4
+ data.tar.gz: 92bdf5062b3f2d5a0c572fbc708a9d58d95f9ff4
5
5
  SHA512:
6
- metadata.gz: f3c92e42762d687546e4f48869786f0e85484b39780acf49429bc05b8bd7e881266eab8fe8db5b703321ca65615ce723ef2225daf8286f5063846cf6b728d185
7
- data.tar.gz: cda308dc0f3b656d221827c66877ea62f0b2729453472b7178a63b692a28af705eea589e07e122f6bd53b2ab3f51e5a44b59390c2947c4de1d43cf9e4ef7a970
6
+ metadata.gz: 9aa1117cfb1ae48053aa212e945563a8aeca91067db81b51b3e006cbabcbcd59dc29c42b59f4b3cdbc26a47fa45851a7a8b961c55e3176fd6563c8c72473790d
7
+ data.tar.gz: a61246f9e1bea5e7907b098bc594945dd83f3f93ec332a7308ca45b4d0e771a17cd2466e3ec2f03f0ecf4d4987cc54f96a1eb3001327a8e67f15ca8946c8c208
@@ -1,4 +1,9 @@
1
- # v1.1.1 (2018-03-07)
1
+ # v1.2.0 (2018-06-12)
2
+
3
+ Feature:
4
+ - Adds to how `single` bucketed features operate. Now rollouts imply random determination, though 0% rollouts and 100% rollouts remain representing no-one and everyone respectively, ensuring that this change is backward compatible. (#52)
5
+
6
+ # v1.1.2 (2018-03-07)
2
7
 
3
8
  Bug fix:
4
9
  - Ensures that `Determiantor::Retrievve::File` tolerates feature names that quack `#to_s`. (#50)
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # Determinator
2
2
 
3
- A gem that works with _Florence_ to deterministically calculate whether an **actor** should have a feature flag turned on or off, or which variant they should see in an experiment.
3
+ A gem that works with Florence to deterministically calculate whether an **actor** should have a feature flag turned on or off, or which variant they should see in an experiment. Florence's UI is currently hosted within [actor-tracking](https://github.com/deliveroo/actor-tracking).
4
+
5
+ You can make changes to your feature flags and experiments within Florence. If you work at Deliveroo you can find Florence UI at: https://actor-tracking.deliveroo.net/florence
4
6
 
5
7
  ![Arnold Schwarzenegger might say "Come with me if you want to experiment" if he played The Determinator instead of The Terminator.](docs/img/determinator.jpg)
6
8
 
@@ -1,6 +1,6 @@
1
1
  # Terminology & Background
2
2
 
3
- **Florence** is a suite of tools which help run experiments and feature flags (_collectively called **features**_), **Determinator** is the client-side component which implements the algorithm for figuring out what to show to whom.
3
+ **Florence** is a suite of tools which help run experiments and feature flags (_collectively called **features**_), **Determinator** is the client-side component which implements the algorithm for figuring out what to show to whom. The server-side component can be found in [actor-tracking](https://github.com/deliveroo/actor-tracking).
4
4
 
5
5
  **Feature flags** are used as a way to switch on and off functionality for specific actors across an entire ecosystem, where an **actor** might be a customer, a rider, or any identifiable agent using those systems.
6
6
 
@@ -135,7 +135,7 @@ module Determinator
135
135
 
136
136
  raise ArgumentError, 'An ID or GUID must always be given for Fallback bucketed features'
137
137
  when :single
138
- 'all'
138
+ SecureRandom.hex(64)
139
139
  else
140
140
  Determinator.notice_error "Cannot process the '#{feature.bucket_type}' bucket type found in #{feature.name}"
141
141
  end
@@ -1,3 +1,3 @@
1
1
  module Determinator
2
- VERSION = '1.1.2'
2
+ VERSION = '1.2.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: determinator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Hastings-Spital
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-03-07 00:00:00.000000000 Z
11
+ date: 2018-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: routemaster-drain