Sha256: 307ac63f8973353d85ef7ad16d26c29f16ab458c48513fa9511ea8bec92d0d38

Contents?: true

Size: 997 Bytes

Versions: 7

Compression:

Stored size: 997 Bytes

Contents

<% if options[:oauth] -%>
development:
  strategy: oauth
  base_url: "https://twitter.com"
  api_timeout: 10
  oauth_consumer_key: devkey
  oauth_consumer_secret: devsecret
  oauth_callback: "http://localhost:3000/oauth_callback"
test:
  strategy: oauth
  base_url: "https://twitter.com"
  api_timeout: 10
  oauth_consumer_key: testkey
  oauth_consumer_secret: testsecret
  oauth_callback: "http://localhost:3000/oauth_callback"
production:
  strategy: oauth
  api_timeout: 10
  base_url: "https://twitter.com"
  oauth_consumer_key: prodkey
  oauth_consumer_secret: prodsecret
<% else -%>
development:
  strategy: basic
  api_timeout: 10
  base_url: "https://twitter.com"
  # randomly generated key for encrypting Twitter passwords
  encryption_key: "<%= key = ActiveSupport::SecureRandom.hex(12) %>"
test:
  strategy: basic
  api_timeout: 10
  base_url: "https://twitter.com"
  encryption_key: "<%= key %>"
production:
  strategy: basic
  api_timeout: 10
  encryption_key: "<%= key %>"
<% end %>

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
mbleigh-twitter-auth-0.1.1 generators/twitter_auth/templates/twitter_auth.yml
mbleigh-twitter-auth-0.1.3 generators/twitter_auth/templates/twitter_auth.yml
mbleigh-twitter-auth-0.1.5 generators/twitter_auth/templates/twitter_auth.yml
mbleigh-twitter-auth-0.1.8 generators/twitter_auth/templates/twitter_auth.yml
twitter-auth-0.1.5 generators/twitter_auth/templates/twitter_auth.yml
twitter-auth-0.1.7 generators/twitter_auth/templates/twitter_auth.yml
twitter-auth-0.1.8 generators/twitter_auth/templates/twitter_auth.yml