phrase 2.3.0 → 2.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +14 -3
  3. data/docs/Distribution.md +2 -0
  4. data/docs/DistributionCreateParameters.md +2 -0
  5. data/docs/DistributionUpdateParameters.md +2 -0
  6. data/docs/ICUApi.md +70 -0
  7. data/docs/Icu.md +17 -0
  8. data/docs/IcuSkeletonParameters.md +21 -0
  9. data/docs/Invitation.md +2 -0
  10. data/docs/InvitationCreateParameters.md +2 -0
  11. data/docs/InvitationUpdateParameters.md +2 -0
  12. data/docs/JobLocaleCompleteReviewParameters.md +17 -0
  13. data/docs/JobLocaleUpdateParameters.md +3 -1
  14. data/docs/JobLocalesApi.md +68 -0
  15. data/docs/JobLocalesCreateParameters.md +4 -2
  16. data/docs/Member.md +6 -0
  17. data/docs/Project.md +2 -0
  18. data/docs/ProjectDetails.md +2 -0
  19. data/docs/ProjectLocales.md +2 -0
  20. data/docs/ProjectMemberSpecific.md +27 -0
  21. data/docs/ReleaseCreateParameters.md +2 -0
  22. data/docs/Team1.md +23 -0
  23. data/docs/TranslationsVerifyParameters.md +3 -5
  24. data/docs/UserPreview.md +3 -1
  25. data/lib/phrase/api/icu_api.rb +78 -0
  26. data/lib/phrase/api/job_locales_api.rb +86 -0
  27. data/lib/phrase/models/distribution.rb +12 -1
  28. data/lib/phrase/models/distribution_create_parameters.rb +13 -1
  29. data/lib/phrase/models/distribution_update_parameters.rb +13 -1
  30. data/lib/phrase/models/icu.rb +195 -0
  31. data/lib/phrase/models/icu_skeleton_parameters.rb +217 -0
  32. data/lib/phrase/models/invitation.rb +12 -1
  33. data/lib/phrase/models/invitation_create_parameters.rb +13 -1
  34. data/lib/phrase/models/invitation_update_parameters.rb +13 -1
  35. data/lib/phrase/models/job_locale_complete_review_parameters.rb +195 -0
  36. data/lib/phrase/models/job_locale_update_parameters.rb +16 -4
  37. data/lib/phrase/models/job_locales_create_parameters.rb +17 -5
  38. data/lib/phrase/models/member.rb +30 -1
  39. data/lib/phrase/models/project.rb +10 -1
  40. data/lib/phrase/models/project_details.rb +10 -1
  41. data/lib/phrase/models/project_locales.rb +11 -2
  42. data/lib/phrase/models/project_member_specific.rb +239 -0
  43. data/lib/phrase/models/release_create_parameters.rb +13 -1
  44. data/lib/phrase/models/team1.rb +221 -0
  45. data/lib/phrase/models/translations_verify_parameters.rb +14 -24
  46. data/lib/phrase/models/user_preview.rb +13 -4
  47. data/lib/phrase/response.rb +1 -1
  48. data/lib/phrase/version.rb +1 -1
  49. data/lib/phrase.rb +6 -0
  50. data/phrase.gemspec +2 -2
  51. data/spec/api/icu_api_spec.rb +36 -0
  52. data/spec/api/job_locales_api_spec.rb +16 -0
  53. data/spec/models/distribution_create_parameters_spec.rb +6 -0
  54. data/spec/models/distribution_spec.rb +6 -0
  55. data/spec/models/distribution_update_parameters_spec.rb +6 -0
  56. data/spec/models/icu_skeleton_parameters_spec.rb +41 -0
  57. data/spec/models/icu_spec.rb +29 -0
  58. data/spec/models/invitation_create_parameters_spec.rb +6 -0
  59. data/spec/models/invitation_spec.rb +6 -0
  60. data/spec/models/invitation_update_parameters_spec.rb +6 -0
  61. data/spec/models/job_locale_complete_review_parameters_spec.rb +29 -0
  62. data/spec/models/job_locale_update_parameters_spec.rb +6 -0
  63. data/spec/models/job_locales_create_parameters_spec.rb +6 -0
  64. data/spec/models/member_spec.rb +18 -0
  65. data/spec/models/project_details_spec.rb +6 -0
  66. data/spec/models/project_locales_spec.rb +6 -0
  67. data/spec/models/project_member_specific_spec.rb +59 -0
  68. data/spec/models/project_spec.rb +6 -0
  69. data/spec/models/release_create_parameters_spec.rb +6 -0
  70. data/spec/models/team1_spec.rb +47 -0
  71. data/spec/models/translations_verify_parameters_spec.rb +2 -8
  72. data/spec/models/user_preview_spec.rb +6 -0
  73. metadata +218 -194
@@ -38,4 +38,10 @@ describe 'JobLocaleUpdateParameters' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "reviewer_ids"' 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
+
41
47
  end
@@ -38,4 +38,10 @@ describe 'JobLocalesCreateParameters' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "reviewer_ids"' 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
+
41
47
  end
@@ -38,6 +38,18 @@ describe 'Member' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "created_at"' 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 "last_activity_at"' 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
+
41
53
  describe 'test attribute "role"' do
42
54
  it 'should work' do
43
55
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -62,6 +74,12 @@ describe 'Member' do
62
74
  end
63
75
  end
64
76
 
77
+ describe 'test attribute "teams"' do
78
+ it 'should work' do
79
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
80
+ end
81
+ end
82
+
65
83
  describe 'test attribute "spaces"' do
66
84
  it 'should work' do
67
85
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -62,6 +62,12 @@ describe 'ProjectDetails' do
62
62
  end
63
63
  end
64
64
 
65
+ describe 'test attribute "point_of_contact"' 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
+
65
71
  describe 'test attribute "created_at"' do
66
72
  it 'should work' do
67
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -32,6 +32,12 @@ describe 'ProjectLocales' do
32
32
  end
33
33
  end
34
34
 
35
+ describe 'test attribute "project_role"' 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
+
35
41
  describe 'test attribute "main_format"' do
36
42
  it 'should work' do
37
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,59 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::ProjectMemberSpecific
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'ProjectMemberSpecific' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::ProjectMemberSpecific.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of ProjectMemberSpecific' do
19
+ it 'should create an instance of ProjectMemberSpecific' do
20
+ expect(@instance).to be_instance_of(Phrase::ProjectMemberSpecific)
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 "name"' 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 "project_role"' 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 "main_format"' 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 "created_at"' 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 "updated_at"' 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
+ end
@@ -62,6 +62,12 @@ describe 'Project' do
62
62
  end
63
63
  end
64
64
 
65
+ describe 'test attribute "point_of_contact"' 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
+
65
71
  describe 'test attribute "created_at"' do
66
72
  it 'should work' do
67
73
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -32,6 +32,12 @@ describe 'ReleaseCreateParameters' do
32
32
  end
33
33
  end
34
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
+
35
41
  describe 'test attribute "branch"' do
36
42
  it 'should work' do
37
43
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,47 @@
1
+ require 'spec_helper'
2
+ require 'json'
3
+ require 'date'
4
+
5
+ # Unit tests for Phrase::Team1
6
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
7
+ # Please update as you see appropriate
8
+ describe 'Team1' do
9
+ before do
10
+ # run before each test
11
+ @instance = Phrase::Team1.new
12
+ end
13
+
14
+ after do
15
+ # run after each test
16
+ end
17
+
18
+ describe 'test an instance of Team1' do
19
+ it 'should create an instance of Team1' do
20
+ expect(@instance).to be_instance_of(Phrase::Team1)
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 "name"' 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 "created_at"' 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 "updated_at"' 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
@@ -26,19 +26,13 @@ describe 'TranslationsVerifyParameters' do
26
26
  end
27
27
  end
28
28
 
29
- describe 'test attribute "q"' do
29
+ describe 'test attribute "locale_id"' do
30
30
  it 'should work' do
31
31
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
32
32
  end
33
33
  end
34
34
 
35
- describe 'test attribute "sort"' 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
35
+ describe 'test attribute "q"' do
42
36
  it 'should work' do
43
37
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
38
  end
@@ -38,4 +38,10 @@ describe 'UserPreview' do
38
38
  end
39
39
  end
40
40
 
41
+ describe 'test attribute "gravatar_uid"' 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
+
41
47
  end