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.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -0
  3. data/README.md +7 -5
  4. data/docs/CommentRepliesApi.md +3 -5
  5. data/docs/CommentsApi.md +3 -5
  6. data/docs/KeyCreateParameters.md +1 -1
  7. data/docs/KeyUpdateParameters.md +1 -1
  8. data/docs/ProjectCreateParameters.md +1 -1
  9. data/docs/ProjectUpdateParameters.md +1 -1
  10. data/docs/ScreenshotUpdateParameters.md +1 -1
  11. data/docs/TranslationUnreviewParameters.md +17 -0
  12. data/docs/TranslationsApi.md +130 -0
  13. data/docs/TranslationsUnreviewParameters.md +19 -0
  14. data/docs/UploadSummary.md +5 -1
  15. data/docs/UploadsApi.md +2 -0
  16. data/lib/phrase/api/comment_replies_api.rb +4 -12
  17. data/lib/phrase/api/comments_api.rb +4 -12
  18. data/lib/phrase/api/translations_api.rb +154 -0
  19. data/lib/phrase/api/uploads_api.rb +3 -0
  20. data/lib/phrase/models/{comments_list_parameters.rb → translation_unreview_parameters.rb} +8 -52
  21. data/lib/phrase/models/{replies_list_parameters.rb → translations_unreview_parameters.rb} +12 -34
  22. data/lib/phrase/models/upload_summary.rb +22 -4
  23. data/lib/phrase/version.rb +1 -1
  24. data/lib/phrase.rb +2 -2
  25. data/spec/api/comment_replies_api_spec.rb +0 -1
  26. data/spec/api/comments_api_spec.rb +0 -1
  27. data/spec/api/translations_api_spec.rb +29 -0
  28. data/spec/models/translation_unreview_parameters_spec.rb +29 -0
  29. data/spec/models/translations_unreview_parameters_spec.rb +35 -0
  30. data/spec/models/upload_summary_spec.rb +12 -0
  31. metadata +235 -235
  32. data/docs/CommentsListParameters.md +0 -25
  33. data/docs/RepliesListParameters.md +0 -23
  34. data/spec/models/comments_list_parameters_spec.rb +0 -53
  35. 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