lib/tako/repository.rb in tako-0.2.2 vs lib/tako/repository.rb in tako-0.3.0

- old
+ new

@@ -19,11 +19,11 @@ proxy_connections[shard_name] = temporary_class.connection proxy_configs[shard_name] = conf end - def shard(shard_name, base = nil) - Proxy.new(shard_name, proxy_connections[shard_name.to_sym], base) + def create_proxy(shard_name) + Proxy.new(shard_name, proxy_connections[shard_name.to_sym]) end def shard_names proxy_configs.keys end