msgr 0.12.2 → 0.12.3

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: 00bdb80b33c90bdbdff8cad12b510bdd006d2d47
4
- data.tar.gz: 1ebd5c9bf894b7e2e836e721b00b654c1a364ac8
3
+ metadata.gz: eac9602dee7cbdefdc6bdd4868cf960cd0c1e8b3
4
+ data.tar.gz: 86214eaeb5714d13af4dfe81978c28a41b89ce6a
5
5
  SHA512:
6
- metadata.gz: 989056283b61030cb3315eb78dfe7b7fa3172073c60f33c494d933e6b92ce740e18f15c93aea88bd986fbc1e7af618de6018f8d3060b54083016d111f141cda9
7
- data.tar.gz: e712938c78a12583a4f0c9fbf3ffc80f8e1537d8c8bb9602b09cd252f45c5275eb05261f3cab61d6e7d919d8d59c8f3d7cea13ba64ed63b9cc1107d7de3766a6
6
+ metadata.gz: 069c7a49eb5051cb30c415b812abd0ac9f609d1b7d06ca59982af6f7b28ac389797f87f20eb76ebd9d6d795b7b18ed3d672fbf3180edb61388fb1eaceaeb33df
7
+ data.tar.gz: d3bd35f6b8d4130ce26689f4f1f657fe340befb1e31e84ec3f5a5c8ad4389725772e1ef96de4dcef31d10de132d3bfeb9f8cb1244bfa3d6224c67cf1518e1684
data/lib/msgr/client.rb CHANGED
@@ -22,7 +22,7 @@ module Msgr
22
22
  @routes = Routes.new
23
23
  @pid ||= ::Process.pid
24
24
 
25
- log(:info) { "Created new client on process ##{@pid}..." }
25
+ log(:debug) { "Created new client on process ##{@pid}..." }
26
26
  end
27
27
 
28
28
  def running?
@@ -37,7 +37,7 @@ module Msgr
37
37
  check_process!
38
38
  return if connection.running?
39
39
 
40
- log(:info) { "Start on #{uri}..." }
40
+ log(:debug) { "Start on #{uri}..." }
41
41
 
42
42
  @routes << config[:routing_file] if config[:routing_file].present?
43
43
  @routes.reload
@@ -50,7 +50,7 @@ module Msgr
50
50
  check_process!
51
51
  return if connection.running?
52
52
 
53
- log(:info) { "Connect to #{uri}..." }
53
+ log(:debug) { "Connect to #{uri}..." }
54
54
 
55
55
  connection.connect
56
56
  end
@@ -60,7 +60,7 @@ module Msgr
60
60
  mutex.synchronize do
61
61
  check_process!
62
62
 
63
- log(:info) { "Stop on #{uri}..." }
63
+ log(:debug) { "Stop on #{uri}..." }
64
64
 
65
65
  connection.release
66
66
  connection.delete if opts[:delete]
@@ -11,7 +11,8 @@ module Msgr
11
11
 
12
12
  def initialize(config)
13
13
  config[:pool_class] ||= 'Msgr::Dispatcher::NullPool'
14
- log(:info) { "Initialize new dispatcher (#{config[:pool_class]}: #{config})..." }
14
+
15
+ log(:debug) { "Initialize new dispatcher (#{config[:pool_class]}: #{config})..." }
15
16
 
16
17
  @pool = config[:pool_class].constantize.new config
17
18
  end
data/lib/msgr/logging.rb CHANGED
@@ -6,7 +6,7 @@ module Msgr
6
6
  end
7
7
 
8
8
  def log_name
9
- "[#{Thread.current.object_id.to_s(16)}] <#{self.class.name}[#{object_id.to_s(16)}]>"
9
+ "[#{Thread.current.object_id.to_s(16)}]"
10
10
  end
11
11
  end
12
12
  end
data/lib/msgr/version.rb CHANGED
@@ -2,7 +2,7 @@ module Msgr
2
2
  module VERSION
3
3
  MAJOR = 0
4
4
  MINOR = 12
5
- PATCH = 2
5
+ PATCH = 3
6
6
  STAGE = nil
7
7
  STRING = [MAJOR, MINOR, PATCH, STAGE].reject(&:nil?).join('.')
8
8
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: msgr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.2
4
+ version: 0.12.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Graichen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-14 00:00:00.000000000 Z
11
+ date: 2015-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -176,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
176
176
  version: '0'
177
177
  requirements: []
178
178
  rubyforge_project:
179
- rubygems_version: 2.2.2
179
+ rubygems_version: 2.4.5
180
180
  signing_key:
181
181
  specification_version: 4
182
182
  summary: 'Msgr: Rails-like Messaging Framework'