codesake_commons 0.50.0 → 0.55.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -68,7 +68,8 @@ module Codesake
68
68
  def send_to_syslog(msg, level)
69
69
  return false unless @syslog
70
70
 
71
- log = Syslog.open("codesake")
71
+ log = Syslog.open("codesake") unless Syslog.opened?
72
+ log = Syslog.reopen("codesake") if Syslog.opened?
72
73
  log.debug(msg) if level == :debug
73
74
  log.warn(msg) if level == :warn
74
75
  log.info(msg) if level == :helo
@@ -1,5 +1,5 @@
1
1
  module Codesake
2
2
  module Commons
3
- VERSION = "0.50.0"
3
+ VERSION = "0.55.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codesake_commons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.50.0
4
+ version: 0.55.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-04-04 00:00:00.000000000 Z
12
+ date: 2013-04-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rainbow