poeditor-cli 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/poeditor/commands/pull_command.rb +1 -1
- data/lib/poeditor/core.rb +1 -1
- data/lib/poeditor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f526eb29ffd5471eb185332e0a3a9075635f2275
|
4
|
+
data.tar.gz: 730f23f3dbfa994a430723d5f7dfd6d432b38e70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a95933ca88a7f5dec3d293d3c5307248523207415a9d961491fffbe015d6b3e218acf00153b17ee9843ec0483445aad57b6eabb7e22089d96ecd19e52197066
|
7
|
+
data.tar.gz: 780ae598ca75d225af5ff1348fe11df038d9602aa414b4ff932c293946dede7b6d030a23806f77724ec760f713f87693c502dae541ac4e63931fe3f82d3775b0
|
@@ -15,7 +15,7 @@ module POEditor
|
|
15
15
|
#
|
16
16
|
# @return [String] The detected path of `poeditor.yml` file
|
17
17
|
def get_configuration_file_path(argv)
|
18
|
-
config_index = argv.index("-c")
|
18
|
+
config_index = argv.index("-c") || argv.index("--config")
|
19
19
|
if config_index
|
20
20
|
config_path = argv[config_index + 1]
|
21
21
|
else
|
data/lib/poeditor/core.rb
CHANGED
@@ -65,7 +65,7 @@ module POEditor
|
|
65
65
|
"id" => project_id,
|
66
66
|
"language" => convert_to_poeditor_language(language),
|
67
67
|
"type" => type,
|
68
|
-
"tags" => (tags
|
68
|
+
"tags" => (tags || []).join(","),
|
69
69
|
}
|
70
70
|
response = self.api("export", api_key, options)
|
71
71
|
data = JSON(response.body)
|
data/lib/poeditor/version.rb
CHANGED