phrase 3.1.1 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/README.md +11 -3
- data/docs/KeyCreateParameters.md +1 -1
- data/docs/KeyUpdateParameters.md +1 -1
- data/docs/LocaleReport.md +4 -4
- data/docs/ProjectCreateParameters.md +1 -1
- data/docs/ProjectUpdateParameters.md +1 -1
- data/docs/ReleaseCreateParameters1.md +29 -0
- data/docs/ReleaseTrigger.md +37 -0
- data/docs/ReleaseTriggersApi.md +337 -0
- data/docs/ReleaseUpdateParameters1.md +29 -0
- data/docs/ScreenshotUpdateParameters.md +1 -1
- data/lib/phrase/api/release_triggers_api.rb +402 -0
- data/lib/phrase/models/locale_report.rb +4 -4
- data/lib/phrase/models/release_create_parameters1.rb +261 -0
- data/lib/phrase/models/release_trigger.rb +293 -0
- data/lib/phrase/models/release_update_parameters1.rb +261 -0
- data/lib/phrase/version.rb +1 -1
- data/lib/phrase.rb +4 -0
- data/spec/api/release_triggers_api_spec.rb +98 -0
- data/spec/models/release_create_parameters1_spec.rb +65 -0
- data/spec/models/release_trigger_spec.rb +89 -0
- data/spec/models/release_update_parameters1_spec.rb +65 -0
- metadata +18 -2
@@ -0,0 +1,65 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'json'
|
3
|
+
require 'date'
|
4
|
+
|
5
|
+
# Unit tests for Phrase::ReleaseCreateParameters1
|
6
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
|
+
# Please update as you see appropriate
|
8
|
+
describe 'ReleaseCreateParameters1' do
|
9
|
+
before do
|
10
|
+
# run before each test
|
11
|
+
@instance = Phrase::ReleaseCreateParameters1.new
|
12
|
+
end
|
13
|
+
|
14
|
+
after do
|
15
|
+
# run after each test
|
16
|
+
end
|
17
|
+
|
18
|
+
describe 'test an instance of ReleaseCreateParameters1' do
|
19
|
+
it 'should create an instance of ReleaseCreateParameters1' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::ReleaseCreateParameters1)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
describe 'test attribute "cron_schedule"' 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 "time_zone"' 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 "locale_ids"' 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
|
+
describe 'test attribute "branch"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "app_min_version"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "app_max_version"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
@@ -0,0 +1,89 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'json'
|
3
|
+
require 'date'
|
4
|
+
|
5
|
+
# Unit tests for Phrase::ReleaseTrigger
|
6
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
|
+
# Please update as you see appropriate
|
8
|
+
describe 'ReleaseTrigger' do
|
9
|
+
before do
|
10
|
+
# run before each test
|
11
|
+
@instance = Phrase::ReleaseTrigger.new
|
12
|
+
end
|
13
|
+
|
14
|
+
after do
|
15
|
+
# run after each test
|
16
|
+
end
|
17
|
+
|
18
|
+
describe 'test an instance of ReleaseTrigger' do
|
19
|
+
it 'should create an instance of ReleaseTrigger' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::ReleaseTrigger)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
describe 'test attribute "id"' 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 "branch"' 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 "cron_schedule"' 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 "time_zone"' 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
|
+
describe 'test attribute "next_run_at"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "app_min_version"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "app_max_version"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "locales"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "tags"' 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
|
+
|
77
|
+
describe 'test attribute "created_at"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "updated_at"' 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
|
+
|
89
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'json'
|
3
|
+
require 'date'
|
4
|
+
|
5
|
+
# Unit tests for Phrase::ReleaseUpdateParameters1
|
6
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
|
+
# Please update as you see appropriate
|
8
|
+
describe 'ReleaseUpdateParameters1' do
|
9
|
+
before do
|
10
|
+
# run before each test
|
11
|
+
@instance = Phrase::ReleaseUpdateParameters1.new
|
12
|
+
end
|
13
|
+
|
14
|
+
after do
|
15
|
+
# run after each test
|
16
|
+
end
|
17
|
+
|
18
|
+
describe 'test an instance of ReleaseUpdateParameters1' do
|
19
|
+
it 'should create an instance of ReleaseUpdateParameters1' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::ReleaseUpdateParameters1)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
describe 'test attribute "cron_schedule"' 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 "time_zone"' 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 "locale_ids"' 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
|
+
describe 'test attribute "branch"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "app_min_version"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "app_max_version"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
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: 3.
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Phrase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -281,8 +281,12 @@ files:
|
|
281
281
|
- docs/QualityPerformanceScoreApi.md
|
282
282
|
- docs/Release.md
|
283
283
|
- docs/ReleaseCreateParameters.md
|
284
|
+
- docs/ReleaseCreateParameters1.md
|
284
285
|
- docs/ReleasePreview.md
|
286
|
+
- docs/ReleaseTrigger.md
|
287
|
+
- docs/ReleaseTriggersApi.md
|
285
288
|
- docs/ReleaseUpdateParameters.md
|
289
|
+
- docs/ReleaseUpdateParameters1.md
|
286
290
|
- docs/ReleasesApi.md
|
287
291
|
- docs/RepliesListParameters.md
|
288
292
|
- docs/RepoSync.md
|
@@ -407,6 +411,7 @@ files:
|
|
407
411
|
- lib/phrase/api/organization_job_templates_api.rb
|
408
412
|
- lib/phrase/api/projects_api.rb
|
409
413
|
- lib/phrase/api/quality_performance_score_api.rb
|
414
|
+
- lib/phrase/api/release_triggers_api.rb
|
410
415
|
- lib/phrase/api/releases_api.rb
|
411
416
|
- lib/phrase/api/repo_syncs_api.rb
|
412
417
|
- lib/phrase/api/reports_api.rb
|
@@ -575,8 +580,11 @@ files:
|
|
575
580
|
- lib/phrase/models/projects_quality_performance_score_request.rb
|
576
581
|
- lib/phrase/models/release.rb
|
577
582
|
- lib/phrase/models/release_create_parameters.rb
|
583
|
+
- lib/phrase/models/release_create_parameters1.rb
|
578
584
|
- lib/phrase/models/release_preview.rb
|
585
|
+
- lib/phrase/models/release_trigger.rb
|
579
586
|
- lib/phrase/models/release_update_parameters.rb
|
587
|
+
- lib/phrase/models/release_update_parameters1.rb
|
580
588
|
- lib/phrase/models/replies_list_parameters.rb
|
581
589
|
- lib/phrase/models/repo_sync.rb
|
582
590
|
- lib/phrase/models/repo_sync_event.rb
|
@@ -685,6 +693,7 @@ files:
|
|
685
693
|
- spec/api/organization_job_templates_api_spec.rb
|
686
694
|
- spec/api/projects_api_spec.rb
|
687
695
|
- spec/api/quality_performance_score_api_spec.rb
|
696
|
+
- spec/api/release_triggers_api_spec.rb
|
688
697
|
- spec/api/releases_api_spec.rb
|
689
698
|
- spec/api/repo_syncs_api_spec.rb
|
690
699
|
- spec/api/reports_api_spec.rb
|
@@ -850,9 +859,12 @@ files:
|
|
850
859
|
- spec/models/projects_quality_performance_score200_response_any_of_spec.rb
|
851
860
|
- spec/models/projects_quality_performance_score200_response_spec.rb
|
852
861
|
- spec/models/projects_quality_performance_score_request_spec.rb
|
862
|
+
- spec/models/release_create_parameters1_spec.rb
|
853
863
|
- spec/models/release_create_parameters_spec.rb
|
854
864
|
- spec/models/release_preview_spec.rb
|
855
865
|
- spec/models/release_spec.rb
|
866
|
+
- spec/models/release_trigger_spec.rb
|
867
|
+
- spec/models/release_update_parameters1_spec.rb
|
856
868
|
- spec/models/release_update_parameters_spec.rb
|
857
869
|
- spec/models/replies_list_parameters_spec.rb
|
858
870
|
- spec/models/repo_sync_event_errors_inner_spec.rb
|
@@ -970,6 +982,7 @@ test_files:
|
|
970
982
|
- spec/api/style_guides_api_spec.rb
|
971
983
|
- spec/api/job_template_locales_api_spec.rb
|
972
984
|
- spec/api/job_templates_api_spec.rb
|
985
|
+
- spec/api/release_triggers_api_spec.rb
|
973
986
|
- spec/api/jobs_api_spec.rb
|
974
987
|
- spec/api/distributions_api_spec.rb
|
975
988
|
- spec/api/orders_api_spec.rb
|
@@ -1023,6 +1036,7 @@ test_files:
|
|
1023
1036
|
- spec/models/notification_spec.rb
|
1024
1037
|
- spec/models/webhook_spec.rb
|
1025
1038
|
- spec/models/comment_create_parameters_spec.rb
|
1039
|
+
- spec/models/release_trigger_spec.rb
|
1026
1040
|
- spec/models/job_start_parameters_spec.rb
|
1027
1041
|
- spec/models/distribution_update_parameters_spec.rb
|
1028
1042
|
- spec/models/custom_metadata_property_spec.rb
|
@@ -1049,6 +1063,7 @@ test_files:
|
|
1049
1063
|
- spec/models/bitbucket_sync_import_parameters_spec.rb
|
1050
1064
|
- spec/models/styleguide_preview_spec.rb
|
1051
1065
|
- spec/models/locale_preview1_spec.rb
|
1066
|
+
- spec/models/release_create_parameters1_spec.rb
|
1052
1067
|
- spec/models/branch_name_spec.rb
|
1053
1068
|
- spec/models/locale_update_parameters_spec.rb
|
1054
1069
|
- spec/models/gitlab_sync_import_parameters_spec.rb
|
@@ -1130,6 +1145,7 @@ test_files:
|
|
1130
1145
|
- spec/models/custom_metadata_data_type_spec.rb
|
1131
1146
|
- spec/models/glossary_term_spec.rb
|
1132
1147
|
- spec/models/keys_include_parameters_spec.rb
|
1148
|
+
- spec/models/release_update_parameters1_spec.rb
|
1133
1149
|
- spec/models/current_user_spec.rb
|
1134
1150
|
- spec/models/authorization_create_parameters_spec.rb
|
1135
1151
|
- spec/models/projects_quality_performance_score200_response_any_of_spec.rb
|