shapeup-cli 0.12.0 → 0.12.1
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 +4 -4
- data/lib/shapeup_cli/commands/doctor.rb +8 -2
- data/lib/shapeup_cli/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 22d9ef55510661ad0f2d548a0357114f8237e9b5566d20f520a51ad9a2f5746e
|
|
4
|
+
data.tar.gz: 484179fcc9f4e9bc4e2202998a607b6dc77c82367349d17dfe4fbd09af271326
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 37e5a48898edc5529727b0453a227160e0da6ea5ccb2f936deb7ede8ee7013575104e644f0123538ada478ccc48c53e60976422efa32e6a00e1f22ac737c2203
|
|
7
|
+
data.tar.gz: 2c15f6eadbb18f4626cc95d261227d3a3498f7b617da76f8b2dae5a0f59a48511e7eb1557873bc4649749361faef8de10cc7c880b79215a4a57d0539e4a6ccc8
|
|
@@ -202,8 +202,14 @@ module ShapeupCli
|
|
|
202
202
|
end
|
|
203
203
|
|
|
204
204
|
def connector_running_for?(handle)
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
connector_commands.any? do |command|
|
|
206
|
+
named = command[/--(?:as|profile)[ =]@?([\w.-]+)/, 1] || command[/SHAPEUP_PROFILE=([\w.-]+)/, 1]
|
|
207
|
+
named.nil? || named == handle
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
def connector_commands
|
|
212
|
+
IO.popen([ "pgrep", "-lf", "shapeup.* connect" ], err: File::NULL, &:readlines)
|
|
207
213
|
end
|
|
208
214
|
|
|
209
215
|
def pass(name, message) = Check.new(name: name, status: :pass, message: message)
|
data/lib/shapeup_cli/version.rb
CHANGED