sidekiq-runner 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sidekiq-runner/god_configuration.rb +5 -3
- data/lib/sidekiq-runner/version.rb +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57a4e9f7dfaa5e130c98c69f2d05a852d696af26
|
4
|
+
data.tar.gz: 3093eff6494a39f44bdaea11d848a27384133c3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d51beac3bd2f37585ab90441458acf2d30c4f818cc50444a0956cd6d8424e039aa2571da42be1d560201fc3d355fd183a95f1808f9bfead9d1aa40753b979e00
|
7
|
+
data.tar.gz: 05696ee4c2ee05ab4ef78e8e495d32da443aaad81e9d52ea2d721e500ffcde2a878dd7e1a6db43a91b4215cc686487c5f7e8a66545026ff74d61eb17ae2b14c5
|
@@ -15,7 +15,7 @@ module SidekiqRunner
|
|
15
15
|
RUNNER_ATTRIBUTES = [:config_file, :daemonize, :port, :syslog, :events]
|
16
16
|
RUNNER_ATTRIBUTES.each { |att| attr_accessor att }
|
17
17
|
|
18
|
-
CONFIG_FILE_ATTRIBUTES = [:process_name, :interval, :stop_timeout, :log_file, :maximum_memory_usage]
|
18
|
+
CONFIG_FILE_ATTRIBUTES = [:process_name, :interval, :stop_timeout, :log_file, :maximum_memory_usage, :pid]
|
19
19
|
CONFIG_FILE_ATTRIBUTES.each { |att| attr_accessor att }
|
20
20
|
|
21
21
|
def initialize
|
@@ -30,8 +30,9 @@ module SidekiqRunner
|
|
30
30
|
@daemonize = true
|
31
31
|
@syslog = true
|
32
32
|
@events = true
|
33
|
+
@pid = nil
|
33
34
|
|
34
|
-
# This is going to be a part of the .sock file name e.g. "/tmp/god.17165.sock"
|
35
|
+
# This is going to be a part of the .sock file name e.g. "/tmp/god.17165.sock" and the pidfile name
|
35
36
|
# Change this in the configuration file to be able to run multiple instances of god.
|
36
37
|
@port = 17165
|
37
38
|
end
|
@@ -45,7 +46,8 @@ module SidekiqRunner
|
|
45
46
|
syslog: @syslog,
|
46
47
|
events: @events,
|
47
48
|
config: File.expand_path("../sidekiq.god", __FILE__),
|
48
|
-
log: @log_file
|
49
|
+
log: @log_file,
|
50
|
+
pid: @pid
|
49
51
|
}
|
50
52
|
end
|
51
53
|
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-runner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- FlavourSys Technology GmbH
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-02-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
|
14
|
+
name: rake
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
15
16
|
requirements:
|
16
17
|
- - "~>"
|
17
18
|
- !ruby/object:Gem::Version
|
18
19
|
version: '10.3'
|
19
|
-
|
20
|
+
type: :runtime
|
20
21
|
prerelease: false
|
21
|
-
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
22
23
|
requirements:
|
23
24
|
- - "~>"
|
24
25
|
- !ruby/object:Gem::Version
|
25
26
|
version: '10.3'
|
26
|
-
type: :runtime
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
|
28
|
+
name: god
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
29
30
|
requirements:
|
30
31
|
- - "~>"
|
31
32
|
- !ruby/object:Gem::Version
|
32
33
|
version: '0.13'
|
33
|
-
|
34
|
+
type: :runtime
|
34
35
|
prerelease: false
|
35
|
-
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
36
37
|
requirements:
|
37
38
|
- - "~>"
|
38
39
|
- !ruby/object:Gem::Version
|
39
40
|
version: '0.13'
|
40
|
-
type: :runtime
|
41
41
|
description: Provide an easy way to configure, start, and monitor all your Sidekiq
|
42
42
|
processes
|
43
43
|
email: technology@flavoursys.com
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
version: '0'
|
74
74
|
requirements: []
|
75
75
|
rubyforge_project:
|
76
|
-
rubygems_version: 2.
|
76
|
+
rubygems_version: 2.5.2
|
77
77
|
signing_key:
|
78
78
|
specification_version: 4
|
79
79
|
summary: Sidekiq configuration and rake tasks
|