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.0.6 lib/picky/migrations/from_30_to_31.rb
picky-4.0.5 lib/picky/migrations/from_30_to_31.rb
picky-4.0.4 lib/picky/migrations/from_30_to_31.rb
picky-4.0.3 lib/picky/migrations/from_30_to_31.rb
picky-4.0.1 lib/picky/migrations/from_30_to_31.rb
picky-4.0.0 lib/picky/migrations/from_30_to_31.rb
picky-4.0.0pre6 lib/picky/migrations/from_30_to_31.rb
picky-4.0.0pre5 lib/picky/migrations/from_30_to_31.rb
picky-4.0.0pre3 lib/picky/migrations/from_30_to_31.rb
picky-4.0.0pre2 lib/picky/migrations/from_30_to_31.rb
picky-4.0.0pre1 lib/picky/migrations/from_30_to_31.rb
picky-3.6.16 lib/picky/migrations/from_30_to_31.rb
picky-3.6.15 lib/picky/migrations/from_30_to_31.rb
picky-3.6.14 lib/picky/migrations/from_30_to_31.rb
picky-3.6.13 lib/picky/migrations/from_30_to_31.rb
picky-3.6.12 lib/picky/migrations/from_30_to_31.rb
picky-3.6.11 lib/picky/migrations/from_30_to_31.rb
picky-3.6.10 lib/picky/migrations/from_30_to_31.rb
picky-3.6.9 lib/picky/migrations/from_30_to_31.rb
picky-3.6.8 lib/picky/migrations/from_30_to_31.rb