capistrano-shoryuken 0.1.4 → 0.1.5

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OGU5MmJmZjJmNWUyODdiZmJmZmI5YjA0MmI0NDk0OGM3MTZiNTA0Mg==
4
+ ZTI4MTUyYmE1NzczM2YzMGMwOTE3Mzc2NWE4NDAyOWU2ODY4YjBhMA==
5
5
  data.tar.gz: !binary |-
6
- Yjc5OGZhMjc1ZTA5ZWFiZTZjMjUwMGYxNGVmNzVlMDc2YjM5Yjg3Zg==
6
+ YjFhY2Q2ZmQxZjRjZDg3N2NhYjhiNGVlYzQxMGU0YTM0YjE4MDkxNw==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- YWU1NDU0Nzc3ZDA5NjdlOTY0N2U3ZTMxZDcyM2NlMzIzODJkNzEwZjc5YmM3
10
- YmQ5ZDViZDdiNjE4NDAwYWRlNjNhODRmMWMxMmFjNjRhODUzMjFjZmJkNTE2
11
- YjIxYmM5YWRlNWM0Yjg4NWFhMjc2ZGJkYWFiNjcwN2NiN2E1NzY=
9
+ NDcyZWM4MjQ4YTNhZGRhYTE3YjY3NDlhMjg1Mzk3OWQwNzNmMGZlZjI2ZTE4
10
+ MTliZGQyOGJkNTU0ZTYzNDhhOWU1YWI1ZWM4NjljZjk5YTkyZTMzZDI5Njc1
11
+ ODE3ODIyMjc2YWFlOTI2MmYwMjZiMjE2YWVkYTE5NzE0ZmI1MTE=
12
12
  data.tar.gz: !binary |-
13
- YTU5NGM2MWI2YTlkODAwZDI4Nzg0MjA1MTVmZDk3ODgyNGI0MjM4YWYwZGQ0
14
- ZWFjZDU5MWYyYmE3NWVmYzU3YmQ5OTc1ZTAwMDY5Y2IyYjc4YmZkYmFjMDVm
15
- YmNlOTMxNmM2ZmMyNzVmNzA0N2ZjYTViZmUzZjc3OGI5OGU2MjY=
13
+ NzFmNzNjN2JmN2JlMzAzZGViNDNiYTQzY2Q5YzI0MjBjMjllMDJjMGMyY2Q4
14
+ YzZjZGIzMzliYmVmM2NlMTQ1MjUyMTkzNjcwMmQ1ZmRmY2JhYWMyZTI2NTFh
15
+ MjAxM2M1YWMxZDg2NDY4NmU3YWJiNWQ1NWUyMmFiMTI0ZjNiZWQ=
data/README.md CHANGED
@@ -43,6 +43,7 @@ Configurable options, shown here with defaults (using Capistrano 3 syntax):
43
43
  ```
44
44
 
45
45
  ## Changelog
46
+ - 0.1.5: Bug fix when using Capistrano 2
46
47
  - 0.1.4: Minimum ruby 1.9.2
47
48
  - 0.1.3: Fix erroneous auto-loading from Bundler.require
48
49
  - 0.1.2: Support --require option.
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Shoryuken
3
- VERSION = '0.1.4'
3
+ VERSION = '0.1.5'
4
4
  end
5
5
  end
@@ -25,7 +25,7 @@ Capistrano::Configuration.instance.load do
25
25
  task :stop, roles: lambda { fetch(:shoryuken_role) }, on_no_matching_servers: :continue do
26
26
  pid_file = fetch(:shoryuken_pid)
27
27
 
28
- run "cd #{current_path} ; kill -USR1 `cat '#{pid_file}'` >/dev/null 2>&1"
28
+ run "cd #{current_path} ; kill -USR1 `cat '#{pid_file}'` >/dev/null 2>&1 || true"
29
29
  print 'Waiting for shoryuken to shutdown...'
30
30
  run "cd #{current_path} && while [ -f '#{pid_file}' ] && kill -0 `cat '#{pid_file}'` >/dev/null 2>&1; do sleep 1; done && rm -f '#{pid_file}'"
31
31
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-shoryuken
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
  - Joe Khoobyar