summaryrefslogtreecommitdiff
path: root/examples/plain_ruby/Justfile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-03-02 08:34:35 +0200
committerPaul Buetow <paul@buetow.org>2026-03-02 08:34:35 +0200
commitc1275b2c29ba755d88d7c0253e0c32e820389107 (patch)
tree8713a342f84ab8a432f781573dd1a6e7178cd51d /examples/plain_ruby/Justfile
parent7c439bef61b90e6744ac971a999262a0eeb76750 (diff)
parent5b8ce0b75271af6b4799800178ab3039d97c47b7 (diff)
Merge branch 'develop'
Includes security fixes, bug fixes, and code quality refactors: - Fix command injection in DNFPackageManager (system() multi-arg form) - Fix backup_resursively! typo (latent NoMethodError) - Add error handling to DNFPackageManager (CommandFailed + run_dnf!) - Split file.rb monolith into per-class files - Extract DryRun concern (SRP), narrow BasicFile interface (ISP) - Extract register_keyword DSL helper (DRY) - Replace ObjectSpace scan with inherited-hook class registry - Defer Options.parse! and Config.load! to application entry point - Add Justfiles to all example directories
Diffstat (limited to 'examples/plain_ruby/Justfile')
-rw-r--r--examples/plain_ruby/Justfile11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/plain_ruby/Justfile b/examples/plain_ruby/Justfile
new file mode 100644
index 0000000..c758519
--- /dev/null
+++ b/examples/plain_ruby/Justfile
@@ -0,0 +1,11 @@
+# Apply configuration
+run:
+ ruby config.rb
+
+# Dry run — show what would change without making changes
+dry:
+ ruby config.rb --dry
+
+# Verbose output
+debug:
+ ruby config.rb --debug