phrase 4.4.0 → 4.5.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 +14 -0
- data/README.md +7 -5
- data/docs/CommentRepliesApi.md +3 -5
- data/docs/CommentsApi.md +3 -5
- 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/TranslationUnreviewParameters.md +17 -0
- data/docs/TranslationsApi.md +130 -0
- data/docs/TranslationsUnreviewParameters.md +19 -0
- data/docs/UploadSummary.md +5 -1
- data/docs/UploadsApi.md +2 -0
- data/lib/phrase/api/comment_replies_api.rb +4 -12
- data/lib/phrase/api/comments_api.rb +4 -12
- data/lib/phrase/api/translations_api.rb +154 -0
- data/lib/phrase/api/uploads_api.rb +3 -0
- data/lib/phrase/models/{comments_list_parameters.rb → translation_unreview_parameters.rb} +8 -52
- data/lib/phrase/models/{replies_list_parameters.rb → translations_unreview_parameters.rb} +12 -34
- data/lib/phrase/models/upload_summary.rb +22 -4
- data/lib/phrase/version.rb +1 -1
- data/lib/phrase.rb +2 -2
- data/spec/api/comment_replies_api_spec.rb +0 -1
- data/spec/api/comments_api_spec.rb +0 -1
- data/spec/api/translations_api_spec.rb +29 -0
- data/spec/models/translation_unreview_parameters_spec.rb +29 -0
- data/spec/models/translations_unreview_parameters_spec.rb +35 -0
- data/spec/models/upload_summary_spec.rb +12 -0
- metadata +235 -235
- data/docs/CommentsListParameters.md +0 -25
- data/docs/RepliesListParameters.md +0 -23
- data/spec/models/comments_list_parameters_spec.rb +0 -53
- data/spec/models/replies_list_parameters_spec.rb +0 -47
@@ -1,53 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
require 'json'
|
3
|
-
require 'date'
|
4
|
-
|
5
|
-
# Unit tests for Phrase::CommentsListParameters
|
6
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
|
-
# Please update as you see appropriate
|
8
|
-
describe 'CommentsListParameters' do
|
9
|
-
before do
|
10
|
-
# run before each test
|
11
|
-
@instance = Phrase::CommentsListParameters.new
|
12
|
-
end
|
13
|
-
|
14
|
-
after do
|
15
|
-
# run after each test
|
16
|
-
end
|
17
|
-
|
18
|
-
describe 'test an instance of CommentsListParameters' do
|
19
|
-
it 'should create an instance of CommentsListParameters' do
|
20
|
-
expect(@instance).to be_instance_of(Phrase::CommentsListParameters)
|
21
|
-
end
|
22
|
-
end
|
23
|
-
describe 'test attribute "branch"' 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 "query"' 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 "filters"' 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 "order"' 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
|
-
end
|
@@ -1,47 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
require 'json'
|
3
|
-
require 'date'
|
4
|
-
|
5
|
-
# Unit tests for Phrase::RepliesListParameters
|
6
|
-
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
7
|
-
# Please update as you see appropriate
|
8
|
-
describe 'RepliesListParameters' do
|
9
|
-
before do
|
10
|
-
# run before each test
|
11
|
-
@instance = Phrase::RepliesListParameters.new
|
12
|
-
end
|
13
|
-
|
14
|
-
after do
|
15
|
-
# run after each test
|
16
|
-
end
|
17
|
-
|
18
|
-
describe 'test an instance of RepliesListParameters' do
|
19
|
-
it 'should create an instance of RepliesListParameters' do
|
20
|
-
expect(@instance).to be_instance_of(Phrase::RepliesListParameters)
|
21
|
-
end
|
22
|
-
end
|
23
|
-
describe 'test attribute "branch"' 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 "query"' 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 "filters"' 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 "order"' 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
|