<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -21,23 +21,23 @@ You describe the topology for your database infrastructure in your model(s).
 Different models can use different topologies.
 
   class MyHugeVolumeOfDataModel &lt; ActiveRecord::Base
-    connection_topology :replicated =&gt; true, :shard_by =&gt; :city
+    data_fabric :replicated =&gt; true, :shard_by =&gt; :city
   end
 
 There are four supported modes of operation, depending on the options given to the 
-connection_topology method.  The plugin will look for connections in your 
+data_fabric method.  The plugin will look for connections in your 
 config/database.yml with the following convention:
 
 No connection topology:
 #{environment} - this is the default, as with ActiveRecord, e.g. &quot;production&quot;
 
-  connection_topology :replicated =&gt; true
+  data_fabric :replicated =&gt; true
 #{environment}_#{role} - no sharding, just replication, where role is &quot;master&quot; or &quot;slave&quot;, e.g. &quot;production_master&quot;
 
-  connection_topology :shard_by =&gt; :city
+  data_fabric :shard_by =&gt; :city
 #{group}_#{shard}_#{environment} - sharding, no replication, e.g. &quot;city_austin_production&quot;
 
-  connection_topology :replicated =&gt; true, :shard_by =&gt; :city
+  data_fabric :replicated =&gt; true, :shard_by =&gt; :city
 #{group}_#{shard}_#{environment}_#{role} - sharding with replication, e.g. &quot;city_austin_production_master&quot;
 
 </diff>
      <filename>README.rdoc</filename>
    </modified>
    <modified>
      <diff>@@ -14,15 +14,6 @@ Echoe.new 'data_fabric' do |p|
 	p.include_rakefile = true
 end
 
-require 'rake/testtask'
-
-RAILS_ROOT=File.dirname(__FILE__)
-
-Rake::TestTask.new do |t|
-  t.test_files = FileList['test/*_test.rb']
-  t.verbose = true
-end
-
 task :pretest do
 	setup(false)
 end</diff>
      <filename>Rakefile</filename>
    </modified>
    <modified>
      <diff>@@ -5,21 +5,21 @@ require 'active_record/version'
 # You need to describe the topology for your database infrastructure in your model(s).  As with ActiveRecord normally, different models can use different topologies.
 # 
 # class MyHugeVolumeOfDataModel &lt; ActiveRecord::Base
-#   connection_topology :replicated =&gt; true, :shard_by =&gt; :city
+#   data_fabric :replicated =&gt; true, :shard_by =&gt; :city
 # end
 # 
-# There are four supported modes of operation, depending on the options given to the connection_topology method.  The plugin will look for connections in your config/database.yml with the following convention:
+# There are four supported modes of operation, depending on the options given to the data_fabric method.  The plugin will look for connections in your config/database.yml with the following convention:
 # 
 # No connection topology:
 # #{environment} - this is the default, as with ActiveRecord, e.g. &quot;production&quot;
 # 
-# connection_topology :replicated =&gt; true
+# data_fabric :replicated =&gt; true
 # #{environment}_#{role} - no sharding, just replication, where role is &quot;master&quot; or &quot;slave&quot;, e.g. &quot;production_master&quot;
 # 
-# connection_topology :shard_by =&gt; :city
+# data_fabric :shard_by =&gt; :city
 # #{group}_#{shard}_#{environment} - sharding, no replication, e.g. &quot;city_austin_production&quot;
 # 
-# connection_topology :replicated =&gt; true, :shard_by =&gt; :city
+# data_fabric :replicated =&gt; true, :shard_by =&gt; :city
 # #{group}_#{shard}_#{environment}_#{role} - sharding with replication, e.g. &quot;city_austin_production_master&quot;
 # 
 # 
@@ -92,13 +92,14 @@ module DataFabric
   
   # Class methods injected into ActiveRecord::Base
   module ClassMethods
-    def connection_topology(options)
+    def data_fabric(options)
       proxy = DataFabric::ConnectionProxy.new(self, options)
       ActiveRecord::Base.active_connections[name] = proxy
       
       raise ArgumentError, &quot;data_fabric does not support ActiveRecord's allow_concurrency = true&quot; if allow_concurrency
       DataFabric.logger.info &quot;Creating data_fabric proxy for class #{name}&quot;
     end
+    alias :connection_topology :data_fabric # legacy
   end
   
   class StringProxy</diff>
      <filename>lib/data_fabric.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1,5 +1,5 @@
 module DataFabric
 	module Version
-		STRING = &quot;1.0.0&quot;
+		STRING = &quot;1.0.1&quot;
 	end
 end</diff>
      <filename>lib/data_fabric/version.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d709e84cb039a9bd2ff5c719665f1d67e493fca8</id>
    </parent>
  </parents>
  <author>
    <name>Mike Perham</name>
    <email>mperham@gmail.com</email>
  </author>
  <url>http://github.com/fiveruns/data_fabric/commit/14f4433df425ca336e0197a21af19a0ef60248d5</url>
  <id>14f4433df425ca336e0197a21af19a0ef60248d5</id>
  <committed-date>2008-07-09T14:34:41-07:00</committed-date>
  <authored-date>2008-07-09T14:34:41-07:00</authored-date>
  <message>Change connection_topology class method to data_fabric.
Simpler naming FTW.
Fix some odd test issues.</message>
  <tree>92672221e851f7b490df332dcdec81ae400aa990</tree>
  <committer>
    <name>Mike Perham</name>
    <email>mperham@gmail.com</email>
  </committer>
</commit>
