<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,21 @@
+== Version 0.1.1
+Move repository to GitHub
+
+Bug Fixes.
+
+* It appears that making changes directly to the view_paths array has been deprecated in 
+  Rails 2.1 onward and #append_view_path or #prepend_view_path should be used instead. 
+  Template for smerf_init.rb changed to use append_view_path.
+* Dependencies is deprecated from Rails 2.2 onward and ActiveSupport::Dependencies should 
+  be used instead. Template for smerf_init.rb changed to use ActiveSupport::Dependencies.
+
+Enhancements.
+
+* Added the ability for the generator to skip migrations by adding the --skip-migration
+  option. To re-run the generator without creating the migration you can do something 
+  like this:
+     ./script/generate smerf user --skip-migration  
+
 == Version 0.1.0
 Bug Fixes.
 </diff>
      <filename>CHANGES</filename>
    </modified>
    <modified>
      <diff>@@ -20,11 +20,8 @@ the users responses so that they can easily be analysed via SQL.
 
 == Download
 
-=== Direct Download
-    Get it from RubyForge at http://rubyforge.org/frs/?group_id=5260
-
-=== Using Rails Plugin Installer
-    ruby script/plugin install http://smerf.rubyforge.org/svn/stable/smerf
+=== Get it from GitHub
+    http://github.com/springbok/smerf
 
 == Installation
 </diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,6 @@
 class SmerfGenerator &lt; Rails::Generator::NamedBase
+  default_options :skip_migration =&gt; false
+  
   attr_accessor :plugin_path
   attr_accessor :user_model_name, :user_table_name, :user_table_fk_name 
   attr_accessor :link_table_name, :link_table_fk_name, :link_table_model_name,
@@ -29,7 +31,7 @@ class SmerfGenerator &lt; Rails::Generator::NamedBase
       
       # Migrations
       m.migration_template(&quot;migrate/create_smerfs.rb&quot;, 
-        &quot;db/migrate&quot;, {:migration_file_name =&gt; 'create_smerfs'})
+        &quot;db/migrate&quot;, {:migration_file_name =&gt; 'create_smerfs'}) unless options[:skip_migration]
 
       # Routes
       m.route_resources(:smerf_forms)
@@ -69,5 +71,12 @@ class SmerfGenerator &lt; Rails::Generator::NamedBase
     def banner
       &quot;Usage: #{$0} smerf UserModelName&quot;
     end
+    
+    def add_options!(opt)
+      opt.separator ''
+      opt.separator 'Options:'
+      opt.on(&quot;--skip-migration&quot;, 
+             &quot;Don't generate a migration files&quot;) { |v| options[:skip_migration] = v }
+    end
 
 end</diff>
      <filename>generators/smerf/smerf_generator.rb</filename>
    </modified>
    <modified>
      <diff>@@ -5,7 +5,7 @@ model_path = ''
 %w(controllers helpers models views).each do |code_dir|
   file_path = File.join(directory, 'app', code_dir)
   $LOAD_PATH &lt;&lt; file_path
-  Dependencies.load_paths &lt;&lt; file_path
+  ActiveSupport::Dependencies.load_paths &lt;&lt; file_path
   # Tell Rails where to look for out plugin's controller files
   config.controller_paths &lt;&lt; file_path if file_path.include?('controllers')
   # By default Rails uses a template_root of RAILS_ROOT/app/views, the plugin
@@ -13,7 +13,7 @@ model_path = ''
   # be found. I also had to do this to allow the application layout to be used, without
   # this no layout would be used at all. We place the plugin view directory at the end
   # of the array so that the application view will be checked first.
-  ActionController::Base.view_paths &lt;&lt; file_path if file_path.include?('views')
+  ActionController::Base.append_view_path file_path if file_path.include?('views')
   model_path = file_path if file_path.include?('models') 
 end
 </diff>
      <filename>generators/smerf/templates/smerf_init.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d0d9864dfa3026c9ebc4ec2c559300ec3cee12a5</id>
    </parent>
  </parents>
  <author>
    <name>Etienne van Tonder</name>
    <email>etiennevt@gmail.com</email>
  </author>
  <url>http://github.com/springbok/smerf/commit/74d8474023e130b9119ef320c02236a207584a2c</url>
  <id>74d8474023e130b9119ef320c02236a207584a2c</id>
  <committed-date>2009-01-01T17:18:44-08:00</committed-date>
  <authored-date>2009-01-01T17:18:44-08:00</authored-date>
  <message>Update to work with Rails 2.2</message>
  <tree>2e12bec9d533f777beb8ceba0b05e78eb111835f</tree>
  <committer>
    <name>Etienne van Tonder</name>
    <email>etiennevt@gmail.com</email>
  </committer>
</commit>
