Sha256: f8f5406fc4083d7ad6552bbf719d5f23a220c98c4ddc10b501e317b1aac594b1
Contents?: true
Size: 468 Bytes
Versions: 9
Compression:
Stored size: 468 Bytes
Contents
git_plugin = self namespace :puma do desc 'Setup Puma config file' task :config do on roles(fetch(:puma_role)) do |role| git_plugin.upload_puma_rb(role) end end task :check do on roles(fetch(:puma_role)) do |role| #Create puma.rb for new deployments unless test "[ -f #{fetch(:puma_conf)} ]" warn 'puma.rb NOT FOUND!' git_plugin.upload_puma_rb(role) info 'puma.rb generated' end end end end
Version data entries
9 entries across 9 versions & 1 rubygems