Commit 6dc469f2 authored by Pablo Carranza's avatar Pablo Carranza
Browse files

Merge branch 'fix/pgrep-quote' into 'master'

Quote `pgrep` arguments



See merge request !9
parents d31d173c 475f154e
PATH
remote: .
specs:
gitlab-monitor (0.0.1)
gitlab-monitor (0.0.2)
pg (~> 0.18.4)
sinatra (~> 1.4.7)
......@@ -54,4 +54,4 @@ DEPENDENCIES
rubocop (~> 0.42)
BUNDLED WITH
1.12.5
1.13.2
......@@ -48,7 +48,7 @@ module GitLab
module_function :deep_transform_keys_in_object
def pgrep(pattern)
`pgrep -f #{pattern}`.split("\n")
`pgrep -f "#{pattern}"`.split("\n")
end
module_function :pgrep
......
module GitLab
module Monitor
VERSION = "0.0.1".freeze
VERSION = "0.0.2".freeze
end
end
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment