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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/missing_translation/cli.rb +2 -1
- data/lib/missing_translation/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec408f8faa083105c47b0151f6bddd1a24b58c9853c4e66bbab8542ba798f265
|
4
|
+
data.tar.gz: 36b215d2b403265155d6f15ce3a4a16a4104c77f7972d06eef0825b4436ae761
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6cd4983c6ea15efddc317f5837e51efc3114474c783ac757def910eb717d1cca624ce614a9bcb34fe761021673c8719e69a3853d50ca60553b66699e76f510b
|
7
|
+
data.tar.gz: '0188c5193a5b9d0a2afc679c9289886ec600c1b70409edb7daedd2623af72bcf0ee95d3b6bf738dfe6a4061bd78075404b2a8a0f22252b3e7f3a74ef05403369'
|
data/Gemfile.lock
CHANGED
@@ -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")
|
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.
|
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
|
11
|
+
date: 2024-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|