Sha256: bd42c62c30606ef209a2656b9467d0cf048a484684a88136346379422e901a3c

Contents?: true

Size: 267 Bytes

Versions: 9

Compression:

Stored size: 267 Bytes

Contents

# frozen-string-literal: true
version = [Rails::VERSION::MAJOR, Rails::VERSION::MINOR]
if version == [4, 0]
  TestApp::Application.configure do
    config.secret_key_base = YAML.load_file(Rails.root.join('config/secrets.yml'))[Rails.env]['secret_key_base']
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
faml-0.7.3 spec/rails/config/initializers/secret_key_base.rb
faml-0.7.2 spec/rails/config/initializers/secret_key_base.rb
faml-0.7.1 spec/rails/config/initializers/secret_key_base.rb
faml-0.7.0 spec/rails/config/initializers/secret_key_base.rb
faml-0.6.5 spec/rails/config/initializers/secret_key_base.rb
faml-0.6.4 spec/rails/config/initializers/secret_key_base.rb
faml-0.6.3 spec/rails/config/initializers/secret_key_base.rb
faml-0.6.2 spec/rails/config/initializers/secret_key_base.rb
faml-0.6.1 spec/rails/config/initializers/secret_key_base.rb