flipper 0.7.4 → 0.7.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eb7e0477e60c5f1c340196c63488f43844572ad7
4
- data.tar.gz: 314fd6cd7ec6ffeac45087573668a7aae1fc8b9b
3
+ metadata.gz: a196a39494974789034ad6b513ee2f18573909fb
4
+ data.tar.gz: 04f3f2db1fa374a7f00220721e48f31f0362b535
5
5
  SHA512:
6
- metadata.gz: 6effbeab3d09c7e6782ba11344236f4b0b2390c89196d141fa09d944e01dbcce8dae5bb69186874768622834f0b632c20f8927a13137d2c809c6443c1c6d4d07
7
- data.tar.gz: a1903edbfc1278567caf99d67e61fe554b575eaf2be3aa10c0ab6631595ad3f560c10a2ce71283605c28bd55b7ed1a223649872d218462b3c0b37c7b0bec174e
6
+ metadata.gz: fc05f220c23ce4bff918312d62652b6598fe2cab2f0280c300a6508828681dbe84190003cdaf9c2216daa093a4e28c8dd1a7366645a2d62dd6a7aa332751f01a
7
+ data.tar.gz: f0f2642874e663cc1b778ab90d1646f625f8e79cf5bfad016148114599b5f0d1befba6c92f72b0b59febe0d6321c5230a270e4f35b59f215d00ce100bafd4a2d
@@ -1,3 +1,8 @@
1
+ ## 0.7.5
2
+
3
+ * support for rails 5 beta/ rack 2 alpha
4
+ * fix uninitialized constant in rails generators
5
+ * fix adapter test for clear to ensure that feature is not deleted, only gates
1
6
 
2
7
  ## 0.7.4
3
8
 
@@ -198,6 +198,9 @@ shared_examples_for 'a flipper adapter' do
198
198
 
199
199
  it "can clear all the gate values for a feature" do
200
200
  actor_22 = actor_class.new('22')
201
+ subject.add(feature)
202
+ expect(subject.features).to include(feature.key)
203
+
201
204
  expect(subject.enable(feature, boolean_gate, flipper.boolean)).to eq(true)
202
205
  expect(subject.enable(feature, group_gate, flipper.group(:admins))).to eq(true)
203
206
  expect(subject.enable(feature, actor_gate, flipper.actor(actor_22))).to eq(true)
@@ -205,7 +208,7 @@ shared_examples_for 'a flipper adapter' do
205
208
  expect(subject.enable(feature, time_gate, flipper.time(45))).to eq(true)
206
209
 
207
210
  expect(subject.clear(feature)).to eq(true)
208
-
211
+ expect(subject.features).to include(feature.key)
209
212
  expect(subject.get(feature)).to eq({
210
213
  :boolean => nil,
211
214
  :groups => Set.new,
@@ -1,3 +1,3 @@
1
1
  module Flipper
2
- VERSION = "0.7.4"
2
+ VERSION = "0.7.5"
3
3
  end
@@ -5,7 +5,9 @@ require 'flipper/spec/shared_adapter_specs'
5
5
  RSpec.describe Flipper::Adapters::PStore do
6
6
  subject {
7
7
  dir = FlipperRoot.join("tmp").tap { |d| d.mkpath }
8
- described_class.new(dir.join("flipper.pstore"))
8
+ pstore_file = dir.join("flipper.pstore")
9
+ pstore_file.unlink if pstore_file.exist?
10
+ described_class.new(pstore_file)
9
11
  }
10
12
 
11
13
  it_should_behave_like 'a flipper adapter'
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
4
+ version: 0.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Nunemaker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-05 00:00:00.000000000 Z
11
+ date: 2016-02-25 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
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  version: '0'
135
135
  requirements: []
136
136
  rubyforge_project:
137
- rubygems_version: 2.2.2
137
+ rubygems_version: 2.4.5.1
138
138
  signing_key:
139
139
  specification_version: 4
140
140
  summary: Feature flipper for ANYTHING