* Prevent root_dir option from being empty When setting root_dir to an empty string (as is done in the default rake task config) this line previously caused root_dir to become an empty array. This in turn caused factories, specs etc not to be annotated. This is just a quick band-aid on a larger problem. We have option parsing spread out over many different places, with slight mismatches like this in the assumptions made. * Handle blank values & comma-separated strings in AnnotateModels.root_dir These cases are currently handled (inconsistently) in the different option parsing routines. * Pass root_dir forward unmodified The different cases are now handled inside AnnotateModels
Name |
Last commit
|
Last update |
---|---|---|
bin | Loading commit data... | |
lib | Loading commit data... | |
spec | Loading commit data... | |
.document | Loading commit data... | |
.gitignore | Loading commit data... | |
.overcommit.yml | Loading commit data... | |
.rbenv-gemsets | Loading commit data... | |
.rspec | Loading commit data... | |
.rubocop.yml | Loading commit data... | |
.rubocop_todo.yml | Loading commit data... | |
.travis.yml | Loading commit data... | |
.yardopts | Loading commit data... | |
AUTHORS.rdoc | Loading commit data... | |
CHANGELOG.rdoc | Loading commit data... | |
Gemfile | Loading commit data... | |
Guardfile | Loading commit data... | |
LICENSE.txt | Loading commit data... | |
README.rdoc | Loading commit data... | |
RELEASE.rdoc | Loading commit data... | |
Rakefile | Loading commit data... | |
TODO.rdoc | Loading commit data... | |
annotate.gemspec | Loading commit data... | |
circle.yml | Loading commit data... | |
potato.md | Loading commit data... |