phrase 4.24.0 → 4.25.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 +16 -0
- data/README.md +7 -3
- data/docs/BranchComparison.md +23 -0
- data/docs/BranchComparisonChange.md +19 -0
- data/docs/BranchComparisonDiff.md +21 -0
- data/docs/BranchComparisonDiffConflictsValue.md +19 -0
- data/docs/BranchesApi.md +5 -4
- data/docs/Format.md +20 -20
- data/docs/FormatsApi.md +1 -1
- data/docs/Job.md +3 -1
- data/docs/JobDetails.md +2 -0
- data/docs/KeyCreateParameters.md +1 -1
- data/docs/KeyUpdateParameters.md +1 -1
- data/docs/Locale.md +2 -0
- data/docs/LocaleCreateParameters.md +3 -1
- data/docs/LocaleDetails.md +2 -0
- data/docs/LocaleDownloadCreateParameters.md +4 -0
- data/docs/LocaleUpdateParameters.md +3 -1
- data/docs/LocalesApi.md +2 -2
- data/docs/ProjectCreateParameters.md +1 -1
- data/docs/ProjectUpdateParameters.md +1 -1
- data/docs/RepoSync.md +2 -0
- data/docs/RepoSyncCreateParameters.md +2 -0
- data/docs/ScreenshotUpdateParameters.md +1 -1
- data/docs/ScreenshotsApi.md +9 -9
- data/lib/phrase/api/branches_api.rb +5 -3
- data/lib/phrase/api/formats_api.rb +2 -2
- data/lib/phrase/api/locales_api.rb +2 -2
- data/lib/phrase/api/screenshots_api.rb +16 -12
- data/lib/phrase/models/branch_comparison.rb +224 -0
- data/lib/phrase/models/branch_comparison_change.rb +212 -0
- data/lib/phrase/models/branch_comparison_diff.rb +223 -0
- data/lib/phrase/models/branch_comparison_diff_conflicts_value.rb +209 -0
- data/lib/phrase/models/format.rb +60 -0
- data/lib/phrase/models/job.rb +16 -5
- data/lib/phrase/models/job_details.rb +12 -1
- data/lib/phrase/models/locale.rb +10 -1
- data/lib/phrase/models/locale_create_parameters.rb +14 -4
- data/lib/phrase/models/locale_details.rb +10 -1
- data/lib/phrase/models/locale_download_create_parameters.rb +21 -1
- data/lib/phrase/models/locale_update_parameters.rb +14 -4
- data/lib/phrase/models/repo_sync.rb +29 -1
- data/lib/phrase/models/repo_sync_create_parameters.rb +27 -1
- data/lib/phrase/version.rb +1 -1
- data/lib/phrase.rb +4 -0
- data/spec/api/branches_api_spec.rb +1 -1
- data/spec/api/formats_api_spec.rb +1 -1
- data/spec/api/screenshots_api_spec.rb +4 -4
- data/spec/models/branch_comparison_change_spec.rb +35 -0
- data/spec/models/branch_comparison_diff_conflicts_value_spec.rb +35 -0
- data/spec/models/branch_comparison_diff_spec.rb +41 -0
- data/spec/models/branch_comparison_spec.rb +47 -0
- data/spec/models/job_details_spec.rb +6 -0
- data/spec/models/job_spec.rb +6 -0
- data/spec/models/locale_create_parameters_spec.rb +6 -0
- data/spec/models/locale_details_spec.rb +6 -0
- data/spec/models/locale_download_create_parameters_spec.rb +12 -0
- data/spec/models/locale_spec.rb +6 -0
- data/spec/models/locale_update_parameters_spec.rb +6 -0
- data/spec/models/repo_sync_create_parameters_spec.rb +6 -0
- data/spec/models/repo_sync_spec.rb +6 -0
- metadata +18 -2
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
require 'spec_helper'
|
|
2
|
+
require 'json'
|
|
3
|
+
require 'date'
|
|
4
|
+
|
|
5
|
+
# Unit tests for Phrase::BranchComparison
|
|
6
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
|
7
|
+
# Please update as you see appropriate
|
|
8
|
+
describe 'BranchComparison' do
|
|
9
|
+
before do
|
|
10
|
+
# run before each test
|
|
11
|
+
@instance = Phrase::BranchComparison.new
|
|
12
|
+
end
|
|
13
|
+
|
|
14
|
+
after do
|
|
15
|
+
# run after each test
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
describe 'test an instance of BranchComparison' do
|
|
19
|
+
it 'should create an instance of BranchComparison' do
|
|
20
|
+
expect(@instance).to be_instance_of(Phrase::BranchComparison)
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
describe 'test attribute "translation_keys"' do
|
|
24
|
+
it 'should work' do
|
|
25
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
describe 'test attribute "translations"' do
|
|
30
|
+
it 'should work' do
|
|
31
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
describe 'test attribute "locales"' do
|
|
36
|
+
it 'should work' do
|
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
describe 'test attribute "tags"' do
|
|
42
|
+
it 'should work' do
|
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
end
|
|
@@ -92,6 +92,12 @@ describe 'JobDetails' do
|
|
|
92
92
|
end
|
|
93
93
|
end
|
|
94
94
|
|
|
95
|
+
describe 'test attribute "review_due_date"' do
|
|
96
|
+
it 'should work' do
|
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
95
101
|
describe 'test attribute "owner"' do
|
|
96
102
|
it 'should work' do
|
|
97
103
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/models/job_spec.rb
CHANGED
|
@@ -80,6 +80,12 @@ describe 'LocaleDetails' do
|
|
|
80
80
|
end
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
+
describe 'test attribute "language_ai_profile"' do
|
|
84
|
+
it 'should work' do
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
83
89
|
describe 'test attribute "created_at"' do
|
|
84
90
|
it 'should work' do
|
|
85
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -122,6 +122,18 @@ describe 'LocaleDownloadCreateParameters' do
|
|
|
122
122
|
end
|
|
123
123
|
end
|
|
124
124
|
|
|
125
|
+
describe 'test attribute "translation_key_prefix"' do
|
|
126
|
+
it 'should work' do
|
|
127
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
128
|
+
end
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
describe 'test attribute "filter_by_prefix"' do
|
|
132
|
+
it 'should work' do
|
|
133
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
134
|
+
end
|
|
135
|
+
end
|
|
136
|
+
|
|
125
137
|
describe 'test attribute "updated_since"' do
|
|
126
138
|
it 'should work' do
|
|
127
139
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/models/locale_spec.rb
CHANGED
|
@@ -80,6 +80,12 @@ describe 'Locale' do
|
|
|
80
80
|
end
|
|
81
81
|
end
|
|
82
82
|
|
|
83
|
+
describe 'test attribute "language_ai_profile"' do
|
|
84
|
+
it 'should work' do
|
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
83
89
|
describe 'test attribute "created_at"' do
|
|
84
90
|
it 'should work' do
|
|
85
91
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -26,6 +26,12 @@ describe 'RepoSyncCreateParameters' do
|
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
|
|
29
|
+
describe 'test attribute "name"' do
|
|
30
|
+
it 'should work' do
|
|
31
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
29
35
|
describe 'test attribute "git_provider"' do
|
|
30
36
|
it 'should work' do
|
|
31
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
@@ -26,6 +26,12 @@ describe 'RepoSync' do
|
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
|
|
29
|
+
describe 'test attribute "name"' do
|
|
30
|
+
it 'should work' do
|
|
31
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
|
|
29
35
|
describe 'test attribute "project"' do
|
|
30
36
|
it 'should work' do
|
|
31
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
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.25.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-06-
|
|
11
|
+
date: 2026-06-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -98,6 +98,10 @@ files:
|
|
|
98
98
|
- docs/BlacklistedKeyUpdateParameters.md
|
|
99
99
|
- docs/BlacklistedKeysApi.md
|
|
100
100
|
- docs/Branch.md
|
|
101
|
+
- docs/BranchComparison.md
|
|
102
|
+
- docs/BranchComparisonChange.md
|
|
103
|
+
- docs/BranchComparisonDiff.md
|
|
104
|
+
- docs/BranchComparisonDiffConflictsValue.md
|
|
101
105
|
- docs/BranchCreateComparisonParameters.md
|
|
102
106
|
- docs/BranchCreateParameters.md
|
|
103
107
|
- docs/BranchMergeParameters.md
|
|
@@ -440,6 +444,10 @@ files:
|
|
|
440
444
|
- lib/phrase/models/blacklisted_key_create_parameters.rb
|
|
441
445
|
- lib/phrase/models/blacklisted_key_update_parameters.rb
|
|
442
446
|
- lib/phrase/models/branch.rb
|
|
447
|
+
- lib/phrase/models/branch_comparison.rb
|
|
448
|
+
- lib/phrase/models/branch_comparison_change.rb
|
|
449
|
+
- lib/phrase/models/branch_comparison_diff.rb
|
|
450
|
+
- lib/phrase/models/branch_comparison_diff_conflicts_value.rb
|
|
443
451
|
- lib/phrase/models/branch_create_comparison_parameters.rb
|
|
444
452
|
- lib/phrase/models/branch_create_parameters.rb
|
|
445
453
|
- lib/phrase/models/branch_merge_parameters.rb
|
|
@@ -728,6 +736,10 @@ files:
|
|
|
728
736
|
- spec/models/blacklisted_key_create_parameters_spec.rb
|
|
729
737
|
- spec/models/blacklisted_key_spec.rb
|
|
730
738
|
- spec/models/blacklisted_key_update_parameters_spec.rb
|
|
739
|
+
- spec/models/branch_comparison_change_spec.rb
|
|
740
|
+
- spec/models/branch_comparison_diff_conflicts_value_spec.rb
|
|
741
|
+
- spec/models/branch_comparison_diff_spec.rb
|
|
742
|
+
- spec/models/branch_comparison_spec.rb
|
|
731
743
|
- spec/models/branch_create_comparison_parameters_spec.rb
|
|
732
744
|
- spec/models/branch_create_parameters_spec.rb
|
|
733
745
|
- spec/models/branch_merge_parameters_spec.rb
|
|
@@ -1049,6 +1061,7 @@ test_files:
|
|
|
1049
1061
|
- spec/models/job_locale_complete_review_parameters_spec.rb
|
|
1050
1062
|
- spec/models/organization_job_template_locales_create_parameters_spec.rb
|
|
1051
1063
|
- spec/models/search_in_account_parameters_spec.rb
|
|
1064
|
+
- spec/models/branch_comparison_diff_conflicts_value_spec.rb
|
|
1052
1065
|
- spec/models/job_create_parameters_spec.rb
|
|
1053
1066
|
- spec/models/upload_spec.rb
|
|
1054
1067
|
- spec/models/order_create_parameters_spec.rb
|
|
@@ -1162,6 +1175,7 @@ test_files:
|
|
|
1162
1175
|
- spec/models/job_details_spec.rb
|
|
1163
1176
|
- spec/models/keys_untag_parameters_spec.rb
|
|
1164
1177
|
- spec/models/custom_metadata_properties_create_parameters_spec.rb
|
|
1178
|
+
- spec/models/branch_comparison_spec.rb
|
|
1165
1179
|
- spec/models/custom_metadata_property_spec.rb
|
|
1166
1180
|
- spec/models/invitation_update_settings_parameters_spec.rb
|
|
1167
1181
|
- spec/models/project_short_spec.rb
|
|
@@ -1192,6 +1206,7 @@ test_files:
|
|
|
1192
1206
|
- spec/models/translation_spec.rb
|
|
1193
1207
|
- spec/models/release_create_parameters_spec.rb
|
|
1194
1208
|
- spec/models/glossary_term_create_parameters_spec.rb
|
|
1209
|
+
- spec/models/branch_comparison_diff_spec.rb
|
|
1195
1210
|
- spec/models/key_update_parameters_spec.rb
|
|
1196
1211
|
- spec/models/account_search_result_spec.rb
|
|
1197
1212
|
- spec/models/branch_create_comparison_parameters_spec.rb
|
|
@@ -1255,5 +1270,6 @@ test_files:
|
|
|
1255
1270
|
- spec/models/keys_exclude_parameters_spec.rb
|
|
1256
1271
|
- spec/models/distribution_create_parameters_spec.rb
|
|
1257
1272
|
- spec/models/icu_skeleton_parameters_spec.rb
|
|
1273
|
+
- spec/models/branch_comparison_change_spec.rb
|
|
1258
1274
|
- spec/models/branch_create_parameters_spec.rb
|
|
1259
1275
|
- spec/spec_helper.rb
|