phrase 3.2.1 → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +8 -0
  3. data/README.md +10 -5
  4. data/docs/KeyCreateParameters.md +1 -1
  5. data/docs/KeyUpdateParameters.md +1 -1
  6. data/docs/LocaleDownload.md +29 -0
  7. data/docs/LocaleDownloadCreateParameters.md +43 -0
  8. data/docs/LocaleDownloadParams.md +29 -0
  9. data/docs/LocaleDownloadResult.md +17 -0
  10. data/docs/LocaleDownloadsApi.md +148 -0
  11. data/docs/ProjectCreateParameters.md +1 -1
  12. data/docs/ProjectUpdateParameters.md +1 -1
  13. data/docs/RepoSyncEvent.md +3 -1
  14. data/docs/RepoSyncsApi.md +70 -4
  15. data/docs/ScreenshotUpdateParameters.md +1 -1
  16. data/lib/phrase/api/locale_downloads_api.rb +180 -0
  17. data/lib/phrase/api/repo_syncs_api.rb +84 -6
  18. data/lib/phrase/models/locale_download.rb +285 -0
  19. data/lib/phrase/models/locale_download_create_parameters.rb +332 -0
  20. data/lib/phrase/models/{repo_sync_import.rb → locale_download_params.rb} +65 -10
  21. data/lib/phrase/models/{repo_sync_export.rb → locale_download_result.rb} +11 -10
  22. data/lib/phrase/models/repo_sync_event.rb +10 -1
  23. data/lib/phrase/version.rb +1 -1
  24. data/lib/phrase.rb +5 -2
  25. data/spec/api/locale_downloads_api_spec.rb +57 -0
  26. data/spec/api/repo_syncs_api_spec.rb +17 -2
  27. data/spec/models/locale_download_create_parameters_spec.rb +107 -0
  28. data/spec/models/locale_download_params_spec.rb +65 -0
  29. data/spec/models/{repo_sync_export_spec.rb → locale_download_result_spec.rb} +7 -7
  30. data/spec/models/locale_download_spec.rb +69 -0
  31. data/spec/models/repo_sync_event_spec.rb +6 -0
  32. metadata +258 -246
  33. data/docs/RepoSyncExport.md +0 -17
  34. data/docs/RepoSyncImport.md +0 -17
  35. data/spec/models/repo_sync_import_spec.rb +0 -29
@@ -1,29 +0,0 @@
1
- require 'spec_helper'
2
- require 'json'
3
- require 'date'
4
-
5
- # Unit tests for Phrase::RepoSyncImport
6
- # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
- # Please update as you see appropriate
8
- describe 'RepoSyncImport' do
9
- before do
10
- # run before each test
11
- @instance = Phrase::RepoSyncImport.new
12
- end
13
-
14
- after do
15
- # run after each test
16
- end
17
-
18
- describe 'test an instance of RepoSyncImport' do
19
- it 'should create an instance of RepoSyncImport' do
20
- expect(@instance).to be_instance_of(Phrase::RepoSyncImport)
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