missing_translation 0.4.0 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +5 -3
- data/lib/missing_translation/version.rb +1 -1
- data/lib/missing_translation_api.rb +2 -0
- 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: dba71d70e2fdfd447e9970d93b7df7fb48c15d1ebc0786faa42485ffb69fd2cd
|
|
4
|
+
data.tar.gz: 335d390b416fa5e6df1f69391d5c34a55740bef4f889705ff72083af2e4c6d9f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3e932a04547c8e79061f6c85f8931b886f912ba455155c706a6cce5bb292bb528587c326440f370388115bac9b0aebccd6f2013faca13a5a7229706e35276d4d
|
|
7
|
+
data.tar.gz: d02468ccc06101f8a3259e7f253283e80b30612abc1f3604b9fa77a39b14c90295d4250d603ba71e383cfb0d51523b3c94a511924036f644d00f57c1060a4d7f
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
missing_translation (0.4.
|
|
4
|
+
missing_translation (0.4.2)
|
|
5
5
|
httparty (~> 0.18)
|
|
6
6
|
thor (~> 1.1)
|
|
7
7
|
|
|
@@ -9,8 +9,10 @@ GEM
|
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
11
|
ast (2.4.2)
|
|
12
|
+
csv (3.3.0)
|
|
12
13
|
diff-lcs (1.5.0)
|
|
13
|
-
httparty (0.
|
|
14
|
+
httparty (0.22.0)
|
|
15
|
+
csv
|
|
14
16
|
mini_mime (>= 1.0.0)
|
|
15
17
|
multi_xml (>= 0.5.2)
|
|
16
18
|
json (2.6.2)
|
|
@@ -49,7 +51,7 @@ GEM
|
|
|
49
51
|
rubocop-ast (1.22.0)
|
|
50
52
|
parser (>= 3.1.1.0)
|
|
51
53
|
ruby-progressbar (1.11.0)
|
|
52
|
-
thor (1.
|
|
54
|
+
thor (1.3.1)
|
|
53
55
|
unicode-display_width (2.3.0)
|
|
54
56
|
|
|
55
57
|
PLATFORMS
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
require 'httparty'
|
|
2
|
+
require 'json'
|
|
2
3
|
|
|
3
4
|
class MissingTranslationApi
|
|
4
5
|
include HTTParty
|
|
@@ -19,6 +20,7 @@ class MissingTranslationApi
|
|
|
19
20
|
end
|
|
20
21
|
|
|
21
22
|
def upload(language, group, keys, content_type = "yaml")
|
|
23
|
+
p "Pushing #{keys.count} keys on #{group} for #{language}"
|
|
22
24
|
self.class.post("/translations/import", @options.merge({
|
|
23
25
|
body: {
|
|
24
26
|
content_type: content_type,
|
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.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kevin Clercin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-07-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|