fn_ruby 0.1.32 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +19 -12
- data/VERSION +1 -1
- data/docs/Call.md +14 -0
- data/docs/CallApi.md +212 -0
- data/docs/CallWrapper.md +8 -0
- data/docs/CallsWrapper.md +9 -0
- data/docs/Log.md +9 -0
- data/docs/LogApi.md +109 -0
- data/docs/LogWrapper.md +8 -0
- data/docs/Route.md +2 -3
- data/docs/RoutesApi.md +58 -4
- data/fn_ruby-0.1.32.gem +0 -0
- data/fn_ruby.gemspec +2 -2
- data/lib/fn_ruby.rb +9 -7
- data/lib/fn_ruby/api/apps_api.rb +2 -2
- data/lib/fn_ruby/api/call_api.rb +263 -0
- data/lib/fn_ruby/api/log_api.rb +144 -0
- data/lib/fn_ruby/api/routes_api.rb +73 -6
- data/lib/fn_ruby/api_client.rb +2 -2
- data/lib/fn_ruby/api_error.rb +2 -2
- data/lib/fn_ruby/configuration.rb +2 -2
- data/lib/fn_ruby/models/app.rb +2 -2
- data/lib/fn_ruby/models/app_wrapper.rb +2 -2
- data/lib/fn_ruby/models/apps_wrapper.rb +2 -2
- data/lib/fn_ruby/models/call.rb +249 -0
- data/lib/fn_ruby/models/call_wrapper.rb +194 -0
- data/lib/fn_ruby/models/calls_wrapper.rb +204 -0
- data/lib/fn_ruby/models/error.rb +2 -2
- data/lib/fn_ruby/models/error_body.rb +2 -2
- data/lib/fn_ruby/models/log.rb +198 -0
- data/lib/fn_ruby/models/log_wrapper.rb +194 -0
- data/lib/fn_ruby/models/route.rb +7 -13
- data/lib/fn_ruby/models/route_wrapper.rb +2 -2
- data/lib/fn_ruby/models/routes_wrapper.rb +2 -2
- data/lib/fn_ruby/models/version.rb +2 -2
- data/lib/fn_ruby/version.rb +3 -3
- data/spec/api/apps_api_spec.rb +2 -2
- data/spec/api/call_api_spec.rb +87 -0
- data/spec/api/log_api_spec.rb +61 -0
- data/spec/api/routes_api_spec.rb +18 -4
- data/spec/api_client_spec.rb +2 -2
- data/spec/configuration_spec.rb +2 -2
- data/spec/models/app_spec.rb +2 -2
- data/spec/models/app_wrapper_spec.rb +2 -2
- data/spec/models/apps_wrapper_spec.rb +2 -2
- data/spec/models/call_spec.rb +78 -0
- data/spec/models/call_wrapper_spec.rb +42 -0
- data/spec/models/calls_wrapper_spec.rb +48 -0
- data/spec/models/error_body_spec.rb +2 -2
- data/spec/models/error_spec.rb +2 -2
- data/spec/models/log_spec.rb +48 -0
- data/spec/models/log_wrapper_spec.rb +42 -0
- data/spec/models/route_spec.rb +2 -8
- data/spec/models/route_wrapper_spec.rb +2 -2
- data/spec/models/routes_wrapper_spec.rb +2 -2
- data/spec/models/version_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- metadata +31 -2
@@ -0,0 +1,42 @@
|
|
1
|
+
=begin
|
2
|
+
#fn
|
3
|
+
|
4
|
+
#The open source serverless platform.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.2.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Fn::CallWrapper
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'CallWrapper' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Fn::CallWrapper.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of CallWrapper' do
|
31
|
+
it 'should create an instance of CallWrapper' do
|
32
|
+
expect(@instance).to be_instance_of(Fn::CallWrapper)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "call"' 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
|
+
end
|
42
|
+
|
@@ -0,0 +1,48 @@
|
|
1
|
+
=begin
|
2
|
+
#fn
|
3
|
+
|
4
|
+
#The open source serverless platform.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.2.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Fn::CallsWrapper
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'CallsWrapper' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Fn::CallsWrapper.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of CallsWrapper' do
|
31
|
+
it 'should create an instance of CallsWrapper' do
|
32
|
+
expect(@instance).to be_instance_of(Fn::CallsWrapper)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "calls"' 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 "error"' 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
|
48
|
+
|
data/spec/models/error_spec.rb
CHANGED
@@ -0,0 +1,48 @@
|
|
1
|
+
=begin
|
2
|
+
#fn
|
3
|
+
|
4
|
+
#The open source serverless platform.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.2.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Fn::Log
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Log' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Fn::Log.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Log' do
|
31
|
+
it 'should create an instance of Log' do
|
32
|
+
expect(@instance).to be_instance_of(Fn::Log)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "call_id"' 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 "log"' 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
|
48
|
+
|
@@ -0,0 +1,42 @@
|
|
1
|
+
=begin
|
2
|
+
#fn
|
3
|
+
|
4
|
+
#The open source serverless platform.
|
5
|
+
|
6
|
+
OpenAPI spec version: 0.2.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.2.3
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Fn::LogWrapper
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'LogWrapper' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Fn::LogWrapper.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of LogWrapper' do
|
31
|
+
it 'should create an instance of LogWrapper' do
|
32
|
+
expect(@instance).to be_instance_of(Fn::LogWrapper)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "log"' 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
|
+
end
|
42
|
+
|
data/spec/models/route_spec.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
=begin
|
2
|
-
#
|
2
|
+
#fn
|
3
3
|
|
4
4
|
#The open source serverless platform.
|
5
5
|
|
6
|
-
OpenAPI spec version: 0.
|
6
|
+
OpenAPI spec version: 0.2.0
|
7
7
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.2.3
|
@@ -76,12 +76,6 @@ describe 'Route' do
|
|
76
76
|
end
|
77
77
|
end
|
78
78
|
|
79
|
-
describe 'test attribute "max_concurrency"' do
|
80
|
-
it 'should work' do
|
81
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
82
|
-
end
|
83
|
-
end
|
84
|
-
|
85
79
|
describe 'test attribute "config"' do
|
86
80
|
it 'should work' do
|
87
81
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
data/spec/models/version_spec.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fn_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Swagger-Codegen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -206,8 +206,15 @@ files:
|
|
206
206
|
- docs/AppWrapper.md
|
207
207
|
- docs/AppsApi.md
|
208
208
|
- docs/AppsWrapper.md
|
209
|
+
- docs/Call.md
|
210
|
+
- docs/CallApi.md
|
211
|
+
- docs/CallWrapper.md
|
212
|
+
- docs/CallsWrapper.md
|
209
213
|
- docs/Error.md
|
210
214
|
- docs/ErrorBody.md
|
215
|
+
- docs/Log.md
|
216
|
+
- docs/LogApi.md
|
217
|
+
- docs/LogWrapper.md
|
211
218
|
- docs/NewTask.md
|
212
219
|
- docs/Route.md
|
213
220
|
- docs/RouteWrapper.md
|
@@ -218,10 +225,13 @@ files:
|
|
218
225
|
- docs/TasksApi.md
|
219
226
|
- docs/Version.md
|
220
227
|
- docs/VersionApi.md
|
228
|
+
- fn_ruby-0.1.32.gem
|
221
229
|
- fn_ruby.gemspec
|
222
230
|
- git_push.sh
|
223
231
|
- lib/fn_ruby.rb
|
224
232
|
- lib/fn_ruby/api/apps_api.rb
|
233
|
+
- lib/fn_ruby/api/call_api.rb
|
234
|
+
- lib/fn_ruby/api/log_api.rb
|
225
235
|
- lib/fn_ruby/api/routes_api.rb
|
226
236
|
- lib/fn_ruby/api/tasks_api.rb
|
227
237
|
- lib/fn_ruby/api/version_api.rb
|
@@ -231,8 +241,13 @@ files:
|
|
231
241
|
- lib/fn_ruby/models/app.rb
|
232
242
|
- lib/fn_ruby/models/app_wrapper.rb
|
233
243
|
- lib/fn_ruby/models/apps_wrapper.rb
|
244
|
+
- lib/fn_ruby/models/call.rb
|
245
|
+
- lib/fn_ruby/models/call_wrapper.rb
|
246
|
+
- lib/fn_ruby/models/calls_wrapper.rb
|
234
247
|
- lib/fn_ruby/models/error.rb
|
235
248
|
- lib/fn_ruby/models/error_body.rb
|
249
|
+
- lib/fn_ruby/models/log.rb
|
250
|
+
- lib/fn_ruby/models/log_wrapper.rb
|
236
251
|
- lib/fn_ruby/models/new_task.rb
|
237
252
|
- lib/fn_ruby/models/route.rb
|
238
253
|
- lib/fn_ruby/models/route_wrapper.rb
|
@@ -242,6 +257,8 @@ files:
|
|
242
257
|
- lib/fn_ruby/models/version.rb
|
243
258
|
- lib/fn_ruby/version.rb
|
244
259
|
- spec/api/apps_api_spec.rb
|
260
|
+
- spec/api/call_api_spec.rb
|
261
|
+
- spec/api/log_api_spec.rb
|
245
262
|
- spec/api/routes_api_spec.rb
|
246
263
|
- spec/api/tasks_api_spec.rb
|
247
264
|
- spec/api/version_api_spec.rb
|
@@ -250,8 +267,13 @@ files:
|
|
250
267
|
- spec/models/app_spec.rb
|
251
268
|
- spec/models/app_wrapper_spec.rb
|
252
269
|
- spec/models/apps_wrapper_spec.rb
|
270
|
+
- spec/models/call_spec.rb
|
271
|
+
- spec/models/call_wrapper_spec.rb
|
272
|
+
- spec/models/calls_wrapper_spec.rb
|
253
273
|
- spec/models/error_body_spec.rb
|
254
274
|
- spec/models/error_spec.rb
|
275
|
+
- spec/models/log_spec.rb
|
276
|
+
- spec/models/log_wrapper_spec.rb
|
255
277
|
- spec/models/new_task_spec.rb
|
256
278
|
- spec/models/route_spec.rb
|
257
279
|
- spec/models/route_wrapper_spec.rb
|
@@ -285,6 +307,8 @@ specification_version: 4
|
|
285
307
|
summary: Ruby gem for Fn Project
|
286
308
|
test_files:
|
287
309
|
- spec/api/apps_api_spec.rb
|
310
|
+
- spec/api/call_api_spec.rb
|
311
|
+
- spec/api/log_api_spec.rb
|
288
312
|
- spec/api/routes_api_spec.rb
|
289
313
|
- spec/api/tasks_api_spec.rb
|
290
314
|
- spec/api/version_api_spec.rb
|
@@ -293,8 +317,13 @@ test_files:
|
|
293
317
|
- spec/models/app_spec.rb
|
294
318
|
- spec/models/app_wrapper_spec.rb
|
295
319
|
- spec/models/apps_wrapper_spec.rb
|
320
|
+
- spec/models/call_spec.rb
|
321
|
+
- spec/models/call_wrapper_spec.rb
|
322
|
+
- spec/models/calls_wrapper_spec.rb
|
296
323
|
- spec/models/error_body_spec.rb
|
297
324
|
- spec/models/error_spec.rb
|
325
|
+
- spec/models/log_spec.rb
|
326
|
+
- spec/models/log_wrapper_spec.rb
|
298
327
|
- spec/models/new_task_spec.rb
|
299
328
|
- spec/models/route_spec.rb
|
300
329
|
- spec/models/route_wrapper_spec.rb
|