express_templates 0.11.13 → 0.11.14

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: 777b6b9b183caeb311d0c70cac1f01d28926fc26
4
- data.tar.gz: 2a92573b49a5853af5b99f86125998985c65e164
3
+ metadata.gz: 37e0aee40d1e423259f8a277828f5972e8f2fcd5
4
+ data.tar.gz: d0f88711a06abeb927c608db9eb7f5ab4cf5e0e8
5
5
  SHA512:
6
- metadata.gz: acb771f468452735b568bf8ce8aee2541b9e0a8605c70e58263cd9d91c3052008c7ec68255e2cdef081074d5102c8ef9ca83827acae9f6065629e610fcf6dfdb
7
- data.tar.gz: 1c7ea931f212a887c2ffe4a1991ac45f1b3850329eb45948ed247c5864a8160f7b692a428622cf8eee30c75c2a21d47f384c83e9957ebbaa53a784e6c77bc83b
6
+ metadata.gz: dfed066435c02c8b1ea55c232d9066e446dc1edbfd1db8734af9dbe130b618ac3f87f0dc96452fe882ae829960922af25aef4b48827e52c2f2cb181922f60f67
7
+ data.tar.gz: 5f852c84dfebc6710d721a5273f6c2ed5ea69cfd67219b5da87e9d94b3560e4c3b194a8adbaf0ccaaf6716cd0b537b67239789f3935df4686089da2872685628
@@ -3,6 +3,9 @@ module ExpressTemplates
3
3
  end
4
4
  end
5
5
 
6
+ # Abbreviation for your component class definitions
7
+ ET = ExpressTemplates
8
+
6
9
  require 'express_templates/components/base'
7
10
  require 'express_templates/components/configurable'
8
11
  require 'express_templates/components/container'
@@ -10,3 +13,20 @@ require 'express_templates/components/tree_for'
10
13
  require 'express_templates/components/content_for'
11
14
  require 'express_templates/components/forms'
12
15
  require 'express_templates/components/all'
16
+
17
+ module ExpressTemplates
18
+ # Convienence classes for creating components in your app or engine
19
+ class Component < Components::Base
20
+ include Components::Capabilities::Configurable
21
+ include Components::Capabilities::Hideable
22
+ end
23
+
24
+ class Container < Components::Container
25
+ include Components::Capabilities::Hideable
26
+ end
27
+
28
+ class ResourcefulContainer < Container
29
+ include Components::Capabilities::Resourceful
30
+ end
31
+
32
+ end
@@ -1,3 +1,3 @@
1
1
  module ExpressTemplates
2
- VERSION = "0.11.13"
2
+ VERSION = "0.11.14"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: express_templates
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.13
4
+ version: 0.11.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Talcott Smith