osth 1.1.1 → 1.1.2

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 +6 -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: d70a185019976769eb5ee47463c520ee7b7cef7b
4
- data.tar.gz: 35b1243d73fb166a9743ed1c02a79cef601cba4e
3
+ metadata.gz: 768099a21c7e657a0e850531985e6f862fa8f46f
4
+ data.tar.gz: c105c8efd7728f16a4480d6b246aedb5b84d1ceb
5
5
  SHA512:
6
- metadata.gz: 47be667c5e9b71040399b64f9a4cf42238e7dcbbc9d563c54349789aaca12791bb44064341e1aa63737f32791fa724413a7433f18462eb340fe2f26be5b9b159
7
- data.tar.gz: 9f45da00c131392f9a48713a8d21a9efccaa74a3cff7609165b1b11fb62794ce3578d70d8819cef8b12529e8fda5ea1d0ec3906cc079ea99b8454de9e07680f4
6
+ metadata.gz: 0bde9fb903be7af3075a674d629807d01035c85689aac8221557b30fe585fbb07100c1b4723d76c810fb893dbbb20d95613aeeb090a2e7e7fc2b99f68d14414b
7
+ data.tar.gz: a16eeb4bfb6c40a1a5534d9b95da65b3c507cdeaabdabe4e0610b502bba3bb28819551dada1324ba7595c2fce823d9fcfce6ca2a84aa86d6e417179285d3b172
data/bin/ost CHANGED
@@ -47,6 +47,12 @@ when "start"
47
47
 
48
48
  require wrk_path
49
49
  when "stop"
50
+ unless File.exists?(pid_path)
51
+ $stderr.puts("#{ worker } is not running.")
52
+
53
+ exit(1)
54
+ end
55
+
50
56
  pid = Integer(File.read(pid_path).chomp)
51
57
 
52
58
  running = true
data/osth.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "osth"
3
- s.version = "1.1.1"
3
+ s.version = "1.1.2"
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.1.1
4
+ version: 1.1.2
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-09-10 00:00:00.000000000 Z
12
+ date: 2014-09-12 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: How Harmoni runs Ost
15
15
  email: