missing_translation 0.4.3 → 0.4.4

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: 2e00668d1dfa29df132609998dc9c40870e98742ddf0668104e5e3c0bcb02cc7
4
- data.tar.gz: cea48544560f29f23388bacfe985a5e05d087d016f51d0238b2fea567832acad
3
+ metadata.gz: ec408f8faa083105c47b0151f6bddd1a24b58c9853c4e66bbab8542ba798f265
4
+ data.tar.gz: 36b215d2b403265155d6f15ce3a4a16a4104c77f7972d06eef0825b4436ae761
5
5
  SHA512:
6
- metadata.gz: 467063d7284b642f397d4538c50f543279441df730543e84991fb3de958b06158228a0c29e0d4af005861be510087704ad58886d4903ec4a19475d2d939c57fc
7
- data.tar.gz: ebbe9512404ff7fd103fa07fb3b9f2c5853eacfef39f331c3c9e2fddf133781734b152b921571ad48c3473b24f974908ba8d10a5e67f3dd8724324e7ed9a269e
6
+ metadata.gz: f6cd4983c6ea15efddc317f5837e51efc3114474c783ac757def910eb717d1cca624ce614a9bcb34fe761021673c8719e69a3853d50ca60553b66699e76f510b
7
+ data.tar.gz: '0188c5193a5b9d0a2afc679c9289886ec600c1b70409edb7daedd2623af72bcf0ee95d3b6bf738dfe6a4061bd78075404b2a8a0f22252b3e7f3a74ef05403369'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- missing_translation (0.4.3)
4
+ missing_translation (0.4.4)
5
5
  httparty (~> 0.18)
6
6
  thor (~> 1.1)
7
7
 
@@ -31,7 +31,8 @@ module MissingTranslation
31
31
  configuration = Configuration.new
32
32
  api = MissingTranslationApi.new(configuration.config[:key])
33
33
  file_pathnames.each do |pathname|
34
- next if locale.present? && !pathname.include?("#{locale}.yml")
34
+ next if locale && locale.present? && !pathname.include?("#{locale}.yml")
35
+
35
36
  p "Uploading #{pathname}"
36
37
  file = MissingTranslation::TranslationFile.new(pathname)
37
38
  api.upload(file.language, file.group, file.to_json, "yaml")
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MissingTranslation
4
- VERSION = "0.4.3"
4
+ VERSION = "0.4.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: missing_translation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Clercin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-25 00:00:00.000000000 Z
11
+ date: 2024-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor