trestle 0.9.7 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rspec.yml +4 -2
- data/.gitignore +4 -0
- data/README.md +1 -1
- data/app/assets/bundle/trestle/bundle.css +4 -4
- data/app/assets/bundle/trestle/bundle.js +12 -26
- data/app/controllers/concerns/trestle/controller/toolbars.rb +1 -1
- data/app/controllers/concerns/trestle/resource/controller/actions.rb +5 -5
- data/app/controllers/concerns/trestle/resource/controller/redirection.rb +5 -3
- data/app/controllers/trestle/admin_controller.rb +4 -0
- data/app/helpers/trestle/card_helper.rb +2 -2
- data/app/helpers/trestle/navigation_helper.rb +3 -1
- data/app/helpers/trestle/toolbars_helper.rb +1 -1
- data/app/views/trestle/flash/_flash.html.erb +1 -1
- data/app/views/trestle/resource/_scopes.html.erb +1 -1
- data/config/locales/vi.yml +1 -1
- data/frontend/css/components/_fields.scss +1 -0
- data/frontend/css/components/_toolbars.scss +1 -19
- data/frontend/css/core/_mixins.scss +1 -4
- data/frontend/css/layout/_content.scss +1 -1
- data/frontend/js/components/tabs.js +1 -1
- data/lib/generators/trestle/install/install_generator.rb +6 -2
- data/lib/generators/trestle/install/templates/_custom.css +8 -0
- data/lib/trestle/adapters/active_record_adapter.rb +1 -1
- data/lib/trestle/admin/builder.rb +7 -0
- data/lib/trestle/admin.rb +12 -6
- data/lib/trestle/configurable.rb +2 -2
- data/lib/trestle/debug_errors.rb +24 -0
- data/lib/trestle/form/automatic.rb +3 -1
- data/lib/trestle/hook/helpers.rb +1 -1
- data/lib/trestle/navigation/group.rb +1 -2
- data/lib/trestle/navigation/item.rb +2 -2
- data/lib/trestle/reloader.rb +2 -11
- data/lib/trestle/resource/builder.rb +1 -8
- data/lib/trestle/resource.rb +2 -2
- data/lib/trestle/scopes/block.rb +7 -7
- data/lib/trestle/scopes/definition.rb +2 -2
- data/lib/trestle/scopes/scope.rb +4 -0
- data/lib/trestle/version.rb +1 -1
- data/lib/trestle.rb +5 -0
- data/package.json +1 -1
- data/trestle.gemspec +7 -7
- data/webpack.config.js +8 -1
- data/yarn.lock +1444 -2603
- metadata +23 -21
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.9
|
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: 2024-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 5.2.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 5.2.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activemodel
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 5.2.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 5.2.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: sprockets-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,58 +70,58 @@ dependencies:
|
|
70
70
|
name: rspec-rails
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 5.1.2
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 5.1.2
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rspec-html-matchers
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: 0.10.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
96
|
+
version: 0.10.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: database_cleaner
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 2.0.2
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 2.0.2
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: ammeter
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 1.1.
|
117
|
+
version: 1.1.5
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 1.1.
|
124
|
+
version: 1.1.5
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: bundler
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -154,16 +154,16 @@ dependencies:
|
|
154
154
|
name: sqlite3
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
|
-
- - "
|
157
|
+
- - ">="
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version:
|
159
|
+
version: '0'
|
160
160
|
type: :development
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
|
-
- - "
|
164
|
+
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version:
|
166
|
+
version: '0'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: turbolinks
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
@@ -478,6 +478,7 @@ files:
|
|
478
478
|
- lib/generators/trestle/admin/templates/admin.rb.erb
|
479
479
|
- lib/generators/trestle/admin/templates/index.html.erb
|
480
480
|
- lib/generators/trestle/install/install_generator.rb
|
481
|
+
- lib/generators/trestle/install/templates/_custom.css
|
481
482
|
- lib/generators/trestle/install/templates/_custom.scss
|
482
483
|
- lib/generators/trestle/install/templates/_theme.scss
|
483
484
|
- lib/generators/trestle/install/templates/custom.js
|
@@ -497,6 +498,7 @@ files:
|
|
497
498
|
- lib/trestle/builder.rb
|
498
499
|
- lib/trestle/configurable.rb
|
499
500
|
- lib/trestle/configuration.rb
|
501
|
+
- lib/trestle/debug_errors.rb
|
500
502
|
- lib/trestle/display.rb
|
501
503
|
- lib/trestle/engine.rb
|
502
504
|
- lib/trestle/evaluation_context.rb
|
@@ -598,7 +600,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
598
600
|
- !ruby/object:Gem::Version
|
599
601
|
version: '0'
|
600
602
|
requirements: []
|
601
|
-
rubygems_version: 3.
|
603
|
+
rubygems_version: 3.5.10
|
602
604
|
signing_key:
|
603
605
|
specification_version: 4
|
604
606
|
summary: A modern, responsive admin framework for Ruby on Rails
|