crowdin-api 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/crowdin-api/api-resources/translations.rb +3 -2
- data/lib/crowdin-api/client/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: 12e4090258b99a1702202afb42fa199658b4afcd544372b9c5360d1807f65960
|
4
|
+
data.tar.gz: a11f40b227a80f556e4947c05189df7ac226d9141f4103d2aa6f93d3f08ca164
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34da514b4e85ea10655d92971b6b495c3d8c141c7c7e195128ff0668883bda4bb9966433899e2f4c8297ad669d2c9af0f72ab6eaa6e07e2f5e9d4ab83ed0b963
|
7
|
+
data.tar.gz: 74e30dac5d1d2c0bba0c0a47c8eae3adb359770272165eb3506cf7e0ff918555cc204d7d0e3bdcbc16bc549d563d9140dd9d9bc3392dfb3a3912ec1373cf2f28
|
data/README.md
CHANGED
@@ -43,7 +43,7 @@ module Crowdin
|
|
43
43
|
request.perform
|
44
44
|
end
|
45
45
|
|
46
|
-
def build_project_file_translation(file_id = nil, query = {}, project_id = config.project_id)
|
46
|
+
def build_project_file_translation(file_id = nil, query = {}, destination = nil, project_id = config.project_id)
|
47
47
|
file_id || raise_parameter_is_required_error(:file_id)
|
48
48
|
project_id || raise_project_id_is_required_error
|
49
49
|
|
@@ -54,7 +54,8 @@ module Crowdin
|
|
54
54
|
:post,
|
55
55
|
"/projects/#{project_id}/translations/builds/files/#{file_id}",
|
56
56
|
query,
|
57
|
-
headers
|
57
|
+
headers,
|
58
|
+
destination
|
58
59
|
)
|
59
60
|
|
60
61
|
request.perform
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: crowdin-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Crowdin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: open-uri
|