1. 09 Nov, 2019 9 commits
  2. 31 Oct, 2019 1 commit
  3. 06 Oct, 2019 1 commit
  4. 05 Oct, 2019 4 commits
  5. 03 Oct, 2019 1 commit
  6. 02 Oct, 2019 2 commits
  7. 01 Oct, 2019 1 commit
  8. 30 Sep, 2019 1 commit
  9. 29 Sep, 2019 3 commits
  10. 28 Sep, 2019 1 commit
  11. 27 Sep, 2019 1 commit
  12. 26 Sep, 2019 1 commit
  13. 16 Sep, 2019 1 commit
  14. 03 Sep, 2019 5 commits
  15. 02 Sep, 2019 2 commits
  16. 08 Aug, 2019 1 commit
  17. 06 Aug, 2019 1 commit
  18. 16 Jul, 2019 3 commits
  19. 10 Jul, 2019 1 commit
    • Add option for additional file patterns (#633) · f95913ba
      Ryan authored
      This PR adds an option named `additional_file_patterns`.  You can specify custom path patterns (including globs) that the gem will use to annotate.
      
      For example, I used it like this on a project:
      
      ```ruby
      Annotate.set_defaults(
            'additional_file_patterns' => [
              File.join(Rails.application.root, 'app/lib/forms/%PLURALIZED_MODEL_NAME%/**/*.rb'),
              File.join(Rails.application.root, 'spec/lib/forms/%PLURALIZED_MODEL_NAME%/**/*.rb')
            ],
            ...
      )
      ```
      
      This makes it possible to have files nested under a directory which corresponds to the model.
      
      I believe this fixes #594.