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 +4 -4
- data/lib/msgr/client.rb +4 -4
- data/lib/msgr/dispatcher.rb +2 -1
- data/lib/msgr/logging.rb +1 -1
- data/lib/msgr/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eac9602dee7cbdefdc6bdd4868cf960cd0c1e8b3
|
4
|
+
data.tar.gz: 86214eaeb5714d13af4dfe81978c28a41b89ce6a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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(:
|
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(:
|
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(:
|
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(:
|
63
|
+
log(:debug) { "Stop on #{uri}..." }
|
64
64
|
|
65
65
|
connection.release
|
66
66
|
connection.delete if opts[:delete]
|
data/lib/msgr/dispatcher.rb
CHANGED
@@ -11,7 +11,8 @@ module Msgr
|
|
11
11
|
|
12
12
|
def initialize(config)
|
13
13
|
config[:pool_class] ||= 'Msgr::Dispatcher::NullPool'
|
14
|
-
|
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
data/lib/msgr/version.rb
CHANGED
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.
|
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-
|
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.
|
179
|
+
rubygems_version: 2.4.5
|
180
180
|
signing_key:
|
181
181
|
specification_version: 4
|
182
182
|
summary: 'Msgr: Rails-like Messaging Framework'
|