flipper-ui 0.11.0.beta3 → 0.11.0.beta4

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: 47a58ebbfa6a7b59e16efd04b45f917e17cdf18c
4
- data.tar.gz: ea30fb9d0a72ff2bd137eb30c98bb31c514edeec
3
+ metadata.gz: 3ebf21d2ca249bdaf1a965b36a2246f398292026
4
+ data.tar.gz: 6046f071b099daf47b3e4a1a8f2c8e6076d21377
5
5
  SHA512:
6
- metadata.gz: 2db90ef5119fcfc67b1d2d1882b0f6da44aab141c487b1ed51d30832ce000b42233a48405d2358ce65b802abfae357bd8a43805387b1ce3e1e2f90055e193484
7
- data.tar.gz: b7f8c1c413abbc1f3e5ad6a0bbbe2fd5f744a4bf748d0978dec2232b31577ca99b74f3c84d8809deaaf08ca3ce5479c1c47ee969b0345438946e3c48362ce4fe
6
+ metadata.gz: b6fbb16ff122653fa570966496c4a8ea41ce1cc1598713471dcf80717d4ed5af5440d3faa9b8fc03d62e711fa15b11d9befef62ff8957edb5f974d63f5c88d6b
7
+ data.tar.gz: e84f69969138bbe6a390fbff19c3d76599fe9fb56bfb30db4d3ad04e06e6d7f269b4faf37c9b0bda194403d7e765455bcc1f7306b181d311a63a42b040e28603
@@ -1,3 +1,3 @@
1
1
  module Flipper
2
- VERSION = '0.11.0.beta3'.freeze
2
+ VERSION = '0.11.0.beta4'.freeze
3
3
  end
@@ -9,11 +9,7 @@ RSpec.describe Flipper::UI::Actions::ActorsGate do
9
9
  end
10
10
  end
11
11
  let(:session) do
12
- if Rack::Protection::AuthenticityToken.respond_to?(:random_token)
13
- { csrf: token }
14
- else
15
- { '_csrf_token' => token }
16
- end
12
+ { :csrf => token, 'csrf' => token, '_csrf_token' => token }
17
13
  end
18
14
 
19
15
  describe 'GET /features/:feature/actors' do
@@ -9,11 +9,7 @@ RSpec.describe Flipper::UI::Actions::BooleanGate do
9
9
  end
10
10
  end
11
11
  let(:session) do
12
- if Rack::Protection::AuthenticityToken.respond_to?(:random_token)
13
- { csrf: token }
14
- else
15
- { '_csrf_token' => token }
16
- end
12
+ { :csrf => token, 'csrf' => token, '_csrf_token' => token }
17
13
  end
18
14
 
19
15
  describe 'POST /features/:feature/boolean' do
@@ -9,11 +9,7 @@ RSpec.describe Flipper::UI::Actions::Feature do
9
9
  end
10
10
  end
11
11
  let(:session) do
12
- if Rack::Protection::AuthenticityToken.respond_to?(:random_token)
13
- { csrf: token }
14
- else
15
- { '_csrf_token' => token }
16
- end
12
+ { :csrf => token, 'csrf' => token, '_csrf_token' => token }
17
13
  end
18
14
 
19
15
  describe 'DELETE /features/:feature' do
@@ -9,11 +9,7 @@ RSpec.describe Flipper::UI::Actions::Features do
9
9
  end
10
10
  end
11
11
  let(:session) do
12
- if Rack::Protection::AuthenticityToken.respond_to?(:random_token)
13
- { csrf: token }
14
- else
15
- { '_csrf_token' => token }
16
- end
12
+ { :csrf => token, 'csrf' => token, '_csrf_token' => token }
17
13
  end
18
14
 
19
15
  describe 'GET /features' do
@@ -9,11 +9,7 @@ RSpec.describe Flipper::UI::Actions::Gate do
9
9
  end
10
10
  end
11
11
  let(:session) do
12
- if Rack::Protection::AuthenticityToken.respond_to?(:random_token)
13
- { csrf: token }
14
- else
15
- { '_csrf_token' => token }
16
- end
12
+ { :csrf => token, 'csrf' => token, '_csrf_token' => token }
17
13
  end
18
14
 
19
15
  describe 'POST /features/:feature/non-existent-gate' do
@@ -10,11 +10,7 @@ RSpec.describe Flipper::UI::Actions::GroupsGate do
10
10
  end
11
11
 
12
12
  let(:session) do
13
- if Rack::Protection::AuthenticityToken.respond_to?(:random_token)
14
- { csrf: token }
15
- else
16
- { '_csrf_token' => token }
17
- end
13
+ { :csrf => token, 'csrf' => token, '_csrf_token' => token }
18
14
  end
19
15
 
20
16
  describe 'GET /features/:feature/groups' do
@@ -9,11 +9,7 @@ RSpec.describe Flipper::UI::Actions::PercentageOfActorsGate do
9
9
  end
10
10
  end
11
11
  let(:session) do
12
- if Rack::Protection::AuthenticityToken.respond_to?(:random_token)
13
- { csrf: token }
14
- else
15
- { '_csrf_token' => token }
16
- end
12
+ { :csrf => token, 'csrf' => token, '_csrf_token' => token }
17
13
  end
18
14
 
19
15
  describe 'POST /features/:feature/percentage_of_actors' do
@@ -9,11 +9,7 @@ RSpec.describe Flipper::UI::Actions::PercentageOfTimeGate do
9
9
  end
10
10
  end
11
11
  let(:session) do
12
- if Rack::Protection::AuthenticityToken.respond_to?(:random_token)
13
- { csrf: token }
14
- else
15
- { '_csrf_token' => token }
16
- end
12
+ { :csrf => token, 'csrf' => token, '_csrf_token' => token }
17
13
  end
18
14
 
19
15
  describe 'POST /features/:feature/percentage_of_time' do
@@ -9,11 +9,7 @@ RSpec.describe Flipper::UI do
9
9
  end
10
10
  end
11
11
  let(:session) do
12
- if Rack::Protection::AuthenticityToken.respond_to?(:random_token)
13
- { csrf: token }
14
- else
15
- { '_csrf_token' => token }
16
- end
12
+ { :csrf => token, 'csrf' => token, '_csrf_token' => token }
17
13
  end
18
14
 
19
15
  describe 'Initializing middleware with flipper instance' do
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flipper-ui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0.beta3
4
+ version: 0.11.0.beta4
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Nunemaker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-10 00:00:00.000000000 Z
11
+ date: 2017-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -56,14 +56,14 @@ dependencies:
56
56
  requirements:
57
57
  - - "~>"
58
58
  - !ruby/object:Gem::Version
59
- version: 0.11.0.beta3
59
+ version: 0.11.0.beta4
60
60
  type: :runtime
61
61
  prerelease: false
62
62
  version_requirements: !ruby/object:Gem::Requirement
63
63
  requirements:
64
64
  - - "~>"
65
65
  - !ruby/object:Gem::Version
66
- version: 0.11.0.beta3
66
+ version: 0.11.0.beta4
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: erubis
69
69
  requirement: !ruby/object:Gem::Requirement