crtu 0.2.0 → 0.2.1

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: cf9014c75aef3367c31afca007030e49274249be
4
- data.tar.gz: aadd1c98a90f57c4af4065d4484624698eaa4a45
3
+ metadata.gz: 4db142452a60691b7a4b56594f5d74fd57af01e9
4
+ data.tar.gz: 4a721c3cb9d38d7a11519fe23dcb30cfdeb2f2f6
5
5
  SHA512:
6
- metadata.gz: 049bac80d556f1ad12e1c0a57540b5721bd8519d9cdffab06b816e9c3b1760144959bf0f8588cf0dba4ef6c4550b855c3a03264b4d82b1bc7f060f1cdee76258
7
- data.tar.gz: c2fc2245ed87227d01d42404cd95213a47b43c288e3c36cf511e8a453a963affa892258e0d876028791b5121c04d0f05faf0adc684a9c0f0e5f31ad46bb1a253
6
+ metadata.gz: 0ca9947b403a86d19406825e9ea7726dfb220b9828c328c756ef9c3b0e3a0d198c5ae7627b7563dc5e09f2974f8bb422588569c3baeae1407a65288e36db989e
7
+ data.tar.gz: 125fb19202914d4e79c5a73de309f42e799c8d5a93290866977eaa9be7af76c68c659529ee2b702478283ddbecf651ba735ad6cdf421eafd031ac3b1cbc7c2a9
@@ -107,7 +107,7 @@ module Utils
107
107
  # Class simple file logger. Message is stored in file, but
108
108
  # it does not appear on stdout
109
109
  def file_logger
110
- log_file = (LOCAL_LOGGER_LOG_FILE.nil?) ? File.join(Dir.tmpdir , "#{self.class.to_s}.log") : LOCAL_LOGGER_LOG_FILE
110
+ log_file = (LOCAL_LOGGER_LOG_FILE.nil?) ? File.join(Dir.tmpdir , "#{self.class}.log") : LOCAL_LOGGER_LOG_FILE
111
111
  @logger = Log4r::Logger.new('LocalLoggerFile')
112
112
  pf = PatternFormatter.new(:pattern => "[%l] : #{self.class} @ %d : %M")
113
113
 
@@ -124,7 +124,7 @@ module Utils
124
124
 
125
125
  # Class wide console and file logger. Message appears on console output and it's stored on file
126
126
  def all_logger
127
- log_file = (LOCAL_LOGGER_LOG_FILE.nil?) ? File.join(Dir.tmpdir , "#{self.class.to_s}.log") : LOCAL_LOGGER_LOG_FILE
127
+ log_file = (LOCAL_LOGGER_LOG_FILE.nil?) ? File.join(Dir.tmpdir , "#{self.class}.log") : LOCAL_LOGGER_LOG_FILE
128
128
  @logger = Log4r::Logger.new('LocalLoggerConsoleAndFile')
129
129
  pf = PatternFormatter.new(:pattern => "[%l] : #{self.class} @ %d : %M")
130
130
 
@@ -1,3 +1,3 @@
1
1
  module Crtu
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crtu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fábio André Ramos Rodrigues