quake_timesheets_client 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +27 -21
  3. data/build.sh +1 -1
  4. data/docs/ApprovalTypesApi.md +36 -38
  5. data/docs/ApprovalsApi.md +36 -40
  6. data/docs/CreateApprovalTypesInput.md +22 -0
  7. data/docs/CreateApprovalsInput.md +24 -0
  8. data/docs/CreateDatasetsInput.md +18 -0
  9. data/docs/CreateEntriesInput.md +28 -0
  10. data/docs/CreatePeopleInput.md +20 -0
  11. data/docs/DatasetsApi.md +51 -49
  12. data/docs/EntriesApi.md +52 -72
  13. data/docs/PeopleApi.md +36 -36
  14. data/docs/UpdateEntriesInput.md +28 -0
  15. data/lib/quake_timesheets_client.rb +7 -1
  16. data/lib/quake_timesheets_client/api/approval_types_api.rb +33 -52
  17. data/lib/quake_timesheets_client/api/approvals_api.rb +34 -65
  18. data/lib/quake_timesheets_client/api/datasets_api.rb +45 -50
  19. data/lib/quake_timesheets_client/api/entries_api.rb +53 -93
  20. data/lib/quake_timesheets_client/api/people_api.rb +33 -45
  21. data/lib/quake_timesheets_client/api_client.rb +1 -1
  22. data/lib/quake_timesheets_client/api_error.rb +1 -1
  23. data/lib/quake_timesheets_client/configuration.rb +1 -1
  24. data/lib/quake_timesheets_client/models/approval.rb +1 -1
  25. data/lib/quake_timesheets_client/models/approval_type.rb +1 -1
  26. data/lib/quake_timesheets_client/models/create_approval_types_input.rb +254 -0
  27. data/lib/quake_timesheets_client/models/create_approvals_input.rb +304 -0
  28. data/lib/quake_timesheets_client/models/create_datasets_input.rb +224 -0
  29. data/lib/quake_timesheets_client/models/create_entries_input.rb +301 -0
  30. data/lib/quake_timesheets_client/models/create_people_input.rb +239 -0
  31. data/lib/quake_timesheets_client/models/dataset.rb +1 -1
  32. data/lib/quake_timesheets_client/models/entry.rb +1 -1
  33. data/lib/quake_timesheets_client/models/person.rb +1 -1
  34. data/lib/quake_timesheets_client/models/update_entries_input.rb +301 -0
  35. data/lib/quake_timesheets_client/version.rb +2 -2
  36. data/quake_timesheets_client.gemspec +1 -1
  37. data/ruby.config.yaml +1 -1
  38. data/spec/api_client_spec.rb +1 -1
  39. data/spec/configuration_spec.rb +1 -1
  40. data/spec/models/create_approval_types_input_spec.rb +46 -0
  41. data/spec/models/create_approvals_input_spec.rb +56 -0
  42. data/spec/models/create_datasets_input_spec.rb +34 -0
  43. data/spec/models/create_entries_input_spec.rb +68 -0
  44. data/spec/models/create_people_input_spec.rb +40 -0
  45. data/spec/models/update_entries_input_spec.rb +68 -0
  46. data/spec/spec_helper.rb +1 -1
  47. metadata +26 -2
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #TimesheetsApi (params in:body)
3
+
4
+ # <p>Another API description</p>
5
+
6
+ The version of the OpenAPI document: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.1.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Quake::Timesheets::CreateDatasetsInput
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Quake::Timesheets::CreateDatasetsInput do
21
+ let(:instance) { Quake::Timesheets::CreateDatasetsInput.new }
22
+
23
+ describe 'test an instance of CreateDatasetsInput' do
24
+ it 'should create an instance of CreateDatasetsInput' do
25
+ expect(instance).to be_instance_of(Quake::Timesheets::CreateDatasetsInput)
26
+ end
27
+ end
28
+ describe 'test attribute "name"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,68 @@
1
+ =begin
2
+ #TimesheetsApi (params in:body)
3
+
4
+ # <p>Another API description</p>
5
+
6
+ The version of the OpenAPI document: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.1.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Quake::Timesheets::CreateEntriesInput
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Quake::Timesheets::CreateEntriesInput do
21
+ let(:instance) { Quake::Timesheets::CreateEntriesInput.new }
22
+
23
+ describe 'test an instance of CreateEntriesInput' do
24
+ it 'should create an instance of CreateEntriesInput' do
25
+ expect(instance).to be_instance_of(Quake::Timesheets::CreateEntriesInput)
26
+ end
27
+ end
28
+ describe 'test attribute "person_id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "start_at"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "end_at"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "quantity"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "unit"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["hour", "day", "week", "month", "other"])
56
+ # validator.allowable_values.each do |value|
57
+ # expect { instance.unit = value }.not_to raise_error
58
+ # end
59
+ end
60
+ end
61
+
62
+ describe 'test attribute "external_reference"' do
63
+ it 'should work' do
64
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
65
+ end
66
+ end
67
+
68
+ end
@@ -0,0 +1,40 @@
1
+ =begin
2
+ #TimesheetsApi (params in:body)
3
+
4
+ # <p>Another API description</p>
5
+
6
+ The version of the OpenAPI document: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.1.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Quake::Timesheets::CreatePeopleInput
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Quake::Timesheets::CreatePeopleInput do
21
+ let(:instance) { Quake::Timesheets::CreatePeopleInput.new }
22
+
23
+ describe 'test an instance of CreatePeopleInput' do
24
+ it 'should create an instance of CreatePeopleInput' do
25
+ expect(instance).to be_instance_of(Quake::Timesheets::CreatePeopleInput)
26
+ end
27
+ end
28
+ describe 'test attribute "dataset_id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "name"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ end
@@ -0,0 +1,68 @@
1
+ =begin
2
+ #TimesheetsApi (params in:body)
3
+
4
+ # <p>Another API description</p>
5
+
6
+ The version of the OpenAPI document: 1.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.1.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for Quake::Timesheets::UpdateEntriesInput
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe Quake::Timesheets::UpdateEntriesInput do
21
+ let(:instance) { Quake::Timesheets::UpdateEntriesInput.new }
22
+
23
+ describe 'test an instance of UpdateEntriesInput' do
24
+ it 'should create an instance of UpdateEntriesInput' do
25
+ expect(instance).to be_instance_of(Quake::Timesheets::UpdateEntriesInput)
26
+ end
27
+ end
28
+ describe 'test attribute "person_id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "start_at"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "end_at"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "quantity"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "unit"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ # validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["hour", "day", "week", "month", "other"])
56
+ # validator.allowable_values.each do |value|
57
+ # expect { instance.unit = value }.not_to raise_error
58
+ # end
59
+ end
60
+ end
61
+
62
+ describe 'test attribute "external_reference"' do
63
+ it 'should work' do
64
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
65
+ end
66
+ end
67
+
68
+ end
data/spec/spec_helper.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  =begin
2
- #TimesheetsApi (params in:formData)
2
+ #TimesheetsApi (params in:body)
3
3
 
4
4
  # <p>Another API description</p>
5
5
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quake_timesheets_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-03 00:00:00.000000000 Z
11
+ date: 2021-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -67,12 +67,18 @@ files:
67
67
  - docs/ApprovalType.md
68
68
  - docs/ApprovalTypesApi.md
69
69
  - docs/ApprovalsApi.md
70
+ - docs/CreateApprovalTypesInput.md
71
+ - docs/CreateApprovalsInput.md
72
+ - docs/CreateDatasetsInput.md
73
+ - docs/CreateEntriesInput.md
74
+ - docs/CreatePeopleInput.md
70
75
  - docs/Dataset.md
71
76
  - docs/DatasetsApi.md
72
77
  - docs/EntriesApi.md
73
78
  - docs/Entry.md
74
79
  - docs/PeopleApi.md
75
80
  - docs/Person.md
81
+ - docs/UpdateEntriesInput.md
76
82
  - git_push.sh
77
83
  - lib/quake_timesheets_client.rb
78
84
  - lib/quake_timesheets_client/api/approval_types_api.rb
@@ -85,9 +91,15 @@ files:
85
91
  - lib/quake_timesheets_client/configuration.rb
86
92
  - lib/quake_timesheets_client/models/approval.rb
87
93
  - lib/quake_timesheets_client/models/approval_type.rb
94
+ - lib/quake_timesheets_client/models/create_approval_types_input.rb
95
+ - lib/quake_timesheets_client/models/create_approvals_input.rb
96
+ - lib/quake_timesheets_client/models/create_datasets_input.rb
97
+ - lib/quake_timesheets_client/models/create_entries_input.rb
98
+ - lib/quake_timesheets_client/models/create_people_input.rb
88
99
  - lib/quake_timesheets_client/models/dataset.rb
89
100
  - lib/quake_timesheets_client/models/entry.rb
90
101
  - lib/quake_timesheets_client/models/person.rb
102
+ - lib/quake_timesheets_client/models/update_entries_input.rb
91
103
  - lib/quake_timesheets_client/version.rb
92
104
  - quake_timesheets_client.gemspec
93
105
  - ruby-templates/README.mustache
@@ -106,9 +118,15 @@ files:
106
118
  - spec/configuration_spec.rb
107
119
  - spec/models/approval_spec.rb
108
120
  - spec/models/approval_type_spec.rb
121
+ - spec/models/create_approval_types_input_spec.rb
122
+ - spec/models/create_approvals_input_spec.rb
123
+ - spec/models/create_datasets_input_spec.rb
124
+ - spec/models/create_entries_input_spec.rb
125
+ - spec/models/create_people_input_spec.rb
109
126
  - spec/models/dataset_spec.rb
110
127
  - spec/models/entry_spec.rb
111
128
  - spec/models/person_spec.rb
129
+ - spec/models/update_entries_input_spec.rb
112
130
  - spec/spec_helper.rb
113
131
  homepage: https://www.quake.co.uk
114
132
  licenses:
@@ -141,9 +159,15 @@ test_files:
141
159
  - spec/api/people_api_spec.rb
142
160
  - spec/api_client_spec.rb
143
161
  - spec/configuration_spec.rb
162
+ - spec/models/create_approval_types_input_spec.rb
144
163
  - spec/models/entry_spec.rb
145
164
  - spec/models/dataset_spec.rb
165
+ - spec/models/create_people_input_spec.rb
146
166
  - spec/models/person_spec.rb
147
167
  - spec/models/approval_type_spec.rb
168
+ - spec/models/create_entries_input_spec.rb
169
+ - spec/models/create_approvals_input_spec.rb
170
+ - spec/models/update_entries_input_spec.rb
148
171
  - spec/models/approval_spec.rb
172
+ - spec/models/create_datasets_input_spec.rb
149
173
  - spec/spec_helper.rb