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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35dd901d76e7f1ef0ae63b36e5d94e5e4abe1cb4
4
- data.tar.gz: ec0e189613fda7c97d12466e232250e24d3e3d15
3
+ metadata.gz: 1fb632d1377966158485faf82fc05990bf697039
4
+ data.tar.gz: 35266c8691804698bfd4e24eeb1302d8eded723b
5
5
  SHA512:
6
- metadata.gz: a1781b849760ac47a34528e94eefef325332863d30faa4531f13d8782ce87c0f135f66d09bf9ead0de06f14d8ba68696dd67c152baa3f6bfafe5cc05e15390b9
7
- data.tar.gz: 5d369c0b0d462ed7c915540a338ddcea577e652026d54cc5d3b6add0400edc25172243b3137b16fa1c798762b8742ce387d0fd9a0d7722664e8ff79cd0ec774e
6
+ metadata.gz: 6eb3d13d856bb9ed714ac05beec9e412e5d47b62b05dabe460b6c40fb60639d0ff6337aaeddac19bd8ed40d7ca02e960ee016c17da58a250effefa05ffd9b24a
7
+ data.tar.gz: d16dd21f15f0231b2183c9973dc0e7f2bb79fc58012f4a529cf9d88416e9a861f9a3475e3187a78d91c2064b49afc1f8a4edf62968aecb07e22991bbd824055d
@@ -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/adamluzsi/rack-app-front_end.rb.svg?branch=master)](https://travis-ci.org/adamluzsi/rack-app-front_end.rb)
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.18.0
1
+ 0.19.0
@@ -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.18.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-03-05 00:00:00.000000000 Z
11
+ date: 2016-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler