copy_tuner_client 0.16.1 → 0.16.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/copy_tuner_client/translation_log.rb +2 -2
- data/lib/copy_tuner_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f71a4d30fba150acdb6fcaf87bb23d1dac860938ed1ea49c4f66147b0c745f2d
|
4
|
+
data.tar.gz: 7bf32e6a7d61f91f6963dd93d4a6cfd061bf7178e74eafbd7b750ab28c19a8d7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e67f8c08453b08b0fbff07ff08adf949ba8738d71b7f79402c99a2c195def37a2b05ec9c642eeedb70bc6bc5ab7669df62b9f0bb6ef26a45ed0d3d5354475c2
|
7
|
+
data.tar.gz: 82f76ec81af6b689f37fe692a04771ed23e0e1987c8bb83f925f00afa23f5e3c16fd769828ca50721389fe7c69def403c4c04826c5c0f6b0446581b3293b09a5
|
@@ -25,9 +25,9 @@ module CopyTunerClient
|
|
25
25
|
result = translate_without_copy_tuner_hook(key, **options)
|
26
26
|
|
27
27
|
if key.is_a?(Array)
|
28
|
-
key.zip(result).each { |k, v| CopyTunerClient::TranslationLog.add(I18n.normalize_keys(nil, k, scope).join('.'), v) unless v.is_a?(Array) }
|
28
|
+
key.zip(result).each { |k, v| CopyTunerClient::TranslationLog.add(I18n.normalize_keys(nil, k, scope).compact.join('.'), v) unless v.is_a?(Array) }
|
29
29
|
else
|
30
|
-
CopyTunerClient::TranslationLog.add(I18n.normalize_keys(nil, key, scope).join('.'), result) unless result.is_a?(Array)
|
30
|
+
CopyTunerClient::TranslationLog.add(I18n.normalize_keys(nil, key, scope).compact.join('.'), result) unless result.is_a?(Array)
|
31
31
|
end
|
32
32
|
result
|
33
33
|
end
|