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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef95c3204853ae72081f034d8e937d83b1bd823846be8c420a8f9a13de8a836e
4
- data.tar.gz: cedf7d327a91fb730aec0a4ef056085b1719d40bedce05f7153cd874f1e5fa51
3
+ metadata.gz: f71a4d30fba150acdb6fcaf87bb23d1dac860938ed1ea49c4f66147b0c745f2d
4
+ data.tar.gz: 7bf32e6a7d61f91f6963dd93d4a6cfd061bf7178e74eafbd7b750ab28c19a8d7
5
5
  SHA512:
6
- metadata.gz: 544d3d18ee051ad0ec5a46f4c41903c639675893bcc3fb172ab4e3e6aacf8422868bd59f0d47eb53e2ed29514a481bfac6e47c89a7601b3d819bb19c00025e4e
7
- data.tar.gz: 57ef501bc64a8810ab7603ef367698a0ae1825993adadbc3a1e3b307f2597fb700c127f5b089ade7298b175dc3fdee1c8cc945ece7c3f22978f281131d440d86
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
@@ -1,6 +1,6 @@
1
1
  module CopyTunerClient
2
2
  # Client version
3
- VERSION = '0.16.1'.freeze
3
+ VERSION = '0.16.2'.freeze
4
4
 
5
5
  # API version being used to communicate with the server
6
6
  API_VERSION = '2.0'.freeze
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: copy_tuner_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.1
4
+ version: 0.16.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - SonicGarden