after_do-logging 0.3.0 → 0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: da3555e036d927fd741c6319e965c274f1d06dfd
4
- data.tar.gz: 2c729b12e68bbbc5c7759b821e18aa8f298209d2
3
+ metadata.gz: d972efb8659f423dbe0357aae2b6c5daf746c17d
4
+ data.tar.gz: 71d18c67c1f33f71871bbb2bd555b4e5b83d1d8a
5
5
  SHA512:
6
- metadata.gz: 348a829086e308fa23485aae715ed21d8f7f255cc37c48eba23d360c1cf98ce87ade869b3d688e9d960322237438eaa78214915f146bf8b3b5e01d95bbc7b5a6
7
- data.tar.gz: 96ff4b34cfa627ebba28583f19bdc72468353fafb086cc091f3f2051758f061b22a5473dddb4885539e2fe2ac84bb6756bb3844dee10ba220b2964e0b6045aaf
6
+ metadata.gz: d74771e7944c473a4bea4cc91dabef78187baed97846ecd8c616e04f8bd0db25f2c3a8589b93bffe2b43f29283effec5081f8bfc72f1d4ba5ade015a0f767b97
7
+ data.tar.gz: 428cc444417de3c27acd011a6e35ceeadaf303d78855bb3ccc560647c0ff40ef663914a6ff868832ace9b34ab21d6bb86fb7d7987e6551f59c57e3fdb6ba50eb
@@ -30,12 +30,12 @@ module AfterDo
30
30
 
31
31
  def log_step(prefix, object, method, args)
32
32
  arg_text = args.map(&:inspect).join(', ')
33
- msg = "#{prefix}#{id(object)}: #{method}(#{arg_text})"
33
+ msg = "[Thread=#{Thread.current.object_id}]#{prefix}#{id(object)}: #{method}(#{arg_text})"
34
34
  logger.info(msg)
35
35
  end
36
36
 
37
37
  def id(object)
38
- "[#{object.id}]" if object.respond_to?(:id)
38
+ "[id=#{object.id}]" if object.respond_to?(:id)
39
39
  end
40
40
  end
41
41
  end
@@ -37,7 +37,7 @@ module AfterDo
37
37
  end
38
38
 
39
39
  def id(object)
40
- "[#{object.id}] " if object.respond_to?(:id)
40
+ "[id=#{object.id}] " if object.respond_to?(:id)
41
41
  end
42
42
  end
43
43
  end
@@ -1,5 +1,5 @@
1
1
  module AfterDo
2
2
  module Logging
3
- VERSION = '0.3.0'
3
+ VERSION = '0.4'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: after_do-logging
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: '0.4'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafael da Silva
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-09-11 00:00:00.000000000 Z
12
+ date: 2015-02-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: after_do