Sha256: a3e4c954dc7817de722a83e3804e59238b4c3c057d14b55ef9bf7cac252fd9f6

Contents?: true

Size: 280 Bytes

Versions: 2

Compression:

Stored size: 280 Bytes

Contents

module Capistrano
  module Helpers
    module Puma
      module Nginx
        def default_pw_generator
          pw = SecureRandom.random_number(36**10).to_s(36).rjust(10, '0')
          info "Random password generated: #{pw}"
          pw
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
capistrano-pumaio-3.0.1 lib/capistrano/helpers/puma/nginx.rb
capistrano-pumaio-3.0.0 lib/capistrano/helpers/puma/nginx.rb