Sha256: 9bd28c943c95835d956ce8a1a772706cd7ba19c7f5707a91546168a78005cba9

Contents?: true

Size: 1013 Bytes

Versions: 10

Compression:

Stored size: 1013 Bytes

Contents

# Be sure to restart your server when you modify this file.

# Your secret key for verifying the integrity of signed cookies.
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
#
# avoid deprecation warnings if building against older versions of Rails

# secret_token migrated to secret_key_base in Rails 4
SKB_VERSION = Gem::Version.new('4.0.0')

# Get the current Rails version.
RAILS_VERSION = Rails.respond_to?(:version) ? Gem::Version.new(Rails.version) : Gem::Version.new('3.22')

# if we're running an old version of Rails
if RAILS_VERSION < SKB_VERSION 
  Dummy::Application.config.secret_token    = 'deadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef'
else
  Dummy::Application.config.secret_key_base = 'deadbeef' if Dummy::Application.config.respond_to?(:secret_key_base)
end 

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
font-awesome-rails-4.7.0.9 test/dummy/config/initializers/secret_token.rb
drg_material_icons-0.24.3 test/dummy/config/initializers/secret_token.rb
drg_material_icons-0.23.7 test/dummy/config/initializers/secret_token.rb
drg_material_icons-0.23.1 test/dummy/config/initializers/secret_token.rb
drg_material_icons-0.2.0 test/dummy/config/initializers/secret_token.rb
drg_material_icons-0.1.1 test/dummy/config/initializers/secret_token.rb
drg_material_icons-0.1.0 test/dummy/config/initializers/secret_token.rb
font-awesome-rails-4.7.0.8 test/dummy/config/initializers/secret_token.rb
font-awesome-rails-4.7.0.7 test/dummy/config/initializers/secret_token.rb
font-awesome-rails-4.7.0.6 test/dummy/config/initializers/secret_token.rb