trestle 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/bundle/trestle/bundle.css +0 -0
- data/app/assets/bundle/trestle/bundle.js +0 -0
- data/app/assets/javascripts/trestle/admin.js +1 -0
- data/app/assets/javascripts/trestle/i18n.js.erb +8 -0
- data/app/helpers/trestle/grid_helper.rb +44 -4
- data/app/helpers/trestle/i18n_helper.rb +8 -15
- data/app/helpers/trestle/table_helper.rb +7 -3
- data/app/helpers/trestle/title_helper.rb +11 -0
- data/app/helpers/trestle/toolbars_helper.rb +0 -11
- data/app/views/layouts/trestle/admin.html.erb +4 -4
- data/app/views/trestle/application/_dialog.html.erb +1 -1
- data/app/views/trestle/application/_header.html.erb +1 -3
- data/app/views/trestle/resource/edit.html.erb +2 -2
- data/app/views/trestle/resource/index.html.erb +1 -1
- data/app/views/trestle/resource/new.html.erb +1 -1
- data/app/views/trestle/resource/show.html.erb +2 -2
- data/app/views/trestle/shared/_sidebar.html.erb +1 -1
- data/config/locales/de.rb +18 -0
- data/config/locales/de.yml +101 -0
- data/frontend/js/components/tabs.js +2 -2
- data/lib/generators/trestle/resource/resource_generator.rb +15 -1
- data/lib/generators/trestle/resource/templates/admin.rb.erb +15 -8
- data/lib/trestle.rb +13 -0
- data/lib/trestle/adapters/active_record_adapter.rb +1 -1
- data/lib/trestle/admin.rb +5 -2
- data/lib/trestle/admin/builder.rb +5 -1
- data/lib/trestle/admin/controller.rb +8 -1
- data/lib/trestle/application_controller.rb +2 -0
- data/lib/trestle/configuration.rb +1 -1
- data/lib/trestle/controller/breadcrumbs.rb +1 -1
- data/lib/trestle/controller/title.rb +20 -0
- data/lib/trestle/controller/toolbars.rb +30 -0
- data/lib/trestle/form/automatic.rb +2 -2
- data/lib/trestle/form/field.rb +12 -2
- data/lib/trestle/form/fields/check_box_helpers.rb +1 -1
- data/lib/trestle/form/fields/collection_select.rb +1 -1
- data/lib/trestle/form/fields/date_select.rb +1 -1
- data/lib/trestle/form/fields/datetime_select.rb +1 -1
- data/lib/trestle/form/fields/select.rb +1 -1
- data/lib/trestle/form/fields/static_field.rb +5 -1
- data/lib/trestle/form/fields/tag_select.rb +1 -1
- data/lib/trestle/form/fields/time_select.rb +1 -1
- data/lib/trestle/form/fields/time_zone_select.rb +1 -1
- data/lib/trestle/navigation/item.rb +4 -0
- data/lib/trestle/resource.rb +1 -0
- data/lib/trestle/resource/controller.rb +9 -166
- data/lib/trestle/resource/controller/actions.rb +133 -0
- data/lib/trestle/resource/controller/data_methods.rb +52 -0
- data/lib/trestle/resource/controller/redirection.rb +23 -0
- data/lib/trestle/resource/controller/toolbar.rb +11 -0
- data/lib/trestle/resource/toolbar.rb +29 -0
- data/lib/trestle/table.rb +6 -0
- data/lib/trestle/version.rb +1 -1
- data/trestle.gemspec +1 -0
- data/yarn.lock +518 -496
- metadata +27 -2
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trestle
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sam Pohlenz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -108,6 +108,20 @@ dependencies:
|
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: 1.6.2
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: ammeter
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.1.4
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.1.4
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: bundler
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -261,6 +275,7 @@ files:
|
|
261
275
|
- app/assets/bundle/trestle/flatpickr/zh.js
|
262
276
|
- app/assets/javascripts/trestle/admin.js
|
263
277
|
- app/assets/javascripts/trestle/custom.js
|
278
|
+
- app/assets/javascripts/trestle/i18n.js.erb
|
264
279
|
- app/assets/stylesheets/trestle/_custom.css
|
265
280
|
- app/assets/stylesheets/trestle/admin.css
|
266
281
|
- app/assets/stylesheets/trestle/custom.css
|
@@ -286,6 +301,7 @@ files:
|
|
286
301
|
- app/helpers/trestle/tab_helper.rb
|
287
302
|
- app/helpers/trestle/table_helper.rb
|
288
303
|
- app/helpers/trestle/timestamp_helper.rb
|
304
|
+
- app/helpers/trestle/title_helper.rb
|
289
305
|
- app/helpers/trestle/toolbars_helper.rb
|
290
306
|
- app/helpers/trestle/url_helper.rb
|
291
307
|
- app/views/kaminari/trestle/_first_page.html.erb
|
@@ -319,6 +335,8 @@ files:
|
|
319
335
|
- app/views/trestle/table/_table.html.erb
|
320
336
|
- config/locales/cs.rb
|
321
337
|
- config/locales/cs.yml
|
338
|
+
- config/locales/de.rb
|
339
|
+
- config/locales/de.yml
|
322
340
|
- config/locales/en.rb
|
323
341
|
- config/locales/en.yml
|
324
342
|
- config/locales/es-MX.yml
|
@@ -460,6 +478,8 @@ files:
|
|
460
478
|
- lib/trestle/controller/helpers.rb
|
461
479
|
- lib/trestle/controller/layout.rb
|
462
480
|
- lib/trestle/controller/location.rb
|
481
|
+
- lib/trestle/controller/title.rb
|
482
|
+
- lib/trestle/controller/toolbars.rb
|
463
483
|
- lib/trestle/display.rb
|
464
484
|
- lib/trestle/engine.rb
|
465
485
|
- lib/trestle/evaluation_context.rb
|
@@ -516,6 +536,11 @@ files:
|
|
516
536
|
- lib/trestle/resource/builder.rb
|
517
537
|
- lib/trestle/resource/collection.rb
|
518
538
|
- lib/trestle/resource/controller.rb
|
539
|
+
- lib/trestle/resource/controller/actions.rb
|
540
|
+
- lib/trestle/resource/controller/data_methods.rb
|
541
|
+
- lib/trestle/resource/controller/redirection.rb
|
542
|
+
- lib/trestle/resource/controller/toolbar.rb
|
543
|
+
- lib/trestle/resource/toolbar.rb
|
519
544
|
- lib/trestle/scopes.rb
|
520
545
|
- lib/trestle/scopes/block.rb
|
521
546
|
- lib/trestle/scopes/scope.rb
|