lib/capistrano/tasks/puma.cap in capistrano3-puma-0.5.0 vs lib/capistrano/tasks/puma.cap in capistrano3-puma-0.5.1

- old
+ new

@@ -110,20 +110,10 @@ def puma_workers fetch(:puma_workers) || 0 end - def puma_tag - if fetch(:puma_tag) - # Versions(puma) prior to 2.8.2 don't support tag option - if Gem.loaded_specs['puma'].version >= Gem::Version.new('2.8.2') - return "tag '#{fetch(:puma_tag)}'" - else - warn 'Version puma 2.8.2+ required for tag option: Tag not set' - end - return - end - end + def puma_bind case fetch(:puma_bind) when Array fetch(:puma_bind).collect do |bind|