admin_suite 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/config/importmap.rb +1 -0
- data/config/routes.rb +29 -0
- data/lib/admin_suite/version.rb +1 -1
- metadata +6 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: dbd2bda3cff05667e7f164b70d06c7f91e4ba7cde4dfe720291720fe589cfde6
|
|
4
|
+
data.tar.gz: c2fea65bd3721677eee67904174664038c9e256d347770775bbfc3a3714bceb2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 68580753a81e6e77b5a3cda22038f5d62919ab22e3bb00746504e18578847119528872f0bf94960c6d7d0df3ceb06a7df723ae872e8cce7d6d240fc0a5c08ab6
|
|
7
|
+
data.tar.gz: b342407db536c0cd5f7264aff7ea6fa57f224b03b66d2675b1b928394490ee743424ea7608ff9845e71e391765ecac7da0823e101b1922cea9c8613dae44c48a
|
data/config/importmap.rb
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
pin_all_from File.expand_path("../app/javascript/controllers", __dir__), under: "controllers"
|
data/config/routes.rb
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
AdminSuite::Engine.routes.draw do
|
|
4
|
+
root to: "dashboard#index"
|
|
5
|
+
|
|
6
|
+
# Docs viewer (host filesystem-backed). Must be defined before `:portal` route.
|
|
7
|
+
get "docs(/)", to: "docs#index", as: :docs
|
|
8
|
+
get "docs/*path", to: "docs#show", as: :doc, format: false
|
|
9
|
+
|
|
10
|
+
# Portal dashboards (e.g. /ops, /email). Accept optional trailing slash.
|
|
11
|
+
get ":portal(/)", to: "portals#show", as: :portal
|
|
12
|
+
|
|
13
|
+
# Generic resource routes (dynamic)
|
|
14
|
+
scope ":portal/:resource_name" do
|
|
15
|
+
get "/", to: "resources#index", as: :resources
|
|
16
|
+
get "/new", to: "resources#new", as: :new_resource
|
|
17
|
+
post "/", to: "resources#create"
|
|
18
|
+
get "/:id", to: "resources#show", as: :resource
|
|
19
|
+
get "/:id/edit", to: "resources#edit", as: :edit_resource
|
|
20
|
+
patch "/:id", to: "resources#update"
|
|
21
|
+
put "/:id", to: "resources#update"
|
|
22
|
+
delete "/:id", to: "resources#destroy"
|
|
23
|
+
|
|
24
|
+
post "/:id/execute_action/:action_name", to: "resources#execute_action", as: :execute_action
|
|
25
|
+
post "/bulk_action/:action_name", to: "resources#bulk_action", as: :bulk_action
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
post ":portal/:resource_name/:id/toggle", to: "resources#toggle", as: :resource_toggle
|
|
29
|
+
end
|
data/lib/admin_suite/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: admin_suite
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- TechWright Labs
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 2026-02-07 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: rails
|
|
@@ -166,6 +166,8 @@ files:
|
|
|
166
166
|
- app/views/admin_suite/shared/_toggle_cell.html.erb
|
|
167
167
|
- app/views/admin_suite/shared/_topbar.html.erb
|
|
168
168
|
- app/views/layouts/admin_suite/application.html.erb
|
|
169
|
+
- config/importmap.rb
|
|
170
|
+
- config/routes.rb
|
|
169
171
|
- docs/README.md
|
|
170
172
|
- docs/actions.md
|
|
171
173
|
- docs/configuration.md
|
|
@@ -273,7 +275,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
273
275
|
- !ruby/object:Gem::Version
|
|
274
276
|
version: '0'
|
|
275
277
|
requirements: []
|
|
276
|
-
rubygems_version: 3.6.
|
|
278
|
+
rubygems_version: 3.6.2
|
|
277
279
|
specification_version: 4
|
|
278
|
-
summary: Reusable admin suite engine
|
|
280
|
+
summary: Reusable admin suite engine
|
|
279
281
|
test_files: []
|