flipper-cloud 0.24.0 → 0.24.1

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
  SHA256:
3
- metadata.gz: 2f9785229e28e7184b68cafc4a40d4f25243af4f538b45fe06db8865ddc24287
4
- data.tar.gz: afc81309d68ea13ca32d5f1fa802c9ae7b388b157f54276a57df4385205477ac
3
+ metadata.gz: da84cb1704e31fac9f950282867da74412c73f1cc7a0a2fdebe1cab70b1caffa
4
+ data.tar.gz: e356bef8598889a5d8905737d8201da58b1f4d8d607dd48d26a8695ce0558adc
5
5
  SHA512:
6
- metadata.gz: f5e33a87199655dcfbfe6011d47c3b14731947854151657c9011e0553d490c3a63d06321d3caed63737d871520928f31ca1e599e9ff428855340e0bec33f7fa8
7
- data.tar.gz: 0f8c2263b85318a26ac4f287cf2bdaa0c01eb69e05a12cc388502ff8a3b000dee5b0cdfa75ee2a8b42f51525ba91b9aa70bfa6cfcaa65b12c9a03310f25b4236
6
+ metadata.gz: fa9efb9eca7fb3e058ad85cb19ddc405ac445ee2f49f1bcd368976cee7758dda4b3446baaeac4a1f1a110240d625126708fb5e85afe5706fb92a276780662151
7
+ data.tar.gz: 330335221574998e0c76452cb728881e360828fc61ff38057ba6c6d3f20a9e3e1b958452746c1104c1b4f3f40b79ea590073935cc7de918758fb0aef5b26e538
data/lib/flipper/cloud.rb CHANGED
@@ -40,8 +40,9 @@ module Flipper
40
40
  builder.use Flipper::Cloud::Middleware, env_key: env_key
41
41
  builder.run app
42
42
  klass = self
43
- builder.define_singleton_method(:inspect) { klass.inspect } # pretty rake routes output
44
- builder
43
+ app = builder.to_app
44
+ app.define_singleton_method(:inspect) { klass.inspect } # pretty rake routes output
45
+ app
45
46
  end
46
47
 
47
48
  # Private: Configure Flipper to use Cloud by default
@@ -1,3 +1,3 @@
1
1
  module Flipper
2
- VERSION = '0.24.0'.freeze
2
+ VERSION = '0.24.1'.freeze
3
3
  end
@@ -267,7 +267,7 @@ RSpec.describe Flipper::Cloud::Middleware do
267
267
 
268
268
  describe 'Inspecting the built Rack app' do
269
269
  it 'returns a String' do
270
- expect(Flipper::Cloud.app(flipper).inspect).to be_a(String)
270
+ expect(Flipper::Cloud.app(flipper).inspect).to eq("Flipper::Cloud")
271
271
  end
272
272
  end
273
273
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flipper-cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.24.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Nunemaker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-17 00:00:00.000000000 Z
11
+ date: 2022-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flipper
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.24.0
19
+ version: 0.24.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 0.24.0
26
+ version: 0.24.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: brow
29
29
  requirement: !ruby/object:Gem::Requirement