1. 06 Aug, 2019 1 commit
  2. 08 Apr, 2019 1 commit
    • Add frozen option for CI environment (#603) · fe172282
      Daisuke Yokomoto authored
      Add --frozen option to abort instead of write annotation.
      This is mainly for CI environment to detect missing annotation.
      Similar motivation with bundle install --frozen.
      
      works like:
      ```
      $ rake db:migrate frozen=yes
      
      annotate error. spec/models/user_spec.rb needs to be updated, but annotate was run with `--frozen
      ```
  3. 15 Feb, 2019 2 commits
  4. 14 Feb, 2019 1 commit
    • Refactor hooking ActiveRecord migration tasks (#588) · dc827279
      Yuichi Tanikawa authored
      - Use Rake::Task#enhance insteaad of defining same tasks again
      - Remove hooking db:migrate:change task which doesn't exist
      - Fix hooking db:migrate:reset task so that the annotation runs after
        all migration tasks (#548)
  5. 10 May, 2018 1 commit
  6. 13 Oct, 2017 1 commit
  7. 25 Jul, 2017 1 commit
  8. 02 Jun, 2017 1 commit
  9. 30 May, 2017 1 commit
  10. 05 Mar, 2017 1 commit
    • Prevent root_dir option from being empty (#448) · 8341983f
      Emil Sågfors authored
      * 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
  11. 31 Jan, 2017 1 commit
  12. 10 May, 2016 1 commit
  13. 25 Jan, 2016 1 commit
  14. 19 Jan, 2016 1 commit
  15. 11 Jan, 2016 2 commits
  16. 27 Dec, 2015 1 commit
  17. 02 Dec, 2015 2 commits
  18. 30 Nov, 2015 2 commits
  19. 24 Nov, 2015 1 commit
  20. 23 Nov, 2015 1 commit
  21. 15 Nov, 2015 1 commit
  22. 14 Jul, 2015 1 commit
  23. 19 Jun, 2015 1 commit
  24. 17 Jun, 2015 1 commit
  25. 03 Jun, 2015 1 commit
  26. 10 Apr, 2015 1 commit
  27. 02 Mar, 2015 1 commit
  28. 15 Jan, 2015 1 commit
  29. 13 Jan, 2015 1 commit
  30. 08 Feb, 2014 1 commit
  31. 27 Aug, 2012 1 commit
  32. 22 Aug, 2012 4 commits
  33. 26 Jul, 2012 1 commit