lib/picky/bundle.rb in picky-4.26.2 vs lib/picky/bundle.rb in picky-4.27.0

- old
+ new

@@ -51,11 +51,12 @@ @category = category @weight_strategy = weight_strategy @partial_strategy = partial_strategy @similarity_strategy = similarity_strategy - + + @hints = options.delete :hints @backend = options.delete :backend reset_backend end def identifier @@ -79,14 +80,14 @@ # Extract specific indexes from backend. # # TODO Move @backend_ into the backend? # def create_backends - @backend_inverted = backend.create_inverted self - @backend_weights = backend.create_weights self - @backend_similarity = backend.create_similarity self - @backend_configuration = backend.create_configuration self - @backend_realtime = backend.create_realtime self + @backend_inverted = backend.create_inverted self, @hints + @backend_weights = backend.create_weights self, @hints + @backend_similarity = backend.create_similarity self, @hints + @backend_configuration = backend.create_configuration self, @hints + @backend_realtime = backend.create_realtime self, @hints end # Initial indexes. # # Note that if the weights strategy doesn't need to be saved, \ No newline at end of file