Sha256: ad28b2f0fcfa25c156b62737696ee99e810e4998e5819d1c49c407aa9970fdb3
Contents?: true
Size: 1.38 KB
Versions: 3
Compression:
Stored size: 1.38 KB
Contents
# Which authentication function to use (ie. :authenticate_user!)? When set to # `nil` will let everyone in. Lit.authentication_function = <%= @authentication_function || 'nil' %> # Either 'redis' or 'hash'. Hash is the fastest, but will fail in multiprocess # environment Lit.key_value_engine = "<%= @key_value_engine %>" # Pass extra options to key_value_neinge, ie. prefix for redis (only one # supported at the moment) # Lit.storage_options = { :prefix=>"my_project" } # If true all translations are returned as html_safe strings Lit.all_translations_are_html_safe = false # Translations without default will be humanized (default string will be added) # ie. scope.page_header will become "Page header" # If `false` then will serve nil instead (but translation will be wrapped in # <span title="translation missing string"></span> Lit.humanize_key = false # Decide if missing translations will fallback to first found translated value # (same key, different language) Lit.fallback = false # API enabled? API allows third party browsing your translations, as well as # synchronizing them between environments Lit.api_enabled = false # API key is required to authorize third party, if API is enabled Lit.api_key = "<%= @api_key %>" # If true, last_updated_at column of synchronizaton source will be set to now # upon record creation Lit.set_last_updated_at_upon_creation = true # Initialize lit Lit.init
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lit-0.2.6 | lib/generators/lit/install/templates/initializer.rb |
lit-0.2.5 | lib/generators/lit/install/templates/initializer.rb |
lit-0.2.4 | lib/generators/lit/install/templates/initializer.rb |