lib/maxcube/network/tcp/client.rb in maxcube-client-0.4.0 vs lib/maxcube/network/tcp/client.rb in maxcube-client-0.4.1
- old
+ new
@@ -16,10 +16,10 @@
sent: { hashes: [], data: [] } }
@hash = nil
@hash_set = false
- @data_dir = Pathname.new('../data')
+ @data_dir = Pathname.new(MaxCube.data_dir)
@load_data_dir = @data_dir + 'load'
@save_data_dir = @data_dir + 'save'
@verbose = true
@persist = true