Sha256: 550218cb6e85635ac86e17c590b4ac9812423b3e605f2cbe395eceb1b8a0680d

Contents?: true

Size: 881 Bytes

Versions: 94

Compression:

Stored size: 881 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 <<-MESSAGE

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!

MESSAGE
      end

    end

  end

end

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
picky-3.2.0 lib/picky/migrations/from_30_to_31.rb
picky-3.1.13 lib/picky/migrations/from_30_to_31.rb
picky-3.1.12 lib/picky/migrations/from_30_to_31.rb
picky-3.1.11 lib/picky/migrations/from_30_to_31.rb
picky-3.1.10 lib/picky/migrations/from_30_to_31.rb
picky-3.1.9 lib/picky/migrations/from_30_to_31.rb
picky-3.1.8 lib/picky/migrations/from_30_to_31.rb
picky-3.1.7 lib/picky/migrations/from_30_to_31.rb
picky-3.1.6 lib/picky/migrations/from_30_to_31.rb
picky-3.1.5 lib/picky/migrations/from_30_to_31.rb
picky-3.1.4 lib/picky/migrations/from_30_to_31.rb
picky-3.1.3 lib/picky/migrations/from_30_to_31.rb
picky-3.1.2 lib/picky/migrations/from_30_to_31.rb
picky-3.1.1 lib/picky/migrations/from_30_to_31.rb