gilmour 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/examples/container.rb +2 -1
- data/lib/gilmour/base.rb +2 -5
- data/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95eeea219493df9807854e6166cf211c28dc300d
|
4
|
+
data.tar.gz: 72809d9709e8c54962000f1d733ab752fb11d641
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ed0cef345aadc5ca715c841eb348245dfe688906b5ef944bc0ff2ec3fce1a73706873b2a43975218a1c367d69a33062174c839d3e6cbe51cca8e5e7e0bab494
|
7
|
+
data.tar.gz: 71e365656a8544b2324494552f85c446682241e48c0ae0d69b57725a0013bbb0a80398ab64d6fb8e125342052bdce0d70b90f61efa839a128817909d5186abb7
|
data/examples/container.rb
CHANGED
data/lib/gilmour/base.rb
CHANGED
@@ -62,7 +62,7 @@ module Gilmour
|
|
62
62
|
# excl:: If true, this listener is added to a group of listeners
|
63
63
|
# with the same name as the name of the class in which this
|
64
64
|
# method is called. A message sent to the _topic_ will be
|
65
|
-
# processed by at most one listener from a group
|
65
|
+
# processed by at most one listener from a group
|
66
66
|
# timeout:: Maximum duration (seconds) that a subscriber has to
|
67
67
|
# finish the task. If the execution exceeds the timeout, gilmour
|
68
68
|
# responds with status {code:409, data: nil}
|
@@ -117,10 +117,7 @@ module Gilmour
|
|
117
117
|
# +dir+:: relative path of directory to load subscribers from
|
118
118
|
def load_all(dir = nil)
|
119
119
|
dir ||= (subscribers_path || DEFAULT_SUBSCRIBER_PATH)
|
120
|
-
Dir["#{dir}/*.rb"].each
|
121
|
-
$stderr.puts f
|
122
|
-
require f
|
123
|
-
end
|
120
|
+
Dir["#{dir}/*.rb"].each { |f| require f }
|
124
121
|
end
|
125
122
|
|
126
123
|
def load_subscriber(path) #:nodoc:
|
data/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gilmour
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aditya Godbole
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-08-
|
12
|
+
date: 2015-08-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|