templatr 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +34 -0
- data/app/assets/javascripts/templatr/application.js +13 -0
- data/app/assets/stylesheets/templatr/application.css +13 -0
- data/app/controllers/templatr/application_controller.rb +4 -0
- data/app/helpers/templatr/application_helper.rb +4 -0
- data/app/models/templatr/field.rb +168 -0
- data/app/models/templatr/field_group.rb +5 -0
- data/app/models/templatr/field_value.rb +13 -0
- data/app/models/templatr/tag.rb +120 -0
- data/app/models/templatr/tag_field_value.rb +6 -0
- data/app/models/templatr/template.rb +54 -0
- data/app/views/layouts/templatr/application.html.erb +14 -0
- data/config/routes.rb +2 -0
- data/lib/tasks/templatr_tasks.rake +4 -0
- data/lib/templatr/acts_as_templatable.rb +154 -0
- data/lib/templatr/engine.rb +11 -0
- data/lib/templatr/version.rb +3 -0
- data/lib/templatr.rb +4 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config/application.rb +23 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +29 -0
- data/test/dummy/config/environments/production.rb +80 -0
- data/test/dummy/config/environments/test.rb +36 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +12 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/public/404.html +58 -0
- data/test/dummy/public/422.html +58 -0
- data/test/dummy/public/500.html +57 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/templatr_test.rb +7 -0
- data/test/test_helper.rb +15 -0
- metadata +160 -0
metadata
ADDED
@@ -0,0 +1,160 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: templatr
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ryan Wallace
|
8
|
+
- Nicholas Jakobsen
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2014-01-26 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: rails
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
requirements:
|
18
|
+
- - "~>"
|
19
|
+
- !ruby/object:Gem::Version
|
20
|
+
version: '3.2'
|
21
|
+
type: :runtime
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - "~>"
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '3.2'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: pg
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
description: 'Add custom fields to your models. '
|
43
|
+
email:
|
44
|
+
- contact@culturecode.ca
|
45
|
+
executables: []
|
46
|
+
extensions: []
|
47
|
+
extra_rdoc_files: []
|
48
|
+
files:
|
49
|
+
- MIT-LICENSE
|
50
|
+
- README.rdoc
|
51
|
+
- Rakefile
|
52
|
+
- app/assets/javascripts/templatr/application.js
|
53
|
+
- app/assets/stylesheets/templatr/application.css
|
54
|
+
- app/controllers/templatr/application_controller.rb
|
55
|
+
- app/helpers/templatr/application_helper.rb
|
56
|
+
- app/models/templatr/field.rb
|
57
|
+
- app/models/templatr/field_group.rb
|
58
|
+
- app/models/templatr/field_value.rb
|
59
|
+
- app/models/templatr/tag.rb
|
60
|
+
- app/models/templatr/tag_field_value.rb
|
61
|
+
- app/models/templatr/template.rb
|
62
|
+
- app/views/layouts/templatr/application.html.erb
|
63
|
+
- config/routes.rb
|
64
|
+
- lib/tasks/templatr_tasks.rake
|
65
|
+
- lib/templatr.rb
|
66
|
+
- lib/templatr/acts_as_templatable.rb
|
67
|
+
- lib/templatr/engine.rb
|
68
|
+
- lib/templatr/version.rb
|
69
|
+
- test/dummy/README.rdoc
|
70
|
+
- test/dummy/Rakefile
|
71
|
+
- test/dummy/app/assets/javascripts/application.js
|
72
|
+
- test/dummy/app/assets/stylesheets/application.css
|
73
|
+
- test/dummy/app/controllers/application_controller.rb
|
74
|
+
- test/dummy/app/helpers/application_helper.rb
|
75
|
+
- test/dummy/app/views/layouts/application.html.erb
|
76
|
+
- test/dummy/bin/bundle
|
77
|
+
- test/dummy/bin/rails
|
78
|
+
- test/dummy/bin/rake
|
79
|
+
- test/dummy/config.ru
|
80
|
+
- test/dummy/config/application.rb
|
81
|
+
- test/dummy/config/boot.rb
|
82
|
+
- test/dummy/config/database.yml
|
83
|
+
- test/dummy/config/environment.rb
|
84
|
+
- test/dummy/config/environments/development.rb
|
85
|
+
- test/dummy/config/environments/production.rb
|
86
|
+
- test/dummy/config/environments/test.rb
|
87
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
88
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
89
|
+
- test/dummy/config/initializers/inflections.rb
|
90
|
+
- test/dummy/config/initializers/mime_types.rb
|
91
|
+
- test/dummy/config/initializers/secret_token.rb
|
92
|
+
- test/dummy/config/initializers/session_store.rb
|
93
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
94
|
+
- test/dummy/config/locales/en.yml
|
95
|
+
- test/dummy/config/routes.rb
|
96
|
+
- test/dummy/public/404.html
|
97
|
+
- test/dummy/public/422.html
|
98
|
+
- test/dummy/public/500.html
|
99
|
+
- test/dummy/public/favicon.ico
|
100
|
+
- test/integration/navigation_test.rb
|
101
|
+
- test/templatr_test.rb
|
102
|
+
- test/test_helper.rb
|
103
|
+
homepage: https://github.com/culturecode/templatr
|
104
|
+
licenses: []
|
105
|
+
metadata: {}
|
106
|
+
post_install_message:
|
107
|
+
rdoc_options: []
|
108
|
+
require_paths:
|
109
|
+
- lib
|
110
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '0'
|
115
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - ">="
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: '0'
|
120
|
+
requirements: []
|
121
|
+
rubyforge_project:
|
122
|
+
rubygems_version: 2.2.0
|
123
|
+
signing_key:
|
124
|
+
specification_version: 4
|
125
|
+
summary: Add custom fields to your models.
|
126
|
+
test_files:
|
127
|
+
- test/dummy/app/assets/javascripts/application.js
|
128
|
+
- test/dummy/app/assets/stylesheets/application.css
|
129
|
+
- test/dummy/app/controllers/application_controller.rb
|
130
|
+
- test/dummy/app/helpers/application_helper.rb
|
131
|
+
- test/dummy/app/views/layouts/application.html.erb
|
132
|
+
- test/dummy/bin/bundle
|
133
|
+
- test/dummy/bin/rails
|
134
|
+
- test/dummy/bin/rake
|
135
|
+
- test/dummy/config/application.rb
|
136
|
+
- test/dummy/config/boot.rb
|
137
|
+
- test/dummy/config/database.yml
|
138
|
+
- test/dummy/config/environment.rb
|
139
|
+
- test/dummy/config/environments/development.rb
|
140
|
+
- test/dummy/config/environments/production.rb
|
141
|
+
- test/dummy/config/environments/test.rb
|
142
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
143
|
+
- test/dummy/config/initializers/filter_parameter_logging.rb
|
144
|
+
- test/dummy/config/initializers/inflections.rb
|
145
|
+
- test/dummy/config/initializers/mime_types.rb
|
146
|
+
- test/dummy/config/initializers/secret_token.rb
|
147
|
+
- test/dummy/config/initializers/session_store.rb
|
148
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
149
|
+
- test/dummy/config/locales/en.yml
|
150
|
+
- test/dummy/config/routes.rb
|
151
|
+
- test/dummy/config.ru
|
152
|
+
- test/dummy/public/404.html
|
153
|
+
- test/dummy/public/422.html
|
154
|
+
- test/dummy/public/500.html
|
155
|
+
- test/dummy/public/favicon.ico
|
156
|
+
- test/dummy/Rakefile
|
157
|
+
- test/dummy/README.rdoc
|
158
|
+
- test/integration/navigation_test.rb
|
159
|
+
- test/templatr_test.rb
|
160
|
+
- test/test_helper.rb
|