summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2026-03-01refactor: split file.rb into per-class files under lib/dslkeywords/Paul Buetow
file.rb was a ~400-line monolith holding seven unrelated classes/modules. Extract each into its own file so each file has a single responsibility and stays within the 50-line guideline: file_backup.rb — FileBackup mixin symlink.rb — Symlink class + DSL#symlink touch.rb — Touch class + DSL#touch directory.rb — Directory class + DSL#directory file.rb keeps BasicFile, BaseFile, File, and DSL#file. dsl.rb gains explicit require_relative lines for the new files. No logic was changed; all 29 tests continue to pass. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01fix: correct backup_resursively! typo in evaluate_present_recursively!Paul Buetow
The method is defined as backup_recursively! but was called as backup_resursively! — a NoMethodError at runtime for any configuration using the recursive directory copy directive. Also fix the matching misspelling in the log message string. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01fix: replace shell-interpolation with system() in DNFPackageManagerPaul Buetow
Backtick calls interpolated the package name directly into a shell command string, allowing metacharacters (;, $(), backticks) to execute arbitrary commands. Using system() with separate arguments bypasses the shell entirely, so the package name is passed as a literal argv element to dnf. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01bump version to 0.1.1v0.1.1Paul Buetow
2026-03-01removePaul Buetow
2026-03-01gracefully handle missing toml gem in config.rbPaul Buetow
2026-03-01fix requires syntax in plain_ruby example.rbPaul Buetow
2026-03-01resize DSL screenshot to 70% of original sizePaul Buetow
2026-03-01add DSL syntax screenshot to assets and READMEPaul Buetow
2026-03-01update quickstart examples in README to reflect LoadError fallback and gem usagev0.1.0Paul Buetow
2026-03-01add rcm LoadError fallback to rake and gem examplesPaul Buetow
2026-03-01replace gem example with bundle exec ruby, distinct from rake examplePaul Buetow
2026-03-01fix dry-run crash when parent directory does not exist yet, add rake and rcm ↵Paul Buetow
fallback to examples
2026-03-01fix bin/rcm to fall back to lib/dsl when gem is not installedPaul Buetow
2026-03-01use relative path to bin/rcm in cli example READMEPaul Buetow
2026-03-01clarify location of rcm CLI tool in cli example READMEPaul Buetow
2026-03-01add README.md to each example directory with usage instructionsPaul Buetow
2026-03-01add quickstart examples directory and link from READMEPaul Buetow
2026-03-01add comprehensive README with full DSL reference and setup guidePaul Buetow
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01make rcm usable as a gem from any directory, fix bugs and testsPaul Buetow
- Add lib/rcm.rb entry point and bin/rcm CLI executable - Update gemspec: v0.1.0, proper files list, executables, runtime deps - Support standalone arg parsing and --hosts filtering in options - Fix inverted logic and typo in FileBackup#different? (== vs !=, cecksum_b) - Fix unqualified File.directory? resolving to RCM::File in Directory - Fix test_chown assertions running before evaluate! creates files - Add setup to file tests to prevent order-dependent failures Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01addPaul Buetow
2025-11-26update readme with some examplesPaul Buetow
2025-02-28fixPaul Buetow
2025-02-28joPaul Buetow
2025-02-28can copy recursively a directoryPaul Buetow
2025-02-26already donePaul Buetow
2025-02-26only run when resource not yet exists as expectedPaul Buetow
2025-02-26rename dry? to do?Paul Buetow
2025-02-26can change owner of files and dirsPaul Buetow
2025-02-26add mode testPaul Buetow
2025-02-25initial mode supportPaul Buetow
2025-02-25change loggerPaul Buetow
2025-02-25add touch filePaul Buetow
2025-02-25can purge a dirPaul Buetow
2025-02-25add one ore testPaul Buetow
2025-02-22morePaul Buetow
2025-02-20can backup alo a directoryPaul Buetow
2025-02-19initial directory supportPaul Buetow
2025-02-19factor out symlink testPaul Buetow
2025-02-19done thosePaul Buetow
2025-02-19dry mode was implementedPaul Buetow
2025-02-19adding dryPaul Buetow
2025-02-19fixPaul Buetow
2025-02-19fixPaul Buetow
2025-02-19more on symlinksPaul Buetow
2025-02-19refactorPaul Buetow
2025-02-19make this workPaul Buetow
2025-02-19refactorPaul Buetow
2025-02-19add chainedPaul Buetow
2025-02-19more on thisPaul Buetow