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 +4 -4
- data/lib/lycra/engine.rb +2 -1
- data/lib/lycra/version.rb +1 -1
- data/lib/lycra.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d27bab410270aa40ec1423f7f5c5d3934e6235f
|
4
|
+
data.tar.gz: 7da381430a05731f12ac5fff47c66bc94e2b8585
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
data/lib/lycra.rb
CHANGED