Sha256: 06946c647bb75625a4c1d78e07163a8859cb8ce6da9fb76b1ff43e8d8afdf14d

Contents?: true

Size: 877 Bytes

Versions: 1

Compression:

Stored size: 877 Bytes

Contents

module Picky

  class Indexes

    class Memory

      def initialize(*)
        raise <<-MESSAGE

The Picky::Indexes::Memory is not available anymore and has been replaced by Picky::Index.

So instead of

  index = Picky::Indexes::Memory.new :name do
    # your config
  end

use

  index = Picky::Index.new :name do
    # your config
  end

Thanks and sorry for the inconvenience!

MESSAGE
      end

    end

    class Redis

      def initialize(*)
        raise <<-RAISE

The Picky::Indexes::Redis is not available anymore and has been replaced by Picky::Index.
(with the addition of a "backend" option)

So instead of

  index = Picky::Indexes::Redis.new :name do
    # your config
  end

use

  index = Picky::Index.new :name do
    backend Picky::Backends::Redis.new
    # your config
  end

Thanks and sorry for the inconvenience!

RAISE
      end

    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
picky-3.1.0 lib/picky/migrations/from_30_to_31.rb