Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Sep 4, 2008
  1. change version# to 1.0.4

    Cuong Tran authored
Commits on Sep 3, 2008
  1. @jerodsanto

    Modified the AnnotateModels module so it only updates models that hav…

    jerodsanto authored
    …e 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.
Commits on May 17, 2008
  1. @timcharper

    output as binary files to enforce "unix command line" mode.

    timcharper 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.
Commits on May 3, 2008
  1. Push a new version 1.0.3 out to rubyforge

    Cuong Tran authored
  2. @dustin

    When position is set to "after", include a newline before the schema.

    dustin authored Cuong Tran committed
  3. @dustin

    Don't leave trailing whitespace in the annotations.

    dustin authored Cuong Tran committed
  4. @henrik

    Show 'Nothing to annotate!' instead of 'Annotated ' when there are no…

    henrik authored Cuong Tran committed
    … applicable models.
    
    Typo: 'annotaion' -> 'annotation'.
    Don't say that class was annotated if annotation errored out.
    Add myself to README credits.
    Update README/example to use the schema version-less header.
    Rephrase "Nothing to annotate" --> "Nothing annotated"; makes more sense if there were none because they failed.
Commits on Mar 23, 2008
Commits on Mar 22, 2008
  1. added an option postion to choose to put the annotation, spec/fixture…

    Michael Bumann authored
    …s now also get annotated, added a task to remove the annotations
Commits on Mar 11, 2008
  1. Modify credits section and upload new docs.

    Cuong Tran authored
Commits on Mar 10, 2008
  1. Merge changes from JackDanger

    Cuong Tran authored
    Add lib/tasks/annotate.rake to the Manifest, up the revision to push out to rubyforge
  2. Merge branch 'master' of git://github.com/JackDanger/annotate_models …

    Cuong Tran authored
    …into JackDanger/master
  3. Remove ref to sake since it's no longer a deps.

    Cuong Tran authored
Commits on Mar 9, 2008
  1. @JackDanger
  2. @JackDanger
  3. @JackDanger
  4. @JackDanger

    reverting commit that accidentally included class << self refactoring…

    JackDanger authored
    …. Still
    
    trying to figure this git stuff out ;)
    This reverts commit a7e0b8c.
  5. @JackDanger

    Prior to this commit there was no support for models in subdirectorie…

    JackDanger authored
    …s that weren't namespaced.
    
    It's become a convention to clean up massive numbers of models by grouping them logically into
    subdirectories (e.g. putting everything related to finances under app/models/finances).
    This commit refactors the single line that retrieves the model class into a method that can
    properly check for alternative class names.
  6. @ffmike
Commits on Feb 29, 2008
  1. Add .gitignore

    Cuong Tran authored
  2. Ignore the doc dir

    Cuong Tran authored
  3. doc change

    Cuong Tran authored
  4. Refactor how rake tasks are loaded

    Cuong Tran authored
  5. Fix the command script

    Cuong Tran authored
  6. Add a script so don't need to rely on Sake anymore

    Cuong Tran authored
Commits on Feb 28, 2008
  1. fix the install instructions

    Cuong Tran authored
  2. Add instructions

    Cuong Tran authored
  3. First usable release

    Cuong Tran authored
Commits on Feb 27, 2008
Something went wrong with that request. Please try again.