rack-app 1.3.0 → 1.4.0
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.rb +3 -3
- 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: 632e1777a182db0bdfc19b0fdd9afcf41d8f6ba7
|
4
|
+
data.tar.gz: d6b89d0e7444d94a0b0aff3423de437a7e7d3788
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a53d244b2e6fcfbfd32d766b3ce83b06e5c840040775644172d210745aef9c3adf0c38c07ed79fa1ae68b5b275578b017ef14393a1bb5c4b9ff4278568d363c
|
7
|
+
data.tar.gz: 32763b6832f209639396916a5ad5f7e7737586db7896d8dfd5f7ee3e2b144d00a0ae845744db8f20f3d8708b9d7b98aaa69f57b8fcc2bfb07dccd88c579b3361
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.4.0
|
data/lib/rack/app.rb
CHANGED
@@ -197,13 +197,13 @@ class Rack::App
|
|
197
197
|
raise(ArgumentError, 'Invalid class given for mount, must be a Rack::App')
|
198
198
|
end
|
199
199
|
|
200
|
-
merge_prop = {:namespaces => [@namespaces, mount_prop[:to]].flatten}
|
201
|
-
router.merge_router!(api_class.router, merge_prop)
|
202
|
-
|
203
200
|
api_class.on_mounted.each do |on_mount|
|
204
201
|
on_mount.call(self, mount_prop)
|
205
202
|
end
|
206
203
|
|
204
|
+
merge_prop = {:namespaces => [@namespaces, mount_prop[:to]].flatten}
|
205
|
+
router.merge_router!(api_class.router, merge_prop)
|
206
|
+
|
207
207
|
return nil
|
208
208
|
end
|
209
209
|
|