rack-app 5.3.2 → 5.4.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: 75d771d3e7874808cfdaeeea7d4f2a4b173f75cd
4
- data.tar.gz: 42d209dfc6c8fafdf6b69e68fdaf3e736e2e18f5
3
+ metadata.gz: 6dd2f46b2f007bef6e687579c333ebad1d77ac65
4
+ data.tar.gz: 0a216bf4a522cd5b6ed17385a09137101812e1e4
5
5
  SHA512:
6
- metadata.gz: b4bb51aa0b67b4322136672085a058004f8ac9a2c36ba2bfb332996ada02de5c5ea62b36b61f2434bc8f6a60708e9efeb79aaba46567de83fcc37f44ab136e77
7
- data.tar.gz: 39e5569083207ebf6007ac940b0ba13093b4be4573f70366130b2522390b336e607e3ea53d8bc325f37713f913c5db6fc09b82e7e8db176542a46f84f55851a5
6
+ metadata.gz: 21e7fa7810f21fd7f0336728633aa7cd18a18525d0bfd458103037ffdac57e0abb1cfc3d50f9e85801efb79b23aed43ee120cb164370f0e74a43f0f1d4b4cc3f
7
+ data.tar.gz: acc7507fa92edeefae60d910ee0be289eb649899dcf088bbff149875640b3b07f26e5679ed5ec7bc969f24394f1087f6f8e1fc6fbf02ce4cdf1b511249864fb4
data/VERSION CHANGED
@@ -1 +1 @@
1
- 5.3.2
1
+ 5.4.0
@@ -11,7 +11,9 @@ module Rack::App::SingletonMethods::Inheritance
11
11
  def inherited(child)
12
12
 
13
13
  child.serializer(&serializer.logic)
14
- child.middlewares.push(*middlewares)
14
+ [:middlewares, :before, :after].each do |type|
15
+ child.__send__(type).push(*__send__(type))
16
+ end
15
17
 
16
18
  on_inheritance.each do |block|
17
19
  block.call(self, child)
@@ -24,4 +26,4 @@ module Rack::App::SingletonMethods::Inheritance
24
26
 
25
27
  end
26
28
 
27
- end
29
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-app
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.3.2
4
+ version: 5.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Luzsi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-09 00:00:00.000000000 Z
11
+ date: 2016-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler