lit 0.0.4 → 0.0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -32,6 +32,10 @@ mount Lit::Engine => "/lit"
32
32
  ## Tested with devise, seems to work
33
33
  # Lit.authentication_function = :authenticate_admin!
34
34
 
35
+ ## Pass extra options to storage engine
36
+ ## You may find it useful ie. while using redis in shared environment.
37
+ # Lit.storage_options = { :prefix=>"my_project" }
38
+
35
39
  ## Which storage engine use. Please remember that in production environment
36
40
  ## memory is not shared between processes, and hash may not be correct choice
37
41
  ## (as changes will not be visible for all processes). But for any production
@@ -118,7 +118,7 @@ module Lit
118
118
  value = value.first
119
119
  end
120
120
  end
121
- l.default_value = value
121
+ l.default_value = value.to_s
122
122
  #Lit.init.logger.info "creating new localization: #{key_without_locale}"
123
123
  #Lit.init.logger.info "creating new localization with value: #{value}"
124
124
  #Lit.init.logger.info "creating new localization with value: #{value.class}"
@@ -1,3 +1,3 @@
1
1
  module Lit
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.4.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: