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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 45f1990bf36f30c757d4ac3624c3807cfaf38fc5
4
- data.tar.gz: dbc9ad3ae6148944440c71fcbeab8f6a9fc16564
3
+ metadata.gz: aabef423f6faa122ec4e2f00a248fb1af5848d18
4
+ data.tar.gz: c8a1e382d666f543ca6da83551bbbd8183996e61
5
5
  SHA512:
6
- metadata.gz: eb661b83d7071b9f038554a6e48a7f595c241aef211eaf1cbca14bf9127f8102c5a4efe3e04f9b201e3c819ff26c98b56e4d8f016b2215d9f85e09730eedcba3
7
- data.tar.gz: 9793109586cf8620ad6756ed56c63b9857a6444607c20bc3e52da28240ed98de7864d04421d7f01c93a69c112a5fd6c135f0982149078e5482908e2e303bc8c2
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
@@ -1,3 +1,3 @@
1
1
  module Flipper
2
- VERSION = "0.9.2".freeze
2
+ VERSION = "0.10.0".freeze
3
3
  end
@@ -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.9.2
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-08-22 00:00:00.000000000 Z
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.9.2
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.9.2
66
+ version: 0.10.0
67
67
  - !ruby/object:Gem::Dependency
68
68
  name: erubis
69
69
  requirement: !ruby/object:Gem::Requirement