storazzo Gem

๐Ÿ“ฆ Storazzo ๐Ÿ’Ž gem - a Gem to automatically parse your FS for mounts (๐Ÿ’ฝ ๐Ÿ’พ ๐Ÿ’ฟ ) and compute MD5 (๐Ÿค) of all files therein and then collect in central DB ๐Ÿ”‹ through ๐Ÿ“ฆ StorazzoApp๐Ÿ“ฆ (TM).

Storazzo logo

INSTALL

gem install storazzo

(Latest version is hosted in https://rubygems.org/gems/storazzo)

Development & Testing

To run the tools locally without installing the gem, use just (recommended) or standard Ruby flags.

This repository includes a justfile with common development commands:

  • just setup - Install dependencies
  • just test - Run all tests
  • just run scan /path - Run the local storazzo CLI
  • just hello - Run the local hello-storazzo script

Manual Local Execution

If you don't have just installed, you can use bundle exec and the -Ilib flag:

  • Run CLI: bundle exec ruby -Ilib bin/storazzo scan /path
  • Run Tests: bundle exec rake test
  • Single Test: bundle exec ruby -Ilib:test test/media/test_local_folder.rb

Why bundle exec and -Ilib?

Using bundle exec ensures all dependencies from the Gemfile are available. The -Ilib flag adds the local lib/ directory to the Ruby load path, ensuring your local changes are used instead of any installed gem version.

Thanks

Inspiration from: