flipper 0.20.3 → 0.20.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +7 -0
- data/README.md +54 -24
- data/docs/images/banner.jpg +0 -0
- data/lib/flipper/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3728bb1232be334741c8b8540533f6ce19c2cb40875272227f767c7355e0c9ee
|
4
|
+
data.tar.gz: fb7d7d027142157814d11df17b457bb939a850a52d9d9b3f2c42e38697ce55cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3ee425699a25053e3b27bc8f7e3c33dc14d7a31c9d1906b3ac026ca2bf7131b7d2c1192744cc296578fd519eefa15556266ba21e8642301f4d2a394ad6b8f5a
|
7
|
+
data.tar.gz: '06382d14225fe2bae3f67a890b82c0742247ca4404ef521ce3c5faeb9d8085004ac92811554ce742b9a99a12a9ab62036000bcb9787b9daea842d4f0cf5b3651'
|
data/Changelog.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## unreleased
|
2
|
+
|
3
|
+
### Additions/Changes
|
4
|
+
|
5
|
+
* Allow actors and time gates to deal with decimal percentages (https://github.com/jnunemaker/flipper/pull/492)
|
6
|
+
* Change Flipper::Cloud::Middleware to receive webhooks at / in addition to /webhooks.
|
7
|
+
|
1
8
|
## 0.20.3
|
2
9
|
|
3
10
|
### Additions/Changes
|
data/README.md
CHANGED
@@ -1,23 +1,10 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
/. . . . '~~ ,-'
|
9
|
-
/. . . . . ,-'
|
10
|
-
; . . . . - . ,'
|
11
|
-
: . . . . _ /
|
12
|
-
. . . . . `-.:
|
13
|
-
. . . ./ - . )
|
14
|
-
. . . | _____..---.._/ _____
|
15
|
-
~---~~~~----~~~~ ~~
|
16
|
-
</pre>
|
17
|
-
|
18
|
-
Feature flipping is the act of enabling or disabling features or parts of your application, ideally without re-deploying or changing anything in your code base.
|
19
|
-
|
20
|
-
The goal of this gem is to make turning features on or off so easy that everyone does it. Whatever your data store, throughput, or experience, feature flipping should be easy and have minimal impact on your application.
|
1
|
+
[![Flipper Mark](docs/images/banner.jpg)](https://www.flippercloud.io)
|
2
|
+
|
3
|
+
# Flipper
|
4
|
+
|
5
|
+
Beautiful, performant feature flags for Ruby.
|
6
|
+
|
7
|
+
Control your software — don't let it control you.
|
21
8
|
|
22
9
|
## Installation
|
23
10
|
|
@@ -33,16 +20,59 @@ Or install it yourself with:
|
|
33
20
|
|
34
21
|
$ gem install flipper
|
35
22
|
|
23
|
+
## Getting Started
|
24
|
+
|
25
|
+
Flipper is built on adapters for maximum flexibility. Regardless of what data store you are using, Flipper can performantly store data in it.
|
26
|
+
|
27
|
+
To get started, pick one of our [supported adapters](docs/Adapters.md#officially-supported) and follow the instructions:
|
28
|
+
|
29
|
+
* [Active Record](docs/active_record/README.md)
|
30
|
+
* [Sequel](docs/sequel/README.md)
|
31
|
+
* [Redis](docs/redis/README.md)
|
32
|
+
* [Mongo](docs/mongo/README.md)
|
33
|
+
* [Moneta](docs/moneta/README.md)
|
34
|
+
* [Rollout](docs/rollout/README.md)
|
35
|
+
|
36
|
+
Or [roll your own](docs/Adapters.md#roll-your-own). We even provide automatic (rspec and minitest) tests for you, so you know you've built your custom adapter correctly.
|
37
|
+
|
38
|
+
Once you've selected an adapter and followed the installation instructions, you should be good to go.
|
39
|
+
|
40
|
+
## Flipper UI
|
41
|
+
|
42
|
+
If you prefer a web UI to an IRB console, you can setup the [Flipper UI](docs/ui/README.md).
|
43
|
+
|
44
|
+
It's simple and pretty.
|
45
|
+
|
46
|
+
![Flipper UI Screenshot](docs/ui/images/feature.png)
|
47
|
+
|
48
|
+
|
49
|
+
|
50
|
+
## Flipper Cloud
|
51
|
+
|
52
|
+
Or, (even better than OSS + UI) use [Flipper Cloud](https://www.flippercloud.io) which comes with:
|
53
|
+
|
54
|
+
* **everything in one place** — no need to bounce around from different application UIs or IRB consoles.
|
55
|
+
* **permissions** — grant access to everyone in your organization or lockdown each project to particular people.
|
56
|
+
* **multiple environments** — production, staging, enterprise, by continent, whatever you need.
|
57
|
+
* **personal environments** — no more rake scripts or manual enable/disable to get your laptop to look like production. Every developer gets a personal environment that inherits from production that they can override as they please ([read more](https://www.johnnunemaker.com/flipper-cloud-environments/)).
|
58
|
+
* **no maintenance** — we'll keep the lights on for you. We also have handy webhooks for keeping your app in sync with Cloud, so **our availability won't affect yours**. All your feature flag reads are local to your app.
|
59
|
+
* **audit history** — every feature change and who made it.
|
60
|
+
* **rollbacks** — enable or disable a feature accidentally? No problem. You can roll back to any point in the audit history with a single click.
|
61
|
+
|
62
|
+
[![Flipper Cloud Screenshot](docs/images/flipper_cloud.png)](https://www.flippercloud.io)
|
63
|
+
|
64
|
+
Cloud is super simple to integrate with Rails ([demo app](https://github.com/fewerandfaster/flipper-rails-demo)), Sinatra or any other framework.
|
65
|
+
|
36
66
|
## Examples
|
37
67
|
|
38
|
-
|
68
|
+
Want to get a quick feel for what it looks like to work with Flipper? Check out the following example or the [examples directory](examples/). You might also want to peek at the [DSL](lib/flipper/dsl.rb) and [Feature](lib/flipper/feature.rb) classes for code/docs.
|
39
69
|
|
40
70
|
```ruby
|
41
71
|
require 'flipper'
|
42
72
|
|
43
73
|
Flipper.configure do |config|
|
44
74
|
config.default do
|
45
|
-
# pick an adapter, this uses memory, any will do
|
75
|
+
# pick an adapter, this uses memory, any will do, see docs above
|
46
76
|
adapter = Flipper::Adapters::Memory.new
|
47
77
|
|
48
78
|
# pass adapter to handy DSL instance
|
@@ -68,10 +98,10 @@ else
|
|
68
98
|
end
|
69
99
|
```
|
70
100
|
|
71
|
-
Of course there are more [examples for you to peruse](examples/). You could also check out the [DSL](lib/flipper/dsl.rb) and [Feature](lib/flipper/feature.rb) classes for code/docs.
|
72
|
-
|
73
101
|
## Docs
|
74
102
|
|
103
|
+
A few miscellaneous docs with more info for the hungry.
|
104
|
+
|
75
105
|
* [Gates](docs/Gates.md) - Boolean, Groups, Actors, % of Actors, and % of Time
|
76
106
|
* [Adapters](docs/Adapters.md) - Mongo, Redis, Cassandra, Active Record...
|
77
107
|
* [Instrumentation](docs/Instrumentation.md) - ActiveSupport::Notifications and Statsd
|
Binary file
|
data/lib/flipper/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flipper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.20.
|
4
|
+
version: 0.20.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Nunemaker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|
@@ -35,6 +35,7 @@ files:
|
|
35
35
|
- docs/Optimization.md
|
36
36
|
- docs/api/README.md
|
37
37
|
- docs/http/README.md
|
38
|
+
- docs/images/banner.jpg
|
38
39
|
- docs/read-only/README.md
|
39
40
|
- examples/basic.rb
|
40
41
|
- examples/configuring_default.rb
|