osth 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/ost +11 -0
  3. data/osth.gemspec +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab8b6dd29154560c5e3b252c61174b998924b7ff
4
- data.tar.gz: d1cd7b76f23972aad8d6784fa022f3e385837679
3
+ metadata.gz: 314c8357c112d3d363ba754902b3ca4af0423c90
4
+ data.tar.gz: 69bf27565fb6fdfc39b6f8f62218302089296672
5
5
  SHA512:
6
- metadata.gz: 59c11eb7f92eaaf452e839b75582b48aeb2233501f6d232161fe45fd9359b938d2ddf78dd872266732e0758c82431b0f1f3c45dfe6aa337cc7b4685e43b095eb
7
- data.tar.gz: 8c0385b0f70a0ff83b9921533299be75e03c9f0a3a2d7a6be2369d5f80c059cc9849d91b7e12c886b258299045db7b02890c9be8c067e22c3f74863c58ff3a95
6
+ metadata.gz: bfda087e79813f9c93a77a9a2ad5f0d951919360202d371ba3096a585e64baeeea8370bad01d2058ae5fa4c1674bbc1ef892c1ff7312988e2bbdfddc9045f780
7
+ data.tar.gz: fc9a0c0d7a0a1e9bb866e38b4d8ac462b43016ce3582c45efdb75851cde6b0509bf289dfce519172c1f793ed5bf3d721afd3be66a008f2311e81e6488fa9f3d7
data/bin/ost CHANGED
@@ -49,7 +49,18 @@ when "start"
49
49
  when "stop"
50
50
  pid = Integer(File.read(pid_path).chomp)
51
51
 
52
+ running = true
53
+
52
54
  Process.kill(:TERM, pid)
55
+
56
+ while running
57
+ begin
58
+ Proces.kill(0, pid)
59
+ running = true
60
+ rescue Errno::ESRCH
61
+ running = false
62
+ end
63
+ end
53
64
  else
54
65
  $stderr.puts("unknown command: #{ command }")
55
66
  $stderr.puts(usage)
data/osth.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "osth"
3
- s.version = "1.0.0"
3
+ s.version = "1.1.0"
4
4
  s.summary = "How Harmoni runs Ost"
5
5
  s.description = s.summary
6
6
  s.authors = ["Francesco Rodríguez", "Mayn Kjær"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: osth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francesco Rodríguez
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-27 00:00:00.000000000 Z
12
+ date: 2014-09-10 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: How Harmoni runs Ost
15
15
  email: