rack-app-front_end 0.7.0 → 0.8.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/front_end.rb +6 -0
- data/rack-app-front_end.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e65f34ac32fa4ce45fb3a47be3cbfb2ef6795f09
|
4
|
+
data.tar.gz: be1a81641ce17c04aa0d6b17677ad5acf7077ffd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 980821cc5ab20494f9f00965687f835c2e62dd9fe0704de10030fe2d9e26ef9644f94af0b047b4958bbce89a0e11f0450fdea2f8e99d3c2e703f22bdbad0d719
|
7
|
+
data.tar.gz: 66309fab9b2573215f60d9899fa6cccff533854c5886096fe9cf64144ba7a81b08c7882b0a6c20f5889c748eb57e05020dd072ad17b0126695237a03bba1a2c3
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.8.0
|
data/lib/rack/app/front_end.rb
CHANGED
@@ -17,8 +17,14 @@ module Rack::App::FrontEnd
|
|
17
17
|
|
18
18
|
[:extended, :included].each do |method|
|
19
19
|
define_method(method) do |klass|
|
20
|
+
|
20
21
|
klass.__send__(:include, self::InstanceMethods)
|
21
22
|
klass.__send__(:extend, self::SingletonMethods)
|
23
|
+
|
24
|
+
klass.on_inheritance do |parent, child|
|
25
|
+
child.layout(parent.layout)
|
26
|
+
end
|
27
|
+
|
22
28
|
end
|
23
29
|
end
|
24
30
|
|
data/rack-app-front_end.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack-app-front_end
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Luzsi
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: 1.2.1
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 1.2.1
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: tilt
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|