itz_logger 0.3.2 → 0.3.3

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
  SHA256:
3
- metadata.gz: f76e9ab7bdebccee712ddcb19ba148e9655eca3fa550fb779d611a3baec0ce90
4
- data.tar.gz: c47198584932db2389024c5ff4c68d0fff3c584543098b3ae34b39416b1b8d09
3
+ metadata.gz: 8deb723d6cdfb306fcdaeef6dc25d39d1f9941bdf998b492d79488a40c5545b4
4
+ data.tar.gz: e3d40e34d88b2a2e799a4b931d8ebb7e34254f618b8b609e250dcd6733b108d9
5
5
  SHA512:
6
- metadata.gz: d7a16c8920396a52955a795888c09d28d82b35db50d8e27c4fa8e20614c1443f0b0ad912f2d0bbc21117288f17986361f53f6c26b91a44119a6fb8fbff407ea0
7
- data.tar.gz: a0c291175fdf0061587f67cc9e4d8eb05776d485f9ed7bf0035b3605a26b8a5612084e95001df9605e7780808f5d894aeb0348e2efcdf2d1ce05a5d8104626fd
6
+ metadata.gz: b012a110ee80e3db65858d693c6df224086e23228cd8e52576595c6f6c8ac923fc001ed633147b8037a1e2bd2faf75f36f9570580661c464eb144134f293b548
7
+ data.tar.gz: 187a7d50df8b4201fb9863e5424195d376ebf40cc751f9346300047861ea53d3bc9928cd9b48653f21da1892dffe092949470fe935a9faf6a15c0a13ab2fe5ad
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- itz_logger (0.2.10)
4
+ itz_logger (0.3.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -20,7 +20,7 @@ module ItzLogger
20
20
 
21
21
  def initialize(
22
22
  log_level = ItzLogger::MessageType::INFO,
23
- log_file = '/tmp/logfile.log',
23
+ log_file = './log/logfile.log',
24
24
  log_id = nil)
25
25
 
26
26
  @log_level = log_level
@@ -104,7 +104,7 @@ module ItzLogger
104
104
 
105
105
  begin
106
106
  FileUtils.mkdir_p(path)
107
- @log_file_handle = File.open(log_file)
107
+ @log_file_handle = File.open(log_file, 'w')
108
108
  @log_file_handle.sync = true
109
109
  rescue
110
110
  @error_flag = true
@@ -1,3 +1,3 @@
1
1
  module ItzLogger
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itz_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Schaarschmidt
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-08-24 00:00:00.000000000 Z
11
+ date: 2018-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler