thecore_generators 3.16.0 → 3.17.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 +3 -1
- data/lib/templates/app_template.rb +10 -2
- data/lib/thecore_generators/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8cd6f4311a91873b0f9af8526fd5146551b4ace0e955c63af76711b374ea88d4
|
|
4
|
+
data.tar.gz: dc180b3b8059f2a6df76a549a383fabcead3f73a58bcc7ef11deab99980a47be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b191b5f4241faf54ba69f6cc935abb21d73ce3d15c9fb8af99133da7cc42d894f8aca4fd6857e2d2afe1d18de48a0ae4b6abc429ec3685a420f2bcee943ff229
|
|
7
|
+
data.tar.gz: 35b4520dea18574d445e35d620976ae5182183b08b8b2799bdecb020e0f204884aed3ad3e7e68d82a5f3480abba4267605caa02aebc159bb4c5e507991cd8a43
|
data/README.md
CHANGED
|
@@ -438,7 +438,9 @@ for the full design and why the two stay separate).
|
|
|
438
438
|
own dual-CI generation, extended here by ADR 0007/thecore_generators#25), the security
|
|
439
439
|
scanning next to them (`.github/workflows/security.yml`, and on GitLab SAST, Secret Detection,
|
|
440
440
|
brakeman, bundler-audit and a `security-summary` job running `script/security_summary.rb`,
|
|
441
|
-
fetched with its test `test/script/security_summary_test.rb`),
|
|
441
|
+
fetched with its test `test/script/security_summary_test.rb`), the on-demand system tests
|
|
442
|
+
(`test/application_system_test_case.rb` and the smoke test `test/system/sign_in_test.rb`,
|
|
443
|
+
against the devcontainer's `selenium` and `ldap` services; ADR 0010 in `thecore`), and `CLAUDE.md`
|
|
442
444
|
(universal sections only, project-specific sections left as TODO placeholders), plus
|
|
443
445
|
`AGENTS.md` (points to `CLAUDE.md`) and `docs/agents/` (issue tracker picked from the git
|
|
444
446
|
remote's host, GitHub or GitLab Issues; triage labels; domain docs). The fetch
|
|
@@ -237,7 +237,7 @@ RUBY
|
|
|
237
237
|
# Every write below is unconditional (`force: true`, no interactive prompt).
|
|
238
238
|
# Inside the documented flow, the separate, prior "Setup Devcontainer" step
|
|
239
239
|
# (`thecore_code_extension/commands/setupDevContainer.js`) has already written the
|
|
240
|
-
# eight `.devcontainer/*` files (ten from the extension release after 3.11.0);
|
|
240
|
+
# eight `.devcontainer/*` files (ten from the extension release after 3.11.0, eleven after 3.12.0);
|
|
241
241
|
# replacing them with the samples is the point, not a
|
|
242
242
|
# conflict to ask about. With a bare `rails new -m` (or an older extension release)
|
|
243
243
|
# some or all of them are new files instead, and `force: true` is harmless there.
|
|
@@ -269,8 +269,10 @@ end
|
|
|
269
269
|
# docker.sock gid to `.devcontainer/.env` for docker-compose.yml's `group_add`;
|
|
270
270
|
# `.gitignore` keeps that per-host `.env` out of git, since Rails' own
|
|
271
271
|
# `.gitignore` only covers `/.env*` at the root (ADR 0006 in thecore_devcontainer).
|
|
272
|
+
# `ldap-users.ldif` is the test user of the compose file's `ldap` service, which the
|
|
273
|
+
# system tests below sign in with (thecore_generators#28, ADR 0010 in thecore).
|
|
272
274
|
%w[devcontainer.json docker-compose.yml Dockerfile create-db-user.sql link-host-home.sh check-plugins.sh
|
|
273
|
-
heal-stale-containers.sh github-accounts.sh docker-socket-gid.sh .gitignore].each do |file|
|
|
275
|
+
heal-stale-containers.sh github-accounts.sh docker-socket-gid.sh .gitignore ldap-users.ldif].each do |file|
|
|
274
276
|
fetch_thecore_sample("devcontainer/#{file}", ".devcontainer/#{file}")
|
|
275
277
|
end
|
|
276
278
|
# `get`/`create_file` only write content, never permissions — the executable bit
|
|
@@ -295,6 +297,12 @@ fetch_thecore_sample(".github/workflows/ci.yml", ".github/workflows/ci.yml")
|
|
|
295
297
|
fetch_thecore_sample(".github/workflows/security.yml", ".github/workflows/security.yml")
|
|
296
298
|
fetch_thecore_sample("script/security_summary.rb", "script/security_summary.rb")
|
|
297
299
|
fetch_thecore_sample("test/script/security_summary_test.rb", "test/script/security_summary_test.rb")
|
|
300
|
+
# thecore_generators#28 (ADR 0010 in thecore): on-demand system tests against the devcontainer's
|
|
301
|
+
# `selenium` browser (SELENIUM_URL) and `ldap` service, with a smoke test. Rails 8.1 writes no
|
|
302
|
+
# application_system_test_case.rb without `--devcontainer`, so this is a create, not an overwrite;
|
|
303
|
+
# CI runs `bin/rails test`, which skips test/system.
|
|
304
|
+
fetch_thecore_sample("test/application_system_test_case.rb", "test/application_system_test_case.rb")
|
|
305
|
+
fetch_thecore_sample("test/system/sign_in_test.rb", "test/system/sign_in_test.rb")
|
|
298
306
|
fetch_thecore_sample("CLAUDE.md", "CLAUDE.md")
|
|
299
307
|
# thecore_devcontainer#13: the agent docs CLAUDE.md points to (issue tracker picked from the git
|
|
300
308
|
# remote's host, triage labels, domain docs) and an AGENTS.md that only points to CLAUDE.md, so
|