rack-app 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rack/app/test.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f354006b28577531d5475264217bc1f94770bc78
|
4
|
+
data.tar.gz: e0d5291b96f6d00be4286771a81b796f85476b62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4d1fefa42b85e8eb4dcd181dacab530dd482674d07f72ed760ab82ea2341e7f68051102e7c8c8d8cc71a0c548de0d979086defc232dd1f535844aa18967b647d
|
7
|
+
data.tar.gz: 4ebfc87b84b62cc0d1cb4b1e32cda171fc5c0b2184ad755afdc982f0423deae75bcb941d54c616146f3780baa5afc6a6c9aaec2baf05da25790273d6624c9a2a
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.8.
|
1
|
+
0.8.2
|
data/lib/rack/app/test.rb
CHANGED
@@ -8,7 +8,7 @@ module Rack::App::Test
|
|
8
8
|
klass.define_singleton_method :rack_app do |rack_app_class=nil, &constructor|
|
9
9
|
|
10
10
|
subject_app = rack_app_class.is_a?(Class) ? rack_app_class : Class.new(Rack::App)
|
11
|
-
subject_app.
|
11
|
+
subject_app.class_eval(&constructor) unless constructor.nil?
|
12
12
|
|
13
13
|
klass.__send__ :define_method, :rack_app do
|
14
14
|
@rack_app = subject_app
|