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 +4 -4
- data/lib/jettywrapper.rb +2 -2
- data/lib/jettywrapper/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: 7ed6da1dade4c72641fada25f915b9a2fd2254bc
|
4
|
+
data.tar.gz: 3043321d59da0bb6150388ab33bf00af9168b3b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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,
|
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
|
data/lib/jettywrapper/version.rb
CHANGED