codesake_commons 0.55.0 → 0.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/codesake_commons.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
lib = File.expand_path('../lib', __FILE__)
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require '
|
4
|
+
require 'codesake/commons/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |gem|
|
7
7
|
gem.name = "codesake_commons"
|
File without changes
|
@@ -70,11 +70,11 @@ module Codesake
|
|
70
70
|
|
71
71
|
log = Syslog.open("codesake") unless Syslog.opened?
|
72
72
|
log = Syslog.reopen("codesake") if Syslog.opened?
|
73
|
-
log.debug(msg) if level == :debug
|
74
|
-
log.warn(msg) if level == :warn
|
75
|
-
log.info(msg) if level == :helo
|
76
|
-
log.notice(msg) if level == :log
|
77
|
-
log.err(msg) if level == :error
|
73
|
+
log.debug(msg.to_s) if level == :debug
|
74
|
+
log.warn(msg.to_s) if level == :warn
|
75
|
+
log.info(msg.to_s) if level == :helo
|
76
|
+
log.notice(msg.to_s) if level == :log
|
77
|
+
log.err(msg.to_s) if level == :error
|
78
78
|
|
79
79
|
true
|
80
80
|
end
|
data/lib/codesake_commons.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
require "
|
2
|
-
require "
|
3
|
-
require "
|
1
|
+
require "codesake/commons/version"
|
2
|
+
require "codesake/commons/logging"
|
3
|
+
require "codesake/commons/io"
|
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.
|
4
|
+
version: 0.60.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-
|
12
|
+
date: 2013-04-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rainbow
|
@@ -46,10 +46,10 @@ files:
|
|
46
46
|
- README.md
|
47
47
|
- Rakefile
|
48
48
|
- codesake_commons.gemspec
|
49
|
+
- lib/codesake/commons/io.rb
|
50
|
+
- lib/codesake/commons/logging.rb
|
51
|
+
- lib/codesake/commons/version.rb
|
49
52
|
- lib/codesake_commons.rb
|
50
|
-
- lib/codesake_commons/io.rb
|
51
|
-
- lib/codesake_commons/logging.rb
|
52
|
-
- lib/codesake_commons/version.rb
|
53
53
|
- spec/codesake_commons_spec.rb
|
54
54
|
- spec/logging_spec.rb
|
55
55
|
- spec/spec_helper.rb
|