specinfra 2.11.0 → 2.11.1

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: 5f3d2e29c23332edd854c392a4f387a9f208e890
4
- data.tar.gz: 45fa4dee5d7f55637bc88b814529e0e8c7707ae7
3
+ metadata.gz: 40920076624bf4cd8e392f5665d9a8e02941e89b
4
+ data.tar.gz: 5287ee3853e15fc4505e02ac201de3e4da009143
5
5
  SHA512:
6
- metadata.gz: d27096006e2273c9e1599964e608c821c5c0877d88383d1bbe68166f4bc84f4d194e3799b05944bf858658bfa37103d3e67d4bdfaa04fcbeda766ecc62a92b9b
7
- data.tar.gz: 51f2385e6445e672753f5e46129608e45741c5f8d55db2e247fff2b7c6b395a7a1a298b78ae934bf4d03b1a2e816ec252cf5c9d17141f3dd8c6d95ec4b1486a0
6
+ metadata.gz: 821181682b5a330ddeb8e6b45fbd1c261ddff7f7efddab755648a29c35d09fb9f0d35928aeab75ffd5ef23de02b70b482eea6d8ea9092c9121c53d13ad303f2e
7
+ data.tar.gz: 180607270a6845453ae6121c7b07b13001a177f8b41083a5db8b2ed83a97bef16d604c3f2074bd9fd069b0a38f3508c07f42ac462617df57e3b374dbfbf86ac7
@@ -12,6 +12,10 @@ class Specinfra::Command::Base::Service < Specinfra::Command::Base
12
12
  "initctl status #{escape(service)} | grep running"
13
13
  end
14
14
 
15
+ def check_is_running_under_daemontools(service)
16
+ "svstat /service/#{escape(service)} | grep -E 'up \\(pid [0-9]+\\)'"
17
+ end
18
+
15
19
  def check_is_monitored_by_monit(service)
16
20
  "monit status"
17
21
  end
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "2.11.0"
2
+ VERSION = "2.11.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specinfra
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.0
4
+ version: 2.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-23 00:00:00.000000000 Z
11
+ date: 2014-12-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh