Sha256: 1d74c28e829ad80145484bcc5acffbe56f3a373dfd6a87d101d43ed5181f4ce0
Contents?: true
Size: 394 Bytes
Versions: 2
Compression:
Stored size: 394 Bytes
Contents
module Capistrano module Helpers module Puma ## # Module Nginx provides helper functions for nginx configuration ## module Nginx module_function 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.3 | lib/capistrano/helpers/puma/nginx.rb |
capistrano-pumaio-3.0.2 | lib/capistrano/helpers/puma/nginx.rb |