konstant 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 43b528c750faea9342d188216574f4844131c6fb
4
- data.tar.gz: e1ea4cff249da6e819f7f234781be2bd9e646a6c
3
+ metadata.gz: b5d34ecca5fc2fdbbf295844d2c943afe09ce0cc
4
+ data.tar.gz: ca0516dfcd4be60c61a1deb80a9ff22b9e2d9741
5
5
  SHA512:
6
- metadata.gz: 02b5fd45a672a02b2a969d6173927a1d9bed61f1f72de713356864b073bc093dd769b936135ff9d9723202b05063db750aa7380030fdfbff1dfc39edb6def524
7
- data.tar.gz: 19fe061b48052401f185d3dae74dbd60625364c1bfa866bfae3dee7d1fa9ef5b6c59aadcac0ea902b14ca03f8a99ab2ab887bda18a3c8f739a8c5f0bf1a29c78
6
+ metadata.gz: 277fd6371e35b2b438992ce0a3174564f1691cc566d09417ea037cf5b511db796e3c858998ff72be4793ff2ffdca3b96d9776b24375f99226fefbf8cdcda64d5
7
+ data.tar.gz: 3ace324679ec75b12be5961989b4f1163f2ffaa0f4e0dd6e8766923a80998f3fba2bf1cc4677219e2ecc312e4ce042489fa12e8eee6a3b1fe6cc18789809d276
@@ -5,7 +5,10 @@ stop on runlevel [!2345]
5
5
 
6
6
  respawn
7
7
 
8
+ setuid app
9
+ setgid app
10
+
8
11
  script
9
12
  cd <%= Konstant.config['data_dir'] %>
10
- konstant run -s
13
+ /opt/rbenv/shims/konstant run -s
11
14
  end script
@@ -5,7 +5,10 @@ stop on runlevel [!2345]
5
5
 
6
6
  respawn
7
7
 
8
+ setuid app
9
+ setgid app
10
+
8
11
  script
9
12
  cd <%= Konstant.config['data_dir'] %>
10
- konstant run -w
13
+ /opt/rbenv/shims/konstant run -w
11
14
  end script
@@ -12,7 +12,7 @@ class Konstant::Scheduler
12
12
  end
13
13
 
14
14
  (@threads.keys - project_ids).each do |project_id|
15
- thread = @thread.delete project_id
15
+ thread = @threads.delete project_id
16
16
  thread.kill
17
17
  Konstant.logger.info "stopped worker for project '#{project_id}'"
18
18
  end
@@ -1,3 +1,3 @@
1
1
  module Konstant
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: konstant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Moritz Schepp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-17 00:00:00.000000000 Z
11
+ date: 2015-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler