lolita-translation 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lolita-translation.rb +2 -3
- data/lib/lolita-translation/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e234ede4bb13aea291f14a323081a4b487082056
|
4
|
+
data.tar.gz: c48afbce87b015abf09a823e0be03235200044eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc3302d5ee23a8c6f73d1102b2a0b2696cc583b5a89e834b1e946a36debe0ca9f817dfddab98df8e2c34010c1c38ce1fed948aeb48b9064ab5d40fb9c212b4cc
|
7
|
+
data.tar.gz: a4854f5b74e508e57fca06ebc9a703d71c4edb08470da8384306b81ff1aad56bb66dc6a24212c29d6952591e2689705c3bf6f902c8c69d8949cfacebf35c4775
|
data/lib/lolita-translation.rb
CHANGED
@@ -1,7 +1,6 @@
|
|
1
|
-
|
1
|
+
$: << File.dirname(__FILE__) unless $:.include?(File.dirname(__FILE__))
|
2
2
|
require 'lolita'
|
3
3
|
|
4
|
-
|
5
4
|
module Lolita
|
6
5
|
# Lolita::Translation is module for all classes and module for data translation in Lolita.
|
7
6
|
# It have #locales method, that is is used to get all configured locales or all available locales.
|
@@ -19,7 +18,7 @@ module Lolita
|
|
19
18
|
load_base!
|
20
19
|
load_orm!
|
21
20
|
load_lolita_extensions!
|
22
|
-
if Lolita.
|
21
|
+
if Lolita.rails?
|
23
22
|
load_rails_engine!
|
24
23
|
end
|
25
24
|
end
|