commonlit-clever-ruby 2.1.4 → 2.1.6.beta1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +27 -30
  3. data/Makefile +1 -1
  4. data/README.md +60 -61
  5. data/clever-ruby.gemspec +6 -6
  6. data/docs/Contact.md +1 -1
  7. data/docs/ContactsApi.md +231 -0
  8. data/docs/ContactsCreated.md +2 -2
  9. data/docs/ContactsDeleted.md +2 -2
  10. data/docs/ContactsUpdated.md +2 -2
  11. data/docs/Course.md +1 -1
  12. data/docs/CoursesApi.md +231 -0
  13. data/docs/CoursesCreated.md +2 -2
  14. data/docs/CoursesDeleted.md +2 -2
  15. data/docs/CoursesUpdated.md +2 -2
  16. data/docs/District.md +9 -9
  17. data/docs/DistrictAdmin.md +2 -2
  18. data/docs/DistrictAdminsApi.md +171 -0
  19. data/docs/DistrictadminsCreated.md +2 -2
  20. data/docs/DistrictadminsDeleted.md +2 -2
  21. data/docs/DistrictadminsUpdated.md +2 -2
  22. data/docs/DistrictsApi.md +113 -0
  23. data/docs/DistrictsCreated.md +2 -2
  24. data/docs/DistrictsDeleted.md +2 -2
  25. data/docs/DistrictsUpdated.md +2 -2
  26. data/docs/Event.md +2 -2
  27. data/docs/EventsApi.md +1 -1
  28. data/docs/Location.md +2 -2
  29. data/docs/Name.md +1 -1
  30. data/docs/Principal.md +1 -1
  31. data/docs/School.md +3 -3
  32. data/docs/SchoolAdmin.md +3 -3
  33. data/docs/SchoolAdminsApi.md +231 -0
  34. data/docs/SchoolEnrollment.md +1 -1
  35. data/docs/SchooladminsCreated.md +2 -2
  36. data/docs/SchooladminsDeleted.md +2 -2
  37. data/docs/SchooladminsUpdated.md +2 -2
  38. data/docs/SchoolsApi.md +351 -0
  39. data/docs/SchoolsCreated.md +2 -2
  40. data/docs/SchoolsDeleted.md +2 -2
  41. data/docs/SchoolsUpdated.md +2 -2
  42. data/docs/Section.md +2 -2
  43. data/docs/SectionsApi.md +499 -0
  44. data/docs/SectionsCreated.md +2 -2
  45. data/docs/SectionsDeleted.md +2 -2
  46. data/docs/SectionsUpdated.md +2 -2
  47. data/docs/Student.md +3 -3
  48. data/docs/StudentsApi.md +463 -0
  49. data/docs/StudentsCreated.md +2 -2
  50. data/docs/StudentsDeleted.md +2 -2
  51. data/docs/StudentsUpdated.md +2 -2
  52. data/docs/Teacher.md +2 -2
  53. data/docs/TeachersApi.md +403 -0
  54. data/docs/TeachersCreated.md +2 -2
  55. data/docs/TeachersDeleted.md +2 -2
  56. data/docs/TeachersUpdated.md +2 -2
  57. data/docs/Term.md +2 -2
  58. data/docs/TermsApi.md +231 -0
  59. data/docs/TermsCreated.md +2 -2
  60. data/docs/TermsDeleted.md +2 -2
  61. data/docs/TermsUpdated.md +2 -2
  62. data/full-v2.yml +2541 -0
  63. data/lib/clever-ruby/api/contacts_api.rb +241 -0
  64. data/lib/clever-ruby/api/courses_api.rb +241 -0
  65. data/lib/clever-ruby/api/district_admins_api.rb +182 -0
  66. data/lib/clever-ruby/api/districts_api.rb +123 -0
  67. data/lib/clever-ruby/api/events_api.rb +3 -3
  68. data/lib/clever-ruby/api/school_admins_api.rb +241 -0
  69. data/lib/clever-ruby/api/schools_api.rb +359 -0
  70. data/lib/clever-ruby/api/sections_api.rb +500 -0
  71. data/lib/clever-ruby/api/students_api.rb +468 -0
  72. data/lib/clever-ruby/api/teachers_api.rb +409 -0
  73. data/lib/clever-ruby/api/terms_api.rb +241 -0
  74. data/lib/clever-ruby/api_client.rb +1 -0
  75. data/lib/clever-ruby/api_error.rb +3 -3
  76. data/lib/clever-ruby/configuration.rb +4 -4
  77. data/lib/clever-ruby/models/admin_name.rb +3 -3
  78. data/lib/clever-ruby/models/bad_request.rb +3 -3
  79. data/lib/clever-ruby/models/contact.rb +13 -13
  80. data/lib/clever-ruby/models/contact_object.rb +3 -3
  81. data/lib/clever-ruby/models/contact_response.rb +3 -3
  82. data/lib/clever-ruby/models/contacts_response.rb +3 -3
  83. data/lib/clever-ruby/models/course.rb +16 -16
  84. data/lib/clever-ruby/models/course_object.rb +3 -3
  85. data/lib/clever-ruby/models/course_response.rb +3 -3
  86. data/lib/clever-ruby/models/courses_response.rb +3 -3
  87. data/lib/clever-ruby/models/credentials.rb +3 -3
  88. data/lib/clever-ruby/models/district.rb +69 -69
  89. data/lib/clever-ruby/models/district_admin.rb +25 -25
  90. data/lib/clever-ruby/models/district_admin_object.rb +3 -3
  91. data/lib/clever-ruby/models/district_admin_response.rb +3 -3
  92. data/lib/clever-ruby/models/district_admins_response.rb +3 -3
  93. data/lib/clever-ruby/models/district_object.rb +3 -3
  94. data/lib/clever-ruby/models/district_response.rb +3 -3
  95. data/lib/clever-ruby/models/districts_response.rb +3 -3
  96. data/lib/clever-ruby/models/event.rb +16 -16
  97. data/lib/clever-ruby/models/event_response.rb +3 -3
  98. data/lib/clever-ruby/models/events_response.rb +3 -3
  99. data/lib/clever-ruby/models/internal_error.rb +3 -3
  100. data/lib/clever-ruby/models/link.rb +3 -3
  101. data/lib/clever-ruby/models/location.rb +25 -25
  102. data/lib/clever-ruby/models/name.rb +16 -16
  103. data/lib/clever-ruby/models/not_found.rb +3 -3
  104. data/lib/clever-ruby/models/principal.rb +16 -16
  105. data/lib/clever-ruby/models/school.rb +34 -34
  106. data/lib/clever-ruby/models/school_admin.rb +34 -34
  107. data/lib/clever-ruby/models/school_admin_object.rb +3 -3
  108. data/lib/clever-ruby/models/school_admin_response.rb +3 -3
  109. data/lib/clever-ruby/models/school_admins_response.rb +3 -3
  110. data/lib/clever-ruby/models/school_enrollment.rb +16 -16
  111. data/lib/clever-ruby/models/school_object.rb +3 -3
  112. data/lib/clever-ruby/models/school_response.rb +3 -3
  113. data/lib/clever-ruby/models/schools_response.rb +3 -3
  114. data/lib/clever-ruby/models/section.rb +25 -25
  115. data/lib/clever-ruby/models/section_object.rb +3 -3
  116. data/lib/clever-ruby/models/section_response.rb +3 -3
  117. data/lib/clever-ruby/models/sections_response.rb +3 -3
  118. data/lib/clever-ruby/models/student.rb +34 -34
  119. data/lib/clever-ruby/models/student_object.rb +3 -3
  120. data/lib/clever-ruby/models/student_response.rb +3 -3
  121. data/lib/clever-ruby/models/students_response.rb +3 -3
  122. data/lib/clever-ruby/models/teacher.rb +25 -25
  123. data/lib/clever-ruby/models/teacher_object.rb +3 -3
  124. data/lib/clever-ruby/models/teacher_response.rb +3 -3
  125. data/lib/clever-ruby/models/teachers_response.rb +3 -3
  126. data/lib/clever-ruby/models/term.rb +25 -25
  127. data/lib/clever-ruby/models/term_object.rb +3 -3
  128. data/lib/clever-ruby/models/term_response.rb +3 -3
  129. data/lib/clever-ruby/models/terms_response.rb +3 -3
  130. data/lib/clever-ruby/version.rb +4 -4
  131. data/lib/clever-ruby.rb +13 -4
  132. data/override/README-extension.md +4 -5
  133. data/override/api_client.rb +1 -0
  134. data/override/override.sh +4 -5
  135. data/spec/api/contacts_api_spec.rb +84 -0
  136. data/spec/api/courses_api_spec.rb +84 -0
  137. data/spec/api/district_admins_api_spec.rb +70 -0
  138. data/spec/api/districts_api_spec.rb +56 -0
  139. data/spec/api/events_api_spec.rb +60 -0
  140. data/spec/api/school_admins_api_spec.rb +84 -0
  141. data/spec/api/schools_api_spec.rb +112 -0
  142. data/spec/api/sections_api_spec.rb +142 -0
  143. data/spec/api/students_api_spec.rb +137 -0
  144. data/spec/api/teachers_api_spec.rb +123 -0
  145. data/spec/api/terms_api_spec.rb +84 -0
  146. data/spec/api_client_spec.rb +225 -0
  147. data/spec/spec_helper.rb +25 -18
  148. metadata +71 -33
  149. data/commonlit-clever-ruby-2.1.3.gem +0 -0
  150. data/docs/DataApi.md +0 -2852
  151. data/git_push.sh +0 -55
  152. data/lib/clever-ruby/api/data_api.rb +0 -2798
  153. data/spec/events.json +0 -227
  154. data/tags +0 -1681
@@ -0,0 +1,225 @@
1
+ =begin
2
+ #Data API
3
+
4
+ #Serves the Clever Data API
5
+
6
+ OpenAPI spec version: 2.1.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 3.0.51
10
+ =end
11
+
12
+ require 'spec_helper'
13
+
14
+ describe Clever::ApiClient do
15
+ context 'initialization' do
16
+ context 'URL stuff' do
17
+ context 'host' do
18
+ it 'removes http from host' do
19
+ Clever.configure { |c| c.host = 'http://example.com' }
20
+ expect(Clever::Configuration.default.host).to eq('example.com')
21
+ end
22
+
23
+ it 'removes https from host' do
24
+ Clever.configure { |c| c.host = 'https://wookiee.com' }
25
+ expect(Clever::ApiClient.default.config.host).to eq('wookiee.com')
26
+ end
27
+
28
+ it 'removes trailing path from host' do
29
+ Clever.configure { |c| c.host = 'hobo.com/v4' }
30
+ expect(Clever::Configuration.default.host).to eq('hobo.com')
31
+ end
32
+ end
33
+
34
+ context 'base_path' do
35
+ it "prepends a slash to base_path" do
36
+ Clever.configure { |c| c.base_path = 'v4/dog' }
37
+ expect(Clever::Configuration.default.base_path).to eq('/v4/dog')
38
+ end
39
+
40
+ it "doesn't prepend a slash if one is already there" do
41
+ Clever.configure { |c| c.base_path = '/v4/dog' }
42
+ expect(Clever::Configuration.default.base_path).to eq('/v4/dog')
43
+ end
44
+
45
+ it "ends up as a blank string if nil" do
46
+ Clever.configure { |c| c.base_path = nil }
47
+ expect(Clever::Configuration.default.base_path).to eq('')
48
+ end
49
+ end
50
+ end
51
+ end
52
+
53
+ describe 'params_encoding in #build_request' do
54
+ let(:config) { Clever::Configuration.new }
55
+ let(:api_client) { Clever::ApiClient.new(config) }
56
+
57
+ it 'defaults to nil' do
58
+ expect(Clever::Configuration.default.params_encoding).to eq(nil)
59
+ expect(config.params_encoding).to eq(nil)
60
+
61
+ request = api_client.build_request(:get, '/test')
62
+ expect(request.options[:params_encoding]).to eq(nil)
63
+ end
64
+
65
+ it 'can be customized' do
66
+ config.params_encoding = :multi
67
+ request = api_client.build_request(:get, '/test')
68
+ expect(request.options[:params_encoding]).to eq(:multi)
69
+ end
70
+ end
71
+
72
+ describe 'timeout in #build_request' do
73
+ let(:config) { Clever::Configuration.new }
74
+ let(:api_client) { Clever::ApiClient.new(config) }
75
+
76
+ it 'defaults to 0' do
77
+ expect(Clever::Configuration.default.timeout).to eq(0)
78
+ expect(config.timeout).to eq(0)
79
+
80
+ request = api_client.build_request(:get, '/test')
81
+ expect(request.options[:timeout]).to eq(0)
82
+ end
83
+
84
+ it 'can be customized' do
85
+ config.timeout = 100
86
+ request = api_client.build_request(:get, '/test')
87
+ expect(request.options[:timeout]).to eq(100)
88
+ end
89
+ end
90
+
91
+ describe '#deserialize' do
92
+ it "handles Array<Integer>" do
93
+ api_client = Clever::ApiClient.new
94
+ headers = { 'Content-Type' => 'application/json' }
95
+ response = double('response', headers: headers, body: '[12, 34]')
96
+ data = api_client.deserialize(response, 'Array<Integer>')
97
+ expect(data).to be_instance_of(Array)
98
+ expect(data).to eq([12, 34])
99
+ end
100
+
101
+ it 'handles Array<Array<Integer>>' do
102
+ api_client = Clever::ApiClient.new
103
+ headers = { 'Content-Type' => 'application/json' }
104
+ response = double('response', headers: headers, body: '[[12, 34], [56]]')
105
+ data = api_client.deserialize(response, 'Array<Array<Integer>>')
106
+ expect(data).to be_instance_of(Array)
107
+ expect(data).to eq([[12, 34], [56]])
108
+ end
109
+
110
+ it 'handles Hash<String, String>' do
111
+ api_client = Clever::ApiClient.new
112
+ headers = { 'Content-Type' => 'application/json' }
113
+ response = double('response', headers: headers, body: '{"message": "Hello"}')
114
+ data = api_client.deserialize(response, 'Hash<String, String>')
115
+ expect(data).to be_instance_of(Hash)
116
+ expect(data).to eq(:message => 'Hello')
117
+ end
118
+ end
119
+
120
+ describe "#object_to_hash" do
121
+ it 'ignores nils and includes empty arrays' do
122
+ # uncomment below to test object_to_hash for model
123
+ # api_client = Clever::ApiClient.new
124
+ # _model = Clever::ModelName.new
125
+ # update the model attribute below
126
+ # _model.id = 1
127
+ # update the expected value (hash) below
128
+ # expected = {id: 1, name: '', tags: []}
129
+ # expect(api_client.object_to_hash(_model)).to eq(expected)
130
+ end
131
+ end
132
+
133
+ describe '#build_collection_param' do
134
+ let(:param) { ['aa', 'bb', 'cc'] }
135
+ let(:api_client) { Clever::ApiClient.new }
136
+
137
+ it 'works for csv' do
138
+ expect(api_client.build_collection_param(param, :csv)).to eq('aa,bb,cc')
139
+ end
140
+
141
+ it 'works for ssv' do
142
+ expect(api_client.build_collection_param(param, :ssv)).to eq('aa bb cc')
143
+ end
144
+
145
+ it 'works for tsv' do
146
+ expect(api_client.build_collection_param(param, :tsv)).to eq("aa\tbb\tcc")
147
+ end
148
+
149
+ it 'works for pipes' do
150
+ expect(api_client.build_collection_param(param, :pipes)).to eq('aa|bb|cc')
151
+ end
152
+
153
+ it 'works for multi' do
154
+ expect(api_client.build_collection_param(param, :multi)).to eq(['aa', 'bb', 'cc'])
155
+ end
156
+
157
+ it 'fails for invalid collection format' do
158
+ expect(proc { api_client.build_collection_param(param, :INVALID) }).to raise_error(RuntimeError, 'unknown collection format: :INVALID')
159
+ end
160
+ end
161
+
162
+ describe '#json_mime?' do
163
+ let(:api_client) { Clever::ApiClient.new }
164
+
165
+ it 'works' do
166
+ expect(api_client.json_mime?(nil)).to eq false
167
+ expect(api_client.json_mime?('')).to eq false
168
+
169
+ expect(api_client.json_mime?('application/json')).to eq true
170
+ expect(api_client.json_mime?('application/json; charset=UTF8')).to eq true
171
+ expect(api_client.json_mime?('APPLICATION/JSON')).to eq true
172
+
173
+ expect(api_client.json_mime?('application/xml')).to eq false
174
+ expect(api_client.json_mime?('text/plain')).to eq false
175
+ expect(api_client.json_mime?('application/jsonp')).to eq false
176
+ end
177
+ end
178
+
179
+ describe '#select_header_accept' do
180
+ let(:api_client) { Clever::ApiClient.new }
181
+
182
+ it 'works' do
183
+ expect(api_client.select_header_accept(nil)).to be_nil
184
+ expect(api_client.select_header_accept([])).to be_nil
185
+
186
+ expect(api_client.select_header_accept(['application/json'])).to eq('application/json')
187
+ expect(api_client.select_header_accept(['application/xml', 'application/json; charset=UTF8'])).to eq('application/json; charset=UTF8')
188
+ expect(api_client.select_header_accept(['APPLICATION/JSON', 'text/html'])).to eq('APPLICATION/JSON')
189
+
190
+ expect(api_client.select_header_accept(['application/xml'])).to eq('application/xml')
191
+ expect(api_client.select_header_accept(['text/html', 'application/xml'])).to eq('text/html,application/xml')
192
+ end
193
+ end
194
+
195
+ describe '#select_header_content_type' do
196
+ let(:api_client) { Clever::ApiClient.new }
197
+
198
+ it 'works' do
199
+ expect(api_client.select_header_content_type(nil)).to eq('application/json')
200
+ expect(api_client.select_header_content_type([])).to eq('application/json')
201
+
202
+ expect(api_client.select_header_content_type(['application/json'])).to eq('application/json')
203
+ expect(api_client.select_header_content_type(['application/xml', 'application/json; charset=UTF8'])).to eq('application/json; charset=UTF8')
204
+ expect(api_client.select_header_content_type(['APPLICATION/JSON', 'text/html'])).to eq('APPLICATION/JSON')
205
+ expect(api_client.select_header_content_type(['application/xml'])).to eq('application/xml')
206
+ expect(api_client.select_header_content_type(['text/plain', 'application/xml'])).to eq('text/plain')
207
+ end
208
+ end
209
+
210
+ describe '#sanitize_filename' do
211
+ let(:api_client) { Clever::ApiClient.new }
212
+
213
+ it 'works' do
214
+ expect(api_client.sanitize_filename('sun')).to eq('sun')
215
+ expect(api_client.sanitize_filename('sun.gif')).to eq('sun.gif')
216
+ expect(api_client.sanitize_filename('../sun.gif')).to eq('sun.gif')
217
+ expect(api_client.sanitize_filename('/var/tmp/sun.gif')).to eq('sun.gif')
218
+ expect(api_client.sanitize_filename('./sun.gif')).to eq('sun.gif')
219
+ expect(api_client.sanitize_filename('..\sun.gif')).to eq('sun.gif')
220
+ expect(api_client.sanitize_filename('\var\tmp\sun.gif')).to eq('sun.gif')
221
+ expect(api_client.sanitize_filename('c:\var\tmp\sun.gif')).to eq('sun.gif')
222
+ expect(api_client.sanitize_filename('.\sun.gif')).to eq('sun.gif')
223
+ end
224
+ end
225
+ end
data/spec/spec_helper.rb CHANGED
@@ -1,4 +1,18 @@
1
- # This file was generated by the `rspec --init` command. Conventionally, all
1
+ =begin
2
+ #Data API
3
+
4
+ #Serves the Clever Data API
5
+
6
+ OpenAPI spec version: 2.1.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 3.0.51
10
+ =end
11
+
12
+ # load the gem
13
+ require 'clever-ruby'
14
+
15
+ # The following was generated by the `rspec --init` command. Conventionally, all
2
16
  # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
17
  # The generated `.rspec` file contains `--require spec_helper` which will cause
4
18
  # this file to always be loaded, without a need to explicitly require it in any
@@ -12,10 +26,10 @@
12
26
  # the additional setup, and require it from the spec files that actually need
13
27
  # it.
14
28
  #
29
+ # The `.rspec` file also contains a few flags that are not defaults but that
30
+ # users commonly want.
31
+ #
15
32
  # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
16
-
17
- require "clever-ruby"
18
-
19
33
  RSpec.configure do |config|
20
34
  # rspec-expectations config goes here. You can use an alternate
21
35
  # assertion/expectation library such as wrong or the stdlib/minitest
@@ -40,22 +54,15 @@ RSpec.configure do |config|
40
54
  mocks.verify_partial_doubles = true
41
55
  end
42
56
 
43
- # This option will default to `:apply_to_host_groups` in RSpec 4 (and will
44
- # have no way to turn it off -- the option exists only for backwards
45
- # compatibility in RSpec 3). It causes shared context metadata to be
46
- # inherited by the metadata hash of host groups and examples, rather than
47
- # triggering implicit auto-inclusion in groups with matching metadata.
48
- config.shared_context_metadata_behavior = :apply_to_host_groups
49
-
50
57
  # The settings below are suggested to provide a good initial experience
51
58
  # with RSpec, but feel free to customize to your heart's content.
52
59
  =begin
53
- # This allows you to limit a spec run to individual examples or groups
54
- # you care about by tagging them with `:focus` metadata. When nothing
55
- # is tagged with `:focus`, all examples get run. RSpec also provides
56
- # aliases for `it`, `describe`, and `context` that include `:focus`
57
- # metadata: `fit`, `fdescribe` and `fcontext`, respectively.
58
- config.filter_run_when_matching :focus
60
+ # These two settings work together to allow you to limit a spec run
61
+ # to individual examples or groups you care about by tagging them with
62
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
63
+ # get run.
64
+ config.filter_run :focus
65
+ config.run_all_when_everything_filtered = true
59
66
 
60
67
  # Allows RSpec to persist some state between runs in order to support
61
68
  # the `--only-failures` and `--next-failure` CLI options. We recommend
@@ -80,7 +87,7 @@ RSpec.configure do |config|
80
87
  # Use the documentation formatter for detailed output,
81
88
  # unless a formatter has already been configured
82
89
  # (e.g. via a command-line flag).
83
- config.default_formatter = "doc"
90
+ config.default_formatter = 'doc'
84
91
  end
85
92
 
86
93
  # Print the 10 slowest examples and example groups at the
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commonlit-clever-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.4
4
+ version: 2.1.6.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swagger-Codegen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-27 00:00:00.000000000 Z
11
+ date: 2023-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -34,62 +34,62 @@ dependencies:
34
34
  name: json
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: 2.1.0
40
37
  - - "~>"
41
38
  - !ruby/object:Gem::Version
42
39
  version: '2.1'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 2.1.0
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ">="
48
- - !ruby/object:Gem::Version
49
- version: 2.1.0
50
47
  - - "~>"
51
48
  - !ruby/object:Gem::Version
52
49
  version: '2.1'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 2.1.0
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: addressable
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- version: 2.3.0
60
57
  - - "~>"
61
58
  - !ruby/object:Gem::Version
62
59
  version: '2.3'
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 2.3.0
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- version: 2.3.0
70
67
  - - "~>"
71
68
  - !ruby/object:Gem::Version
72
69
  version: '2.3'
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 2.3.0
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: rspec
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
- - - ">="
78
- - !ruby/object:Gem::Version
79
- version: 3.6.0
80
77
  - - "~>"
81
78
  - !ruby/object:Gem::Version
82
79
  version: '3.6'
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 3.6.0
83
83
  type: :development
84
84
  prerelease: false
85
85
  version_requirements: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: 3.6.0
90
87
  - - "~>"
91
88
  - !ruby/object:Gem::Version
92
89
  version: '3.6'
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: 3.6.0
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: vcr
95
95
  requirement: !ruby/object:Gem::Requirement
@@ -210,7 +210,7 @@ dependencies:
210
210
  - - ">="
211
211
  - !ruby/object:Gem::Version
212
212
  version: 0.2.12
213
- description: The Clever API
213
+ description: Serves the Clever Data API
214
214
  email:
215
215
  - ''
216
216
  executables: []
@@ -225,12 +225,12 @@ files:
225
225
  - README.md
226
226
  - Rakefile
227
227
  - clever-ruby.gemspec
228
- - commonlit-clever-ruby-2.1.3.gem
229
228
  - docs/AdminName.md
230
229
  - docs/BadRequest.md
231
230
  - docs/Contact.md
232
231
  - docs/ContactObject.md
233
232
  - docs/ContactResponse.md
233
+ - docs/ContactsApi.md
234
234
  - docs/ContactsCreated.md
235
235
  - docs/ContactsDeleted.md
236
236
  - docs/ContactsResponse.md
@@ -238,22 +238,24 @@ files:
238
238
  - docs/Course.md
239
239
  - docs/CourseObject.md
240
240
  - docs/CourseResponse.md
241
+ - docs/CoursesApi.md
241
242
  - docs/CoursesCreated.md
242
243
  - docs/CoursesDeleted.md
243
244
  - docs/CoursesResponse.md
244
245
  - docs/CoursesUpdated.md
245
246
  - docs/Credentials.md
246
- - docs/DataApi.md
247
247
  - docs/District.md
248
248
  - docs/DistrictAdmin.md
249
249
  - docs/DistrictAdminObject.md
250
250
  - docs/DistrictAdminResponse.md
251
+ - docs/DistrictAdminsApi.md
251
252
  - docs/DistrictAdminsResponse.md
252
253
  - docs/DistrictObject.md
253
254
  - docs/DistrictResponse.md
254
255
  - docs/DistrictadminsCreated.md
255
256
  - docs/DistrictadminsDeleted.md
256
257
  - docs/DistrictadminsUpdated.md
258
+ - docs/DistrictsApi.md
257
259
  - docs/DistrictsCreated.md
258
260
  - docs/DistrictsDeleted.md
259
261
  - docs/DistrictsResponse.md
@@ -272,6 +274,7 @@ files:
272
274
  - docs/SchoolAdmin.md
273
275
  - docs/SchoolAdminObject.md
274
276
  - docs/SchoolAdminResponse.md
277
+ - docs/SchoolAdminsApi.md
275
278
  - docs/SchoolAdminsResponse.md
276
279
  - docs/SchoolEnrollment.md
277
280
  - docs/SchoolObject.md
@@ -279,6 +282,7 @@ files:
279
282
  - docs/SchooladminsCreated.md
280
283
  - docs/SchooladminsDeleted.md
281
284
  - docs/SchooladminsUpdated.md
285
+ - docs/SchoolsApi.md
282
286
  - docs/SchoolsCreated.md
283
287
  - docs/SchoolsDeleted.md
284
288
  - docs/SchoolsResponse.md
@@ -286,6 +290,7 @@ files:
286
290
  - docs/Section.md
287
291
  - docs/SectionObject.md
288
292
  - docs/SectionResponse.md
293
+ - docs/SectionsApi.md
289
294
  - docs/SectionsCreated.md
290
295
  - docs/SectionsDeleted.md
291
296
  - docs/SectionsResponse.md
@@ -293,6 +298,7 @@ files:
293
298
  - docs/Student.md
294
299
  - docs/StudentObject.md
295
300
  - docs/StudentResponse.md
301
+ - docs/StudentsApi.md
296
302
  - docs/StudentsCreated.md
297
303
  - docs/StudentsDeleted.md
298
304
  - docs/StudentsResponse.md
@@ -300,6 +306,7 @@ files:
300
306
  - docs/Teacher.md
301
307
  - docs/TeacherObject.md
302
308
  - docs/TeacherResponse.md
309
+ - docs/TeachersApi.md
303
310
  - docs/TeachersCreated.md
304
311
  - docs/TeachersDeleted.md
305
312
  - docs/TeachersResponse.md
@@ -307,14 +314,24 @@ files:
307
314
  - docs/Term.md
308
315
  - docs/TermObject.md
309
316
  - docs/TermResponse.md
317
+ - docs/TermsApi.md
310
318
  - docs/TermsCreated.md
311
319
  - docs/TermsDeleted.md
312
320
  - docs/TermsResponse.md
313
321
  - docs/TermsUpdated.md
314
- - git_push.sh
322
+ - full-v2.yml
315
323
  - lib/clever-ruby.rb
316
- - lib/clever-ruby/api/data_api.rb
324
+ - lib/clever-ruby/api/contacts_api.rb
325
+ - lib/clever-ruby/api/courses_api.rb
326
+ - lib/clever-ruby/api/district_admins_api.rb
327
+ - lib/clever-ruby/api/districts_api.rb
317
328
  - lib/clever-ruby/api/events_api.rb
329
+ - lib/clever-ruby/api/school_admins_api.rb
330
+ - lib/clever-ruby/api/schools_api.rb
331
+ - lib/clever-ruby/api/sections_api.rb
332
+ - lib/clever-ruby/api/students_api.rb
333
+ - lib/clever-ruby/api/teachers_api.rb
334
+ - lib/clever-ruby/api/terms_api.rb
318
335
  - lib/clever-ruby/api_client.rb
319
336
  - lib/clever-ruby/api_error.rb
320
337
  - lib/clever-ruby/configuration.rb
@@ -436,9 +453,19 @@ files:
436
453
  - override/models/terms_updated.rb
437
454
  - override/override.sh
438
455
  - sample/sample.rb
439
- - spec/events.json
456
+ - spec/api/contacts_api_spec.rb
457
+ - spec/api/courses_api_spec.rb
458
+ - spec/api/district_admins_api_spec.rb
459
+ - spec/api/districts_api_spec.rb
460
+ - spec/api/events_api_spec.rb
461
+ - spec/api/school_admins_api_spec.rb
462
+ - spec/api/schools_api_spec.rb
463
+ - spec/api/sections_api_spec.rb
464
+ - spec/api/students_api_spec.rb
465
+ - spec/api/teachers_api_spec.rb
466
+ - spec/api/terms_api_spec.rb
467
+ - spec/api_client_spec.rb
440
468
  - spec/spec_helper.rb
441
- - tags
442
469
  homepage: https://github.com/swagger-api/swagger-codegen
443
470
  licenses:
444
471
  - Unlicense
@@ -451,17 +478,28 @@ required_ruby_version: !ruby/object:Gem::Requirement
451
478
  requirements:
452
479
  - - ">="
453
480
  - !ruby/object:Gem::Version
454
- version: '2.1'
481
+ version: '1.9'
455
482
  required_rubygems_version: !ruby/object:Gem::Requirement
456
483
  requirements:
457
- - - ">="
484
+ - - ">"
458
485
  - !ruby/object:Gem::Version
459
- version: '0'
486
+ version: 1.3.1
460
487
  requirements: []
461
- rubygems_version: 3.0.3
488
+ rubygems_version: 3.4.18
462
489
  signing_key:
463
490
  specification_version: 4
464
- summary: Clever API Ruby Gem
491
+ summary: Data API Ruby Gem
465
492
  test_files:
466
- - spec/events.json
493
+ - spec/api/sections_api_spec.rb
494
+ - spec/api/courses_api_spec.rb
495
+ - spec/api/teachers_api_spec.rb
496
+ - spec/api/schools_api_spec.rb
497
+ - spec/api/school_admins_api_spec.rb
498
+ - spec/api/students_api_spec.rb
499
+ - spec/api/events_api_spec.rb
500
+ - spec/api/districts_api_spec.rb
501
+ - spec/api/district_admins_api_spec.rb
502
+ - spec/api/terms_api_spec.rb
503
+ - spec/api/contacts_api_spec.rb
504
+ - spec/api_client_spec.rb
467
505
  - spec/spec_helper.rb
Binary file