1. 02 Jul, 2009 1 commit
  2. 11 Jun, 2009 3 commits
  3. 06 May, 2009 1 commit
  4. 01 May, 2009 1 commit
  5. 30 Apr, 2009 7 commits
  6. 28 Mar, 2009 1 commit
  7. 21 Mar, 2009 1 commit
  8. 27 Feb, 2009 1 commit
  9. 20 Feb, 2009 1 commit
  10. 14 Feb, 2009 1 commit
  11. 12 Feb, 2009 1 commit
  12. 08 Feb, 2009 1 commit
  13. 04 Feb, 2009 5 commits
  14. 28 Dec, 2008 1 commit
  15. 26 Dec, 2008 1 commit
  16. 25 Dec, 2008 6 commits
  17. 04 Sep, 2008 2 commits
  18. 03 Sep, 2008 1 commit
    • Modified the AnnotateModels module so it only updates models that have changed… · 7f3322e7
      Jerod Santo authored
      Modified the AnnotateModels module so it only updates models that have changed since the last time 'annotate' was run. This is huge for those of us who like to run 'annotate' frequently but don't want to update our VCS for all the models in our application each time we do.
      
      This required a few small modifications to the annotate_one_file, annotate, and do_annotations methods. Comments have been updated to reflect changes.
  19. 17 May, 2008 1 commit
    • output as binary files to enforce "unix command line" mode. · b8180640
      Tim Harper authored
      = In ruby, on windows =
      * A text file with CRLF or LF line endings will be opened with UNIX (LF) line endings in ruby.
      * When writing text to a file, ruby always uses CRLF line endings, regardless of the format of the line endings of the file to begin with.
      
      This causes an automatic conversion of all LF files to CRLF.  If you check out a project that uses unix line endings, then run annotate_models (before this commit), you're SCM is going to want to commit every line of every model.
      
      = In ruby, on *nix / osx =
      - Strings are always read and written as text with LF line endings.
      
      ----
      
      The end result is an endless tug-a-war over line-endings for collaborating windows and *nix developers.
      
      If you specify to write the files as binary ("wb"), both windows and *nix will output the text with LF line endings.  Most editors on windows support this format, and if you're deploying to a linux server, you should be using this format anyways.  This has solved the tug-a-war for me.
  20. 03 May, 2008 3 commits