Sha256: 79f6ed0eb96407f50cc949c0dc0b3bd508b6708f6c6168798f2e392d1c60c038

Contents?: true

Size: 1.54 KB

Versions: 1

Compression:

Stored size: 1.54 KB

Contents

# 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).

# INSTALL

`gem install storazzo`

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

# Tests

I still struggle to enforce the include of LOCAL unchecked code rather than latest required system gem (cmon Ruby!)
but I found loads of interesting ways to test my code by googling and StoackOverflowing:

* `rake test TEST="test/sum_test.rb"`
* test-gcs-bucket: `ruby -I test test/test_gcs_bucket.rb` (meh - see below)
* test-media-subfolder: `rake test TEST="test/media/*.rb"`

Single test in single file:

* `rake test TEST="test/sum_test.rb" TESTOPTS="--name=test_returns_two"` (sample)
* `rake test TEST="test/media/test_local_folder.rb" TESTOPTS="--name=test_1_first_directory_parsing_actually_works"`
* `ruby -I test test/test_local_folder.rb -n test_first_directory_parsing_actually_works` (note this includes `storazzo` latest gem 
    and doesnt benefit from LATEST code so its NOT good for testing: use RAKE for that).


Now to toggle verbosity I believe I need to go into Rakefile (bummer)
# Thanks

Inspiration from:

* `hola` gem awesome guide: https://guides.rubygems.org/make-your-own-gem/
* RubyGem from DHH: https://github.com/rails/strong_parameters/tree/master/lib for how to trustucre lib/ and gemspec.
* Stackoverflow and Google for the rest.
* Elio e le Storie Tese: _Sai chi ti scandisce il disco un casino? Storazzo!_

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
storazzo-0.4.5 README.md