ougai 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ougai/logger.rb +5 -0
- data/lib/ougai/version.rb +1 -1
- data/spec/logger_spec.rb +6 -0
- 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: 8386aa7b0737156ca211cfdb4cc7c4030751dc2a
|
4
|
+
data.tar.gz: 9fde65ba8e677511d6ad7061e65dc5816c52bced
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b75ed0bd57138091a7990179072355120bd81fd4f22314154c0c86878ad9372937550c1a2e3dede39858bc8f0c564a8ad13589dcb3284aa67f205625ad7df82d
|
7
|
+
data.tar.gz: dcd961d585d741efd7134bb94ccfca3e981429073b03eac0e6ccfad8e9bdd5c906c2e1f27a68f9467abcdf8407a4d91f20cabaccb0305e0963ef227c0e41ebc3
|
data/lib/ougai/logger.rb
CHANGED
data/lib/ougai/version.rb
CHANGED
data/spec/logger_spec.rb
CHANGED
@@ -613,5 +613,11 @@ describe Ougai::Logger do
|
|
613
613
|
expect(another_item).to be_log_message(log_msg, 40)
|
614
614
|
end
|
615
615
|
end
|
616
|
+
|
617
|
+
it 'close both loogers' do
|
618
|
+
logger.close
|
619
|
+
expect(io.closed?).to be_truthy
|
620
|
+
expect(another_io.closed?).to be_truthy
|
621
|
+
end
|
616
622
|
end
|
617
623
|
end
|