jettywrapper 1.8.1 → 1.8.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: f046f8dad7c1b6d5673d9af04652f8482ac2c26f
4
- data.tar.gz: 5c5f65932da8e08704980085251525c1c353de67
3
+ metadata.gz: 7ed6da1dade4c72641fada25f915b9a2fd2254bc
4
+ data.tar.gz: 3043321d59da0bb6150388ab33bf00af9168b3b1
5
5
  SHA512:
6
- metadata.gz: 137af9e6ecc1043e72daee85f30a292602d671739831cf399c2811e5e9f364455902615dfc21e9ad47942f5e8b9b1374e63e7f4e7fef31ca243ca9e42b988779
7
- data.tar.gz: 060c6b97353618ae6b41ab698f6948a0e476da21609cd9d86e494c8e334bb0cc402337a1cef8cdb54090cd6cc0d4328230de6379cebf2a937e143f2eba13f6a8
6
+ metadata.gz: 0939ba2642285706a1b18b16b8db1e21eede12540ef78660ea0d9e8927fbe3e5caaec44b0896a5119d035f07cd243cebb5a9ce23fd1567f5ee2ce959b869060d
7
+ data.tar.gz: 8467c3ccbf8cfc974734210dc1295a49320ff70a9b29f737b09dd07d51a3aafff321b2f4126163153ad1f67d3c09929ee31c1d0208e8527c619d53ae48832a85
data/lib/jettywrapper.rb CHANGED
@@ -308,10 +308,10 @@ class Jettywrapper
308
308
  @@logger = logger
309
309
  end
310
310
 
311
- # If ::Rails.logger is defined, that will be returned.
311
+ # If ::Rails.logger is defined and is not nil, it will be returned.
312
312
  # If no logger has been defined, a new STDOUT Logger will be created.
313
313
  def logger
314
- @@logger ||= defined?(::Rails) ? ::Rails.logger : ::Logger.new(STDOUT)
314
+ @@logger ||= defined?(::Rails) && Rails.logger ? ::Rails.logger : ::Logger.new(STDOUT)
315
315
  end
316
316
 
317
317
  end #end of class << self
@@ -1,3 +1,3 @@
1
1
  class Jettywrapper
2
- VERSION = "1.8.1"
2
+ VERSION = "1.8.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jettywrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.1
4
+ version: 1.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Beer