Sha256: 808d8b1b869050f577dbcb9361ecf94d983d6071fa540984de82eedaf9519177
Contents?: true
Size: 1.38 KB
Versions: 2
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 = true # 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lit-0.2.3 | lib/generators/lit/install/templates/initializer.rb |
lit-0.2.2 | lib/generators/lit/install/templates/initializer.rb |