log 1.0.2 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/log.rb +1 -2
  2. data/lib/log/version.rb +1 -1
  3. metadata +2 -2
data/lib/log.rb CHANGED
@@ -81,11 +81,10 @@ module Log
81
81
 
82
82
  #email setup
83
83
  if Params['log_write_to_email']
84
- server_name = `hostname`.strip
85
84
  email_outputter = Log4r::EmailOutputter.new('email_log',
86
85
  :server => 'smtp.gmail.com',
87
86
  :port => 587,
88
- :subject => "Error happened at #{server_name} server run by #{ENV['USER']}. Service_name is #{Params['service_name']}",
87
+ :subject => "Error happened at server:'#{Params['local_server_name']}' run by #{ENV['USER']}. Service_name is #{Params['service_name']}",
89
88
  :acct => Params['from_email'],
90
89
  :from => Params['from_email'],
91
90
  :passwd => Params['from_email_password'],
@@ -1,3 +1,3 @@
1
1
  module Log
2
- VERSION = "1.0.2"
2
+ VERSION = "1.1.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: log
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.1.0
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-06-12 00:00:00.000000000 Z
12
+ date: 2013-06-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: params