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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f521cbf1b1ce626c108f9e6b76d7375fd4191866
4
- data.tar.gz: d40849e559d5e16fa313a68d287ddc481a4260d6
3
+ metadata.gz: 90fc8fb1692c31efa341b32f0eb011604fa23bea
4
+ data.tar.gz: 4032938c101c77cc4f204fe5cb0952c6e170dd26
5
5
  SHA512:
6
- metadata.gz: 0b2838fc246d4ee6f0b6228a1798a576f53919ee41c1f28f5f16a73dbdae0f102fcd6e5e7b1556cbf4e5c15ed65b2b954d3181f5fc32c865a3ed20419a756874
7
- data.tar.gz: e103457fdd7b0bb8dfc1796712d1a7b62c9616906f1dc61edf1a13f2858bc65b8d32ddb8b774d17537a2c1c5ad0da0183fc11d2c5b11bd49172991d16a9a7cf2
6
+ metadata.gz: 6c62a68360605cd25dfe438397b2204ff269c85f2327fc8fb5240abfefce7050e793540b5b5a952490adcc50d828133babf71461596476a77889813dc9ca9d5a
7
+ data.tar.gz: 78c988fb1ff1d2e078484f8283569a9a051fbe8a872b2653d743934690cc754e4e668e638ab42ef674781a8a3550e364f5e32fa7fa90b667e949f38abeb79b37
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Rpush
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  end
5
5
  end
@@ -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
- unless test "[ -f #{fetch(:rpush_pid)} ]"
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)}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-rpush
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mel Riffe