sidekiq-runner 0.0.8 → 0.1.0

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: ad117bfe5b59f19a8a0c89309e7fbfc280e3c686
4
- data.tar.gz: 49f065ea1377a0e740cdd318856c83b5ca749d7b
3
+ metadata.gz: b5de59dc4e82d9a2d46284bd830bf441e17fb44f
4
+ data.tar.gz: 00be61f61b236d56844378de4370b356bebde65a
5
5
  SHA512:
6
- metadata.gz: 3a0d722589d295cba481265448daa47aff78e523b145828ffb370ada704c540ef7c3eda9957748fdef3a75d1547d7b6034b274f5ab11007f52c8e0f8950f04aa
7
- data.tar.gz: 5610e31706303bc91ded25253465901453e586d17dd9f42510b6db2db6c3f3583d661189fd1de45ef4bf3fd667477534d785c3500ab115f9e729cc394cc13392
6
+ metadata.gz: 9738ed04dd491a0176e586df1537a78c8300423be76306c3f566239e92fdd1c4634ea49b85932e1f4b8592a27f3f664f3f57a03cb8b93f4981a3c337680e067a
7
+ data.tar.gz: 3ba4a7a8268edd6f85631221ced39e9a9921b1c53cf5d9559cbdc75a04ca8146194f405370b1388b9bc5863b1d6fbb68e2f2fd32883756a0bbabd55fd6fe5a95
@@ -4,7 +4,7 @@ module SidekiqRunner
4
4
  RUNNER_ATTRIBUTES = [:bundle_env, :chdir, :requirefile]
5
5
  RUNNER_ATTRIBUTES.each { |att| attr_accessor att }
6
6
 
7
- CONFIG_FILE_ATTRIBUTES = [:concurrency, :verbose, :pidfile, :logfile]
7
+ CONFIG_FILE_ATTRIBUTES = [:concurrency, :verbose, :pidfile, :logfile, :tag]
8
8
  CONFIG_FILE_ATTRIBUTES.each { |att| attr_accessor att }
9
9
 
10
10
  attr_reader :name, :queues
@@ -22,6 +22,7 @@ module SidekiqRunner
22
22
  @logfile = File.join(Dir.pwd, 'log', "#{@name}.log")
23
23
  @concurrency = 4
24
24
  @verbose = false
25
+ @tag = name
25
26
  end
26
27
 
27
28
  def add_queue(queue_name, weight = 1)
@@ -64,6 +65,7 @@ module SidekiqRunner
64
65
  cmd << "-P #{pidfile}"
65
66
  cmd << "-e #{Rails.env}" if defined?(Rails)
66
67
  cmd << "-r #{requirefile}" if requirefile
68
+ cmd << "-g #{tag}"
67
69
 
68
70
  queues.each do |q, w|
69
71
  cmd << "-q #{q},#{w.to_s}"
@@ -1,3 +1,3 @@
1
1
  module SidekiqRunner
2
- VERSION = '0.0.8'
2
+ VERSION = '0.1.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-runner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.1.0
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: 2014-08-04 00:00:00.000000000 Z
11
+ date: 2014-10-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake