lib/picky/internals/indexing/bundle/super_base.rb in picky-2.1.2 vs lib/picky/internals/indexing/bundle/super_base.rb in picky-2.2.0

- old
+ new

@@ -31,12 +31,12 @@ attr_accessor :index, :weights, :similarity, :configuration, :similarity_strategy delegate :clear, :to => :index delegate :[], :[]=, :to => :configuration - def initialize name, configuration, similarity_strategy - @identifier = "#{configuration.identifier}:#{name}" - @files = Internals::Index::Files.new name, configuration + def initialize name, category, similarity_strategy + @identifier = "#{category.identifier}:#{name}" + @files = Internals::Index::Files.new name, category @index = {} @weights = {} @similarity = {} @configuration = {} # A hash with config options. \ No newline at end of file