lib/capistrano/puma.rb in capistrano3-puma-3.1.0 vs lib/capistrano/puma.rb in capistrano3-puma-3.1.1

- old
+ new

@@ -6,11 +6,11 @@ def puma_switch_user(role, &block) user = puma_user(role) if user == role.user block.call else - as user do + backend.as user do block.call end end end @@ -116,6 +116,6 @@ end require 'capistrano/puma/workers' require 'capistrano/puma/monit' require 'capistrano/puma/jungle' -require 'capistrano/puma/nginx' \ No newline at end of file +require 'capistrano/puma/nginx'