ldclient-rb 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ldclient-rb/config.rb +7 -1
- data/lib/ldclient-rb/version.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: d76750e76585a03559b518196fac4dcd3b5ba092
|
4
|
+
data.tar.gz: ccaadc5e76761bbc8fc997e253df3975ab401c2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f838cf23ee3f337ef8468f9901db37d2b8de6375dd0c9ec22fbe8f972d37f795c7ed2e2177d83af8a101ee53c23b2725760da8393238ff6175397a1cd700eba8
|
7
|
+
data.tar.gz: f94360154c8d91d84ee5c1fc2916bd0f594efff38078a8495da182bd9456de79b45f547d619f7c3f090905aea545fc1a3d25b4958bb919fc3b2a4fdc5fef0e30
|
data/lib/ldclient-rb/config.rb
CHANGED
@@ -185,7 +185,13 @@ module LaunchDarkly
|
|
185
185
|
end
|
186
186
|
|
187
187
|
def self.default_logger
|
188
|
-
defined?(Rails) && Rails.respond_to?(:logger)
|
188
|
+
if defined?(Rails) && Rails.respond_to?(:logger)
|
189
|
+
Rails.logger
|
190
|
+
else
|
191
|
+
log = ::Logger.new($stdout)
|
192
|
+
log.level = ::Logger::WARN
|
193
|
+
log
|
194
|
+
end
|
189
195
|
end
|
190
196
|
|
191
197
|
def self.default_stream
|
data/lib/ldclient-rb/version.rb
CHANGED