Sha256: 27e6dcc0bbdf5f5ee1e31fe250d154f76a00e4bad12aeba772df7344c8911675

Contents?: true

Size: 407 Bytes

Versions: 87

Compression:

Stored size: 407 Bytes

Contents

module Riddle
  class Configuration
    class Indexer < Riddle::Configuration::Section
      self.settings = [:mem_limit, :max_iops, :max_iosize]
      
      attr_accessor *self.settings
            
      def render
        raise ConfigurationError unless valid?
        
        (
          ["indexer", "{"] +
          settings_body +
          ["}", ""]
        ).join("\n")
      end
    end
  end
end

Version data entries

87 entries across 87 versions & 17 rubygems

Version Path
DrMark-thinking-sphinx-1.1.14 vendor/riddle/lib/riddle/configuration/indexer.rb
DrMark-thinking-sphinx-1.1.15 vendor/riddle/lib/riddle/configuration/indexer.rb
DrMark-thinking-sphinx-1.1.6 vendor/riddle/lib/riddle/configuration/indexer.rb
DrMark-thinking-sphinx-1.2.5 vendor/riddle/lib/riddle/configuration/indexer.rb
DrMark-thinking-sphinx-1.2.6 vendor/riddle/lib/riddle/configuration/indexer.rb
bterlson-thinking-sphinx-1.2.8 vendor/riddle/lib/riddle/configuration/indexer.rb
dpickett-thinking-sphinx-1.1.12 vendor/riddle/lib/riddle/configuration/indexer.rb
dpickett-thinking-sphinx-1.1.23 vendor/riddle/lib/riddle/configuration/indexer.rb
dpickett-thinking-sphinx-1.1.4 vendor/riddle/lib/riddle/configuration/indexer.rb
ebeigarts-thinking-sphinx-1.1.21 vendor/riddle/lib/riddle/configuration/indexer.rb
ebeigarts-thinking-sphinx-1.1.22 vendor/riddle/lib/riddle/configuration/indexer.rb
ebeigarts-thinking-sphinx-1.2.10 vendor/riddle/lib/riddle/configuration/indexer.rb
factorylabs-thinking-sphinx-1.2.7 vendor/riddle/lib/riddle/configuration/indexer.rb
freelancing-god-riddle-0.9.8.1533.2 lib/riddle/configuration/indexer.rb
freelancing-god-riddle-0.9.8.1533.3 lib/riddle/configuration/indexer.rb
freelancing-god-riddle-0.9.8.1533.4 lib/riddle/configuration/indexer.rb
freelancing-god-riddle-0.9.8.1533.5 lib/riddle/configuration/indexer.rb
freelancing-god-riddle-0.9.8.1533.7 lib/riddle/configuration/indexer.rb
freelancing-god-riddle-0.9.8.1533.8 lib/riddle/configuration/indexer.rb
freelancing-god-riddle-0.9.8.1533.9 lib/riddle/configuration/indexer.rb