Sha256: e9061c8a448b1fa4e16043140d3dffedecab647fd12da2b9f5be46d31bd9c90b

Contents?: true

Size: 276 Bytes

Versions: 4

Compression:

Stored size: 276 Bytes

Contents

require 'rubberband'
config = YAML.load_file(Rails.root.join("config", "elasticsearch.yml"))[Rails.env]
#TODO auto discover happens immediately, so this forces elasticsearch to be running.
# uncomment when this is fixed.
#$elasticsearch = ElasticSearch.new(config['servers'])

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
mama_search-0.0.4 lib/mama_search/generators/templates/elasticsearch.rb
mama_search-0.0.3 lib/mama_search/generators/templates/elasticsearch.rb
mama_search-0.0.2 lib/mama_search/generators/templates/elasticsearch.rb
mama_search-0.0.1 lib/mama_search/generators/templates/elasticsearch.rb