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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bec711e702205bef5cf0bd74dc1a99c6f770225ee0fb37afa702cc8fb3712cab
4
- data.tar.gz: '09425dd51fe242b61eb7a3fe12331f5a6827504d5cd5b5157ff6824c56069a39'
3
+ metadata.gz: 12e4090258b99a1702202afb42fa199658b4afcd544372b9c5360d1807f65960
4
+ data.tar.gz: a11f40b227a80f556e4947c05189df7ac226d9141f4103d2aa6f93d3f08ca164
5
5
  SHA512:
6
- metadata.gz: 8e7b0806bbc5a1caf4c963df4f7120cdff2dfd4f0df068f7a308ade71c6b45c9373f157338065e9a116a0dc081ceeea07a593d8933701f2c2d43a5640810a901
7
- data.tar.gz: f5d06bfce2e0257c4249a856923eb3ea8afd1f424efe26ee212193c647cbc2cb3ad4caa42bed305e9874198e433b4ac8b50e87d5dcfb244d3689febef5a67d41
6
+ metadata.gz: 34da514b4e85ea10655d92971b6b495c3d8c141c7c7e195128ff0668883bda4bb9966433899e2f4c8297ad669d2c9af0f72ab6eaa6e07e2f5e9d4ab83ed0b963
7
+ data.tar.gz: 74e30dac5d1d2c0bba0c0a47c8eae3adb359770272165eb3506cf7e0ff918555cc204d7d0e3bdcbc16bc549d563d9140dd9d9bc3392dfb3a3912ec1373cf2f28
data/README.md CHANGED
@@ -40,7 +40,7 @@ For more about Crowdin API v2 see the documentation:
40
40
  Add this line to your application's Gemfile:
41
41
 
42
42
  ```gemfile
43
- gem 'crowdin-api', '~> 1.2.0'
43
+ gem 'crowdin-api', '~> 1.2.1'
44
44
  ```
45
45
 
46
46
  And then execute:
@@ -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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Crowdin
4
4
  class Client
5
- VERSION = '1.2.0'
5
+ VERSION = '1.2.1'
6
6
  end
7
7
  end
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.0
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-02-14 00:00:00.000000000 Z
11
+ date: 2022-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: open-uri