capistrano-rpush 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/capistrano/rpush/version.rb +1 -1
- data/lib/capistrano/tasks/rpush.rake +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90fc8fb1692c31efa341b32f0eb011604fa23bea
|
4
|
+
data.tar.gz: 4032938c101c77cc4f204fe5cb0952c6e170dd26
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6c62a68360605cd25dfe438397b2204ff269c85f2327fc8fb5240abfefce7050e793540b5b5a952490adcc50d828133babf71461596476a77889813dc9ca9d5a
|
7
|
+
data.tar.gz: 78c988fb1ff1d2e078484f8283569a9a051fbe8a872b2653d743934690cc754e4e668e638ab42ef674781a8a3550e364f5e32fa7fa90b667e949f38abeb79b37
|
@@ -79,7 +79,7 @@ namespace :rpush do
|
|
79
79
|
task :stop do
|
80
80
|
on roles (fetch(:rpush_role)) do |role|
|
81
81
|
rpush_switch_user(role) do
|
82
|
-
|
82
|
+
if test "[ -f #{fetch(:rpush_pid)} ]"
|
83
83
|
within current_path do
|
84
84
|
with rack_env: fetch(:rpush_env) do
|
85
85
|
execute :bundle, :exec, "rpush stop -p #{fetch(:rpush_pid)} -c #{fetch(:rpush_conf)} -e #{fetch(:rpush_env)}"
|