flipper 1.1.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +7 -1
- data/.github/workflows/examples.yml +7 -1
- data/Changelog.md +1 -647
- data/Gemfile +3 -1
- data/README.md +1 -1
- data/Rakefile +2 -2
- data/exe/flipper +5 -0
- data/flipper.gemspec +5 -1
- data/lib/flipper/adapters/http/client.rb +25 -16
- data/lib/flipper/adapters/strict.rb +11 -8
- data/lib/flipper/cli.rb +240 -0
- data/lib/flipper/cloud/configuration.rb +7 -1
- data/lib/flipper/cloud/middleware.rb +5 -5
- data/lib/flipper/cloud/telemetry/submitter.rb +2 -2
- data/lib/flipper/cloud.rb +1 -1
- data/lib/flipper/engine.rb +32 -17
- data/lib/flipper/instrumentation/log_subscriber.rb +12 -3
- data/lib/flipper/metadata.rb +3 -1
- data/lib/flipper/test_help.rb +36 -0
- data/lib/flipper/version.rb +11 -1
- data/lib/generators/flipper/setup_generator.rb +63 -0
- data/spec/fixtures/environment.rb +1 -0
- data/spec/flipper/adapter_builder_spec.rb +1 -2
- data/spec/flipper/adapters/http/client_spec.rb +61 -0
- data/spec/flipper/adapters/http_spec.rb +92 -75
- data/spec/flipper/adapters/strict_spec.rb +11 -9
- data/spec/flipper/cli_spec.rb +164 -0
- data/spec/flipper/cloud/configuration_spec.rb +9 -2
- data/spec/flipper/cloud/dsl_spec.rb +5 -5
- data/spec/flipper/cloud/middleware_spec.rb +8 -8
- data/spec/flipper/cloud/telemetry/submitter_spec.rb +24 -24
- data/spec/flipper/cloud/telemetry_spec.rb +1 -1
- data/spec/flipper/cloud_spec.rb +4 -4
- data/spec/flipper/engine_spec.rb +76 -11
- data/spec/flipper/instrumentation/log_subscriber_spec.rb +9 -2
- data/spec/flipper_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -0
- data/spec/support/spec_helpers.rb +10 -4
- data/test_rails/generators/flipper/setup_generator_test.rb +64 -0
- data/test_rails/system/test_help_test.rb +46 -0
- metadata +20 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4f95a5fd56395048ef3fa3f0fd4737db8136f2e814dca352dc167c0f421a8a4
|
4
|
+
data.tar.gz: 2e42041673d4ddcf0a01b7ed1d21424dd421e4288595f2982c93101863c6fbc0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70fd697b619ea770334d35b97035184ce3139805fdb3613e0fe950efbfd69898b976524793fe64eabaa9fd0c6a4374eac35c78ef014e39f4fce8313cbd599f91
|
7
|
+
data.tar.gz: f204a5d8518b120e9299d2bf5b114cf73889784f4bef1f836f7f290964f5cc73a753294668e9e9257ae44800c5784e9ea58f4b0d5265c49f8c056bbf352a550a
|
data/.github/workflows/ci.yml
CHANGED
@@ -27,7 +27,7 @@ jobs:
|
|
27
27
|
--health-retries 5
|
28
28
|
strategy:
|
29
29
|
matrix:
|
30
|
-
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2']
|
30
|
+
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
|
31
31
|
rails: ['5.2', '6.0.0', '6.1.0', '7.0.0', '7.1.0']
|
32
32
|
exclude:
|
33
33
|
- ruby: "2.6"
|
@@ -48,6 +48,12 @@ jobs:
|
|
48
48
|
rails: "6.0.0"
|
49
49
|
- ruby: "3.2"
|
50
50
|
rails: "6.1.0"
|
51
|
+
- ruby: "3.3"
|
52
|
+
rails: "5.2"
|
53
|
+
- ruby: "3.3"
|
54
|
+
rails: "6.0.0"
|
55
|
+
- ruby: "3.3"
|
56
|
+
rails: "6.1.0"
|
51
57
|
env:
|
52
58
|
SQLITE3_VERSION: 1.4.1
|
53
59
|
REDIS_URL: redis://localhost:6379/0
|
@@ -16,7 +16,7 @@ jobs:
|
|
16
16
|
--health-retries 5
|
17
17
|
strategy:
|
18
18
|
matrix:
|
19
|
-
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2']
|
19
|
+
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
|
20
20
|
rails: ['5.2', '6.0.0', '6.1.0', '7.0.0', '7.1.0']
|
21
21
|
exclude:
|
22
22
|
- ruby: "2.6"
|
@@ -37,6 +37,12 @@ jobs:
|
|
37
37
|
rails: "6.0.0"
|
38
38
|
- ruby: "3.2"
|
39
39
|
rails: "6.1.0"
|
40
|
+
- ruby: "3.3"
|
41
|
+
rails: "5.2"
|
42
|
+
- ruby: "3.3"
|
43
|
+
rails: "6.0.0"
|
44
|
+
- ruby: "3.3"
|
45
|
+
rails: "6.1.0"
|
40
46
|
env:
|
41
47
|
SQLITE3_VERSION: 1.4.1
|
42
48
|
REDIS_URL: redis://localhost:6379/0
|