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-4.10.0 lib/picky/migrations/from_30_to_31.rb
picky-4.9.0 lib/picky/migrations/from_30_to_31.rb
picky-4.8.1 lib/picky/migrations/from_30_to_31.rb
picky-4.8.0 lib/picky/migrations/from_30_to_31.rb
picky-4.7.0 lib/picky/migrations/from_30_to_31.rb
picky-4.6.6 lib/picky/migrations/from_30_to_31.rb
picky-4.6.5 lib/picky/migrations/from_30_to_31.rb
picky-4.6.4 lib/picky/migrations/from_30_to_31.rb
picky-4.6.3 lib/picky/migrations/from_30_to_31.rb
picky-4.6.2 lib/picky/migrations/from_30_to_31.rb
picky-4.6.1 lib/picky/migrations/from_30_to_31.rb
picky-4.6.0 lib/picky/migrations/from_30_to_31.rb
picky-4.5.12 lib/picky/migrations/from_30_to_31.rb
picky-4.5.11 lib/picky/migrations/from_30_to_31.rb
picky-4.5.10 lib/picky/migrations/from_30_to_31.rb
picky-4.5.9 lib/picky/migrations/from_30_to_31.rb
picky-4.5.8 lib/picky/migrations/from_30_to_31.rb
picky-4.5.7 lib/picky/migrations/from_30_to_31.rb
picky-4.5.6 lib/picky/migrations/from_30_to_31.rb
picky-4.5.5 lib/picky/migrations/from_30_to_31.rb