goat 0.3.40 → 0.3.41

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/goat.gemspec +1 -1
  2. data/lib/goat/net-common.rb +4 -4
  3. metadata +3 -3
data/goat.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  spec = Gem::Specification.new do |s|
2
2
  s.name = 'goat'
3
- s.version = '0.3.40'
3
+ s.version = '0.3.41'
4
4
  s.summary = 'Pre-release beta version of Goat'
5
5
  s.author = 'Patrick Collison'
6
6
  s.email = 'patrick@collison.ie'
@@ -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[0..90])
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: 67
4
+ hash: 65
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 40
10
- version: 0.3.40
9
+ - 41
10
+ version: 0.3.41
11
11
  platform: ruby
12
12
  authors:
13
13
  - Patrick Collison