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 +4 -4
- data/lib/flipper/cloud.rb +3 -2
- data/lib/flipper/version.rb +1 -1
- data/spec/flipper/cloud/middleware_spec.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da84cb1704e31fac9f950282867da74412c73f1cc7a0a2fdebe1cab70b1caffa
|
4
|
+
data.tar.gz: e356bef8598889a5d8905737d8201da58b1f4d8d607dd48d26a8695ce0558adc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
44
|
-
|
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
|
data/lib/flipper/version.rb
CHANGED
@@ -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
|
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.
|
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-
|
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.
|
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.
|
26
|
+
version: 0.24.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: brow
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|