i18n_checker 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '00138b291e22894b6beffebb4ab1332f98d5bae0'
|
4
|
+
data.tar.gz: ac641342d31374cd17b9292ff78808760ade2cf5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a7be1b6c288c48ebf122d8797f7b49c951f247c52480fb420d0452cfcc5121ab31f1c0db0b53ddd54d7a665eea7ece23f4caa2f3e053bfe50d57ae0289d0cc9
|
7
|
+
data.tar.gz: 995d236b18d1c362e5a93fd322e64fa0b624ad3251ea677d1078ded0ca38594cf971a3d048863c3b487f14b1941dc46828709814b31d715d3a51147202769a12
|
data/Gemfile.lock
CHANGED
@@ -50,7 +50,7 @@ module I18nChecker
|
|
50
50
|
current_locale_texts.delete_if { |locale_text| registry.key?(locale_text) }
|
51
51
|
|
52
52
|
remain_texts = {}
|
53
|
-
remain_texts[@lang] = current_locale_texts
|
53
|
+
remain_texts[@lang] = tree_of(current_locale_texts)
|
54
54
|
|
55
55
|
self.class.new(file_name, remain_texts)
|
56
56
|
end
|
@@ -95,8 +95,8 @@ module I18nChecker
|
|
95
95
|
last_key = paths.pop
|
96
96
|
dest = result
|
97
97
|
paths.each do |p|
|
98
|
-
|
99
|
-
dest =
|
98
|
+
dest[p] = {} unless dest.key?(p)
|
99
|
+
dest = dest[p]
|
100
100
|
end
|
101
101
|
dest[last_key] = value
|
102
102
|
end
|
data/lib/i18n_checker/version.rb
CHANGED