rabelyoda 1.1.2 → 1.1.3
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/VERSION +1 -1
- data/test/rabelyoda/hash_test.rb +8 -6
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.1.
|
|
1
|
+
1.1.3
|
data/test/rabelyoda/hash_test.rb
CHANGED
|
@@ -28,15 +28,17 @@ module RabelYoda
|
|
|
28
28
|
|
|
29
29
|
def test_locale_diff
|
|
30
30
|
assert_equal @en.locale_diff(@ru), {
|
|
31
|
-
'
|
|
31
|
+
'user' => "Пользователь",
|
|
32
|
+
'company' => 'Компания',
|
|
32
33
|
'position' => '[pls translate]Position',
|
|
34
|
+
'department' => '[pls translate]Department',
|
|
33
35
|
'activerecord' => {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
36
|
+
'validations' => {
|
|
37
|
+
'email' => '[pls translate]Should be like email',
|
|
38
|
+
'name' => '[pls translate]Should contain only letters'
|
|
39
|
+
}
|
|
39
40
|
}
|
|
41
|
+
}
|
|
40
42
|
end
|
|
41
43
|
end
|
|
42
44
|
end
|