This PR adds support for a --version option, with additional support files to maintain the project version within a file, like most ruby gems, in lib/perf_check/version.rb.
The gemspec file was updated to use the configured version.
The fuubar and pry-byebug gems were added to the gemspec as development declarations, to facilitate repeated testing and debugging.
The -M option was added as a alias to --run-migrations.
The file spec/rails_helper.rb was added (as an empty file), without which bundle exec rspec fails miserably.
Testing
This is a PR on an external repo, rubytunes. So, the only test is running the command line:
[ ] pull the branch from the repo, and cd to it
[ ] cd test_app
[ ] bundle exec perf_check --version and see the version output
This PR adds support for a
--version
option, with additional support files to maintain the project version within a file, like most ruby gems, inlib/perf_check/version.rb
.The
gemspec
file was updated to use the configured version.The
fuubar
andpry-byebug
gems were added to the gemspec as development declarations, to facilitate repeated testing and debugging.The
-M
option was added as a alias to--run-migrations
.The file
spec/rails_helper.rb
was added (as an empty file), without whichbundle exec rspec
fails miserably.Testing
This is a PR on an external repo,
rubytunes
. So, the only test is running the command line:cd
to itcd test_app
bundle exec perf_check --version
and see the version output