Permalink
Browse files

Remove unnecessary top-level configure block.

  • Loading branch information...
pgr0ss committed Jun 7, 2012
1 parent 10e5b78 commit 305ca72578553d654f1fa42e81a877056be3d467
Showing with 3 additions and 7 deletions.
  1. +0 −7 lib/curator.rb
  2. +2 −0 lib/curator/resettable_riak/configuration.rb
  3. +1 −0 lib/curator/resettable_riak/data_store.rb
View
@@ -23,11 +23,4 @@ def self.configure(data_store, &block)
def self.data_store
@data_store ||= config.data_store
end
-
- self.configure(:riak) do |config|
- config.environment = 'development'
- config.migrations_path = File.expand_path(File.dirname(__FILE__) + "/../db/migrate")
- config.bucket_prefix = 'curator'
- config.riak_config_file = File.expand_path(File.dirname(__FILE__) + "/../config/riak.yml")
- end
end
@@ -1,3 +1,5 @@
+require File.expand_path(File.dirname(__FILE__) + '/../riak/configuration')
+
module Curator::ResettableRiak
class Configuration < Curator::Riak::Configuration
def data_store
@@ -1,3 +1,4 @@
+require File.expand_path(File.dirname(__FILE__) + '/../riak/data_store')
require 'active_support/core_ext/kernel/reporting'
module Curator

0 comments on commit 305ca72

Please sign in to comment.