diff options
| author | Paul Buetow <paul@buetow.org> | 2026-03-01 18:38:49 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-03-01 18:38:49 +0200 |
| commit | 08129b43792eeec92eacb9f47ce3f879489aa03c (patch) | |
| tree | f527ba7c71c58536fa68b0acaef41dcd56a3cfc6 /rcm.gemspec | |
| parent | 861e526d9ad9228f2b740dbcf00cf39d8fe652f2 (diff) | |
make rcm usable as a gem from any directory, fix bugs and tests
- 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>
Diffstat (limited to 'rcm.gemspec')
| -rw-r--r-- | rcm.gemspec | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/rcm.gemspec b/rcm.gemspec index 0c771df..a24b5dd 100644 --- a/rcm.gemspec +++ b/rcm.gemspec @@ -1,13 +1,17 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 3.3.0' s.name = 'rcm' - s.version = '0.0.0' + s.version = '0.1.0' s.licenses = ['BSD3'] s.summary = "Ruby Configuration Management system" s.description = "To configure my stuff" s.authors = ["Paul Buetow"] s.email = 'rcm@dev.buetow.org' - s.files = ["lib/dsl.rb"] + s.files = Dir['lib/**/*.rb'] + s.executables = ['rcm'] s.homepage = 'https://codeberg.org/snonux/rcm' s.metadata = { "source_code_uri" => "https://codeberg.org/snonux/rcm" } + + s.add_runtime_dependency 'toml', '~> 0.3' + s.add_runtime_dependency 'erb' end |
