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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/rack/app.rb +3 -3
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fca80f5b9ca4da68fe2507408d9bb142e236d2d1
4
- data.tar.gz: acf8ab44edd28baea4b8f913f0df04ddec39f002
3
+ metadata.gz: 632e1777a182db0bdfc19b0fdd9afcf41d8f6ba7
4
+ data.tar.gz: d6b89d0e7444d94a0b0aff3423de437a7e7d3788
5
5
  SHA512:
6
- metadata.gz: e1d95e2f3444a0dc75d34a09089aba483c93196231da7356c7de7878321d8c180b2c0417484397da790f97ca8396df023c1c5ff84b6d5cd8010ef86ae1ebd4c5
7
- data.tar.gz: 26d7e611e72d96347d522ad5795fa66c67a02bde3a02669662d21a074e30849d96680b7674f3078d11cedb2da874ed8453f83030787dcb0d6fb38d3a84e0a598
6
+ metadata.gz: 8a53d244b2e6fcfbfd32d766b3ce83b06e5c840040775644172d210745aef9c3adf0c38c07ed79fa1ae68b5b275578b017ef14393a1bb5c4b9ff4278568d363c
7
+ data.tar.gz: 32763b6832f209639396916a5ad5f7e7737586db7896d8dfd5f7ee3e2b144d00a0ae845744db8f20f3d8708b9d7b98aaa69f57b8fcc2bfb07dccd88c579b3361
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.0
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-app
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Luzsi