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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec5f7a6fff714c1440d95c1e8e24394cef955e54a5997113a4a494c693891ba4
|
4
|
+
data.tar.gz: 74a1190a4941740d10d88d70f96fc73dc4ee2d6a2ad4f930edb2af8ba88d0a75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86830f6464eb845e0599966caebede926c5bdd9e3ab43968a5d1eb872671d7750d8b53f45f44c3fd35a201999afbf86f0efcf600bd2f4c6789177d7eaa87e261
|
7
|
+
data.tar.gz: 846436a0010e40b34df119185affe1f85b188e177d3b202c349cd13695dd2a8756d1a00fbbb5a5ed09ee90b95d9ee4a0c360a4e7811f3eae48f60efada1ffeb9
|
data/.github/workflows/rspec.yml
CHANGED
@@ -7,7 +7,7 @@ jobs:
|
|
7
7
|
strategy:
|
8
8
|
fail-fast: false
|
9
9
|
matrix:
|
10
|
-
gemfile: [ rails-5.
|
10
|
+
gemfile: [ rails-5.2, rails-6.0, rails-6.1 ]
|
11
11
|
ruby: [ '2.7' ]
|
12
12
|
include:
|
13
13
|
- gemfile: rails-6.1
|
@@ -16,11 +16,13 @@ jobs:
|
|
16
16
|
ruby: '2.7'
|
17
17
|
- gemfile: rails-7.0
|
18
18
|
ruby: '3.0'
|
19
|
+
- gemfile: rails-7.1
|
20
|
+
ruby: '3.2'
|
19
21
|
runs-on: ubuntu-latest
|
20
22
|
env:
|
21
23
|
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
|
22
24
|
steps:
|
23
|
-
- uses: actions/checkout@
|
25
|
+
- uses: actions/checkout@v4
|
24
26
|
- uses: ruby/setup-ruby@v1
|
25
27
|
with:
|
26
28
|
ruby-version: ${{ matrix.ruby }}
|
data/.gitignore
CHANGED
@@ -9,10 +9,14 @@
|
|
9
9
|
/spec/reports/
|
10
10
|
/tmp/
|
11
11
|
/sandbox/db/*.sqlite3
|
12
|
+
/sandbox/db/*.sqlite3-shm
|
13
|
+
/sandbox/db/*.sqlite3-wal
|
12
14
|
/sandbox/*.sqlite3-journal
|
13
15
|
/sandbox/log/*.log
|
14
16
|
/sandbox/tmp/
|
15
17
|
/spec/dummy/db/*.sqlite3
|
18
|
+
/spec/dummy/db/*.sqlite3-shm
|
19
|
+
/spec/dummy/db/*.sqlite3-wal
|
16
20
|
/spec/dummy/*.sqlite3-journal
|
17
21
|
/spec/dummy/log/*.log
|
18
22
|
/spec/dummy/tmp/*
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
# Trestle
|
6
6
|
|
7
7
|
[![RubyGem](https://img.shields.io/gem/v/trestle.svg?style=flat&colorB=4065a9)](https://rubygems.org/gems/trestle)
|
8
|
-
[![Build Status](https://img.shields.io/github/workflow/status/TrestleAdmin/trestle/
|
8
|
+
[![Build Status](https://img.shields.io/github/actions/workflow/status/TrestleAdmin/trestle/rspec.yml?style=flat)](https://github.com/TrestleAdmin/trestle/actions)
|
9
9
|
[![Coveralls](https://img.shields.io/coveralls/TrestleAdmin/trestle.svg?style=flat)](https://coveralls.io/github/TrestleAdmin/trestle)
|
10
10
|
[![Code Climate](https://api.codeclimate.com/v1/badges/c529a7a9c500ed81baed/maintainability)](https://codeclimate.com/github/TrestleAdmin/trestle)
|
11
11
|
|