lib/stairs/steps/secret_key_base.rb in stairs-0.9.0 vs lib/stairs/steps/secret_key_base.rb in stairs-0.10.0
- old
+ new
@@ -1,14 +1,14 @@
-require "securerandom"
+require 'securerandom'
module Stairs
module Steps
class SecretKeyBase < Step
- title "Secret Token"
- description "Generate a secure random secret token"
+ title 'Secret Token'
+ description 'Generate a secure random secret token'
def run
- env "SECRET_KEY_BASE", SecureRandom.hex(64)
+ env 'SECRET_KEY_BASE', SecureRandom.hex(64)
end
end
end
end