flipper-ui 0.9.2 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flipper/ui.rb +1 -1
- data/lib/flipper/version.rb +1 -1
- data/spec/flipper/ui_spec.rb +6 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aabef423f6faa122ec4e2f00a248fb1af5848d18
|
4
|
+
data.tar.gz: c8a1e382d666f543ca6da83551bbbd8183996e61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3427490678ffa9996e6fafc6f5a2f046dac3010e9b23ada3689b936fd93904f49be69c6e0a851b16696e1f2aeafb6bdb41eaef8ea09efe0385e0fe136197d34e
|
7
|
+
data.tar.gz: 8e75f7e89b4022431a3e8ad4a449df3af39d31ef0068ffb04ac1663748eba7ab0aa0099c4a817cf00f12486b0fd3cbdb1545574381f5ccc797640db33ebbeb53
|
data/lib/flipper/ui.rb
CHANGED
@@ -45,7 +45,7 @@ module Flipper
|
|
45
45
|
builder.use Middleware, flipper
|
46
46
|
builder.run app
|
47
47
|
klass = self
|
48
|
-
builder.define_singleton_method(:inspect) { klass } # pretty rake routes output
|
48
|
+
builder.define_singleton_method(:inspect) { klass.inspect } # pretty rake routes output
|
49
49
|
builder
|
50
50
|
end
|
51
51
|
end
|
data/lib/flipper/version.rb
CHANGED
data/spec/flipper/ui_spec.rb
CHANGED
@@ -48,6 +48,12 @@ RSpec.describe Flipper::UI do
|
|
48
48
|
end
|
49
49
|
end
|
50
50
|
|
51
|
+
describe "Inspecting the built Rack app" do
|
52
|
+
it "returns a String" do
|
53
|
+
expect(build_app(flipper).inspect).to be_a(String)
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
51
57
|
# See https://github.com/jnunemaker/flipper/issues/80
|
52
58
|
it "can route features with names that match static directories" do
|
53
59
|
post "features/refactor-images/actors",
|
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.
|
4
|
+
version: 0.10.0
|
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-
|
11
|
+
date: 2016-11-17 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.
|
59
|
+
version: 0.10.0
|
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.
|
66
|
+
version: 0.10.0
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
name: erubis
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|