phrase 1.0.4 → 1.0.5
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/README.md +4 -3
- data/docs/Job.md +3 -1
- data/docs/JobDetails.md +2 -0
- data/docs/JobsApi.md +72 -0
- data/lib/phrase/api/jobs_api.rb +81 -0
- data/lib/phrase/models/job.rb +13 -4
- data/lib/phrase/models/job_details.rb +10 -1
- data/lib/phrase/version.rb +1 -1
- data/spec/api/jobs_api_spec.rb +18 -0
- data/spec/models/job_details_spec.rb +6 -0
- data/spec/models/job_spec.rb +6 -0
- metadata +160 -160
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57849769ad779e66c8ca5fc20fc6462cc9ec5e6f40aa0faf667250217599d986
|
4
|
+
data.tar.gz: 3025cf845b328fbf097b98f8d5fafef1539d52c429e19be74c91852802e27cab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5be847b38d1c979228297ed3b7c27302ccc3b5619e69953eca38d479ea0fb1c2b38327021d1a06395253bcb0924809e2df0a06f300dc623bdd59dd034f1750c5
|
7
|
+
data.tar.gz: 792394748ebf4cdff936ab3a76313822b6f63951b77b260657303fb956ae4ec1324a22ca2863bd1fd0ae90b20e8ce39279194765835f9dcf84ee2a0e4896c111
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Phrase is a translation management platform for software projects. You can colla
|
|
7
7
|
## This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 2.0.0
|
10
|
-
- Package version: 1.0.
|
10
|
+
- Package version: 1.0.5
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://developers.phrase.com/api/](https://developers.phrase.com/api/)
|
13
13
|
|
@@ -56,10 +56,10 @@ gem build phrase.gemspec
|
|
56
56
|
Then install the gem locally:
|
57
57
|
|
58
58
|
```shell
|
59
|
-
gem install ./phrase-1.0.
|
59
|
+
gem install ./phrase-1.0.5.gem
|
60
60
|
```
|
61
61
|
|
62
|
-
(for development, run `gem install --dev ./phrase-1.0.
|
62
|
+
(for development, run `gem install --dev ./phrase-1.0.5.gem` to install the development dependencies)
|
63
63
|
|
64
64
|
## Getting Started
|
65
65
|
|
@@ -186,6 +186,7 @@ Class | Method | HTTP request | Description
|
|
186
186
|
*Phrase::JobsApi* | [**job_show**](docs/JobsApi.md#job_show) | **GET** /projects/{project_id}/jobs/{id} | Get a single job
|
187
187
|
*Phrase::JobsApi* | [**job_start**](docs/JobsApi.md#job_start) | **POST** /projects/{project_id}/jobs/{id}/start | Start a job
|
188
188
|
*Phrase::JobsApi* | [**job_update**](docs/JobsApi.md#job_update) | **PATCH** /projects/{project_id}/jobs/{id} | Update a job
|
189
|
+
*Phrase::JobsApi* | [**jobs_by_account**](docs/JobsApi.md#jobs_by_account) | **GET** /accounts/{account_id}/jobs | List account jobs
|
189
190
|
*Phrase::JobsApi* | [**jobs_list**](docs/JobsApi.md#jobs_list) | **GET** /projects/{project_id}/jobs | List jobs
|
190
191
|
*Phrase::KeysApi* | [**key_create**](docs/KeysApi.md#key_create) | **POST** /projects/{project_id}/keys | Create a key
|
191
192
|
*Phrase::KeysApi* | [**key_delete**](docs/KeysApi.md#key_delete) | **DELETE** /projects/{project_id}/keys/{id} | Delete a key
|
data/docs/Job.md
CHANGED
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
|
|
12
12
|
**ticket_url** | **String** | | [optional]
|
13
13
|
**created_at** | **DateTime** | | [optional]
|
14
14
|
**updated_at** | **DateTime** | | [optional]
|
15
|
+
**project** | [**ProjectShort**](ProjectShort.md) | | [optional]
|
15
16
|
|
16
17
|
## Code Sample
|
17
18
|
|
@@ -25,7 +26,8 @@ instance = Phrase::Job.new(id: null,
|
|
25
26
|
state: null,
|
26
27
|
ticket_url: null,
|
27
28
|
created_at: null,
|
28
|
-
updated_at: null
|
29
|
+
updated_at: null,
|
30
|
+
project: null)
|
29
31
|
```
|
30
32
|
|
31
33
|
|
data/docs/JobDetails.md
CHANGED
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
|
|
12
12
|
**ticket_url** | **String** | | [optional]
|
13
13
|
**created_at** | **DateTime** | | [optional]
|
14
14
|
**updated_at** | **DateTime** | | [optional]
|
15
|
+
**project** | [**ProjectShort**](ProjectShort.md) | | [optional]
|
15
16
|
**owner** | [**UserPreview**](UserPreview.md) | | [optional]
|
16
17
|
**job_tag_name** | **String** | | [optional]
|
17
18
|
**locales** | [**Array<LocalePreview>**](LocalePreview.md) | | [optional]
|
@@ -30,6 +31,7 @@ instance = Phrase::JobDetails.new(id: null,
|
|
30
31
|
ticket_url: null,
|
31
32
|
created_at: null,
|
32
33
|
updated_at: null,
|
34
|
+
project: null,
|
33
35
|
owner: null,
|
34
36
|
job_tag_name: null,
|
35
37
|
locales: null,
|
data/docs/JobsApi.md
CHANGED
@@ -13,6 +13,7 @@ Method | HTTP request | Description
|
|
13
13
|
[**job_show**](JobsApi.md#job_show) | **GET** /projects/{project_id}/jobs/{id} | Get a single job
|
14
14
|
[**job_start**](JobsApi.md#job_start) | **POST** /projects/{project_id}/jobs/{id}/start | Start a job
|
15
15
|
[**job_update**](JobsApi.md#job_update) | **PATCH** /projects/{project_id}/jobs/{id} | Update a job
|
16
|
+
[**jobs_by_account**](JobsApi.md#jobs_by_account) | **GET** /accounts/{account_id}/jobs | List account jobs
|
16
17
|
[**jobs_list**](JobsApi.md#jobs_list) | **GET** /projects/{project_id}/jobs | List jobs
|
17
18
|
|
18
19
|
|
@@ -600,6 +601,77 @@ Response<([**JobDetails**](JobDetails.md))>
|
|
600
601
|
- **Accept**: application/json
|
601
602
|
|
602
603
|
|
604
|
+
## jobs_by_account
|
605
|
+
|
606
|
+
> Array<Job> jobs_by_account(account_id, opts)
|
607
|
+
|
608
|
+
List account jobs
|
609
|
+
|
610
|
+
List all jobs for the given account.
|
611
|
+
|
612
|
+
### Example
|
613
|
+
|
614
|
+
```ruby
|
615
|
+
# load the gem
|
616
|
+
require 'phrase'
|
617
|
+
# setup authorization
|
618
|
+
Phrase.configure do |config|
|
619
|
+
# Configure HTTP basic authorization: Basic
|
620
|
+
config.username = 'YOUR USERNAME'
|
621
|
+
config.password = 'YOUR PASSWORD'
|
622
|
+
|
623
|
+
# Configure API key authorization: Token
|
624
|
+
config.api_key['Authorization'] = 'YOUR API KEY'
|
625
|
+
config.api_key_prefix['Authorization'] = 'token'
|
626
|
+
end
|
627
|
+
|
628
|
+
api_instance = Phrase::JobsApi.new
|
629
|
+
account_id = 'account_id_example' # String | Account ID
|
630
|
+
opts = {
|
631
|
+
x_phrase_app_otp: 'x_phrase_app_otp_example', # String | Two-Factor-Authentication token (optional)
|
632
|
+
page: 1, # Integer | Page number
|
633
|
+
per_page: 25, # Integer | allows you to specify a page size up to 100 items, 25 by default
|
634
|
+
owned_by: 'abcd1234cdef1234abcd1234cdef1234', # String | filter by user owning job
|
635
|
+
assigned_to: 'abcd1234cdef1234abcd1234cdef1234', # String | filter by user assigned to job
|
636
|
+
state: 'completed' # String | filter by state of job Valid states are <code>draft</code>, <code>in_progress</code>, <code>completed</code>
|
637
|
+
}
|
638
|
+
|
639
|
+
begin
|
640
|
+
#List account jobs
|
641
|
+
result = api_instance.jobs_by_account(account_id, opts)
|
642
|
+
pp result
|
643
|
+
rescue Phrase::ApiError => e
|
644
|
+
puts "Exception when calling JobsApi->jobs_by_account: #{e}"
|
645
|
+
end
|
646
|
+
```
|
647
|
+
|
648
|
+
### Parameters
|
649
|
+
|
650
|
+
|
651
|
+
Name | Type | Description | Notes
|
652
|
+
------------- | ------------- | ------------- | -------------
|
653
|
+
**account_id** | **String**| Account ID |
|
654
|
+
**x_phrase_app_otp** | **String**| Two-Factor-Authentication token (optional) | [optional]
|
655
|
+
**page** | **Integer**| Page number | [optional]
|
656
|
+
**per_page** | **Integer**| allows you to specify a page size up to 100 items, 25 by default | [optional]
|
657
|
+
**owned_by** | **String**| filter by user owning job | [optional]
|
658
|
+
**assigned_to** | **String**| filter by user assigned to job | [optional]
|
659
|
+
**state** | **String**| filter by state of job Valid states are <code>draft</code>, <code>in_progress</code>, <code>completed</code> | [optional]
|
660
|
+
|
661
|
+
### Return type
|
662
|
+
|
663
|
+
Response<([**Array<Job>**](Job.md))>
|
664
|
+
|
665
|
+
### Authorization
|
666
|
+
|
667
|
+
[Basic](../README.md#Basic), [Token](../README.md#Token)
|
668
|
+
|
669
|
+
### HTTP request headers
|
670
|
+
|
671
|
+
- **Content-Type**: Not defined
|
672
|
+
- **Accept**: application/json
|
673
|
+
|
674
|
+
|
603
675
|
## jobs_list
|
604
676
|
|
605
677
|
> Array<Job> jobs_list(project_id, opts)
|
data/lib/phrase/api/jobs_api.rb
CHANGED
@@ -705,6 +705,87 @@ module Phrase
|
|
705
705
|
return response, status_code, headers
|
706
706
|
end
|
707
707
|
|
708
|
+
# List account jobs
|
709
|
+
# List all jobs for the given account.
|
710
|
+
# @param account_id [String] Account ID
|
711
|
+
# @param [Hash] opts the optional parameters
|
712
|
+
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
713
|
+
# @option opts [Integer] :page Page number
|
714
|
+
# @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
|
715
|
+
# @option opts [String] :owned_by filter by user owning job
|
716
|
+
# @option opts [String] :assigned_to filter by user assigned to job
|
717
|
+
# @option opts [String] :state filter by state of job Valid states are <code>draft</code>, <code>in_progress</code>, <code>completed</code>
|
718
|
+
# @return [Array<Job>]
|
719
|
+
def jobs_by_account(account_id, opts = {})
|
720
|
+
data, _status_code, _headers = jobs_by_account_with_http_info(account_id, opts)
|
721
|
+
data
|
722
|
+
end
|
723
|
+
|
724
|
+
# List account jobs
|
725
|
+
# List all jobs for the given account.
|
726
|
+
# @param account_id [String] Account ID
|
727
|
+
# @param [Hash] opts the optional parameters
|
728
|
+
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
729
|
+
# @option opts [Integer] :page Page number
|
730
|
+
# @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
|
731
|
+
# @option opts [String] :owned_by filter by user owning job
|
732
|
+
# @option opts [String] :assigned_to filter by user assigned to job
|
733
|
+
# @option opts [String] :state filter by state of job Valid states are <code>draft</code>, <code>in_progress</code>, <code>completed</code>
|
734
|
+
# @return [Array<(Response<(Array<Job>)>, Integer, Hash)>] Response<(Array<Job>)> data, response status code and response headers
|
735
|
+
def jobs_by_account_with_http_info(account_id, opts = {})
|
736
|
+
if @api_client.config.debugging
|
737
|
+
@api_client.config.logger.debug 'Calling API: JobsApi.jobs_by_account ...'
|
738
|
+
end
|
739
|
+
# verify the required parameter 'account_id' is set
|
740
|
+
if @api_client.config.client_side_validation && account_id.nil?
|
741
|
+
fail ArgumentError, "Missing the required parameter 'account_id' when calling JobsApi.jobs_by_account"
|
742
|
+
end
|
743
|
+
# resource path
|
744
|
+
local_var_path = '/accounts/{account_id}/jobs'.sub('{' + 'account_id' + '}', CGI.escape(account_id.to_s))
|
745
|
+
|
746
|
+
# query parameters
|
747
|
+
query_params = opts[:query_params] || {}
|
748
|
+
query_params[:'page'] = opts[:'page'] if !opts[:'page'].nil?
|
749
|
+
query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
|
750
|
+
query_params[:'owned_by'] = opts[:'owned_by'] if !opts[:'owned_by'].nil?
|
751
|
+
query_params[:'assigned_to'] = opts[:'assigned_to'] if !opts[:'assigned_to'].nil?
|
752
|
+
query_params[:'state'] = opts[:'state'] if !opts[:'state'].nil?
|
753
|
+
|
754
|
+
# header parameters
|
755
|
+
header_params = opts[:header_params] || {}
|
756
|
+
# HTTP header 'Accept' (if needed)
|
757
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
758
|
+
header_params[:'X-PhraseApp-OTP'] = opts[:'x_phrase_app_otp'] if !opts[:'x_phrase_app_otp'].nil?
|
759
|
+
|
760
|
+
# form parameters
|
761
|
+
form_params = opts[:form_params] || {}
|
762
|
+
|
763
|
+
# http body (model)
|
764
|
+
post_body = opts[:body]
|
765
|
+
|
766
|
+
# return_type
|
767
|
+
return_type = opts[:return_type] || 'Array<Job>'
|
768
|
+
|
769
|
+
# auth_names
|
770
|
+
auth_names = opts[:auth_names] || ['Basic', 'Token']
|
771
|
+
|
772
|
+
new_options = opts.merge(
|
773
|
+
:header_params => header_params,
|
774
|
+
:query_params => query_params,
|
775
|
+
:form_params => form_params,
|
776
|
+
:body => post_body,
|
777
|
+
:auth_names => auth_names,
|
778
|
+
:return_type => return_type
|
779
|
+
)
|
780
|
+
|
781
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
782
|
+
if @api_client.config.debugging
|
783
|
+
@api_client.config.logger.debug "API called: JobsApi#jobs_by_account\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
784
|
+
end
|
785
|
+
response = ::Phrase::Response.new(data, headers)
|
786
|
+
return response, status_code, headers
|
787
|
+
end
|
788
|
+
|
708
789
|
# List jobs
|
709
790
|
# List all jobs for the given project.
|
710
791
|
# @param project_id [String] Project ID
|
data/lib/phrase/models/job.rb
CHANGED
@@ -18,6 +18,8 @@ module Phrase
|
|
18
18
|
|
19
19
|
attr_accessor :updated_at
|
20
20
|
|
21
|
+
attr_accessor :project
|
22
|
+
|
21
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
22
24
|
def self.attribute_map
|
23
25
|
{
|
@@ -28,7 +30,8 @@ module Phrase
|
|
28
30
|
:'state' => :'state',
|
29
31
|
:'ticket_url' => :'ticket_url',
|
30
32
|
:'created_at' => :'created_at',
|
31
|
-
:'updated_at' => :'updated_at'
|
33
|
+
:'updated_at' => :'updated_at',
|
34
|
+
:'project' => :'project'
|
32
35
|
}
|
33
36
|
end
|
34
37
|
|
@@ -42,7 +45,8 @@ module Phrase
|
|
42
45
|
:'state' => :'String',
|
43
46
|
:'ticket_url' => :'String',
|
44
47
|
:'created_at' => :'DateTime',
|
45
|
-
:'updated_at' => :'DateTime'
|
48
|
+
:'updated_at' => :'DateTime',
|
49
|
+
:'project' => :'ProjectShort'
|
46
50
|
}
|
47
51
|
end
|
48
52
|
|
@@ -98,6 +102,10 @@ module Phrase
|
|
98
102
|
if attributes.key?(:'updated_at')
|
99
103
|
self.updated_at = attributes[:'updated_at']
|
100
104
|
end
|
105
|
+
|
106
|
+
if attributes.key?(:'project')
|
107
|
+
self.project = attributes[:'project']
|
108
|
+
end
|
101
109
|
end
|
102
110
|
|
103
111
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -125,7 +133,8 @@ module Phrase
|
|
125
133
|
state == o.state &&
|
126
134
|
ticket_url == o.ticket_url &&
|
127
135
|
created_at == o.created_at &&
|
128
|
-
updated_at == o.updated_at
|
136
|
+
updated_at == o.updated_at &&
|
137
|
+
project == o.project
|
129
138
|
end
|
130
139
|
|
131
140
|
# @see the `==` method
|
@@ -137,7 +146,7 @@ module Phrase
|
|
137
146
|
# Calculates hash code according to all attributes.
|
138
147
|
# @return [Integer] Hash code
|
139
148
|
def hash
|
140
|
-
[id, name, briefing, due_date, state, ticket_url, created_at, updated_at].hash
|
149
|
+
[id, name, briefing, due_date, state, ticket_url, created_at, updated_at, project].hash
|
141
150
|
end
|
142
151
|
|
143
152
|
# Builds the object from hash
|
@@ -18,6 +18,8 @@ module Phrase
|
|
18
18
|
|
19
19
|
attr_accessor :updated_at
|
20
20
|
|
21
|
+
attr_accessor :project
|
22
|
+
|
21
23
|
attr_accessor :owner
|
22
24
|
|
23
25
|
attr_accessor :job_tag_name
|
@@ -37,6 +39,7 @@ module Phrase
|
|
37
39
|
:'ticket_url' => :'ticket_url',
|
38
40
|
:'created_at' => :'created_at',
|
39
41
|
:'updated_at' => :'updated_at',
|
42
|
+
:'project' => :'project',
|
40
43
|
:'owner' => :'owner',
|
41
44
|
:'job_tag_name' => :'job_tag_name',
|
42
45
|
:'locales' => :'locales',
|
@@ -55,6 +58,7 @@ module Phrase
|
|
55
58
|
:'ticket_url' => :'String',
|
56
59
|
:'created_at' => :'DateTime',
|
57
60
|
:'updated_at' => :'DateTime',
|
61
|
+
:'project' => :'ProjectShort',
|
58
62
|
:'owner' => :'UserPreview',
|
59
63
|
:'job_tag_name' => :'String',
|
60
64
|
:'locales' => :'Array<LocalePreview>',
|
@@ -123,6 +127,10 @@ module Phrase
|
|
123
127
|
self.updated_at = attributes[:'updated_at']
|
124
128
|
end
|
125
129
|
|
130
|
+
if attributes.key?(:'project')
|
131
|
+
self.project = attributes[:'project']
|
132
|
+
end
|
133
|
+
|
126
134
|
if attributes.key?(:'owner')
|
127
135
|
self.owner = attributes[:'owner']
|
128
136
|
end
|
@@ -170,6 +178,7 @@ module Phrase
|
|
170
178
|
ticket_url == o.ticket_url &&
|
171
179
|
created_at == o.created_at &&
|
172
180
|
updated_at == o.updated_at &&
|
181
|
+
project == o.project &&
|
173
182
|
owner == o.owner &&
|
174
183
|
job_tag_name == o.job_tag_name &&
|
175
184
|
locales == o.locales &&
|
@@ -185,7 +194,7 @@ module Phrase
|
|
185
194
|
# Calculates hash code according to all attributes.
|
186
195
|
# @return [Integer] Hash code
|
187
196
|
def hash
|
188
|
-
[id, name, briefing, due_date, state, ticket_url, created_at, updated_at, owner, job_tag_name, locales, keys].hash
|
197
|
+
[id, name, briefing, due_date, state, ticket_url, created_at, updated_at, project, owner, job_tag_name, locales, keys].hash
|
189
198
|
end
|
190
199
|
|
191
200
|
# Builds the object from hash
|
data/lib/phrase/version.rb
CHANGED
data/spec/api/jobs_api_spec.rb
CHANGED
@@ -155,6 +155,24 @@ describe 'JobsApi' do
|
|
155
155
|
end
|
156
156
|
end
|
157
157
|
|
158
|
+
# unit tests for jobs_by_account
|
159
|
+
# List account jobs
|
160
|
+
# List all jobs for the given account.
|
161
|
+
# @param account_id Account ID
|
162
|
+
# @param [Hash] opts the optional parameters
|
163
|
+
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
|
164
|
+
# @option opts [Integer] :page Page number
|
165
|
+
# @option opts [Integer] :per_page allows you to specify a page size up to 100 items, 25 by default
|
166
|
+
# @option opts [String] :owned_by filter by user owning job
|
167
|
+
# @option opts [String] :assigned_to filter by user assigned to job
|
168
|
+
# @option opts [String] :state filter by state of job Valid states are <code>draft</code>, <code>in_progress</code>, <code>completed</code>
|
169
|
+
# @return [Array<Job>]
|
170
|
+
describe 'jobs_by_account test' do
|
171
|
+
it 'should work' do
|
172
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
173
|
+
end
|
174
|
+
end
|
175
|
+
|
158
176
|
# unit tests for jobs_list
|
159
177
|
# List jobs
|
160
178
|
# List all jobs for the given project.
|
@@ -68,6 +68,12 @@ describe 'JobDetails' do
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
+
describe 'test attribute "project"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
71
77
|
describe 'test attribute "owner"' do
|
72
78
|
it 'should work' do
|
73
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/models/job_spec.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phrase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phrase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -705,196 +705,196 @@ summary: You can collaborate on language file translation with your team or orde
|
|
705
705
|
locale files, tag keys or interact in other ways with the localization data stored
|
706
706
|
in Phrase for your account.
|
707
707
|
test_files:
|
708
|
-
- spec/api/
|
709
|
-
- spec/api/
|
710
|
-
- spec/api/documents_api_spec.rb
|
711
|
-
- spec/api/branches_api_spec.rb
|
708
|
+
- spec/api/teams_api_spec.rb
|
709
|
+
- spec/api/glossary_term_translations_api_spec.rb
|
712
710
|
- spec/api/members_api_spec.rb
|
713
|
-
- spec/api/
|
714
|
-
- spec/api/distributions_api_spec.rb
|
711
|
+
- spec/api/authorizations_api_spec.rb
|
715
712
|
- spec/api/comments_api_spec.rb
|
716
|
-
- spec/api/versions_history_api_spec.rb
|
717
|
-
- spec/api/screenshots_api_spec.rb
|
718
|
-
- spec/api/glossary_terms_api_spec.rb
|
719
|
-
- spec/api/style_guides_api_spec.rb
|
720
|
-
- spec/api/spaces_api_spec.rb
|
721
|
-
- spec/api/locales_api_spec.rb
|
722
|
-
- spec/api/screenshot_markers_api_spec.rb
|
723
|
-
- spec/api/formats_api_spec.rb
|
724
713
|
- spec/api/releases_api_spec.rb
|
725
|
-
- spec/api/accounts_api_spec.rb
|
726
|
-
- spec/api/users_api_spec.rb
|
727
|
-
- spec/api/glossary_term_translations_api_spec.rb
|
728
|
-
- spec/api/teams_api_spec.rb
|
729
714
|
- spec/api/translations_api_spec.rb
|
730
|
-
- spec/api/
|
731
|
-
- spec/api/
|
732
|
-
- spec/api/
|
733
|
-
- spec/api/uploads_api_spec.rb
|
734
|
-
- spec/api/tags_api_spec.rb
|
735
|
-
- spec/api/keys_api_spec.rb
|
736
|
-
- spec/api/orders_api_spec.rb
|
715
|
+
- spec/api/git_lab_sync_api_spec.rb
|
716
|
+
- spec/api/screenshots_api_spec.rb
|
717
|
+
- spec/api/style_guides_api_spec.rb
|
737
718
|
- spec/api/blacklisted_keys_api_spec.rb
|
738
|
-
- spec/api/authorizations_api_spec.rb
|
739
719
|
- spec/api/bitbucket_sync_api_spec.rb
|
720
|
+
- spec/api/glossaries_api_spec.rb
|
721
|
+
- spec/api/glossary_terms_api_spec.rb
|
722
|
+
- spec/api/jobs_api_spec.rb
|
723
|
+
- spec/api/versions_history_api_spec.rb
|
724
|
+
- spec/api/uploads_api_spec.rb
|
725
|
+
- spec/api/distributions_api_spec.rb
|
740
726
|
- spec/api/projects_api_spec.rb
|
727
|
+
- spec/api/job_locales_api_spec.rb
|
728
|
+
- spec/api/orders_api_spec.rb
|
729
|
+
- spec/api/accounts_api_spec.rb
|
730
|
+
- spec/api/webhooks_api_spec.rb
|
741
731
|
- spec/api/invitations_api_spec.rb
|
732
|
+
- spec/api/users_api_spec.rb
|
733
|
+
- spec/api/branches_api_spec.rb
|
734
|
+
- spec/api/locales_api_spec.rb
|
735
|
+
- spec/api/documents_api_spec.rb
|
736
|
+
- spec/api/keys_api_spec.rb
|
737
|
+
- spec/api/spaces_api_spec.rb
|
738
|
+
- spec/api/screenshot_markers_api_spec.rb
|
739
|
+
- spec/api/git_hub_sync_api_spec.rb
|
740
|
+
- spec/api/tags_api_spec.rb
|
741
|
+
- spec/api/formats_api_spec.rb
|
742
742
|
- spec/api_client_spec.rb
|
743
743
|
- spec/configuration_spec.rb
|
744
|
-
- spec/models/
|
745
|
-
- spec/models/
|
746
|
-
- spec/models/order_confirm_parameters_spec.rb
|
747
|
-
- spec/models/screenshot_marker_spec.rb
|
748
|
-
- spec/models/tag_with_stats1_statistics_spec.rb
|
749
|
-
- spec/models/upload_spec.rb
|
750
|
-
- spec/models/github_sync_import_parameters_spec.rb
|
751
|
-
- spec/models/translations_unverify_parameters_spec.rb
|
752
|
-
- spec/models/account_details_spec.rb
|
753
|
-
- spec/models/upload_create_parameters_spec.rb
|
754
|
-
- spec/models/job_complete_parameters_spec.rb
|
755
|
-
- spec/models/bitbucket_sync_import_parameters_spec.rb
|
744
|
+
- spec/models/job_keys_create_parameters_spec.rb
|
745
|
+
- spec/models/styleguide_update_parameters_spec.rb
|
756
746
|
- spec/models/translation_details_spec.rb
|
757
|
-
- spec/models/
|
747
|
+
- spec/models/locale_preview_spec.rb
|
748
|
+
- spec/models/translations_exclude_parameters_spec.rb
|
749
|
+
- spec/models/screenshot_marker_create_parameters_spec.rb
|
750
|
+
- spec/models/job_locale_reopen_parameters_spec.rb
|
751
|
+
- spec/models/translation_spec.rb
|
752
|
+
- spec/models/gitlab_sync_export_spec.rb
|
753
|
+
- spec/models/upload_spec.rb
|
754
|
+
- spec/models/spaces_projects_create_parameters_spec.rb
|
758
755
|
- spec/models/tag_with_stats_spec.rb
|
759
|
-
- spec/models/
|
760
|
-
- spec/models/
|
761
|
-
- spec/models/
|
762
|
-
- spec/models/
|
763
|
-
- spec/models/account_spec.rb
|
764
|
-
- spec/models/glossary_term_translation_update_parameters_spec.rb
|
765
|
-
- spec/models/gitlab_sync_export_parameters_spec.rb
|
766
|
-
- spec/models/keys_search_parameters_spec.rb
|
767
|
-
- spec/models/translation_unverify_parameters_spec.rb
|
756
|
+
- spec/models/release_spec.rb
|
757
|
+
- spec/models/authorization_with_token1_spec.rb
|
758
|
+
- spec/models/styleguide_details1_spec.rb
|
759
|
+
- spec/models/styleguide_spec.rb
|
768
760
|
- spec/models/bitbucket_sync_export_response_spec.rb
|
769
761
|
- spec/models/webhook_update_parameters_spec.rb
|
770
|
-
- spec/models/
|
771
|
-
- spec/models/translation_version_with_user_spec.rb
|
772
|
-
- spec/models/comment_spec.rb
|
762
|
+
- spec/models/project_short_spec.rb
|
773
763
|
- spec/models/job_locale_spec.rb
|
774
|
-
- spec/models/
|
775
|
-
- spec/models/affected_count_spec.rb
|
776
|
-
- spec/models/job_details_spec.rb
|
777
|
-
- spec/models/glossary_spec.rb
|
778
|
-
- spec/models/translations_verify_parameters_spec.rb
|
779
|
-
- spec/models/inline_response422_spec.rb
|
780
|
-
- spec/models/translation_order_spec.rb
|
781
|
-
- spec/models/translation_key_details1_spec.rb
|
782
|
-
- spec/models/job_spec.rb
|
783
|
-
- spec/models/screenshot_marker_update_parameters_spec.rb
|
784
|
-
- spec/models/translation_exclude_parameters_spec.rb
|
785
|
-
- spec/models/job_preview_spec.rb
|
786
|
-
- spec/models/glossary_create_parameters_spec.rb
|
787
|
-
- spec/models/job_create_parameters_spec.rb
|
788
|
-
- spec/models/translations_search_parameters_spec.rb
|
764
|
+
- spec/models/order_create_parameters_spec.rb
|
789
765
|
- spec/models/translation_details1_spec.rb
|
790
|
-
- spec/models/
|
791
|
-
- spec/models/
|
792
|
-
- spec/models/tag_spec.rb
|
793
|
-
- spec/models/translation_update_parameters_spec.rb
|
766
|
+
- spec/models/job_start_parameters_spec.rb
|
767
|
+
- spec/models/team_create_parameters_spec.rb
|
794
768
|
- spec/models/authorization_update_parameters_spec.rb
|
795
|
-
- spec/models/
|
796
|
-
- spec/models/
|
797
|
-
- spec/models/affected_resources_spec.rb
|
798
|
-
- spec/models/invitation_update_parameters_spec.rb
|
799
|
-
- spec/models/invitation_create_parameters_spec.rb
|
800
|
-
- spec/models/branch_create_parameters_spec.rb
|
801
|
-
- spec/models/job_details1_spec.rb
|
802
|
-
- spec/models/job_locale_reopen_parameters_spec.rb
|
769
|
+
- spec/models/translation_verify_parameters_spec.rb
|
770
|
+
- spec/models/tag_with_stats1_statistics_spec.rb
|
803
771
|
- spec/models/translation_key_details_spec.rb
|
804
|
-
- spec/models/
|
805
|
-
- spec/models/
|
806
|
-
- spec/models/
|
807
|
-
- spec/models/tag_with_stats1_statistics1_spec.rb
|
808
|
-
- spec/models/glossary_term_translation_spec.rb
|
809
|
-
- spec/models/project_details1_spec.rb
|
810
|
-
- spec/models/release_preview_spec.rb
|
811
|
-
- spec/models/team_create_parameters_spec.rb
|
812
|
-
- spec/models/styleguide_update_parameters_spec.rb
|
772
|
+
- spec/models/team_spec.rb
|
773
|
+
- spec/models/bitbucket_sync_import_parameters_spec.rb
|
774
|
+
- spec/models/authorization_spec.rb
|
813
775
|
- spec/models/github_sync_export_parameters_spec.rb
|
776
|
+
- spec/models/affected_count_spec.rb
|
777
|
+
- spec/models/key_create_parameters_spec.rb
|
778
|
+
- spec/models/branch_create_parameters_spec.rb
|
779
|
+
- spec/models/bitbucket_sync_spec.rb
|
814
780
|
- spec/models/team_update_parameters_spec.rb
|
815
|
-
- spec/models/
|
781
|
+
- spec/models/styleguide_create_parameters_spec.rb
|
816
782
|
- spec/models/styleguide_preview_spec.rb
|
817
|
-
- spec/models/
|
818
|
-
- spec/models/job_start_parameters_spec.rb
|
819
|
-
- spec/models/space_spec.rb
|
820
|
-
- spec/models/project_details_spec.rb
|
821
|
-
- spec/models/screenshot_update_parameters_spec.rb
|
822
|
-
- spec/models/space_update_parameters_spec.rb
|
823
|
-
- spec/models/key_create_parameters_spec.rb
|
824
|
-
- spec/models/teams_spaces_create_parameters_spec.rb
|
825
|
-
- spec/models/glossary_term_translation_create_parameters_spec.rb
|
783
|
+
- spec/models/member_update_parameters_spec.rb
|
826
784
|
- spec/models/user_spec.rb
|
827
|
-
- spec/models/
|
828
|
-
- spec/models/
|
829
|
-
- spec/models/
|
830
|
-
- spec/models/
|
831
|
-
- spec/models/
|
832
|
-
- spec/models/project_create_parameters_spec.rb
|
833
|
-
- spec/models/format_spec.rb
|
834
|
-
- spec/models/locale_spec.rb
|
835
|
-
- spec/models/team_detail_spec.rb
|
836
|
-
- spec/models/gitlab_sync_history_spec.rb
|
785
|
+
- spec/models/translation_order_spec.rb
|
786
|
+
- spec/models/authorization_create_parameters_spec.rb
|
787
|
+
- spec/models/job_preview_spec.rb
|
788
|
+
- spec/models/gitlab_sync_export_parameters_spec.rb
|
789
|
+
- spec/models/gitlab_sync_spec.rb
|
837
790
|
- spec/models/job_update_parameters_spec.rb
|
838
|
-
- spec/models/
|
839
|
-
- spec/models/job_locales_create_parameters_spec.rb
|
840
|
-
- spec/models/screenshot_marker_create_parameters_spec.rb
|
841
|
-
- spec/models/project_update_parameters_spec.rb
|
842
|
-
- spec/models/webhook_spec.rb
|
843
|
-
- spec/models/distribution_update_parameters_spec.rb
|
844
|
-
- spec/models/comment_create_parameters_spec.rb
|
845
|
-
- spec/models/glossary_term_create_parameters_spec.rb
|
791
|
+
- spec/models/teams_spaces_create_parameters_spec.rb
|
846
792
|
- spec/models/locale_update_parameters_spec.rb
|
847
|
-
- spec/models/
|
848
|
-
- spec/models/
|
849
|
-
- spec/models/
|
850
|
-
- spec/models/
|
793
|
+
- spec/models/comment_create_parameters_spec.rb
|
794
|
+
- spec/models/job_spec.rb
|
795
|
+
- spec/models/translations_search_parameters_spec.rb
|
796
|
+
- spec/models/translation_key_details1_spec.rb
|
797
|
+
- spec/models/teams_projects_create_parameters_spec.rb
|
798
|
+
- spec/models/branch_update_parameters_spec.rb
|
851
799
|
- spec/models/screenshot_create_parameters_spec.rb
|
800
|
+
- spec/models/order_confirm_parameters_spec.rb
|
801
|
+
- spec/models/job_locale_complete_parameters_spec.rb
|
802
|
+
- spec/models/gitlab_sync_history_spec.rb
|
803
|
+
- spec/models/screenshot_marker_spec.rb
|
804
|
+
- spec/models/locale_statistics_spec.rb
|
805
|
+
- spec/models/styleguide_details_spec.rb
|
806
|
+
- spec/models/release_create_parameters_spec.rb
|
807
|
+
- spec/models/job_locale_update_parameters_spec.rb
|
808
|
+
- spec/models/blacklisted_key_update_parameters_spec.rb
|
809
|
+
- spec/models/distribution_spec.rb
|
810
|
+
- spec/models/comment_update_parameters_spec.rb
|
811
|
+
- spec/models/translation_version_spec.rb
|
812
|
+
- spec/models/project_update_parameters_spec.rb
|
813
|
+
- spec/models/screenshot_marker_update_parameters_spec.rb
|
814
|
+
- spec/models/key_preview_spec.rb
|
815
|
+
- spec/models/glossary_term_translation_create_parameters_spec.rb
|
852
816
|
- spec/models/job_reopen_parameters_spec.rb
|
853
|
-
- spec/models/
|
817
|
+
- spec/models/user_preview_spec.rb
|
818
|
+
- spec/models/translation_create_parameters_spec.rb
|
819
|
+
- spec/models/authorization_with_token_spec.rb
|
820
|
+
- spec/models/comment_spec.rb
|
821
|
+
- spec/models/glossary_term_translation_spec.rb
|
854
822
|
- spec/models/branch_merge_parameters_spec.rb
|
823
|
+
- spec/models/blacklisted_key_spec.rb
|
824
|
+
- spec/models/screenshot_update_parameters_spec.rb
|
825
|
+
- spec/models/distribution_create_parameters_spec.rb
|
826
|
+
- spec/models/account_details_spec.rb
|
827
|
+
- spec/models/release_preview_spec.rb
|
828
|
+
- spec/models/format_spec.rb
|
829
|
+
- spec/models/translations_unverify_parameters_spec.rb
|
830
|
+
- spec/models/team_detail_spec.rb
|
831
|
+
- spec/models/translation_review_parameters_spec.rb
|
832
|
+
- spec/models/translations_verify_parameters_spec.rb
|
833
|
+
- spec/models/project_spec.rb
|
834
|
+
- spec/models/translations_review_parameters_spec.rb
|
835
|
+
- spec/models/member_spec.rb
|
836
|
+
- spec/models/inline_response422_spec.rb
|
837
|
+
- spec/models/github_sync_import_parameters_spec.rb
|
838
|
+
- spec/models/keys_untag_parameters_spec.rb
|
839
|
+
- spec/models/project_locales_spec.rb
|
855
840
|
- spec/models/upload_summary_spec.rb
|
841
|
+
- spec/models/locale_spec.rb
|
856
842
|
- spec/models/project_locales1_spec.rb
|
857
|
-
- spec/models/
|
858
|
-
- spec/models/
|
859
|
-
- spec/models/member_update_parameters_spec.rb
|
860
|
-
- spec/models/teams_users_create_parameters_spec.rb
|
861
|
-
- spec/models/release_update_parameters_spec.rb
|
862
|
-
- spec/models/keys_untag_parameters_spec.rb
|
863
|
-
- spec/models/team_spec.rb
|
864
|
-
- spec/models/branch_update_parameters_spec.rb
|
865
|
-
- spec/models/gitlab_sync_export_spec.rb
|
866
|
-
- spec/models/job_locale_complete_parameters_spec.rb
|
867
|
-
- spec/models/key_preview_spec.rb
|
868
|
-
- spec/models/branch_spec.rb
|
843
|
+
- spec/models/project_details1_spec.rb
|
844
|
+
- spec/models/blacklisted_key_create_parameters_spec.rb
|
869
845
|
- spec/models/translation_include_parameters_spec.rb
|
870
|
-
- spec/models/
|
846
|
+
- spec/models/translation_version_with_user_spec.rb
|
847
|
+
- spec/models/translation_key_spec.rb
|
848
|
+
- spec/models/affected_resources_spec.rb
|
849
|
+
- spec/models/project_details_spec.rb
|
871
850
|
- spec/models/bitbucket_sync_export_parameters_spec.rb
|
872
|
-
- spec/models/
|
873
|
-
- spec/models/
|
874
|
-
- spec/models/
|
875
|
-
- spec/models/
|
876
|
-
- spec/models/
|
851
|
+
- spec/models/account_spec.rb
|
852
|
+
- spec/models/invitation_spec.rb
|
853
|
+
- spec/models/translations_include_parameters_spec.rb
|
854
|
+
- spec/models/locale_create_parameters_spec.rb
|
855
|
+
- spec/models/glossary_term_update_parameters_spec.rb
|
856
|
+
- spec/models/locale_details_spec.rb
|
857
|
+
- spec/models/tag_with_stats1_statistics1_spec.rb
|
858
|
+
- spec/models/space_update_parameters_spec.rb
|
859
|
+
- spec/models/glossary_create_parameters_spec.rb
|
860
|
+
- spec/models/tag_spec.rb
|
861
|
+
- spec/models/account_details1_spec.rb
|
862
|
+
- spec/models/glossary_spec.rb
|
863
|
+
- spec/models/job_details_spec.rb
|
864
|
+
- spec/models/gitlab_sync_import_parameters_spec.rb
|
865
|
+
- spec/models/job_details1_spec.rb
|
866
|
+
- spec/models/space_create_parameters_spec.rb
|
877
867
|
- spec/models/document_spec.rb
|
878
|
-
- spec/models/
|
879
|
-
- spec/models/
|
880
|
-
- spec/models/
|
881
|
-
- spec/models/
|
882
|
-
- spec/models/
|
883
|
-
- spec/models/
|
884
|
-
- spec/models/
|
868
|
+
- spec/models/glossary_term_translation_update_parameters_spec.rb
|
869
|
+
- spec/models/distribution_update_parameters_spec.rb
|
870
|
+
- spec/models/tag_create_parameters_spec.rb
|
871
|
+
- spec/models/translation_unverify_parameters_spec.rb
|
872
|
+
- spec/models/job_complete_parameters_spec.rb
|
873
|
+
- spec/models/translation_exclude_parameters_spec.rb
|
874
|
+
- spec/models/invitation_update_parameters_spec.rb
|
875
|
+
- spec/models/space_spec.rb
|
876
|
+
- spec/models/glossary_term_spec.rb
|
885
877
|
- spec/models/screenshot_spec.rb
|
886
|
-
- spec/models/
|
887
|
-
- spec/models/
|
888
|
-
- spec/models/
|
889
|
-
- spec/models/
|
890
|
-
- spec/models/
|
891
|
-
- spec/models/
|
892
|
-
- spec/models/
|
893
|
-
- spec/models/
|
894
|
-
- spec/models/
|
895
|
-
- spec/models/translation_create_parameters_spec.rb
|
896
|
-
- spec/models/project_locales_spec.rb
|
878
|
+
- spec/models/locale_details1_spec.rb
|
879
|
+
- spec/models/distribution_preview_spec.rb
|
880
|
+
- spec/models/job_create_parameters_spec.rb
|
881
|
+
- spec/models/release_update_parameters_spec.rb
|
882
|
+
- spec/models/keys_tag_parameters_spec.rb
|
883
|
+
- spec/models/keys_search_parameters_spec.rb
|
884
|
+
- spec/models/project_create_parameters_spec.rb
|
885
|
+
- spec/models/webhook_spec.rb
|
886
|
+
- spec/models/branch_spec.rb
|
897
887
|
- spec/models/comment_mark_read_parameters_spec.rb
|
898
|
-
- spec/models/
|
899
|
-
- spec/models/
|
888
|
+
- spec/models/glossary_update_parameters_spec.rb
|
889
|
+
- spec/models/invitation_create_parameters_spec.rb
|
890
|
+
- spec/models/upload_create_parameters_spec.rb
|
891
|
+
- spec/models/key_update_parameters_spec.rb
|
892
|
+
- spec/models/teams_users_create_parameters_spec.rb
|
893
|
+
- spec/models/webhook_create_parameters_spec.rb
|
894
|
+
- spec/models/glossary_term_create_parameters_spec.rb
|
895
|
+
- spec/models/inline_response422_errors_spec.rb
|
896
|
+
- spec/models/tag_with_stats1_spec.rb
|
897
|
+
- spec/models/translation_version_with_user1_spec.rb
|
898
|
+
- spec/models/translation_update_parameters_spec.rb
|
899
|
+
- spec/models/job_locales_create_parameters_spec.rb
|
900
900
|
- spec/spec_helper.rb
|