Sha256: 0877e0996ee1d27188966d15d944095d25bf25aac63bc0b62195169f680687c4

Contents?: true

Size: 254 Bytes

Versions: 14

Compression:

Stored size: 254 Bytes

Contents

# frozen_string_literal: true

class ThinkingSphinx::Commands::Prepare < ThinkingSphinx::Commands::Base
  def call
    return if skip_directories?

    FileUtils.mkdir_p configuration.indices_location
  end

  private

  def type
    'prepare'
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
thinking-sphinx-5.6.0 lib/thinking_sphinx/commands/prepare.rb
thinking-sphinx-5.5.1 lib/thinking_sphinx/commands/prepare.rb
thinking-sphinx-5.5.0 lib/thinking_sphinx/commands/prepare.rb
thinking-sphinx-5.4.0 lib/thinking_sphinx/commands/prepare.rb
thinking-sphinx-5.3.0 lib/thinking_sphinx/commands/prepare.rb
thinking-sphinx-5.2.1 lib/thinking_sphinx/commands/prepare.rb
thinking-sphinx-5.2.0 lib/thinking_sphinx/commands/prepare.rb
thinking-sphinx-5.1.0 lib/thinking_sphinx/commands/prepare.rb
thinking-sphinx-5.0.0 lib/thinking_sphinx/commands/prepare.rb
thinking-sphinx-4.4.1 lib/thinking_sphinx/commands/prepare.rb
thinking-sphinx-4.4.0 lib/thinking_sphinx/commands/prepare.rb
thinking-sphinx-4.3.2 lib/thinking_sphinx/commands/prepare.rb
thinking-sphinx-4.3.1 lib/thinking_sphinx/commands/prepare.rb
thinking-sphinx-4.3.0 lib/thinking_sphinx/commands/prepare.rb