chubarovNick/thunderer

View on GitHub
lib/generators/thunderer/templates/thunderer.yml

Summary

Maintainability
Test Coverage
development:
  server: "http://localhost:9292/faye"
  secret_token: "secret"
test:
  server: "http://localhost:9292/faye"
  secret_token: "secret"
production:
  server: "http://example.com/faye"
  secret_token: "<%= defined?(SecureRandom) ? SecureRandom.hex(32) : ActiveSupport::SecureRandom.hex(32) %>"
  signature_expiration: 3600 # one hour