This file provides guidance to AI coding agents when working with code in this repository.
code_manifest is a Ruby gem that fetches files by glob patterns and generates a digest of those files. It is used to produce stable manifests of file sets for caching and change-detection purposes.
bundle install
# Run all tests (RSpec)
bundle exec rspec
# Run a single spec file
bundle exec rspec spec/path/to/spec.rb
# Format code with rubyfmt (requires the rubyfmt binary on PATH, e.g. `brew install rubyfmt`)
rubyfmt -i lib/ spec/ Rakefile code_manifest.gemspec Gemfile bin/console
# Check formatting without writing changes (this is what CI runs)
rubyfmt --check lib/ spec/ Rakefile code_manifest.gemspec Gemfile bin/consolelib/code_manifest.rb— public API; accepts glob patterns and returns matched files plus a digestlib/code_manifest/— internal helpers for glob resolution and hashingspec/— RSpec tests;spec/fixtures/holds sample file trees