specinfra 2.82.20 → 2.82.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/specinfra/command/darwin/base/service.rb +8 -0
- data/lib/specinfra/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1aa21aa7df9050070d308c73b13bd884d6978abe7880a58a0bca2155341ca09b
|
4
|
+
data.tar.gz: 72235c0a17560c82dd765849b015d4bbaa80695d00ed6a66d5f596bca74cc15e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dcca7817a96c799461e76fd7ff45c392b3d5f46bb60b992cbea4ff5b22b7610a9b9027a2383ed16c4a1bff2c5deed89b16f0dcf3d242ea638161ef98be07593
|
7
|
+
data.tar.gz: dcd61ecca8e3b92998e4e86079e849768939200a43034281d3557480516514886057ab914dd6e5c86da5d589f3aba5d309e2336117167b228a1cedb9ca190ffc
|
@@ -4,8 +4,16 @@ class Specinfra::Command::Darwin::Base::Service < Specinfra::Command::Base::Serv
|
|
4
4
|
"launchctl list | grep #{escape(service)}"
|
5
5
|
end
|
6
6
|
|
7
|
+
def check_is_enabled_under_homebrew(service)
|
8
|
+
"brew services list | grep #{escape(service)}"
|
9
|
+
end
|
10
|
+
|
7
11
|
def check_is_running(service)
|
8
12
|
"launchctl list | grep #{escape(service)} | grep -E '^[0-9]+'"
|
9
13
|
end
|
14
|
+
|
15
|
+
def check_is_running_under_homebrew(service)
|
16
|
+
"brew services list | grep #{escape(service)} | grep 'started'"
|
17
|
+
end
|
10
18
|
end
|
11
19
|
end
|
data/lib/specinfra/version.rb
CHANGED
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.82.
|
4
|
+
version: 2.82.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: net-scp
|