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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bc538d49e4cd0c3dbd72dd4b32d124c427fe60c1
4
- data.tar.gz: e9753e622a05176942872caa99ea4397fe3d9ff2
3
+ metadata.gz: 57a4e9f7dfaa5e130c98c69f2d05a852d696af26
4
+ data.tar.gz: 3093eff6494a39f44bdaea11d848a27384133c3f
5
5
  SHA512:
6
- metadata.gz: d511179b7968501b3a169969fcc3c53fc56950e8b1ef18ac9181f55d6a3b1921e78d5bad422f9cb00f465efef103c37fb0ea76e0abeaa4ffe7dff1016a01db8b
7
- data.tar.gz: 7203ffee3f9de1de0ff87871bdfd8b0c419b6dfa4b58b92f8fb6da58478a1e58891b34eef1f5b06934a6ca1c4f9f5514945c5dc36d09d45885a975f4cb3e32f4
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
 
@@ -1,3 +1,3 @@
1
1
  module SidekiqRunner
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
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.3
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: 2015-03-17 00:00:00.000000000 Z
11
+ date: 2016-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- version_requirements: !ruby/object:Gem::Requirement
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
- name: rake
20
+ type: :runtime
20
21
  prerelease: false
21
- requirement: !ruby/object:Gem::Requirement
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
- version_requirements: !ruby/object:Gem::Requirement
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
- name: god
34
+ type: :runtime
34
35
  prerelease: false
35
- requirement: !ruby/object:Gem::Requirement
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.4.5
76
+ rubygems_version: 2.5.2
77
77
  signing_key:
78
78
  specification_version: 4
79
79
  summary: Sidekiq configuration and rake tasks