Sha256: 70af0ebd03e576a09bcbd6b47fc1611ddb099bff1872f068cee4f3472a2047ad

Contents?: true

Size: 1.12 KB

Versions: 7

Compression:

Stored size: 1.12 KB

Contents

# Common settings of the global session (that apply to all Rails environments)
# are listed here. These may be overidden in the environment-specific section.
common:
  attributes:
    # Signed attributes of the global session
    signed:
    - user
    # Untrusted attributes of the global session
    insecure:
    - account
  # Enable local session integration in order to use the ActionController
  # method #session to access both local AND global session state, with
  # global attributes always taking precedence over local attributes.
  integrated: true
  ephemeral: false
  
# Test/spec runs
test:
  timeout: 15 #minutes
  renew: 5 #minutes before expiration
  cookie:
    name: _session_gbl
  #the name of the local authority (optional)
  authority: test
  #which authorities this app will trust
  trust:
  - test

# Development mode
development:
  timeout: 60
  renew: 15
  cookie:
    name: _session_gbl
  authority: development
  trust:
  - development
  - production

# Production mode
production:
  timeout: 60
  renew: 15
  cookie:
    name: _session_gbl
    domain: <%= app_domain %>
  authority: production
  trust:
  - production

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
global_session-0.9.0 rails_generators/global_session_config/templates/global_session.yml.erb
has_global_session-1.1.3 rails_generators/global_session_config/templates/global_session.yml.erb
has_global_session-1.1.2 rails_generators/global_session_config/templates/global_session.yml.erb
has_global_session-1.1.0 rails_generators/global_session_config/templates/global_session.yml.erb
has_global_session-1.0 rails_generators/global_session_config/templates/global_session.yml.erb
has_global_session-0.9.5 rails_generators/global_session_config/templates/global_session.yml.erb
has_global_session-0.9.3 rails_generators/global_session_config/templates/global_session.yml.erb