iron-cms 0.19.1 → 0.20.0
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 +7 -8
- data/app/assets/builds/iron.css +2125 -2101
- data/app/assets/tailwind/iron/application.css +2 -0
- data/app/assets/tailwind/iron/components/field-list.css +35 -0
- data/app/assets/tailwind/iron/components/translation-notice.css +39 -0
- data/app/assets/tailwind/iron/lexxy.css +154 -47
- data/app/controllers/iron/blocks_controller.rb +8 -1
- data/app/controllers/iron/entries/content_copies_controller.rb +36 -0
- data/app/controllers/iron/entries_controller.rb +2 -1
- data/app/controllers/iron/references_controller.rb +7 -0
- data/app/helpers/iron/entries_helper.rb +24 -0
- data/app/helpers/iron/fields_helper.rb +21 -0
- data/app/mcp/iron/mcp/tool_context.rb +27 -12
- data/app/mcp/iron/mcp/tools/create_entry.rb +4 -3
- data/app/mcp/iron/mcp/tools/get_entry.rb +4 -3
- data/app/mcp/iron/mcp/tools/list_content_types.rb +1 -1
- data/app/mcp/iron/mcp/tools/list_entries.rb +4 -3
- data/app/mcp/iron/mcp/tools/search.rb +4 -3
- data/app/mcp/iron/mcp/tools/update_entry.rb +4 -3
- data/app/models/iron/entry/titlable.rb +29 -11
- data/app/models/iron/entry/translatable.rb +53 -0
- data/app/models/iron/entry.rb +1 -1
- data/app/models/iron/field.rb +14 -0
- data/app/models/iron/fields/block.rb +8 -0
- data/app/models/iron/fields/block_list.rb +14 -0
- data/app/models/iron/fields/boolean.rb +4 -0
- data/app/models/iron/fields/file.rb +4 -0
- data/app/models/iron/fields/reference_list.rb +8 -0
- data/app/models/iron/fields/rich_text_area.rb +10 -0
- data/app/views/iron/entries/_entry.html.erb +1 -1
- data/app/views/iron/entries/_entry_option.html.erb +4 -3
- data/app/views/iron/entries/_translation_notice.html.erb +32 -0
- data/app/views/iron/entries/edit.html.erb +14 -4
- data/app/views/iron/entries/entry.html.erb +8 -4
- data/app/views/iron/entries/fields/_block_list.html.erb +6 -22
- data/app/views/iron/entries/fields/_reference.html.erb +1 -1
- data/app/views/iron/entries/fields/_reference_item.html.erb +2 -2
- data/app/views/iron/entries/fields/_reference_list.html.erb +12 -3
- data/app/views/iron/entries/fields/block_list/_empty_state.html.erb +49 -0
- data/app/views/iron/entries/fields/block_list/_menu.html.erb +14 -0
- data/app/views/iron/entries/search.html.erb +3 -1
- data/app/views/iron/home/_recent_activity.html.erb +1 -1
- data/config/locales/en.yml +32 -0
- data/config/locales/it.yml +32 -0
- data/config/routes.rb +10 -0
- data/lib/iron/version.rb +1 -1
- metadata +18 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5938c2b3dd69de8b4cc3eec14b4c0deaa65daeb898a260c50568d65587a6839b
|
|
4
|
+
data.tar.gz: fc7563a4da099349e24dc547c7960a70856c803f9f2479ddb65c156a89cb9aeb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ebb10ff233e75a767e2e3cff35a274c9028fd4e7e365a53b94da9201abef49041d1f2e428dfbf66a311228e2ba71eceeab2e50938940c021fdcdc91bfc368152
|
|
7
|
+
data.tar.gz: e3f57598327d5cfa53425227606198d761a4286e3491475d2e6d49948fab9e01e10e980c09a50baf320b42886710eb50d188b2d3d3b65481b203de56b59e7360
|
data/README.md
CHANGED
|
@@ -328,6 +328,8 @@ erDiagram
|
|
|
328
328
|
|
|
329
329
|
## Publishing
|
|
330
330
|
|
|
331
|
+
The gem is published by the [Release workflow](.github/workflows/release.yml). Whenever a change to `lib/iron/version.rb` lands on `main`, it runs the test suite, builds the gem, tags the commit with the version number, and publishes to RubyGems.
|
|
332
|
+
|
|
331
333
|
To release a new version of the Iron gem:
|
|
332
334
|
|
|
333
335
|
1. **Update the version and changelog:**
|
|
@@ -335,19 +337,16 @@ To release a new version of the Iron gem:
|
|
|
335
337
|
- Update `CHANGELOG.md` with the changes for the new version
|
|
336
338
|
- Run `bundle install` to update the lock file with the new version
|
|
337
339
|
|
|
338
|
-
2. **Commit the changes
|
|
340
|
+
2. **Commit the changes and get them onto `main`**, by pushing directly or by merging a pull request:
|
|
339
341
|
|
|
340
342
|
```bash
|
|
341
|
-
git commit -am "
|
|
343
|
+
git commit -am "chore: release 0.20.0"
|
|
344
|
+
git push
|
|
342
345
|
```
|
|
343
346
|
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
```bash
|
|
347
|
-
bin/rails release
|
|
348
|
-
```
|
|
347
|
+
If a run fails before the gem is published, fix the cause and start it again from the Actions tab (Release → Run workflow, on `main`). A version that is already on RubyGems is skipped.
|
|
349
348
|
|
|
350
|
-
|
|
349
|
+
The workflow authenticates through [trusted publishing](https://guides.rubygems.org/trusted-publishing/), so it needs no API key or one-time password. RubyGems trusts the workflow by its file name: renaming `release.yml` means updating the trusted publisher of the `iron-cms` gem on rubygems.org.
|
|
351
350
|
|
|
352
351
|
## Contributing
|
|
353
352
|
|