Skip to content
Measure sorbet adoption progress
Branch: master
Clone or download
Latest commit 0a4941c Jul 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
sorbet
test
.gitignore
.rubocop.yml
.travis.yml
CHANGELOG.md Release 0.2.3 Jul 8, 2019
CODE_OF_CONDUCT.md
Gemfile Working proof of concept Jul 2, 2019
README.md Docs: usage Jul 2, 2019
Rakefile Working proof of concept Jul 2, 2019
sorbet-progress.gemspec

README.md

SorbetProgress

Measure your progress as you adopt sorbet. I find that measuring progress keeps me motivated, which is crucial to finishing a project.

Installation

Add this line to your application's Gemfile:

gem 'sorbet-progress'

Then:

bundle

Or install it yourself:

gem install sorbet-progress

Usage

bundle exec srb tc --metrics-file /tmp/sorbet_metrics.json
# No errors! Great job.
bundle exec sorbet_progress /tmp/sorbet_metrics.json
# SorbetProgress:
# total_signatures 	1563
# total_methods    	5267
# total_classes    	3795
# sigil_ignore     	unknown
# sigil_false      	1
# sigil_true       	12
# sigil_strong     	unknown
# Keep up the good work 👍

Not sure what the best format is. Pull requests welcome. It might be nice to have an overall percentage, for example.

Contributing

This project does not accept bug reports. Pull requests are welcome.

This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct

You can’t perform that action at this time.