ruby_ui_admin 0.1.0 → 0.1.1
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/README.md +22 -3
- data/lib/ruby_ui_admin/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 757450423bb4e3323649bc25b872ffa339acb9f5594f1d0fc4eed5d7c047e96c
|
|
4
|
+
data.tar.gz: 4a1347f9622537cc1ec3d84e805c358ea546a0841d43ac4edfc8a18b279ebd22
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 408833aeaae52cfa1c3fbd02c28e1918aa44455f310a72eaa3c499d86d436d48bbf98620fb8b58d5bb7ac57e5b2a3301955075c98c85895f9679ea251da47824
|
|
7
|
+
data.tar.gz: '076781f3c6c01c592a225355765ede93a51254942bb9016f84838826744752ca5eee2d51ef257351534e7df9971c4ef46291dfcfaf2a0162f13b9d0d934c87ce'
|
data/README.md
CHANGED
|
@@ -33,7 +33,8 @@ The admin renders **your host app's RubyUI components**, so it expects:
|
|
|
33
33
|
|
|
34
34
|
- [RubyUI](https://rubyui.com) installed and its components generated into your app
|
|
35
35
|
(`app/components/ruby_ui/*` as `RubyUI::*`), at a version compatible with the admin — run
|
|
36
|
-
`rails g ruby_ui_admin:components` to generate exactly the ones the admin renders.
|
|
36
|
+
`rails g ruby_ui_admin:components` to generate exactly the ones the admin renders. Use
|
|
37
|
+
**ruby_ui 1.6.x** (see [Compatibility](#compatibility)).
|
|
37
38
|
- A **JavaScript bundler/importmap** that registers RubyUI's Stimulus controllers (and the admin's
|
|
38
39
|
own `rua--*` controllers — use `rails g ruby_ui_admin:assets` to copy them in), plus a **Tailwind
|
|
39
40
|
build** that covers `app/components/ruby_ui/**` and the admin's views. You wire these into the
|
|
@@ -43,6 +44,23 @@ This makes the admin part of your app's UI rather than a self-contained bundle.
|
|
|
43
44
|
[Theming with RubyUI](docs/customization/theming-rubyui.md) and
|
|
44
45
|
[JavaScript](docs/customization/javascript.md).)
|
|
45
46
|
|
|
47
|
+
### Compatibility
|
|
48
|
+
|
|
49
|
+
Tested on **2026-11-10** with the latest releases; the full test suite (252 tests) passes on every
|
|
50
|
+
combination below:
|
|
51
|
+
|
|
52
|
+
| Dependency | Tested versions | Gem requirement |
|
|
53
|
+
| ----------- | ------------------- | --------------- |
|
|
54
|
+
| Ruby | 3.4.4, **4.0.9** | `>= 3.2` |
|
|
55
|
+
| Rails | **8.1.4.1** | `>= 7.1` |
|
|
56
|
+
| Phlex | **2.4.1** (phlex-rails **2.4.0**) | phlex-rails `>= 2.0` |
|
|
57
|
+
| RubyUI | **1.6.0** | 1.6.x components in the host app |
|
|
58
|
+
|
|
59
|
+
> **RubyUI's unreleased `main` is not supported yet.** It rewrites the `Combobox` family
|
|
60
|
+
> (`ComboboxPopover`, `ComboboxTrigger`, … are removed), which the admin's filter bar and
|
|
61
|
+
> actions menu render. Stay on the released `ruby_ui` 1.6.x gem until a ruby_ui_admin release
|
|
62
|
+
> supports the new API.
|
|
63
|
+
|
|
46
64
|
### Design principles
|
|
47
65
|
|
|
48
66
|
- **Server-rendered, progressively enhanced.** Everything works without JavaScript; Stimulus and
|
|
@@ -156,8 +174,9 @@ Full documentation lives in [`docs/`](docs/README.md).
|
|
|
156
174
|
## Development
|
|
157
175
|
|
|
158
176
|
```bash
|
|
159
|
-
|
|
160
|
-
|
|
177
|
+
bundle install
|
|
178
|
+
(cd test/dummy && bin/rails db:prepare) # create the dummy app's database
|
|
179
|
+
bundle exec rake test # run the minitest suite against test/dummy
|
|
161
180
|
```
|
|
162
181
|
|
|
163
182
|
## License
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby_ui_admin
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jackson Pires
|
|
@@ -373,7 +373,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
373
373
|
- !ruby/object:Gem::Version
|
|
374
374
|
version: '0'
|
|
375
375
|
requirements: []
|
|
376
|
-
rubygems_version: 4.0.
|
|
376
|
+
rubygems_version: 4.0.3
|
|
377
377
|
specification_version: 4
|
|
378
378
|
summary: A Rails admin dashboard engine built with RubyUI/Phlex and action_policy.
|
|
379
379
|
test_files: []
|