phrase 3.2.1 → 3.3.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 +8 -0
- data/README.md +10 -5
- data/docs/KeyCreateParameters.md +1 -1
- data/docs/KeyUpdateParameters.md +1 -1
- data/docs/LocaleDownload.md +29 -0
- data/docs/LocaleDownloadCreateParameters.md +43 -0
- data/docs/LocaleDownloadParams.md +29 -0
- data/docs/LocaleDownloadResult.md +17 -0
- data/docs/LocaleDownloadsApi.md +148 -0
- data/docs/ProjectCreateParameters.md +1 -1
- data/docs/ProjectUpdateParameters.md +1 -1
- data/docs/RepoSyncEvent.md +3 -1
- data/docs/RepoSyncsApi.md +70 -4
- data/docs/ScreenshotUpdateParameters.md +1 -1
- data/lib/phrase/api/locale_downloads_api.rb +180 -0
- data/lib/phrase/api/repo_syncs_api.rb +84 -6
- data/lib/phrase/models/locale_download.rb +285 -0
- data/lib/phrase/models/locale_download_create_parameters.rb +332 -0
- data/lib/phrase/models/{repo_sync_import.rb → locale_download_params.rb} +65 -10
- data/lib/phrase/models/{repo_sync_export.rb → locale_download_result.rb} +11 -10
- data/lib/phrase/models/repo_sync_event.rb +10 -1
- data/lib/phrase/version.rb +1 -1
- data/lib/phrase.rb +5 -2
- data/spec/api/locale_downloads_api_spec.rb +57 -0
- data/spec/api/repo_syncs_api_spec.rb +17 -2
- data/spec/models/locale_download_create_parameters_spec.rb +107 -0
- data/spec/models/locale_download_params_spec.rb +65 -0
- data/spec/models/{repo_sync_export_spec.rb → locale_download_result_spec.rb} +7 -7
- data/spec/models/locale_download_spec.rb +69 -0
- data/spec/models/repo_sync_event_spec.rb +6 -0
- metadata +258 -246
- data/docs/RepoSyncExport.md +0 -17
- data/docs/RepoSyncImport.md +0 -17
- 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
|