<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -8,6 +8,8 @@
 * support for RAILS_ROOT as a destination root
 * removed references to Merb which now has its own generator system; can access any merb
   generators via `rubigen` helper app
+* RubiGen::Base.active can be changed to a RubiGen::Base subclass that will be used
+  for lookups (e.g. RubiGen::Base.active = Rails::Generator::Base)
 
 == 1.4.0 2008-12-11
 </diff>
      <filename>History.txt</filename>
    </modified>
    <modified>
      <diff>@@ -1,6 +1,7 @@
 = TODO
 
+* default #manifest to clone over any folders + files + apply erb to any *.erb files
+* rspec examples generated for application_generator and component_generator as per newgem
 * Labels for displays based on scope (common, rails, newgem), not rubygems, builtin, etc. Perhaps use one PathSource per scope.
   See RubiGen::Scripts::Base#usage_message
 * Local generators (~/.rubigen) can be scoped (~/.rubigen/rails_generators)
-* default #manifest to clone over any folders + files + apply erb to any *.erb files
\ No newline at end of file</diff>
      <filename>Todo.txt</filename>
    </modified>
    <modified>
      <diff>@@ -23,4 +23,5 @@ RubiGen::Base.send(:include, RubiGen::Commands)
 # Set up a default logger for convenience.
 require 'rubigen/simple_logger'
 RubiGen::Base.logger = RubiGen::SimpleLogger.new(STDOUT)
+RubiGen::Base.active = RubiGen::Base
 </diff>
      <filename>lib/rubigen.rb</filename>
    </modified>
    <modified>
      <diff>@@ -86,6 +86,11 @@ module RubiGen
     # A logger instance available everywhere in the generator.
     cattr_accessor :logger
 
+    # Either RubiGen::Base, or a subclass (e.g. Rails::Generator::Base)
+    # Currently used to determine the lookup paths via the overriden const_missing mechansim
+    # in lookup.rb
+    cattr_accessor :active
+
     # Every generator that is dynamically looked up is tagged with a
     # Spec describing where it was found.
     class_inheritable_accessor :spec</diff>
      <filename>lib/rubigen/base.rb</filename>
    </modified>
    <modified>
      <diff>@@ -8,7 +8,7 @@ class Object
     def lookup_missing_generator(class_id)
       if md = /(.+)Generator$/.match(class_id.to_s)
         name = md.captures.first.demodulize.underscore
-        RubiGen::Base.lookup(name).klass
+        RubiGen::Base.active.lookup(name).klass
       else
         const_missing_before_generators(class_id)
       end</diff>
      <filename>lib/rubigen/lookup.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7725c1e8a8d52d9f1a60875926936787469ba706</id>
    </parent>
  </parents>
  <author>
    <name>Dr Nic Williams</name>
    <email>drnicwilliams@gmail.com</email>
  </author>
  <url>http://github.com/drnic/rubigen/commit/75d302ee128af1e56959af40f7e1aa29d6cf3d74</url>
  <id>75d302ee128af1e56959af40f7e1aa29d6cf3d74</id>
  <committed-date>2008-12-27T03:04:27-08:00</committed-date>
  <authored-date>2008-12-27T03:04:27-08:00</authored-date>
  <message>* RubiGen::Base.active can be changed to a RubiGen::Base subclass that will be used
  for lookups (e.g. RubiGen::Base.active = Rails::Generator::Base)</message>
  <tree>d1501deb861f3840f4ccfe4ec7ea3727990ae990</tree>
  <committer>
    <name>Dr Nic Williams</name>
    <email>drnicwilliams@gmail.com</email>
  </committer>
</commit>
