phrase 4.8.0 → 4.9.0
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/CHANGELOG.md +7 -0
- data/README.md +3 -3
- data/docs/KeyCreateParameters.md +1 -1
- data/docs/KeyUpdateParameters.md +1 -1
- data/docs/ProjectCreateParameters.md +1 -1
- data/docs/ProjectUpdateParameters.md +1 -1
- data/docs/ScreenshotUpdateParameters.md +1 -1
- data/docs/UploadsApi.md +2 -0
- data/lib/phrase/api/uploads_api.rb +3 -0
- data/lib/phrase/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: 409fc307ec1cf1fe89bd1944ca88b9a7998ec360ee909ab4d0c6944d78f7ffa6
|
4
|
+
data.tar.gz: dc6493d8a07d03cdaf7713ee90e2a323bff7baac98e9a596a0ac27a1126cab66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0211d3d1ab6721de5775140a05496a1995c99bb42af00952884edd3aff4546c34810427783c74af787d284b68b5c2ec47feb582410af5241b178914c93b560e5
|
7
|
+
data.tar.gz: 4a1a9d7b2ae64db7802b7c5502db5cb8710e85509083e01d937d78c2a04b281d3e1411e499a4a46f24d1a722b1d340481b7aa8c2033a703787bd51ff78a16d7e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [4.9.0](https://github.com/phrase/openapi/compare/ruby-v4.8.0...ruby-v4.9.0) (2025-08-01)
|
4
|
+
|
5
|
+
|
6
|
+
### Features
|
7
|
+
|
8
|
+
* **API:** Add support for `update_custom_metadata` option on upload ([#882](https://github.com/phrase/openapi/issues/882)) ([5b486ea](https://github.com/phrase/openapi/commit/5b486eabf30c84402a8e31911a5ba6fe3b343a89))
|
9
|
+
|
3
10
|
## [4.8.0](https://github.com/phrase/openapi/compare/ruby-v4.7.0...ruby-v4.8.0) (2025-07-23)
|
4
11
|
|
5
12
|
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ Phrase Strings is a translation management platform for software projects. You c
|
|
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: 4.
|
10
|
+
- Package version: 4.9.0
|
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-4.
|
59
|
+
gem install ./phrase-4.9.0.gem
|
60
60
|
```
|
61
61
|
|
62
|
-
(for development, run `gem install --dev ./phrase-4.
|
62
|
+
(for development, run `gem install --dev ./phrase-4.9.0.gem` to install the development dependencies)
|
63
63
|
|
64
64
|
## Getting Started
|
65
65
|
|
data/docs/KeyCreateParameters.md
CHANGED
@@ -38,7 +38,7 @@ instance = Phrase::KeyCreateParameters.new(branch: my-feature-branch,
|
|
38
38
|
data_type: number,
|
39
39
|
tags: awesome-feature,needs-proofreading,
|
40
40
|
max_characters_allowed: 140,
|
41
|
-
screenshot: [B@
|
41
|
+
screenshot: [B@307b954,
|
42
42
|
remove_screenshot: null,
|
43
43
|
unformatted: null,
|
44
44
|
default_translation_content: Default translation content,
|
data/docs/KeyUpdateParameters.md
CHANGED
@@ -36,7 +36,7 @@ instance = Phrase::KeyUpdateParameters.new(branch: my-feature-branch,
|
|
36
36
|
data_type: number,
|
37
37
|
tags: awesome-feature,needs-proofreading,
|
38
38
|
max_characters_allowed: 140,
|
39
|
-
screenshot: [B@
|
39
|
+
screenshot: [B@52fd6b76,
|
40
40
|
remove_screenshot: null,
|
41
41
|
unformatted: null,
|
42
42
|
xml_space_preserve: null,
|
@@ -37,7 +37,7 @@ instance = Phrase::ProjectCreateParameters.new(name: My Android Project,
|
|
37
37
|
main_format: yml,
|
38
38
|
media: Python,
|
39
39
|
shares_translation_memory: true,
|
40
|
-
project_image: [B@
|
40
|
+
project_image: [B@3feafba2,
|
41
41
|
remove_project_image: null,
|
42
42
|
account_id: abcd1234,
|
43
43
|
point_of_contact: abcd1234,
|
@@ -39,7 +39,7 @@ instance = Phrase::ProjectUpdateParameters.new(account_id: abcd1234,
|
|
39
39
|
main_format: yml,
|
40
40
|
media: Python,
|
41
41
|
shares_translation_memory: true,
|
42
|
-
project_image: [B@
|
42
|
+
project_image: [B@602621bb,
|
43
43
|
remove_project_image: false,
|
44
44
|
workflow: review,
|
45
45
|
machine_translation_enabled: true,
|
data/docs/UploadsApi.md
CHANGED
@@ -44,6 +44,7 @@ opts = {
|
|
44
44
|
branch: 'branch_example', # String | specify the branch to use
|
45
45
|
tags: 'tags_example', # String | List of tags separated by comma to be associated with the new keys contained in the upload.
|
46
46
|
update_translations: true, # Boolean | Indicates whether existing translations should be updated with the file content.
|
47
|
+
update_custom_metadata: true, # Boolean | Indicates whether existing custom metadata properties should be updated with the file content
|
47
48
|
update_translation_keys: true, # Boolean | Pass `false` here to prevent new keys from being created and existing keys updated.
|
48
49
|
update_translations_on_source_match: true, # Boolean | Update target translations only if the source translations of the uploaded multilingual file match the stored translations.
|
49
50
|
update_descriptions: true, # Boolean | Existing key descriptions will be updated with the file content. Empty descriptions overwrite existing descriptions.
|
@@ -82,6 +83,7 @@ Name | Type | Description | Notes
|
|
82
83
|
**branch** | **String**| specify the branch to use | [optional]
|
83
84
|
**tags** | **String**| List of tags separated by comma to be associated with the new keys contained in the upload. | [optional]
|
84
85
|
**update_translations** | **Boolean**| Indicates whether existing translations should be updated with the file content. | [optional]
|
86
|
+
**update_custom_metadata** | **Boolean**| Indicates whether existing custom metadata properties should be updated with the file content | [optional] [default to true]
|
85
87
|
**update_translation_keys** | **Boolean**| Pass `false` here to prevent new keys from being created and existing keys updated. | [optional] [default to true]
|
86
88
|
**update_translations_on_source_match** | **Boolean**| Update target translations only if the source translations of the uploaded multilingual file match the stored translations. | [optional] [default to false]
|
87
89
|
**update_descriptions** | **Boolean**| Existing key descriptions will be updated with the file content. Empty descriptions overwrite existing descriptions. | [optional]
|
@@ -18,6 +18,7 @@ module Phrase
|
|
18
18
|
# @option opts [String] :branch specify the branch to use
|
19
19
|
# @option opts [String] :tags List of tags separated by comma to be associated with the new keys contained in the upload.
|
20
20
|
# @option opts [Boolean] :update_translations Indicates whether existing translations should be updated with the file content.
|
21
|
+
# @option opts [Boolean] :update_custom_metadata Indicates whether existing custom metadata properties should be updated with the file content (default to true)
|
21
22
|
# @option opts [Boolean] :update_translation_keys Pass `false` here to prevent new keys from being created and existing keys updated. (default to true)
|
22
23
|
# @option opts [Boolean] :update_translations_on_source_match Update target translations only if the source translations of the uploaded multilingual file match the stored translations. (default to false)
|
23
24
|
# @option opts [Boolean] :update_descriptions Existing key descriptions will be updated with the file content. Empty descriptions overwrite existing descriptions.
|
@@ -49,6 +50,7 @@ module Phrase
|
|
49
50
|
# @option opts [String] :branch specify the branch to use
|
50
51
|
# @option opts [String] :tags List of tags separated by comma to be associated with the new keys contained in the upload.
|
51
52
|
# @option opts [Boolean] :update_translations Indicates whether existing translations should be updated with the file content.
|
53
|
+
# @option opts [Boolean] :update_custom_metadata Indicates whether existing custom metadata properties should be updated with the file content
|
52
54
|
# @option opts [Boolean] :update_translation_keys Pass `false` here to prevent new keys from being created and existing keys updated.
|
53
55
|
# @option opts [Boolean] :update_translations_on_source_match Update target translations only if the source translations of the uploaded multilingual file match the stored translations.
|
54
56
|
# @option opts [Boolean] :update_descriptions Existing key descriptions will be updated with the file content. Empty descriptions overwrite existing descriptions.
|
@@ -106,6 +108,7 @@ module Phrase
|
|
106
108
|
form_params['branch'] = opts[:'branch'] if !opts[:'branch'].nil?
|
107
109
|
form_params['tags'] = opts[:'tags'] if !opts[:'tags'].nil?
|
108
110
|
form_params['update_translations'] = opts[:'update_translations'] if !opts[:'update_translations'].nil?
|
111
|
+
form_params['update_custom_metadata'] = opts[:'update_custom_metadata'] if !opts[:'update_custom_metadata'].nil?
|
109
112
|
form_params['update_translation_keys'] = opts[:'update_translation_keys'] if !opts[:'update_translation_keys'].nil?
|
110
113
|
form_params['update_translations_on_source_match'] = opts[:'update_translations_on_source_match'] if !opts[:'update_translations_on_source_match'].nil?
|
111
114
|
form_params['update_descriptions'] = opts[:'update_descriptions'] if !opts[:'update_descriptions'].nil?
|
data/lib/phrase/version.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: 4.
|
4
|
+
version: 4.9.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phrase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|