phrase 2.23.0 → 2.25.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +19 -0
  3. data/README.md +23 -3
  4. data/docs/KeyCreateParameters.md +1 -1
  5. data/docs/KeyLink.md +29 -0
  6. data/docs/KeyLinksBatchDestroyParameters.md +17 -0
  7. data/docs/KeyLinksCreateParameters.md +17 -0
  8. data/docs/KeyLinksIndex400Response.md +17 -0
  9. data/docs/KeyUpdateParameters.md +1 -1
  10. data/docs/LinkedKeysApi.md +270 -0
  11. data/docs/ProjectCreateParameters.md +1 -1
  12. data/docs/ProjectUpdateParameters.md +1 -1
  13. data/docs/RepoSync.md +33 -0
  14. data/docs/RepoSyncEvent.md +27 -0
  15. data/docs/RepoSyncEventErrorsInner.md +16 -0
  16. data/docs/RepoSyncExport.md +17 -0
  17. data/docs/RepoSyncImport.md +17 -0
  18. data/docs/RepoSyncsApi.md +454 -0
  19. data/docs/ScreenshotUpdateParameters.md +1 -1
  20. data/lib/phrase/api/linked_keys_api.rb +323 -0
  21. data/lib/phrase/api/repo_syncs_api.rb +508 -0
  22. data/lib/phrase/models/key_link.rb +290 -0
  23. data/lib/phrase/models/key_links_batch_destroy_parameters.rb +204 -0
  24. data/lib/phrase/models/key_links_create_parameters.rb +204 -0
  25. data/lib/phrase/models/key_links_index400_response.rb +196 -0
  26. data/lib/phrase/models/repo_sync.rb +268 -0
  27. data/lib/phrase/models/repo_sync_event.rb +292 -0
  28. data/lib/phrase/models/repo_sync_event_errors_inner.rb +207 -0
  29. data/lib/phrase/models/repo_sync_export.rb +196 -0
  30. data/lib/phrase/models/repo_sync_import.rb +196 -0
  31. data/lib/phrase/version.rb +1 -1
  32. data/lib/phrase.rb +11 -0
  33. data/spec/api/linked_keys_api_spec.rb +83 -0
  34. data/spec/api/repo_syncs_api_spec.rb +120 -0
  35. data/spec/models/key_link_spec.rb +65 -0
  36. data/spec/models/key_links_batch_destroy_parameters_spec.rb +29 -0
  37. data/spec/models/key_links_create_parameters_spec.rb +29 -0
  38. data/spec/models/key_links_index400_response_spec.rb +29 -0
  39. data/spec/models/repo_sync_event_errors_inner_spec.rb +23 -0
  40. data/spec/models/repo_sync_event_spec.rb +67 -0
  41. data/spec/models/repo_sync_export_spec.rb +29 -0
  42. data/spec/models/repo_sync_import_spec.rb +29 -0
  43. data/spec/models/repo_sync_spec.rb +77 -0
  44. metadata +267 -223
@@ -0,0 +1,29 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::RepoSyncExport
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'RepoSyncExport' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::RepoSyncExport.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of RepoSyncExport' do
19
+ it 'should create an instance of RepoSyncExport' do
20
+ expect(@instance).to be_instance_of(Phrase::RepoSyncExport)
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,29 @@
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
@@ -0,0 +1,77 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::RepoSync
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'RepoSync' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::RepoSync.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of RepoSync' do
19
+ it 'should create an instance of RepoSync' do
20
+ expect(@instance).to be_instance_of(Phrase::RepoSync)
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 "project"' 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 "provider"' 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 "enabled"' 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 "auto_import"' 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 "repo_name"' 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 "created_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
+ describe 'test attribute "last_import_at"' 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
+
71
+ describe 'test attribute "last_export_at"' 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
+
77
+ end