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 +4 -4
- data/VERSION +1 -1
- data/lib/rack/app/singleton_methods/inheritance.rb +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6dd2f46b2f007bef6e687579c333ebad1d77ac65
|
4
|
+
data.tar.gz: 0a216bf4a522cd5b6ed17385a09137101812e1e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 21e7fa7810f21fd7f0336728633aa7cd18a18525d0bfd458103037ffdac57e0abb1cfc3d50f9e85801efb79b23aed43ee120cb164370f0e74a43f0f1d4b4cc3f
|
7
|
+
data.tar.gz: acc7507fa92edeefae60d910ee0be289eb649899dcf088bbff149875640b3b07f26e5679ed5ec7bc969f24394f1087f6f8e1fc6fbf02ce4cdf1b511249864fb4
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
5.
|
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
|
-
|
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.
|
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-
|
11
|
+
date: 2016-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|