rails-add_ons 0.2.0
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.md +28 -0
- data/Rakefile +24 -0
- data/app/assets/config/rails_add_ons_manifest.js +0 -0
- data/app/assets/javascripts/rails/add_ons/application/widgets.js.coffee +48 -0
- data/app/assets/javascripts/rails/add_ons/application.js +17 -0
- data/app/assets/javascripts/rails_add_ons.js +1 -0
- data/app/assets/stylesheets/rails/add_ons/application/bootstrap_overrides.scss +3 -0
- data/app/assets/stylesheets/rails/add_ons/application/table_monospaced.scss +3 -0
- data/app/assets/stylesheets/rails/add_ons/application/widgets.scss +5 -0
- data/app/assets/stylesheets/rails/add_ons/application.scss +4 -0
- data/app/assets/stylesheets/rails/add_ons/bootstrap_v3_flex_extension.scss +13 -0
- data/app/assets/stylesheets/rails/add_ons/font_awesome.css +3 -0
- data/app/assets/stylesheets/rails_add_ons.css +3 -0
- data/app/caches/api/cache.rb +24 -0
- data/app/components/component/base.rb +24 -0
- data/app/components/component/collection_table.rb +80 -0
- data/app/components/component/resource_table.rb +25 -0
- data/app/concerns/api_controller_concerns/exception_handling.rb +24 -0
- data/app/concerns/resources_controller/pagination.rb +15 -0
- data/app/concerns/resources_controller/sorting.rb +15 -0
- data/app/controllers/api/resources_controller/base.rb +254 -0
- data/app/controllers/api/service_controller/base.rb +73 -0
- data/app/controllers/rails/add_ons/widgets_controller.rb +10 -0
- data/app/controllers/resources_controller/base.rb +180 -0
- data/app/controllers/service_controller/base.rb +135 -0
- data/app/extensions/object_extensions.rb +8 -0
- data/app/helpers/rails/add_ons/table_helper.rb +50 -0
- data/app/helpers/rails/add_ons/widget_helper.rb +10 -0
- data/app/parsers/api/resources_controller/condition_parser.rb +65 -0
- data/app/services/rails/add_ons/service/base.rb +156 -0
- data/app/services/rails/add_ons/service/result/base.rb +25 -0
- data/app/views/component/_collection_table.haml +20 -0
- data/app/views/component/_resource_table.haml +15 -0
- data/app/views/frontend/_navbar.haml +23 -0
- data/app/views/layouts/rails/add_ons/application.haml +23 -0
- data/app/views/resources_controller/base/_after_show_table.haml +0 -0
- data/app/views/resources_controller/base/_before_show_table.haml +0 -0
- data/app/views/resources_controller/base/_form.haml +2 -0
- data/app/views/resources_controller/base/_form_buttons.haml +4 -0
- data/app/views/resources_controller/base/_form_errors.haml +6 -0
- data/app/views/resources_controller/base/_pagination.haml +4 -0
- data/app/views/resources_controller/base/_show.haml +2 -0
- data/app/views/resources_controller/base/_show_actions.haml +6 -0
- data/app/views/resources_controller/base/_table.haml +2 -0
- data/app/views/resources_controller/base/_table_actions.haml +12 -0
- data/app/views/resources_controller/base/edit.haml +6 -0
- data/app/views/resources_controller/base/index.haml +13 -0
- data/app/views/resources_controller/base/new.haml +6 -0
- data/app/views/resources_controller/base/show.haml +10 -0
- data/app/views/service_controller/base/_create_after_service_output.haml +0 -0
- data/app/views/service_controller/base/_create_before_service_output.haml +0 -0
- data/app/views/service_controller/base/_form_buttons.haml +2 -0
- data/app/views/service_controller/base/_form_errors.haml +6 -0
- data/app/views/service_controller/base/create.haml +14 -0
- data/app/views/service_controller/base/new.haml +6 -0
- data/app/views/widget/base/_remote_load_code.html.erb +4 -0
- data/app/views/widget/base/_widget_controls.haml +3 -0
- data/app/views/widget/render.js.erb +0 -0
- data/app/widgets/widget/base.rb +92 -0
- data/config/initializers/assets.rb +7 -0
- data/config/initializers/extend_object.rb +1 -0
- data/config/locales/de.yml +39 -0
- data/config/locales/en.yml +39 -0
- data/config/routes.rb +5 -0
- data/lib/rails/add_ons/engine.rb +7 -0
- data/lib/rails/add_ons/version.rb +5 -0
- data/lib/rails/add_ons.rb +7 -0
- data/lib/rails-add_ons.rb +8 -0
- data/lib/tasks/rails/add_ons_tasks.rake +4 -0
- metadata +268 -0
metadata
ADDED
@@ -0,0 +1,268 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rails-add_ons
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Roberto Vasquez Angel
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-05-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.2'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.2'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: sqlite3
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: guard-rspec
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: guard-bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rspec-rails
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: twitter-bootstrap-components-rails
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: responders
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: haml-rails
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: font-awesome-rails
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :runtime
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: simple_form
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :runtime
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: rails-i18n
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :runtime
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
167
|
+
description: The missing bits.
|
168
|
+
email:
|
169
|
+
- roberto@vasquez-angel.de
|
170
|
+
executables: []
|
171
|
+
extensions: []
|
172
|
+
extra_rdoc_files: []
|
173
|
+
files:
|
174
|
+
- MIT-LICENSE
|
175
|
+
- README.md
|
176
|
+
- Rakefile
|
177
|
+
- app/assets/config/rails_add_ons_manifest.js
|
178
|
+
- app/assets/javascripts/rails/add_ons/application.js
|
179
|
+
- app/assets/javascripts/rails/add_ons/application/widgets.js.coffee
|
180
|
+
- app/assets/javascripts/rails_add_ons.js
|
181
|
+
- app/assets/stylesheets/rails/add_ons/application.scss
|
182
|
+
- app/assets/stylesheets/rails/add_ons/application/bootstrap_overrides.scss
|
183
|
+
- app/assets/stylesheets/rails/add_ons/application/table_monospaced.scss
|
184
|
+
- app/assets/stylesheets/rails/add_ons/application/widgets.scss
|
185
|
+
- app/assets/stylesheets/rails/add_ons/bootstrap_v3_flex_extension.scss
|
186
|
+
- app/assets/stylesheets/rails/add_ons/font_awesome.css
|
187
|
+
- app/assets/stylesheets/rails_add_ons.css
|
188
|
+
- app/caches/api/cache.rb
|
189
|
+
- app/components/component/base.rb
|
190
|
+
- app/components/component/collection_table.rb
|
191
|
+
- app/components/component/resource_table.rb
|
192
|
+
- app/concerns/api_controller_concerns/exception_handling.rb
|
193
|
+
- app/concerns/resources_controller/pagination.rb
|
194
|
+
- app/concerns/resources_controller/sorting.rb
|
195
|
+
- app/controllers/api/resources_controller/base.rb
|
196
|
+
- app/controllers/api/service_controller/base.rb
|
197
|
+
- app/controllers/rails/add_ons/widgets_controller.rb
|
198
|
+
- app/controllers/resources_controller/base.rb
|
199
|
+
- app/controllers/service_controller/base.rb
|
200
|
+
- app/extensions/object_extensions.rb
|
201
|
+
- app/helpers/rails/add_ons/table_helper.rb
|
202
|
+
- app/helpers/rails/add_ons/widget_helper.rb
|
203
|
+
- app/parsers/api/resources_controller/condition_parser.rb
|
204
|
+
- app/services/rails/add_ons/service/base.rb
|
205
|
+
- app/services/rails/add_ons/service/result/base.rb
|
206
|
+
- app/views/component/_collection_table.haml
|
207
|
+
- app/views/component/_resource_table.haml
|
208
|
+
- app/views/frontend/_navbar.haml
|
209
|
+
- app/views/layouts/rails/add_ons/application.haml
|
210
|
+
- app/views/resources_controller/base/_after_show_table.haml
|
211
|
+
- app/views/resources_controller/base/_before_show_table.haml
|
212
|
+
- app/views/resources_controller/base/_form.haml
|
213
|
+
- app/views/resources_controller/base/_form_buttons.haml
|
214
|
+
- app/views/resources_controller/base/_form_errors.haml
|
215
|
+
- app/views/resources_controller/base/_pagination.haml
|
216
|
+
- app/views/resources_controller/base/_show.haml
|
217
|
+
- app/views/resources_controller/base/_show_actions.haml
|
218
|
+
- app/views/resources_controller/base/_table.haml
|
219
|
+
- app/views/resources_controller/base/_table_actions.haml
|
220
|
+
- app/views/resources_controller/base/edit.haml
|
221
|
+
- app/views/resources_controller/base/index.haml
|
222
|
+
- app/views/resources_controller/base/new.haml
|
223
|
+
- app/views/resources_controller/base/show.haml
|
224
|
+
- app/views/service_controller/base/_create_after_service_output.haml
|
225
|
+
- app/views/service_controller/base/_create_before_service_output.haml
|
226
|
+
- app/views/service_controller/base/_form_buttons.haml
|
227
|
+
- app/views/service_controller/base/_form_errors.haml
|
228
|
+
- app/views/service_controller/base/create.haml
|
229
|
+
- app/views/service_controller/base/new.haml
|
230
|
+
- app/views/widget/base/_remote_load_code.html.erb
|
231
|
+
- app/views/widget/base/_widget_controls.haml
|
232
|
+
- app/views/widget/render.js.erb
|
233
|
+
- app/widgets/widget/base.rb
|
234
|
+
- config/initializers/assets.rb
|
235
|
+
- config/initializers/extend_object.rb
|
236
|
+
- config/locales/de.yml
|
237
|
+
- config/locales/en.yml
|
238
|
+
- config/routes.rb
|
239
|
+
- lib/rails-add_ons.rb
|
240
|
+
- lib/rails/add_ons.rb
|
241
|
+
- lib/rails/add_ons/engine.rb
|
242
|
+
- lib/rails/add_ons/version.rb
|
243
|
+
- lib/tasks/rails/add_ons_tasks.rake
|
244
|
+
homepage:
|
245
|
+
licenses:
|
246
|
+
- MIT
|
247
|
+
metadata: {}
|
248
|
+
post_install_message:
|
249
|
+
rdoc_options: []
|
250
|
+
require_paths:
|
251
|
+
- lib
|
252
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
253
|
+
requirements:
|
254
|
+
- - ">="
|
255
|
+
- !ruby/object:Gem::Version
|
256
|
+
version: '0'
|
257
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
258
|
+
requirements:
|
259
|
+
- - ">="
|
260
|
+
- !ruby/object:Gem::Version
|
261
|
+
version: '0'
|
262
|
+
requirements: []
|
263
|
+
rubyforge_project:
|
264
|
+
rubygems_version: 2.6.11
|
265
|
+
signing_key:
|
266
|
+
specification_version: 4
|
267
|
+
summary: Rails Add Ons.
|
268
|
+
test_files: []
|