lycra 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 91043f8065e7fcf15adf93772387b25ad5e84259
4
- data.tar.gz: 8319be6afc7ee3594784357ffb744dc4b9e71d4f
3
+ metadata.gz: 2d27bab410270aa40ec1423f7f5c5d3934e6235f
4
+ data.tar.gz: 7da381430a05731f12ac5fff47c66bc94e2b8585
5
5
  SHA512:
6
- metadata.gz: 06811b5b68df2ad87ddf8e35ba19873add41e5a4325dfa3615b822235bcaa615849bf75d846583e043b4d4472e0819c3bf553357f7e8afd489ca8cf29df7ca64
7
- data.tar.gz: e30ee923b27916255f75c8be97dca2f806cbec8bdd2e770fa4a766baa0a555fb635b720f4364cb12faefbbd78c146c7369bc9969c77031d0bec4196525fcd4ac
6
+ metadata.gz: 091f3735691bed6d06340f67879a6490a0f9a6c1ca7194d0973e749251b55ab6014cc0e390bacecdf3bce96ad1326c6f1de7bc5a5b5edbdc3e432e6f7597125c
7
+ data.tar.gz: 6c885b617b7a83d03650ebb5df08417af76c4bd7b9643b11c149c736fc693f2d95ece8dba1db8b58f7a8bb1c6f186e701b538f48fad01fb3fa3790d53b38d3d6
data/lib/lycra/engine.rb CHANGED
@@ -4,12 +4,13 @@ module Lycra
4
4
 
5
5
  initializer "lycra.configure_rails_logger" do
6
6
  Lycra.configure do |config|
7
- config.logger = Rails.logger
7
+ config.logger = Rails.logger if config.logger.nil?
8
8
  end
9
9
  end
10
10
 
11
11
  initializer "lycra.elasticsearch.client" do |app|
12
12
  Elasticsearch::Model.client = Lycra.client
13
+ Elasticsearch::Persistence.client = Lycra.client
13
14
  end
14
15
  end
15
16
  end
data/lib/lycra/version.rb CHANGED
@@ -2,7 +2,7 @@ module Lycra
2
2
  module Version
3
3
  MAJOR = '0'
4
4
  MINOR = '0'
5
- PATCH = '4'
5
+ PATCH = '5'
6
6
  VERSION = "#{MAJOR}.#{MINOR}.#{PATCH}"
7
7
 
8
8
  class << self
data/lib/lycra.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require 'logger'
2
2
  require 'canfig'
3
+ require 'elasticsearch/persistence'
3
4
  require 'elasticsearch/model'
4
5
  require 'lycra/errors'
5
6
  require 'lycra/model'
@@ -38,5 +39,4 @@ module Lycra
38
39
  tracer: configuration.tracer
39
40
  )
40
41
  end
41
-
42
42
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lycra
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Rebec