phrase 4.21.0 → 4.22.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/LocalesApi.md +3 -1
- data/docs/ProjectCreateParameters.md +1 -1
- data/docs/ProjectUpdateParameters.md +1 -1
- data/docs/ScreenshotUpdateParameters.md +1 -1
- data/lib/phrase/api/locales_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: e04828ea995b5dcead54ea5eccd3884fd83acad825dd344db41f3f16e7b5beba
|
|
4
|
+
data.tar.gz: 98d028cde33a5dccc4343017cbcfdbcaf424422ed47c83d8e0702cf20eb397f8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ea3a15074ad08cd6b9fba57fae082f2e7b3822889bec94f1257b689622a76ddb2592241511a0e4936ed5338fc129612f7a73c4553dc8b2271b9385bf9e40efb1
|
|
7
|
+
data.tar.gz: 9547fd5311fd477ba2b704ced671243fe34b66c7b136451a40bac6f9d8431bda1e5c7ecdbc899cc193c2395e27606f29cab00540eb6b85672bc85ae44f5dccc5
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [4.22.0](https://github.com/phrase/strings-openapi/compare/ruby-v4.21.0...ruby-v4.22.0) (2026-05-15)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* **API:** Add q search param to locales list endpoint ([#1127](https://github.com/phrase/strings-openapi/issues/1127)) ([24f3a73](https://github.com/phrase/strings-openapi/commit/24f3a73ded885e4b855ad51547990af032dd2b26))
|
|
9
|
+
|
|
3
10
|
## [4.21.0](https://github.com/phrase/strings-openapi/compare/ruby-v4.20.0...ruby-v4.21.0) (2026-05-06)
|
|
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.22.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.22.0.gem
|
|
60
60
|
```
|
|
61
61
|
|
|
62
|
-
(for development, run `gem install --dev ./phrase-4.
|
|
62
|
+
(for development, run `gem install --dev ./phrase-4.22.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@70a8ebfc,
|
|
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@4be2f788,
|
|
40
40
|
remove_screenshot: null,
|
|
41
41
|
unformatted: null,
|
|
42
42
|
xml_space_preserve: null,
|
data/docs/LocalesApi.md
CHANGED
|
@@ -474,7 +474,8 @@ opts = {
|
|
|
474
474
|
page: 1, # Integer | Page number
|
|
475
475
|
per_page: 25, # Integer | Limit on the number of objects to be returned, between 1 and 100. 25 by default
|
|
476
476
|
sort_by: 'sort_by_example', # String | Sort locales. Valid options are \"name_asc\", \"name_desc\", \"default_asc\", \"default_desc\".
|
|
477
|
-
branch: 'my-feature-branch' # String | specify the branch to use
|
|
477
|
+
branch: 'my-feature-branch', # String | specify the branch to use
|
|
478
|
+
q: 'name:en' # String | Specify a query to filter locales. Currently supports `name` argument, filtering only locales with names starting with the given string.
|
|
478
479
|
}
|
|
479
480
|
|
|
480
481
|
begin
|
|
@@ -497,6 +498,7 @@ Name | Type | Description | Notes
|
|
|
497
498
|
**per_page** | **Integer**| Limit on the number of objects to be returned, between 1 and 100. 25 by default | [optional]
|
|
498
499
|
**sort_by** | **String**| Sort locales. Valid options are \"name_asc\", \"name_desc\", \"default_asc\", \"default_desc\". | [optional]
|
|
499
500
|
**branch** | **String**| specify the branch to use | [optional]
|
|
501
|
+
**q** | **String**| Specify a query to filter locales. Currently supports `name` argument, filtering only locales with names starting with the given string. | [optional]
|
|
500
502
|
|
|
501
503
|
### Return type
|
|
502
504
|
|
|
@@ -39,7 +39,7 @@ instance = Phrase::ProjectCreateParameters.new(name: My Android Project,
|
|
|
39
39
|
main_format: yml,
|
|
40
40
|
media: Python,
|
|
41
41
|
shares_translation_memory: true,
|
|
42
|
-
project_image: [B@
|
|
42
|
+
project_image: [B@5fdd9b96,
|
|
43
43
|
remove_project_image: null,
|
|
44
44
|
account_id: abcd1234,
|
|
45
45
|
point_of_contact: abcd1234,
|
|
@@ -41,7 +41,7 @@ instance = Phrase::ProjectUpdateParameters.new(account_id: abcd1234,
|
|
|
41
41
|
main_format: yml,
|
|
42
42
|
media: Python,
|
|
43
43
|
shares_translation_memory: true,
|
|
44
|
-
project_image: [B@
|
|
44
|
+
project_image: [B@50ed6392,
|
|
45
45
|
remove_project_image: false,
|
|
46
46
|
workflow: review,
|
|
47
47
|
machine_translation_enabled: true,
|
|
@@ -528,6 +528,7 @@ module Phrase
|
|
|
528
528
|
# @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
|
|
529
529
|
# @option opts [String] :sort_by Sort locales. Valid options are \"name_asc\", \"name_desc\", \"default_asc\", \"default_desc\".
|
|
530
530
|
# @option opts [String] :branch specify the branch to use
|
|
531
|
+
# @option opts [String] :q Specify a query to filter locales. Currently supports `name` argument, filtering only locales with names starting with the given string.
|
|
531
532
|
# @return [Array<Locale>]
|
|
532
533
|
def locales_list(project_id, opts = {})
|
|
533
534
|
data, _status_code, _headers = locales_list_with_http_info(project_id, opts)
|
|
@@ -543,6 +544,7 @@ module Phrase
|
|
|
543
544
|
# @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
|
|
544
545
|
# @option opts [String] :sort_by Sort locales. Valid options are \"name_asc\", \"name_desc\", \"default_asc\", \"default_desc\".
|
|
545
546
|
# @option opts [String] :branch specify the branch to use
|
|
547
|
+
# @option opts [String] :q Specify a query to filter locales. Currently supports `name` argument, filtering only locales with names starting with the given string.
|
|
546
548
|
# @return [Array<(Response<(Array<Locale>)>, Integer, Hash)>] Response<(Array<Locale>)> data, response status code and response headers
|
|
547
549
|
def locales_list_with_http_info(project_id, opts = {})
|
|
548
550
|
if @api_client.config.debugging
|
|
@@ -561,6 +563,7 @@ module Phrase
|
|
|
561
563
|
query_params[:'per_page'] = opts[:'per_page'] if !opts[:'per_page'].nil?
|
|
562
564
|
query_params[:'sort_by'] = opts[:'sort_by'] if !opts[:'sort_by'].nil?
|
|
563
565
|
query_params[:'branch'] = opts[:'branch'] if !opts[:'branch'].nil?
|
|
566
|
+
query_params[:'q'] = opts[:'q'] if !opts[:'q'].nil?
|
|
564
567
|
|
|
565
568
|
# header parameters
|
|
566
569
|
header_params = opts[:header_params] || {}
|
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.22.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Phrase
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-05-
|
|
11
|
+
date: 2026-05-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|