daemon-ogre 1.4.2 → 1.4.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/daemon-ogre.rb +2 -2
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.4.2
1
+ 1.4.3
data/lib/daemon-ogre.rb CHANGED
@@ -75,11 +75,11 @@ begin
75
75
 
76
76
  if File.exists?(File.expand_path(log_file))
77
77
  error_log = File.open( File.expand_path(log_file), "a+")
78
- error_log << "\n#{Time.now} | #{prefix}#{":" if prefix != ""} #{error_msg}"
78
+ error_log << "\n#{Time.now} | #{prefix}#{":" if prefix != ""} #{error_msg.inspect.gsub(", ",",\n")}"
79
79
  error_log.close
80
80
  else
81
81
  File.new(File.expand_path(log_file), "w").write(
82
- "#{Time.now} | #{prefix}#{":" if prefix != ""} #{error_msg}"
82
+ "#{Time.now} | #{prefix}#{":" if prefix != ""} #{error_msg.inspect.gsub(", ",",\n")}"
83
83
  )
84
84
  end
85
85
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daemon-ogre
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-01 00:00:00.000000000 Z
12
+ date: 2013-07-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rdoc
@@ -112,7 +112,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
112
  version: '0'
113
113
  segments:
114
114
  - 0
115
- hash: -3029381201478773022
115
+ hash: 4155118797540734077
116
116
  required_rubygems_version: !ruby/object:Gem::Requirement
117
117
  none: false
118
118
  requirements: