It's not rare to have Ruby (and Rails) projects becomming hard to maintain and less fun after a while. This gem helps you to keep or increase the quality, good practices and security of your projects.
Massa can run in your CI using different code analyzers tools along with automated tests, instead of running only your automated tests.
Ie.: Instead of:
$ bundle exec rubocop && bundle exec brakeman -Aqz && bundle exec rails_best_practices && bundle exec rspec && etc
You will only need:
$ bundle exec massa
You can either use only the default tools or adding custom ones by using a simple config file.
Verbose mode:
Add the following lines to your application's Gemfile:
group :development, :test do
gem 'massa'
end
And then execute:
$ bundle
Generate a config file:
$ bundle exec massa -g
Then, run:
$ bundle exec massa
It's recommended to use -V
(or --verbose
) flag when running it in a CI:
$ bundle exec massa -V
"Massa" is a 🇧🇷 Portuguese slang which means "awesome", so once you add it to your project, it becomes "massa"!
Bug reports and pull requests are welcome. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the MIT License.
Copyright (c) 2016 Lucas Caton.