asynchronic 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/lib/asynchronic/version.rb +1 -1
- data/lib/asynchronic/worker.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 67da8d11aec50bb9ea82280266d58d88956219bf
|
4
|
+
data.tar.gz: 2282a766bd3b31569414e2c5bea8b73f4f68fc38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8b023257b64ece00babd316131c2f5b1eb6d30b6cf99e85b307e163f47785cc81f48ba96b633ea499d81d279dda3e7ac5de349bf1f00f386fbd7a7c39e1de9b
|
7
|
+
data.tar.gz: e82d5c9f60e2891e3612a5675bafc2a5feff7360d72e12914361a45b0924aa38364e9b6c047109704b36988173b4ee231bc42cb6950e841e392dd110d5fbcd7c
|
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
asynchronic
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby 2.1
|
data/lib/asynchronic/version.rb
CHANGED
data/lib/asynchronic/worker.rb
CHANGED
@@ -15,7 +15,7 @@ class Asynchronic::Worker
|
|
15
15
|
def start
|
16
16
|
Asynchronic.logger.info('Asynchronic') { "Starting worker of #{queue_name} (#{Process.pid})" }
|
17
17
|
|
18
|
-
Signal.trap('
|
18
|
+
Signal.trap('QUIT') { stop }
|
19
19
|
|
20
20
|
listener.listen(queue) do |pid|
|
21
21
|
env.load_process(pid).execute
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asynchronic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gabriel Naiman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redis
|
@@ -173,6 +173,8 @@ extra_rdoc_files: []
|
|
173
173
|
files:
|
174
174
|
- ".coveralls.yml"
|
175
175
|
- ".gitignore"
|
176
|
+
- ".ruby-gemset"
|
177
|
+
- ".ruby-version"
|
176
178
|
- ".travis.yml"
|
177
179
|
- Gemfile
|
178
180
|
- LICENSE.txt
|