rubytune / perf_check

PERRRFFF CHERRRRK!
17 stars 7 forks source link

[INFR-1208] add --version and enable rspec specs #23

Closed aks closed 5 years ago

aks commented 7 years ago

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: