1. 23 Jul, 2009 1 commit
  2. 18 Jul, 2009 1 commit
  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. 27 Feb, 2009 1 commit
  8. 12 Feb, 2009 1 commit
  9. 08 Feb, 2009 1 commit
  10. 04 Feb, 2009 5 commits
  11. 04 Sep, 2008 2 commits
  12. 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.
  13. 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.
  14. 03 May, 2008 4 commits
  15. 23 Mar, 2008 1 commit
  16. 22 Mar, 2008 1 commit
  17. 11 Mar, 2008 1 commit
  18. 10 Mar, 2008 3 commits
  19. 09 Mar, 2008 6 commits