<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>mack-distributed/lib/mack-distributed/object.rb</filename>
    </added>
    <added>
      <filename>mack-distributed/spec/lib/distributed/distributed_spec.rb</filename>
    </added>
    <added>
      <filename>mack-distributed/spec/lib/distributed/object_spec.rb</filename>
    </added>
    <added>
      <filename>mack-facets/lib/mack-facets/utils/blank_slate.rb</filename>
    </added>
    <added>
      <filename>mack-facets/spec/lib/utils/blank_slate_spec.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -5,7 +5,6 @@ module Mack
         
         def self.register_or_renew(options = {})
           options = handle_options(options)
-          ::DRb.start_service
           begin
             ring_server.take([options[:space], options[:klass_def], nil, nil], options[:timeout])
           rescue Exception =&gt; e
@@ -16,7 +15,6 @@ module Mack
         
         def self.register(options = {})
           options = handle_options(options)
-          ::DRb.start_service
           ring_server.write([options[:space], 
                              options[:klass_def], 
                              options[:object], 
@@ -25,6 +23,7 @@ module Mack
         end
         
         def self.ring_server
+          ::DRb.start_service
           rs = ::Rinda::RingFinger.primary
           rs
         end
@@ -36,7 +35,7 @@ module Mack
         
         private
         def self.handle_options(options = {})
-          {:space =&gt; :name, :klass_def =&gt; nil, :object =&gt; nil, :description =&gt; nil, :timeout =&gt; app_config.mack.drb_timeout}.merge(options)
+          {:space =&gt; nil, :klass_def =&gt; nil, :object =&gt; nil, :description =&gt; nil, :timeout =&gt; app_config.mack.drb_timeout}.merge(options)
         end
         
       end</diff>
      <filename>mack-distributed/lib/mack-distributed/utils/rinda.rb</filename>
    </modified>
    <modified>
      <diff>@@ -8,5 +8,7 @@ mack::page_cache: true
 
 mack::use_distributed_routes: false
 mack::distributed_app_name: fake_app
+mack::share_objects: true
+mack::drb_timeout: 0
 
 mack::testing_framework: rspec
\ No newline at end of file</diff>
      <filename>mack-distributed/spec/fake_application/config/app_config/default.yml</filename>
    </modified>
    <modified>
      <diff>@@ -2,19 +2,14 @@ require File.join(File.dirname(__FILE__), &quot;..&quot;, &quot;..&quot;, &quot;..&quot;, &quot;spec_helper&quot;)
 
 describe &quot;droute_url&quot; do
   
-  before(:all) do
+  before(:each) do
     begin
       DRb.start_service
       Rinda::RingServer.new(Rinda::TupleSpace.new)
-      # DRb.thread.join
     rescue Errno::EADDRINUSE =&gt; e
       # it's fine to ignore this, it's expected that it's already running.
       # all other exceptions should be thrown
     end
-    begin
-      rs.take([:testing, :String, nil, nil], 0)
-    rescue Exception =&gt; e
-    end
     app_config.load_hash({&quot;mack::use_distributed_routes&quot; =&gt; true, &quot;mack::distributed_app_name&quot; =&gt; :known_app}, :distributed_route_test)
     Mack::Routes.build do |r| # force the routes to go the DRb server
       r.known &quot;/my_known_app/my_known_url&quot;, :controller =&gt; :foo, :action =&gt; :bar
@@ -22,7 +17,7 @@ describe &quot;droute_url&quot; do
     end
   end
   
-  after(:all) do
+  after(:each) do
     app_config.revert
   end
   </diff>
      <filename>mack-distributed/spec/lib/distributed/routing/distributed_route_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -4,11 +4,10 @@ require 'rinda/tuplespace'
 
 describe Mack::Distributed::Utils::Rinda do
   
-  before(:all) do 
+  before(:each) do 
     begin
       DRb.start_service
       Rinda::RingServer.new(Rinda::TupleSpace.new)
-      # DRb.thread.join
     rescue Errno::EADDRINUSE =&gt; e
       # it's fine to ignore this, it's expected that it's already running.
       # all other exceptions should be thrown</diff>
      <filename>mack-distributed/spec/lib/distributed/utils/rinda_spec.rb</filename>
    </modified>
    <modified>
      <diff>@@ -17,7 +17,7 @@ require 'extlib/hook'
 
 fl = File.join(File.dirname(__FILE__), &quot;mack-facets&quot;)
 
-[:inflector, :inflections, :options_merger, :registry_list, :registry_map].each do |k|
+[:inflector, :inflections, :options_merger, :registry_list, :registry_map, :blank_slate].each do |k|
   path = File.join(fl, &quot;utils&quot;, &quot;#{k}&quot;)
   require path
 end</diff>
      <filename>mack-facets/lib/mack-facets.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>11e638487135b69bda7a5cb6a51b22754ea64c85</id>
    </parent>
    <parent>
      <id>8b87cd8ca819d68711176fc240b1a6f2546c3c31</id>
    </parent>
  </parents>
  <author>
    <name>Mark Bates</name>
    <email>mark@markbates.com</email>
  </author>
  <url>http://github.com/markbates/mack-more/commit/4f0a551aa0e15fb5a99faa4a31286b664e73a0f2</url>
  <id>4f0a551aa0e15fb5a99faa4a31286b664e73a0f2</id>
  <committed-date>2008-08-05T14:30:34-07:00</committed-date>
  <authored-date>2008-08-05T14:30:34-07:00</authored-date>
  <message>Merge branch 'dmodels'

* dmodels:
  Finished distributed objects [#10 state:resolved]
  More work on distributed objects [#10]
  Added specs for Mack::Distributed::Object [#10]
  Starting work on distributed models. [#10]</message>
  <tree>e7f53dff86a7d643707baf384f182bfacd976b73</tree>
  <committer>
    <name>Mark Bates</name>
    <email>mark@markbates.com</email>
  </committer>
</commit>
