phrase 2.7.0 → 2.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +33 -21
- data/docs/BlacklistedKeyCreateParameters.md +1 -1
- data/docs/BlacklistedKeyUpdateParameters.md +1 -1
- data/docs/BlacklistedKeysApi.md +20 -20
- data/docs/DistributionCreateParameters.md +2 -0
- data/docs/DistributionUpdateParameters.md +2 -0
- data/docs/GlossariesApi.md +20 -20
- data/docs/GlossaryTermTranslationsApi.md +12 -12
- data/docs/GlossaryTermsApi.md +20 -20
- data/docs/JobComment.md +29 -0
- data/docs/JobCommentCreateParameters.md +17 -0
- data/docs/JobCommentUpdateParameters.md +17 -0
- data/docs/JobCommentsApi.md +343 -0
- data/docs/Locale.md +2 -0
- data/docs/LocaleCreateParameters.md +2 -0
- data/docs/LocaleDetails.md +2 -0
- data/docs/LocaleUpdateParameters.md +2 -0
- data/docs/ScreenshotsApi.md +12 -6
- data/docs/StyleguideCreateParameters.md +1 -1
- data/docs/StyleguideUpdateParameters.md +1 -1
- data/docs/VersionsHistoryApi.md +1 -1
- data/docs/WebhookDeliveriesApi.md +206 -0
- data/docs/WebhookDelivery.md +29 -0
- data/lib/phrase/api/blacklisted_keys_api.rb +20 -20
- data/lib/phrase/api/glossaries_api.rb +20 -20
- data/lib/phrase/api/glossary_term_translations_api.rb +12 -12
- data/lib/phrase/api/glossary_terms_api.rb +20 -20
- data/lib/phrase/api/job_comments_api.rb +411 -0
- data/lib/phrase/api/screenshots_api.rb +17 -11
- data/lib/phrase/api/versions_history_api.rb +2 -2
- data/lib/phrase/api/webhook_deliveries_api.rb +241 -0
- data/lib/phrase/models/blacklisted_key_create_parameters.rb +1 -1
- data/lib/phrase/models/blacklisted_key_update_parameters.rb +1 -1
- data/lib/phrase/models/distribution_create_parameters.rb +11 -1
- data/lib/phrase/models/distribution_update_parameters.rb +11 -1
- data/lib/phrase/models/job_comment.rb +250 -0
- data/lib/phrase/models/job_comment_create_parameters.rb +195 -0
- data/lib/phrase/models/job_comment_update_parameters.rb +195 -0
- data/lib/phrase/models/locale.rb +10 -1
- data/lib/phrase/models/locale_create_parameters.rb +11 -1
- data/lib/phrase/models/locale_details.rb +10 -1
- data/lib/phrase/models/locale_update_parameters.rb +11 -1
- data/lib/phrase/models/webhook_delivery.rb +248 -0
- data/lib/phrase/version.rb +1 -1
- data/lib/phrase.rb +6 -0
- data/spec/api/blacklisted_keys_api_spec.rb +10 -10
- data/spec/api/glossaries_api_spec.rb +10 -10
- data/spec/api/glossary_term_translations_api_spec.rb +6 -6
- data/spec/api/glossary_terms_api_spec.rb +10 -10
- data/spec/api/job_comments_api_spec.rb +101 -0
- data/spec/api/screenshots_api_spec.rb +4 -1
- data/spec/api/versions_history_api_spec.rb +1 -1
- data/spec/api/webhook_deliveries_api_spec.rb +68 -0
- data/spec/models/distribution_create_parameters_spec.rb +6 -0
- data/spec/models/distribution_update_parameters_spec.rb +6 -0
- data/spec/models/job_comment_create_parameters_spec.rb +29 -0
- data/spec/models/job_comment_spec.rb +65 -0
- data/spec/models/job_comment_update_parameters_spec.rb +29 -0
- data/spec/models/locale_create_parameters_spec.rb +6 -0
- data/spec/models/locale_details_spec.rb +6 -0
- data/spec/models/locale_spec.rb +6 -0
- data/spec/models/locale_update_parameters_spec.rb +6 -0
- data/spec/models/webhook_delivery_spec.rb +65 -0
- metadata +221 -197
@@ -50,6 +50,12 @@ describe 'DistributionCreateParameters' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
+
describe 'test attribute "fallback_locales_enabled"' 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
|
+
|
53
59
|
describe 'test attribute "fallback_to_non_regional_locale"' do
|
54
60
|
it 'should work' do
|
55
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -50,6 +50,12 @@ describe 'DistributionUpdateParameters' do
|
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
+
describe 'test attribute "fallback_locales_enabled"' 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
|
+
|
53
59
|
describe 'test attribute "fallback_to_non_regional_locale"' do
|
54
60
|
it 'should work' do
|
55
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,29 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'json'
|
3
|
+
require 'date'
|
4
|
+
|
5
|
+
# Unit tests for Phrase::JobCommentCreateParameters
|
6
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
|
+
# Please update as you see appropriate
|
8
|
+
describe 'JobCommentCreateParameters' do
|
9
|
+
before do
|
10
|
+
# run before each test
|
11
|
+
@instance = Phrase::JobCommentCreateParameters.new
|
12
|
+
end
|
13
|
+
|
14
|
+
after do
|
15
|
+
# run after each test
|
16
|
+
end
|
17
|
+
|
18
|
+
describe 'test an instance of JobCommentCreateParameters' do
|
19
|
+
it 'should create an instance of JobCommentCreateParameters' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::JobCommentCreateParameters)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
describe 'test attribute "message"' 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
|
+
end
|
@@ -0,0 +1,65 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'json'
|
3
|
+
require 'date'
|
4
|
+
|
5
|
+
# Unit tests for Phrase::JobComment
|
6
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
|
+
# Please update as you see appropriate
|
8
|
+
describe 'JobComment' do
|
9
|
+
before do
|
10
|
+
# run before each test
|
11
|
+
@instance = Phrase::JobComment.new
|
12
|
+
end
|
13
|
+
|
14
|
+
after do
|
15
|
+
# run after each test
|
16
|
+
end
|
17
|
+
|
18
|
+
describe 'test an instance of JobComment' do
|
19
|
+
it 'should create an instance of JobComment' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::JobComment)
|
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 "message"' 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 "job_id"' 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 "user"' 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 "created_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 "updated_at"' 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 "mentioned_users"' 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,29 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'json'
|
3
|
+
require 'date'
|
4
|
+
|
5
|
+
# Unit tests for Phrase::JobCommentUpdateParameters
|
6
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
|
+
# Please update as you see appropriate
|
8
|
+
describe 'JobCommentUpdateParameters' do
|
9
|
+
before do
|
10
|
+
# run before each test
|
11
|
+
@instance = Phrase::JobCommentUpdateParameters.new
|
12
|
+
end
|
13
|
+
|
14
|
+
after do
|
15
|
+
# run after each test
|
16
|
+
end
|
17
|
+
|
18
|
+
describe 'test an instance of JobCommentUpdateParameters' do
|
19
|
+
it 'should create an instance of JobCommentUpdateParameters' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::JobCommentUpdateParameters)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
describe 'test attribute "message"' 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
|
+
end
|
@@ -62,6 +62,12 @@ describe 'LocaleCreateParameters' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
describe 'test attribute "fallback_locale_id"' 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
|
+
|
65
71
|
describe 'test attribute "unverify_new_translations"' do
|
66
72
|
it 'should work' do
|
67
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -68,6 +68,12 @@ describe 'LocaleDetails' do
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
+
describe 'test attribute "fallback_locale"' 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 "created_at"' 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/locale_spec.rb
CHANGED
@@ -68,6 +68,12 @@ describe 'Locale' do
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
+
describe 'test attribute "fallback_locale"' 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 "created_at"' do
|
72
78
|
it 'should work' do
|
73
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -62,6 +62,12 @@ describe 'LocaleUpdateParameters' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
describe 'test attribute "fallback_locale_id"' 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
|
+
|
65
71
|
describe 'test attribute "unverify_new_translations"' do
|
66
72
|
it 'should work' do
|
67
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,65 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'json'
|
3
|
+
require 'date'
|
4
|
+
|
5
|
+
# Unit tests for Phrase::WebhookDelivery
|
6
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
|
+
# Please update as you see appropriate
|
8
|
+
describe 'WebhookDelivery' do
|
9
|
+
before do
|
10
|
+
# run before each test
|
11
|
+
@instance = Phrase::WebhookDelivery.new
|
12
|
+
end
|
13
|
+
|
14
|
+
after do
|
15
|
+
# run after each test
|
16
|
+
end
|
17
|
+
|
18
|
+
describe 'test an instance of WebhookDelivery' do
|
19
|
+
it 'should create an instance of WebhookDelivery' do
|
20
|
+
expect(@instance).to be_instance_of(Phrase::WebhookDelivery)
|
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 "webhook_id"' 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 "response_status_code"' 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 "delivered_at"' 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 "duration_ms"' 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 "created_at"' 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 "updated_at"' 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
|