daily-ruby 0.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +79 -0
- data/README.md +119 -0
- data/Rakefile +10 -0
- data/daily-ruby.gemspec +40 -0
- data/daily.yaml +422 -0
- data/docs/CreateMeetingToken200Response.md +18 -0
- data/docs/MeetingTokenRequest.md +18 -0
- data/docs/MeetingTokenRequestProperties.md +56 -0
- data/docs/MeetingTokenRequestPropertiesPermissions.md +22 -0
- data/docs/MeetingTokenRequestPropertiesPermissionsCanAdmin.md +49 -0
- data/docs/MeetingTokenRequestPropertiesPermissionsCanSend.md +49 -0
- data/docs/MeetingTokensApi.md +79 -0
- data/docs/RoomApi.md +227 -0
- data/docs/RoomDeletedResponse.md +20 -0
- data/docs/RoomNotFoundResponse.md +20 -0
- data/docs/RoomRequest.md +22 -0
- data/docs/RoomRequestProperties.md +76 -0
- data/docs/RoomResponse.md +28 -0
- data/docs/ServerErrorResponse.md +18 -0
- data/git_push.sh +57 -0
- data/lib/daily-ruby/api/meeting_tokens_api.rb +86 -0
- data/lib/daily-ruby/api/room_api.rb +218 -0
- data/lib/daily-ruby/api_client.rb +431 -0
- data/lib/daily-ruby/api_error.rb +58 -0
- data/lib/daily-ruby/configuration.rb +382 -0
- data/lib/daily-ruby/models/create_meeting_token200_response.rb +214 -0
- data/lib/daily-ruby/models/meeting_token_request.rb +215 -0
- data/lib/daily-ruby/models/meeting_token_request_properties.rb +438 -0
- data/lib/daily-ruby/models/meeting_token_request_properties_permissions.rb +232 -0
- data/lib/daily-ruby/models/meeting_token_request_properties_permissions_can_admin.rb +105 -0
- data/lib/daily-ruby/models/meeting_token_request_properties_permissions_can_send.rb +105 -0
- data/lib/daily-ruby/models/room_deleted_response.rb +224 -0
- data/lib/daily-ruby/models/room_not_found_response.rb +224 -0
- data/lib/daily-ruby/models/room_request.rb +267 -0
- data/lib/daily-ruby/models/room_request_properties.rb +521 -0
- data/lib/daily-ruby/models/room_response.rb +260 -0
- data/lib/daily-ruby/models/server_error_response.rb +215 -0
- data/lib/daily-ruby/version.rb +15 -0
- data/lib/daily-ruby.rb +53 -0
- data/run.sh +16 -0
- data/script.rb +35 -0
- data/spec/api/meeting_tokens_api_spec.rb +47 -0
- data/spec/api/room_api_spec.rb +74 -0
- data/spec/models/create_meeting_token200_response_spec.rb +36 -0
- data/spec/models/meeting_token_request_properties_permissions_can_admin_spec.rb +32 -0
- data/spec/models/meeting_token_request_properties_permissions_can_send_spec.rb +32 -0
- data/spec/models/meeting_token_request_properties_permissions_spec.rb +48 -0
- data/spec/models/meeting_token_request_properties_spec.rb +158 -0
- data/spec/models/meeting_token_request_spec.rb +36 -0
- data/spec/models/room_deleted_response_spec.rb +42 -0
- data/spec/models/room_not_found_response_spec.rb +42 -0
- data/spec/models/room_request_properties_spec.rb +218 -0
- data/spec/models/room_request_spec.rb +52 -0
- data/spec/models/room_response_spec.rb +66 -0
- data/spec/models/server_error_response_spec.rb +36 -0
- data/spec/spec_helper.rb +111 -0
- metadata +169 -0
@@ -0,0 +1,218 @@
|
|
1
|
+
=begin
|
2
|
+
#Daily
|
3
|
+
|
4
|
+
#The official library for communicating with the Daily REST API.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Daily::RoomRequestProperties
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Daily::RoomRequestProperties do
|
21
|
+
let(:instance) { Daily::RoomRequestProperties.new }
|
22
|
+
|
23
|
+
describe 'test an instance of RoomRequestProperties' do
|
24
|
+
it 'should create an instance of RoomRequestProperties' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(Daily::RoomRequestProperties)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "nbf"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "exp"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'test attribute "max_participants"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "enable_people_ui"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
describe 'test attribute "enable_pip_ui"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
describe 'test attribute "enable_emoji_reactions"' do
|
61
|
+
it 'should work' do
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
describe 'test attribute "enable_hand_raising"' do
|
67
|
+
it 'should work' do
|
68
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
69
|
+
end
|
70
|
+
end
|
71
|
+
|
72
|
+
describe 'test attribute "enable_prejoin_ui"' do
|
73
|
+
it 'should work' do
|
74
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
75
|
+
end
|
76
|
+
end
|
77
|
+
|
78
|
+
describe 'test attribute "enable_live_captions_ui"' do
|
79
|
+
it 'should work' do
|
80
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
describe 'test attribute "enable_network_ui"' do
|
85
|
+
it 'should work' do
|
86
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
describe 'test attribute "enable_noise_cancellation_ui"' do
|
91
|
+
it 'should work' do
|
92
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
93
|
+
end
|
94
|
+
end
|
95
|
+
|
96
|
+
describe 'test attribute "enable_breakout_rooms"' do
|
97
|
+
it 'should work' do
|
98
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
describe 'test attribute "enable_knocking"' do
|
103
|
+
it 'should work' do
|
104
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
105
|
+
end
|
106
|
+
end
|
107
|
+
|
108
|
+
describe 'test attribute "enable_screenshare"' do
|
109
|
+
it 'should work' do
|
110
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
111
|
+
end
|
112
|
+
end
|
113
|
+
|
114
|
+
describe 'test attribute "enable_video_processing_ui"' do
|
115
|
+
it 'should work' do
|
116
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
117
|
+
end
|
118
|
+
end
|
119
|
+
|
120
|
+
describe 'test attribute "enable_chat"' do
|
121
|
+
it 'should work' do
|
122
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
126
|
+
describe 'test attribute "start_video_off"' do
|
127
|
+
it 'should work' do
|
128
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
describe 'test attribute "start_audio_off"' do
|
133
|
+
it 'should work' do
|
134
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
135
|
+
end
|
136
|
+
end
|
137
|
+
|
138
|
+
describe 'test attribute "owner_only_broadcast"' do
|
139
|
+
it 'should work' do
|
140
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
141
|
+
end
|
142
|
+
end
|
143
|
+
|
144
|
+
describe 'test attribute "enable_recording"' do
|
145
|
+
it 'should work' do
|
146
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
147
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["local", "cloud", "raw-tracks", "unknown_default_open_api"])
|
148
|
+
# validator.allowable_values.each do |value|
|
149
|
+
# expect { instance.enable_recording = value }.not_to raise_error
|
150
|
+
# end
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
describe 'test attribute "eject_at_room_exp"' do
|
155
|
+
it 'should work' do
|
156
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
157
|
+
end
|
158
|
+
end
|
159
|
+
|
160
|
+
describe 'test attribute "eject_after_elapsed"' do
|
161
|
+
it 'should work' do
|
162
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
166
|
+
describe 'test attribute "enable_advanced_chat"' do
|
167
|
+
it 'should work' do
|
168
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
169
|
+
end
|
170
|
+
end
|
171
|
+
|
172
|
+
describe 'test attribute "enable_hidden_participants"' do
|
173
|
+
it 'should work' do
|
174
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
178
|
+
describe 'test attribute "enable_mesh_sfu"' do
|
179
|
+
it 'should work' do
|
180
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
describe 'test attribute "sfu_switchover"' do
|
185
|
+
it 'should work' do
|
186
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
187
|
+
end
|
188
|
+
end
|
189
|
+
|
190
|
+
describe 'test attribute "experimental_optimize_large_calls"' do
|
191
|
+
it 'should work' do
|
192
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
193
|
+
end
|
194
|
+
end
|
195
|
+
|
196
|
+
describe 'test attribute "lang"' do
|
197
|
+
it 'should work' do
|
198
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
199
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["de", "en", "es", "fi", "fr", "it", "jp", "ka", "nl", "no", "pt", "pt-BR", "pl", "ru", "sv", "tr", "user", "unknown_default_open_api"])
|
200
|
+
# validator.allowable_values.each do |value|
|
201
|
+
# expect { instance.lang = value }.not_to raise_error
|
202
|
+
# end
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
describe 'test attribute "meeting_join_hook"' do
|
207
|
+
it 'should work' do
|
208
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
209
|
+
end
|
210
|
+
end
|
211
|
+
|
212
|
+
describe 'test attribute "geo"' do
|
213
|
+
it 'should work' do
|
214
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
215
|
+
end
|
216
|
+
end
|
217
|
+
|
218
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
=begin
|
2
|
+
#Daily
|
3
|
+
|
4
|
+
#The official library for communicating with the Daily REST API.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Daily::RoomRequest
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Daily::RoomRequest do
|
21
|
+
let(:instance) { Daily::RoomRequest.new }
|
22
|
+
|
23
|
+
describe 'test an instance of RoomRequest' do
|
24
|
+
it 'should create an instance of RoomRequest' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(Daily::RoomRequest)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "name"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "privacy"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
# validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["private", "public", "unknown_default_open_api"])
|
40
|
+
# validator.allowable_values.each do |value|
|
41
|
+
# expect { instance.privacy = value }.not_to raise_error
|
42
|
+
# end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "properties"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
end
|
@@ -0,0 +1,66 @@
|
|
1
|
+
=begin
|
2
|
+
#Daily
|
3
|
+
|
4
|
+
#The official library for communicating with the Daily REST API.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Daily::RoomResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Daily::RoomResponse do
|
21
|
+
let(:instance) { Daily::RoomResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of RoomResponse' do
|
24
|
+
it 'should create an instance of RoomResponse' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(Daily::RoomResponse)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "id"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
describe 'test attribute "name"' do
|
37
|
+
it 'should work' do
|
38
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe 'test attribute "api_created"' do
|
43
|
+
it 'should work' do
|
44
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
describe 'test attribute "privacy"' do
|
49
|
+
it 'should work' do
|
50
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
51
|
+
end
|
52
|
+
end
|
53
|
+
|
54
|
+
describe 'test attribute "url"' do
|
55
|
+
it 'should work' do
|
56
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
describe 'test attribute "created_at"' do
|
61
|
+
it 'should work' do
|
62
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
66
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
=begin
|
2
|
+
#Daily
|
3
|
+
|
4
|
+
#The official library for communicating with the Daily REST API.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Daily::ServerErrorResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe Daily::ServerErrorResponse do
|
21
|
+
let(:instance) { Daily::ServerErrorResponse.new }
|
22
|
+
|
23
|
+
describe 'test an instance of ServerErrorResponse' do
|
24
|
+
it 'should create an instance of ServerErrorResponse' do
|
25
|
+
# uncomment below to test the instance creation
|
26
|
+
#expect(instance).to be_instance_of(Daily::ServerErrorResponse)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test attribute "error"' do
|
31
|
+
it 'should work' do
|
32
|
+
# assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
=begin
|
2
|
+
#Daily
|
3
|
+
|
4
|
+
#The official library for communicating with the Daily REST API.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 0.0.0
|
7
|
+
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 7.3.0
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
# load the gem
|
14
|
+
require 'daily-ruby'
|
15
|
+
|
16
|
+
# The following was generated by the `rspec --init` command. Conventionally, all
|
17
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
18
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
19
|
+
# this file to always be loaded, without a need to explicitly require it in any
|
20
|
+
# files.
|
21
|
+
#
|
22
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
23
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
24
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
25
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
26
|
+
# a separate helper file that requires the additional dependencies and performs
|
27
|
+
# the additional setup, and require it from the spec files that actually need
|
28
|
+
# it.
|
29
|
+
#
|
30
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
31
|
+
# users commonly want.
|
32
|
+
#
|
33
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
34
|
+
RSpec.configure do |config|
|
35
|
+
# rspec-expectations config goes here. You can use an alternate
|
36
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
37
|
+
# assertions if you prefer.
|
38
|
+
config.expect_with :rspec do |expectations|
|
39
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
40
|
+
# and `failure_message` of custom matchers include text for helper methods
|
41
|
+
# defined using `chain`, e.g.:
|
42
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
43
|
+
# # => "be bigger than 2 and smaller than 4"
|
44
|
+
# ...rather than:
|
45
|
+
# # => "be bigger than 2"
|
46
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
47
|
+
end
|
48
|
+
|
49
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
50
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
51
|
+
config.mock_with :rspec do |mocks|
|
52
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
53
|
+
# a real object. This is generally recommended, and will default to
|
54
|
+
# `true` in RSpec 4.
|
55
|
+
mocks.verify_partial_doubles = true
|
56
|
+
end
|
57
|
+
|
58
|
+
# The settings below are suggested to provide a good initial experience
|
59
|
+
# with RSpec, but feel free to customize to your heart's content.
|
60
|
+
=begin
|
61
|
+
# These two settings work together to allow you to limit a spec run
|
62
|
+
# to individual examples or groups you care about by tagging them with
|
63
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
64
|
+
# get run.
|
65
|
+
config.filter_run :focus
|
66
|
+
config.run_all_when_everything_filtered = true
|
67
|
+
|
68
|
+
# Allows RSpec to persist some state between runs in order to support
|
69
|
+
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
70
|
+
# you configure your source control system to ignore this file.
|
71
|
+
config.example_status_persistence_file_path = "spec/examples.txt"
|
72
|
+
|
73
|
+
# Limits the available syntax to the non-monkey patched syntax that is
|
74
|
+
# recommended. For more details, see:
|
75
|
+
# - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
76
|
+
# - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
77
|
+
# - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
78
|
+
config.disable_monkey_patching!
|
79
|
+
|
80
|
+
# This setting enables warnings. It's recommended, but in some cases may
|
81
|
+
# be too noisy due to issues in dependencies.
|
82
|
+
config.warnings = true
|
83
|
+
|
84
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
85
|
+
# file, and it's useful to allow more verbose output when running an
|
86
|
+
# individual spec file.
|
87
|
+
if config.files_to_run.one?
|
88
|
+
# Use the documentation formatter for detailed output,
|
89
|
+
# unless a formatter has already been configured
|
90
|
+
# (e.g. via a command-line flag).
|
91
|
+
config.default_formatter = 'doc'
|
92
|
+
end
|
93
|
+
|
94
|
+
# Print the 10 slowest examples and example groups at the
|
95
|
+
# end of the spec run, to help surface which specs are running
|
96
|
+
# particularly slow.
|
97
|
+
config.profile_examples = 10
|
98
|
+
|
99
|
+
# Run specs in random order to surface order dependencies. If you find an
|
100
|
+
# order dependency and want to debug it, you can fix the order by providing
|
101
|
+
# the seed, which is printed after each run.
|
102
|
+
# --seed 1234
|
103
|
+
config.order = :random
|
104
|
+
|
105
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
106
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
107
|
+
# test failures related to randomization by passing the same `--seed` value
|
108
|
+
# as the one that triggered the failure.
|
109
|
+
Kernel.srand config.seed
|
110
|
+
=end
|
111
|
+
end
|
metadata
ADDED
@@ -0,0 +1,169 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: daily-ruby
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Daily
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2024-02-23 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: faraday
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.0.1
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '3.0'
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 1.0.1
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3.0'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: faraday-multipart
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: rspec
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '3.6'
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 3.6.0
|
57
|
+
type: :development
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '3.6'
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 3.6.0
|
67
|
+
description: The official Daily API Ruby client
|
68
|
+
email:
|
69
|
+
- help@daily.co
|
70
|
+
executables: []
|
71
|
+
extensions: []
|
72
|
+
extra_rdoc_files: []
|
73
|
+
files:
|
74
|
+
- Gemfile
|
75
|
+
- Gemfile.lock
|
76
|
+
- README.md
|
77
|
+
- Rakefile
|
78
|
+
- daily-ruby.gemspec
|
79
|
+
- daily.yaml
|
80
|
+
- docs/CreateMeetingToken200Response.md
|
81
|
+
- docs/MeetingTokenRequest.md
|
82
|
+
- docs/MeetingTokenRequestProperties.md
|
83
|
+
- docs/MeetingTokenRequestPropertiesPermissions.md
|
84
|
+
- docs/MeetingTokenRequestPropertiesPermissionsCanAdmin.md
|
85
|
+
- docs/MeetingTokenRequestPropertiesPermissionsCanSend.md
|
86
|
+
- docs/MeetingTokensApi.md
|
87
|
+
- docs/RoomApi.md
|
88
|
+
- docs/RoomDeletedResponse.md
|
89
|
+
- docs/RoomNotFoundResponse.md
|
90
|
+
- docs/RoomRequest.md
|
91
|
+
- docs/RoomRequestProperties.md
|
92
|
+
- docs/RoomResponse.md
|
93
|
+
- docs/ServerErrorResponse.md
|
94
|
+
- git_push.sh
|
95
|
+
- lib/daily-ruby.rb
|
96
|
+
- lib/daily-ruby/api/meeting_tokens_api.rb
|
97
|
+
- lib/daily-ruby/api/room_api.rb
|
98
|
+
- lib/daily-ruby/api_client.rb
|
99
|
+
- lib/daily-ruby/api_error.rb
|
100
|
+
- lib/daily-ruby/configuration.rb
|
101
|
+
- lib/daily-ruby/models/create_meeting_token200_response.rb
|
102
|
+
- lib/daily-ruby/models/meeting_token_request.rb
|
103
|
+
- lib/daily-ruby/models/meeting_token_request_properties.rb
|
104
|
+
- lib/daily-ruby/models/meeting_token_request_properties_permissions.rb
|
105
|
+
- lib/daily-ruby/models/meeting_token_request_properties_permissions_can_admin.rb
|
106
|
+
- lib/daily-ruby/models/meeting_token_request_properties_permissions_can_send.rb
|
107
|
+
- lib/daily-ruby/models/room_deleted_response.rb
|
108
|
+
- lib/daily-ruby/models/room_not_found_response.rb
|
109
|
+
- lib/daily-ruby/models/room_request.rb
|
110
|
+
- lib/daily-ruby/models/room_request_properties.rb
|
111
|
+
- lib/daily-ruby/models/room_response.rb
|
112
|
+
- lib/daily-ruby/models/server_error_response.rb
|
113
|
+
- lib/daily-ruby/version.rb
|
114
|
+
- run.sh
|
115
|
+
- script.rb
|
116
|
+
- spec/api/meeting_tokens_api_spec.rb
|
117
|
+
- spec/api/room_api_spec.rb
|
118
|
+
- spec/models/create_meeting_token200_response_spec.rb
|
119
|
+
- spec/models/meeting_token_request_properties_permissions_can_admin_spec.rb
|
120
|
+
- spec/models/meeting_token_request_properties_permissions_can_send_spec.rb
|
121
|
+
- spec/models/meeting_token_request_properties_permissions_spec.rb
|
122
|
+
- spec/models/meeting_token_request_properties_spec.rb
|
123
|
+
- spec/models/meeting_token_request_spec.rb
|
124
|
+
- spec/models/room_deleted_response_spec.rb
|
125
|
+
- spec/models/room_not_found_response_spec.rb
|
126
|
+
- spec/models/room_request_properties_spec.rb
|
127
|
+
- spec/models/room_request_spec.rb
|
128
|
+
- spec/models/room_response_spec.rb
|
129
|
+
- spec/models/server_error_response_spec.rb
|
130
|
+
- spec/spec_helper.rb
|
131
|
+
homepage: https://www.github.com/daily-co/daily-ruby
|
132
|
+
licenses:
|
133
|
+
- MIT
|
134
|
+
metadata: {}
|
135
|
+
post_install_message:
|
136
|
+
rdoc_options: []
|
137
|
+
require_paths:
|
138
|
+
- lib
|
139
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
140
|
+
requirements:
|
141
|
+
- - ">="
|
142
|
+
- !ruby/object:Gem::Version
|
143
|
+
version: '2.7'
|
144
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
|
+
requirements:
|
146
|
+
- - ">="
|
147
|
+
- !ruby/object:Gem::Version
|
148
|
+
version: '0'
|
149
|
+
requirements: []
|
150
|
+
rubygems_version: 3.5.3
|
151
|
+
signing_key:
|
152
|
+
specification_version: 4
|
153
|
+
summary: The official Daily API Ruby client
|
154
|
+
test_files:
|
155
|
+
- spec/api/room_api_spec.rb
|
156
|
+
- spec/api/meeting_tokens_api_spec.rb
|
157
|
+
- spec/models/room_request_properties_spec.rb
|
158
|
+
- spec/models/meeting_token_request_properties_permissions_spec.rb
|
159
|
+
- spec/models/room_not_found_response_spec.rb
|
160
|
+
- spec/models/meeting_token_request_properties_spec.rb
|
161
|
+
- spec/models/meeting_token_request_properties_permissions_can_admin_spec.rb
|
162
|
+
- spec/models/create_meeting_token200_response_spec.rb
|
163
|
+
- spec/models/meeting_token_request_properties_permissions_can_send_spec.rb
|
164
|
+
- spec/models/room_deleted_response_spec.rb
|
165
|
+
- spec/models/room_response_spec.rb
|
166
|
+
- spec/models/room_request_spec.rb
|
167
|
+
- spec/models/meeting_token_request_spec.rb
|
168
|
+
- spec/models/server_error_response_spec.rb
|
169
|
+
- spec/spec_helper.rb
|