flipper 1.1.0 → 1.1.2
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 +18 -0
- data/Changelog.md +304 -283
- data/Gemfile +2 -0
- data/README.md +20 -20
- data/flipper.gemspec +1 -1
- data/lib/flipper/engine.rb +2 -3
- data/lib/flipper/model/active_record.rb +23 -0
- data/lib/flipper/version.rb +1 -1
- data/lib/generators/flipper/templates/update/migrations/01_create_flipper_tables.rb.erb +22 -0
- data/lib/generators/flipper/templates/update/migrations/02_change_flipper_gates_value_to_text.rb.erb +18 -0
- data/lib/generators/flipper/update_generator.rb +35 -0
- data/spec/flipper/model/active_record_spec.rb +61 -0
- data/test_rails/generators/flipper/update_generator_test.rb +96 -0
- data/test_rails/helper.rb +19 -2
- metadata +10 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0045f824274ad425560681d88802488af7e79ec6f67a228f61ec02ab3b90016a
|
4
|
+
data.tar.gz: e8b934abcf93152ea294c4ec1071063084888b13640df3f2aaf34b9d6a5c9cbe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 831624665d1c63d16bf7f724d82622c4838006a9889c30f674f151cab1633961e32689cbf383de2b83cce16c8ff183037959cc06f5a804aa1ab63a93252992ab
|
7
|
+
data.tar.gz: ceb9a261463a6bce77f975317aacb2931d03773926c51186422e8430c0601f428690c4199f50ae1a19892d6f011f404ebe18d30e58c786263cbc2f14728f5727
|
data/.github/workflows/ci.yml
CHANGED
@@ -13,6 +13,18 @@ jobs:
|
|
13
13
|
--health-interval 10s
|
14
14
|
--health-timeout 5s
|
15
15
|
--health-retries 5
|
16
|
+
postgres:
|
17
|
+
image: postgres:13
|
18
|
+
ports:
|
19
|
+
- 5432:5432
|
20
|
+
env:
|
21
|
+
POSTGRES_USER: postgres
|
22
|
+
POSTGRES_PASSWORD: postgres
|
23
|
+
options: >-
|
24
|
+
--health-cmd pg_isready
|
25
|
+
--health-interval 10s
|
26
|
+
--health-timeout 5s
|
27
|
+
--health-retries 5
|
16
28
|
strategy:
|
17
29
|
matrix:
|
18
30
|
ruby: ['2.6', '2.7', '3.0', '3.1', '3.2']
|
@@ -41,7 +53,13 @@ jobs:
|
|
41
53
|
REDIS_URL: redis://localhost:6379/0
|
42
54
|
CI: true
|
43
55
|
RAILS_VERSION: ${{ matrix.rails }}
|
56
|
+
MYSQL_USER: root
|
57
|
+
MYSQL_PASSWORD: root
|
58
|
+
POSTGRES_USER: postgres
|
59
|
+
POSTGRES_PASSWORD: postgres
|
44
60
|
steps:
|
61
|
+
- name: Set up MySQL
|
62
|
+
run: sudo /etc/init.d/mysql start
|
45
63
|
- name: Setup memcached
|
46
64
|
uses: KeisukeYamashita/memcached-actions@v1
|
47
65
|
- name: Start MongoDB
|