<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -2,11 +2,11 @@
 
 Gem::Specification.new do |s|
   s.name = %q{annotate}
-  s.version = &quot;2.2.6&quot;
+  s.version = &quot;2.2.7&quot;
 
   s.required_rubygems_version = Gem::Requirement.new(&quot;&gt;= 0&quot;) if s.respond_to? :required_rubygems_version=
   s.authors = [&quot;Marcos Piccinini&quot;]
-  s.date = %q{2009-02-14}
+  s.date = %q{2009-02-20}
   s.default_executable = %q{annotate}
   s.description = %q{Annotates Rails Models and Routes}
   s.email = [&quot;x@nofxx.com&quot;]</diff>
      <filename>annotate.gemspec</filename>
    </modified>
    <modified>
      <diff>@@ -2,7 +2,7 @@ $:.unshift(File.dirname(__FILE__)) unless
   $:.include?(File.dirname(__FILE__)) || $:.include?(File.expand_path(File.dirname(__FILE__)))
 
 module Annotate
-  VERSION = '2.2.6'
+  VERSION = '2.2.7'
 end
 
 begin</diff>
      <filename>lib/annotate.rb</filename>
    </modified>
    <modified>
      <diff>@@ -73,6 +73,8 @@ module AnnotateModels
     #                      &quot;before&quot; or &quot;after&quot;. Default is &quot;before&quot;.
     #  :position_in_class&lt;Symbol&gt;:: where to place the annotated section in model file
     #  :position_in_fixture&lt;Symbol&gt;:: where to place the annotated section in fixture file
+    #  :position_in_others&lt;Symbol&gt;:: where to place the annotated section in the rest of
+    #                      supported files
     #
     def annotate_one_file(file_name, info_block, options={})
       if File.exist?(file_name)
@@ -128,8 +130,8 @@ module AnnotateModels
       [
         File.join(UNIT_TEST_DIR,      &quot;#{model_name}_test.rb&quot;), # test
         File.join(SPEC_MODEL_DIR,     &quot;#{model_name}_spec.rb&quot;), # spec
-        File.join(EXEMPLARS_DIR,      &quot;#{model_name}_exemplar.rb&quot;),   # Object Daddy     
-      ].each { |file| annotate_one_file(file, info) }
+        File.join(EXEMPLARS_DIR,      &quot;#{model_name}_exemplar.rb&quot;), # Object Daddy
+      ].each { |file| annotate_one_file(file, info, options.merge(:position=&gt;(options[:position_in_others] || options[:position]))) }
 
       FIXTURE_DIRS.each do |dir|
         fixture_file_name = File.join(dir,klass.table_name + &quot;.yml&quot;)</diff>
      <filename>lib/annotate/annotate_models.rb</filename>
    </modified>
    <modified>
      <diff>@@ -3,7 +3,8 @@ task :annotate_models =&gt; :environment do
   require 'annotate/annotate_models'
   options={}
   options[:position_in_class] = ENV['position_in_class'] || ENV['position']
-  options[:position_in_fixture] = ENV['position_in_fixture'] || ENV['position']  
+  options[:position_in_fixture] = ENV['position_in_fixture'] || ENV['position']
+  options[:position_in_others] = ENV['position_in_others'] || ENV['position']
   AnnotateModels.do_annotations(options)
 end
 </diff>
      <filename>lib/tasks/annotate_models.rake</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7a85f89f446284cb89df5f306be25914b0878f10</id>
    </parent>
  </parents>
  <author>
    <name>Miguel Herranz</name>
    <email>ipglider@ipglider.org</email>
  </author>
  <url>http://github.com/nclark/annotate_models/commit/d61ff54ddaf479099d8e3e694ca3a23ee561e61a</url>
  <id>d61ff54ddaf479099d8e3e694ca3a23ee561e61a</id>
  <committed-date>2009-02-20T07:16:36-08:00</committed-date>
  <authored-date>2009-02-20T07:16:36-08:00</authored-date>
  <message>Now -p option also have effect on test, spec and Object Daddy files.</message>
  <tree>56f1d4d40d0271d288d1fd1cf778f47a86365b57</tree>
  <committer>
    <name>Miguel Herranz</name>
    <email>ipglider@ipglider.org</email>
  </committer>
</commit>
