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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3e6c80abac366d30d919bd5fe4cc1e4457adc55f
4
- data.tar.gz: 6c2a232ee5f1c33ef3f86f1511e37a3f8dd34579
3
+ metadata.gz: d76750e76585a03559b518196fac4dcd3b5ba092
4
+ data.tar.gz: ccaadc5e76761bbc8fc997e253df3975ab401c2b
5
5
  SHA512:
6
- metadata.gz: 8d9d45ecf32ff2580a8c716646f2b685b66c2786a0e66cd93eb914044bb7a4d67add695ff8d06308d1d51e618962587ddded79cd3287b58d65ef1eec5635b23f
7
- data.tar.gz: 2b28b6e04bf7ecc6ad677ffad40421c06428b3c2b15334dd996dfe21f327694c8f27406d1ee057316ea6cbbd8b9ce84831f0165d27dd5eeb4d03bada8b96e195
6
+ metadata.gz: f838cf23ee3f337ef8468f9901db37d2b8de6375dd0c9ec22fbe8f972d37f795c7ed2e2177d83af8a101ee53c23b2725760da8393238ff6175397a1cd700eba8
7
+ data.tar.gz: f94360154c8d91d84ee5c1fc2916bd0f594efff38078a8495da182bd9456de79b45f547d619f7c3f090905aea545fc1a3d25b4958bb919fc3b2a4fdc5fef0e30
@@ -185,7 +185,13 @@ module LaunchDarkly
185
185
  end
186
186
 
187
187
  def self.default_logger
188
- defined?(Rails) && Rails.respond_to?(:logger) ? Rails.logger : ::Logger.new($stdout)
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
@@ -1,3 +1,3 @@
1
1
  module LaunchDarkly
2
- VERSION = "2.0.1"
2
+ VERSION = "2.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ldclient-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - LaunchDarkly