Sha256: 9b5e2954ecb268d6215c6e2c0d06ee173d4933f392989af4ac0000788c834043

Contents?: true

Size: 257 Bytes

Versions: 14

Compression:

Stored size: 257 Bytes

Contents

# frozen_string_literal: true

class ThinkingSphinx::Commands::Running < ThinkingSphinx::Commands::Base
  def call
    return true if configuration.settings['skip_running_check']

    controller.running?
  end

  private

  def type
    'running'
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

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