Skip to content

Skip Gem::Deprecate Warnings; The CLI handles that 🛀

Compare
Choose a tag to compare
@akabiru akabiru released this 18 Jan 11:55
61e4745

Description

When running a fakerbot command in verbose mode e.g. fakerbot list -v fakerbot actually invokes fakers methods; even ones with deprecation warnings.

When this happens faker will by default print the deprecation warnings. We don't really want that as the CLI is already showing deprecation warnings as handled in #10
Sample

screenshot 2019-01-18 at 10 35 16

Screenshots

fakerbot list -v

🙂
screenshot 2019-01-18 at 10 30 11

😐
screenshot 2019-01-18 at 10 30 16