goat 0.3.40 → 0.3.41
Sign up to get free protection for your applications and to get access to all the features.
- data/goat.gemspec +1 -1
- data/lib/goat/net-common.rb +4 -4
- metadata +3 -3
data/goat.gemspec
CHANGED
data/lib/goat/net-common.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
require 'term/ansicolor'
|
2
2
|
|
3
3
|
module Goat
|
4
|
-
def self.logd(msg); Log.log(:debug, msg); end
|
5
|
-
def self.logw(msg); Log.log(:warn, msg); end
|
6
|
-
def self.loge(msg); Log.log(:error, msg); end
|
4
|
+
def self.logd(msg); Goat::Log.log(:debug, msg); end
|
5
|
+
def self.logw(msg); Goat::Log.log(:warn, msg); end
|
6
|
+
def self.loge(msg); Goat::Log.log(:error, msg); end
|
7
7
|
|
8
8
|
module Log
|
9
9
|
def self.tai64n
|
@@ -25,7 +25,7 @@ module Goat
|
|
25
25
|
logf.flush
|
26
26
|
|
27
27
|
termmsg ||= msg
|
28
|
-
$stderr.puts(termmsg
|
28
|
+
$stderr.puts("#{tai64n} #{termmsg}")
|
29
29
|
end
|
30
30
|
|
31
31
|
def self.log_message(msg)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: goat
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 65
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 41
|
10
|
+
version: 0.3.41
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Patrick Collison
|