poetry 0.1.4 → 0.1.6
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/CHANGELOG.md +11 -0
- data/README.md +19 -8
- data/lib/poetry/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d9a58f3441482a2320d7e014ff04c3b7c5211923ef22e965e4ff9f822516609b
|
|
4
|
+
data.tar.gz: 3a9338e47a6c2210dbe0e6b757b3e646448cff3c8fd90e40b3c8910ebc00d314
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8d082468d6a66c299fcd987ef75b4e6171b82da443ff551734b4346402a797e7bdd6bf89935d307b945e74e9def441ea2542d721d07e5d0448859f5567a09f28
|
|
7
|
+
data.tar.gz: 91c10ac4975b5b8a98939a1ec045118590658a02b41a2d159cc6a03567a4e1beee04e6abb50f12cb28596c2b754995d3d41f1421a187e21ca1b96c0b37ce8f85
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.1.6] - 2026-09-20
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- The gem is developed in the Poetry monorepo, roboruby/poetry, at the repository root, with the seven gems under `gems/`; the gemspec ships a positive file list (`lib/` and the three root documents), so nothing below the root can enter the gem.
|
|
8
|
+
- The gem describes Poetry as the AI-native frontend framework for Rails.
|
|
9
|
+
|
|
10
|
+
## [0.1.5] - 2026-09-18
|
|
11
|
+
|
|
12
|
+
Lockstep release with the family; no changes in this gem.
|
|
13
|
+
|
|
3
14
|
## [0.1.4] - 2026-09-15
|
|
4
15
|
|
|
5
16
|
Lockstep release with the family; no changes in this gem.
|
data/README.md
CHANGED
|
@@ -1,26 +1,37 @@
|
|
|
1
1
|
# poetry
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
The AI-native frontend framework for Rails — a shadcn/ui-parity design system and component library built on ViewComponent, Hotwire, and Tailwind, designed so coding agents compose UI inside a constrained design system.
|
|
4
4
|
|
|
5
5
|
Documentation, live component previews, and guides are at [poetryui.com](https://poetryui.com).
|
|
6
6
|
|
|
7
7
|
This is the umbrella gem. One line installs the library proper: the engine, the components, and the default icon set. Everything else in the ecosystem is opt-in and listed below.
|
|
8
8
|
|
|
9
|
+
## Repository layout
|
|
10
|
+
|
|
11
|
+
This repository holds the whole family. Each gem keeps its own bundle, tests and gates, and resolves its siblings from the tree beside it.
|
|
12
|
+
|
|
13
|
+
- `gems/` — poetry-core, poetry-lucide, poetry-charts, poetry-extract, poetry-ui, poetry-agent and poetry-simple_form, one directory each
|
|
14
|
+
- `site/` — the poetryui.com app, documenting and testing the family from the tree
|
|
15
|
+
- `tools/releaser/` — the release tooling; `VERSION` at the root is the single source of truth for all eight gems
|
|
16
|
+
- this directory — the umbrella gem
|
|
17
|
+
|
|
18
|
+
Work inside a gem's directory: `bundle install`, then `bundle exec rake` runs its default chain. At the root, `bundle exec rake family` runs every gem's chain in publish order, then the site's, then the umbrella's.
|
|
19
|
+
|
|
9
20
|
## What the umbrella installs
|
|
10
21
|
|
|
11
|
-
### [poetry-core](https://github.com/roboruby/poetry-core) — the engine and the component DSL
|
|
22
|
+
### [poetry-core](https://github.com/roboruby/poetry/tree/main/gems/poetry-core) — the engine and the component DSL
|
|
12
23
|
|
|
13
24
|
The framework layer every other gem builds on. It ships the Rails engine, the `Component` base class, and the DSL that gives a component its vocabulary: style axes with variants, typed options, named parts, and slots, each of which projects into the machine-readable registry. The Stimulus integration lives here too, with the `use_stimulus` declarations that wire controllers, targets, values, and actions from Ruby, plus the vendored positioning engine the overlays share.
|
|
14
25
|
|
|
15
26
|
Core also owns the design-token foundation: the semantic token set, the Tailwind theme layer built from it, and the `DESIGN.md` interop that lets a theme round-trip as a document. The preview and testing infrastructure, the registry builder, and the agent-text generators (the `llms.txt` projection and the installable skills) are shared here so every gem in the family speaks with one voice.
|
|
16
27
|
|
|
17
|
-
### [poetry-ui](https://github.com/roboruby/poetry-ui) — the components
|
|
28
|
+
### [poetry-ui](https://github.com/roboruby/poetry/tree/main/gems/poetry-ui) — the components
|
|
18
29
|
|
|
19
30
|
The component library itself: 88 components covering forms, overlays, data display, feedback, navigation, chat, and layout, built entirely on poetry-core's public DSL and exposed to views as `poetry_*` helpers. Every component is accessible by construction, themeable through the token layer, and legible to agents through the registry that the helpers, the docs, and the MCP tools all read.
|
|
20
31
|
|
|
21
32
|
Beyond components it carries nine complete visual themes, a model-bound form builder that derives labels, hints, errors, and aria from the model (`form_with(model:, builder: Poetry::Ui::FormBuilder)`), eight vetted blocks for whole screens (app shell, top nav, page header, data index, section card, stepper, action bar, destructive panel), and the agent surface: the `poetry:install` generator that writes the Claude Code skills, `bin/rails poetry:check` for verifying composed markup, and the registry served for `poetry:add`.
|
|
22
33
|
|
|
23
|
-
### [poetry-lucide](https://github.com/roboruby/poetry-lucide) — the default icon set
|
|
34
|
+
### [poetry-lucide](https://github.com/roboruby/poetry/tree/main/gems/poetry-lucide) — the default icon set
|
|
24
35
|
|
|
25
36
|
Lucide's 1,745 icons, vendored at a pinned upstream commit and sanitized at vendor time, so rendering an icon never parses SVG, never sanitizes, and never touches the network. The set registers with poetry-core's icon registry, which is what `poetry_icon(:"circle-check")` and every icon-bearing component resolve against. A wrong name raises in development with a did-you-mean suggestion, `bin/rails poetry:check` catches literal names before that, and in production a configured fallback glyph renders instead of a 500.
|
|
26
37
|
|
|
@@ -42,7 +53,7 @@ The generator wires the engine, the Tailwind entry point, and the importmap pins
|
|
|
42
53
|
|
|
43
54
|
Add what you use; nothing here is pulled in by the umbrella. The family releases in lockstep, and every gem pins its siblings to its own version, so add these without version constraints and Bundler resolves them to the umbrella's release.
|
|
44
55
|
|
|
45
|
-
### [poetry-charts](https://github.com/roboruby/poetry-charts) — server-rendered SVG charts
|
|
56
|
+
### [poetry-charts](https://github.com/roboruby/poetry/tree/main/gems/poetry-charts) — server-rendered SVG charts
|
|
46
57
|
|
|
47
58
|
Eight chart types (area, bar, line, pie, radar, radial bar, scatter, composed) whose geometry is computed in Ruby: data to domains to scales to ticks to points to paths, with d3-scale and d3-shape semantics and recharts' nice ticks. The finished chart ships in the initial HTML, so it is valid with JavaScript disabled, in print, in PDFs, and in email, and it is themed by CSS variables so dark mode flips without a re-render.
|
|
48
59
|
|
|
@@ -52,7 +63,7 @@ A small Stimulus layer adds tooltips, legends, and active states by reading coor
|
|
|
52
63
|
gem "poetry-charts"
|
|
53
64
|
```
|
|
54
65
|
|
|
55
|
-
### [poetry-agent](https://github.com/roboruby/poetry-agent) — the agent surfaces
|
|
66
|
+
### [poetry-agent](https://github.com/roboruby/poetry/tree/main/gems/poetry-agent) — the agent surfaces
|
|
56
67
|
|
|
57
68
|
Every surface through which an agent reaches the component contract, projected from the same registry the other gems build. Five ship: the boot-free `poetry-agent` MCP server for coding agents (`compose`, `build_page`, `describe_component`, `check`, `get_skill`, and friends over stdio, with an HTTP mount for hosted agents); the WebMCP runtime, which registers a rendered component's declared tools with the browser's agent when a call opts in; the AG-UI relay, a Rails client of the Agent-User Interaction protocol that runs an agent and renders its events as Turbo Streams; the A2UI catalog, which projects the registry into an A2UI catalog document; and the A2UI renderer, which folds an agent's surface messages into rendered Poetry components.
|
|
58
69
|
|
|
@@ -62,7 +73,7 @@ Loading the gem is the integration: it registers its controllers with poetry-cor
|
|
|
62
73
|
gem "poetry-agent"
|
|
63
74
|
```
|
|
64
75
|
|
|
65
|
-
### [poetry-extract](https://github.com/roboruby/poetry-extract) — domain in, theme out
|
|
76
|
+
### [poetry-extract](https://github.com/roboruby/poetry/tree/main/gems/poetry-extract) — domain in, theme out
|
|
66
77
|
|
|
67
78
|
Point it at a public website and get back a `DESIGN.md` document plus deterministic design tokens, ready for Poetry's AA-gated theme importer. It fetches the site's styleguide, brand, screenshot, and homepage markdown, composes the `DESIGN.md` in one Claude call, derives a Tailwind v4 theme and CSS `:root` tokens deterministically from it, and hands the result to the importer that refuses any theme failing the contrast gate.
|
|
68
79
|
|
|
@@ -74,7 +85,7 @@ gem "poetry-extract"
|
|
|
74
85
|
bin/rails "poetry:design:extract[stripe.com]"
|
|
75
86
|
```
|
|
76
87
|
|
|
77
|
-
### [poetry-simple_form](https://github.com/roboruby/poetry-simple_form) — the migration bridge
|
|
88
|
+
### [poetry-simple_form](https://github.com/roboruby/poetry/tree/main/gems/poetry-simple_form) — the migration bridge
|
|
78
89
|
|
|
79
90
|
For apps already on simple_form. One initializer re-maps every simple_form input type onto classes that render whole Poetry fields through the form builder, so existing `f.input` and `f.association` calls keep working, now with label, hint, error, and aria derived from the model exactly as the native builder does. The controls simple_form never had are one `as:` away, `simple_form.*` i18n keys keep resolving, and removing the initializer restores stock rendering instantly. The bridge exists so views can migrate to the native builder at their own pace.
|
|
80
91
|
|
data/lib/poetry/version.rb
CHANGED
|
@@ -4,5 +4,5 @@ module Poetry
|
|
|
4
4
|
# The family's shared version. Every sibling gem pins its Poetry
|
|
5
5
|
# dependencies to exactly this number, and the umbrella's three runtime
|
|
6
6
|
# dependencies follow it, so one `bundle update poetry` moves the set.
|
|
7
|
-
VERSION = "0.1.
|
|
7
|
+
VERSION = "0.1.6"
|
|
8
8
|
end
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: poetry
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Solt
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 2026-09-20 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: poetry-core
|
|
@@ -15,42 +15,42 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - '='
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: 0.1.
|
|
18
|
+
version: 0.1.6
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - '='
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: 0.1.
|
|
25
|
+
version: 0.1.6
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: poetry-lucide
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
29
29
|
requirements:
|
|
30
30
|
- - '='
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 0.1.
|
|
32
|
+
version: 0.1.6
|
|
33
33
|
type: :runtime
|
|
34
34
|
prerelease: false
|
|
35
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
36
36
|
requirements:
|
|
37
37
|
- - '='
|
|
38
38
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: 0.1.
|
|
39
|
+
version: 0.1.6
|
|
40
40
|
- !ruby/object:Gem::Dependency
|
|
41
41
|
name: poetry-ui
|
|
42
42
|
requirement: !ruby/object:Gem::Requirement
|
|
43
43
|
requirements:
|
|
44
44
|
- - '='
|
|
45
45
|
- !ruby/object:Gem::Version
|
|
46
|
-
version: 0.1.
|
|
46
|
+
version: 0.1.6
|
|
47
47
|
type: :runtime
|
|
48
48
|
prerelease: false
|
|
49
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
50
50
|
requirements:
|
|
51
51
|
- - '='
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: 0.1.
|
|
53
|
+
version: 0.1.6
|
|
54
54
|
description: 'The Poetry umbrella gem: installs poetry-core (the Rails engine and
|
|
55
55
|
component DSL), poetry-ui (the accessible, themeable, agent-legible component library)
|
|
56
56
|
and poetry-lucide (the default icon set) together.'
|
|
@@ -91,5 +91,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
91
91
|
requirements: []
|
|
92
92
|
rubygems_version: 4.0.20
|
|
93
93
|
specification_version: 4
|
|
94
|
-
summary: 'Poetry: the AI-native
|
|
94
|
+
summary: 'Poetry: the AI-native frontend framework for Rails.'
|
|
95
95
|
test_files: []
|