flipper 0.7.3 → 0.7.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 +9 -0
- data/docs/Adapters.md +8 -0
- data/lib/flipper/version.rb +1 -1
- metadata +3 -4
- data/lib/generators/flipper/templates/migration.rb +0 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb7e0477e60c5f1c340196c63488f43844572ad7
|
4
|
+
data.tar.gz: 314fd6cd7ec6ffeac45087573668a7aae1fc8b9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6effbeab3d09c7e6782ba11344236f4b0b2390c89196d141fa09d944e01dbcce8dae5bb69186874768622834f0b632c20f8927a13137d2c809c6443c1c6d4d07
|
7
|
+
data.tar.gz: a1903edbfc1278567caf99d67e61fe554b575eaf2be3aa10c0ab6631595ad3f560c10a2ce71283605c28bd55b7ed1a223649872d218462b3c0b37c7b0bec174e
|
data/Changelog.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
|
2
|
+
## 0.7.4
|
3
|
+
|
4
|
+
* Add missing migration file to gemspec for flipper-active_record
|
5
|
+
|
6
|
+
## 0.7.3
|
7
|
+
|
8
|
+
* Add Flipper ActivRecord adapter
|
9
|
+
|
1
10
|
## 0.7.2
|
2
11
|
|
3
12
|
* Add Flipper::UI.application_breadcrumb_href for setting breadcrumb back to original app from Flipper UI
|
data/docs/Adapters.md
CHANGED
@@ -2,15 +2,23 @@
|
|
2
2
|
|
3
3
|
I plan on supporting the adapters in the flipper repo. Other adapters are welcome, so please let me know if you create one.
|
4
4
|
|
5
|
+
## Officially Supported
|
6
|
+
|
5
7
|
* [memory adapter](https://github.com/jnunemaker/flipper/blob/master/lib/flipper/adapters/memory.rb) – great for tests
|
6
8
|
* [PStore adapter](https://github.com/jnunemaker/flipper/blob/master/lib/flipper/adapters/pstore.rb) – great for when a local file is enough
|
7
9
|
* [Mongo adapter](https://github.com/jnunemaker/flipper/blob/master/docs/mongo)
|
8
10
|
* [Redis adapter](https://github.com/jnunemaker/flipper/blob/master/docs/redis)
|
11
|
+
* [ActiveRecord adapter](https://github.com/jnunemaker/flipper/blob/master/docs/active_record) - Rails 3 and 4.
|
9
12
|
* [Cassanity adapter](https://github.com/jnunemaker/flipper-cassanity)
|
13
|
+
|
14
|
+
## Community Supported
|
15
|
+
|
10
16
|
* [Active Record 4 adapter](https://github.com/bgentry/flipper-activerecord)
|
11
17
|
* [Active Record 3 adapter](https://github.com/blueboxjesse/flipper-activerecord)
|
12
18
|
* [Consul adapter](https://github.com/gdavison/flipper-consul)
|
13
19
|
|
20
|
+
## Roll Your Own
|
21
|
+
|
14
22
|
The basic API for an adapter is this:
|
15
23
|
|
16
24
|
* `features` - Get the set of known features.
|
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.7.
|
4
|
+
version: 0.7.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:
|
11
|
+
date: 2016-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Feature flipper is the act of enabling/disabling features in your application,
|
14
14
|
ideally without re-deploying or changing anything in your code base. Flipper makes
|
@@ -80,7 +80,6 @@ files:
|
|
80
80
|
- lib/flipper/types/percentage_of_actors.rb
|
81
81
|
- lib/flipper/types/percentage_of_time.rb
|
82
82
|
- lib/flipper/version.rb
|
83
|
-
- lib/generators/flipper/templates/migration.rb
|
84
83
|
- spec/flipper/adapters/instrumented_spec.rb
|
85
84
|
- spec/flipper/adapters/memoizable_spec.rb
|
86
85
|
- spec/flipper/adapters/memory_spec.rb
|
@@ -135,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
134
|
version: '0'
|
136
135
|
requirements: []
|
137
136
|
rubyforge_project:
|
138
|
-
rubygems_version: 2.
|
137
|
+
rubygems_version: 2.2.2
|
139
138
|
signing_key:
|
140
139
|
specification_version: 4
|
141
140
|
summary: Feature flipper for ANYTHING
|
@@ -1,22 +0,0 @@
|
|
1
|
-
class CreateFlipperTables < ActiveRecord::Migration
|
2
|
-
def self.up
|
3
|
-
create_table :flipper_features do |t|
|
4
|
-
t.string :key, null: false
|
5
|
-
t.timestamps null: false
|
6
|
-
end
|
7
|
-
add_index :flipper_features, :key, unique: true
|
8
|
-
|
9
|
-
create_table :flipper_gates do |t|
|
10
|
-
t.string :feature_key, null: false
|
11
|
-
t.string :key, null: false
|
12
|
-
t.string :value
|
13
|
-
t.timestamps null: false
|
14
|
-
end
|
15
|
-
add_index :flipper_gates, [:feature_key, :key, :value], unique: true
|
16
|
-
end
|
17
|
-
|
18
|
-
def self.down
|
19
|
-
drop_table :flipper_gates
|
20
|
-
drop_table :flipper_features
|
21
|
-
end
|
22
|
-
end
|