rack-app-front_end 0.18.0 → 0.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +6 -0
- data/README.md +1 -2
- data/VERSION +1 -1
- data/lib/rack/app/front_end.rb +21 -0
- 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: 1fb632d1377966158485faf82fc05990bf697039
|
4
|
+
data.tar.gz: 35266c8691804698bfd4e24eeb1302d8eded723b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6eb3d13d856bb9ed714ac05beec9e412e5d47b62b05dabe460b6c40fb60639d0ff6337aaeddac19bd8ed40d7ca02e960ee016c17da58a250effefa05ffd9b24a
|
7
|
+
data.tar.gz: d16dd21f15f0231b2183c9973dc0e7f2bb79fc58012f4a529cf9d88416e9a861f9a3475e3187a78d91c2064b49afc1f8a4edf62968aecb07e22991bbd824055d
|
data/.travis.yml
CHANGED
@@ -6,6 +6,7 @@ rvm:
|
|
6
6
|
- 1.9
|
7
7
|
- 2.0
|
8
8
|
- 2.1
|
9
|
+
- jruby-19mode
|
9
10
|
|
10
11
|
- ruby-head
|
11
12
|
- jruby-head
|
@@ -14,6 +15,11 @@ branches:
|
|
14
15
|
only:
|
15
16
|
- master
|
16
17
|
|
18
|
+
matrix:
|
19
|
+
allow_failures:
|
20
|
+
- rvm: ruby-head
|
21
|
+
- rvm: jruby-head
|
22
|
+
|
17
23
|
notifications:
|
18
24
|
email:
|
19
25
|
- adamluzsi@gmail.com
|
data/README.md
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
# Rack::App::FrontEnd [![Build Status](https://travis-ci.org/
|
2
|
-
|
1
|
+
# Rack::App::FrontEnd [![Build Status](https://travis-ci.org/rack-app/rack-app-front_end.svg?branch=master)](https://travis-ci.org/rack-app/rack-app-front_end)
|
3
2
|
This is an extend module for Rack::App to have FrontEnd framework extensions for the core app class
|
4
3
|
|
5
4
|
## Installation
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.19.0
|
data/lib/rack/app/front_end.rb
CHANGED
@@ -36,4 +36,25 @@ module Rack::App::FrontEnd
|
|
36
36
|
|
37
37
|
end
|
38
38
|
|
39
|
+
if Rack::App::VERSION >= '3.0.0'
|
40
|
+
|
41
|
+
Rack::App::Extension.register :front_end do
|
42
|
+
|
43
|
+
include Rack::App::FrontEnd::EndpointMethods
|
44
|
+
extend Rack::App::FrontEnd::SingletonMethods
|
45
|
+
|
46
|
+
on_inheritance do |parent, child|
|
47
|
+
|
48
|
+
child.layout(parent.layout)
|
49
|
+
|
50
|
+
child.helpers do
|
51
|
+
include(parent.helpers)
|
52
|
+
end
|
53
|
+
|
54
|
+
end
|
55
|
+
|
56
|
+
end
|
57
|
+
|
58
|
+
end
|
59
|
+
|
39
60
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Luzsi
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|