localyzed 0.0.1.1 → 0.0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,11 @@ module Localyzed
3
3
  mattr_accessor :user_interface
4
4
 
5
5
  def self.configure(config)
6
- @@user_interface = config[:user_interface]
6
+ @@user_interface = config[:user_interface] || nil
7
+ end
8
+
9
+ def self.user_interface
10
+ @@user_interface.constantize
7
11
  end
8
12
 
9
13
  def self.localyze_routes(translations_file,options={})
@@ -1,3 +1,3 @@
1
1
  module Localyzed
2
- VERSION = "0.0.1.1"
2
+ VERSION = "0.0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: localyzed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.1
4
+ version: 0.0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: