dub 0.2.2 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of dub might be problematic. Click here for more details.
- data/History.txt +92 -0
- data/LICENSE +20 -0
- data/README.rdoc +115 -0
- data/Rakefile +59 -0
- data/dub.gemspec +197 -0
- data/lib/dub/argument.rb +286 -0
- data/lib/dub/entities_unescape.rb +9 -0
- data/lib/dub/function.rb +177 -0
- data/lib/dub/function_group.rb +72 -0
- data/lib/dub/generator.rb +15 -0
- data/lib/dub/group.rb +20 -0
- data/lib/dub/klass.rb +338 -0
- data/lib/dub/lua/class.cpp.erb +114 -0
- data/lib/dub/lua/class_gen.rb +96 -0
- data/lib/dub/lua/function.cpp.erb +15 -0
- data/lib/dub/lua/function_gen.rb +329 -0
- data/lib/dub/lua/group.cpp.erb +9 -0
- data/lib/dub/lua/lua_cpp_helper.cpp +259 -0
- data/lib/dub/lua/lua_cpp_helper.h +219 -0
- data/lib/dub/lua/lua_object.cpp +158 -0
- data/lib/dub/lua/lua_object.h +69 -0
- data/lib/dub/lua/namespace.cpp.erb +42 -0
- data/lib/dub/lua/namespace_gen.rb +69 -0
- data/lib/dub/lua.rb +24 -0
- data/lib/dub/member_extraction.rb +128 -0
- data/lib/dub/namespace.rb +295 -0
- data/lib/dub/opts_parser.rb +30 -0
- data/lib/dub/parser.rb +46 -0
- data/lib/dub/templates/lua_template.erb +21 -0
- data/lib/dub/version.rb +3 -0
- data/lib/dub.rb +24 -20
- data/test/argument_test.rb +581 -0
- data/test/fixtures/app/CMakeLists.txt +54 -0
- data/test/fixtures/app/Doxyfile +1600 -0
- data/test/fixtures/app/bindings/all_lua.cpp +299 -0
- data/test/fixtures/app/include/matrix.h +283 -0
- data/test/fixtures/app/make_lua_bindings.rb +13 -0
- data/test/fixtures/app/vendor/lua/CMakeLists.txt +25 -0
- data/test/fixtures/app/vendor/lua/COPYRIGHT +34 -0
- data/test/fixtures/app/vendor/lua/HISTORY +183 -0
- data/test/fixtures/app/vendor/lua/INSTALL +99 -0
- data/test/fixtures/app/vendor/lua/Makefile +183 -0
- data/test/fixtures/app/vendor/lua/README +37 -0
- data/test/fixtures/app/vendor/lua/lapi.c +1080 -0
- data/test/fixtures/app/vendor/lua/lapi.h +16 -0
- data/test/fixtures/app/vendor/lua/lauxlib.c +653 -0
- data/test/fixtures/app/vendor/lua/lauxlib.h +174 -0
- data/test/fixtures/app/vendor/lua/lbaselib.c +643 -0
- data/test/fixtures/app/vendor/lua/lcode.c +839 -0
- data/test/fixtures/app/vendor/lua/lcode.h +76 -0
- data/test/fixtures/app/vendor/lua/ldblib.c +397 -0
- data/test/fixtures/app/vendor/lua/ldebug.c +622 -0
- data/test/fixtures/app/vendor/lua/ldebug.h +33 -0
- data/test/fixtures/app/vendor/lua/ldo.c +516 -0
- data/test/fixtures/app/vendor/lua/ldo.h +57 -0
- data/test/fixtures/app/vendor/lua/ldump.c +164 -0
- data/test/fixtures/app/vendor/lua/lfunc.c +174 -0
- data/test/fixtures/app/vendor/lua/lfunc.h +34 -0
- data/test/fixtures/app/vendor/lua/lgc.c +711 -0
- data/test/fixtures/app/vendor/lua/lgc.h +110 -0
- data/test/fixtures/app/vendor/lua/liblua.a +0 -0
- data/test/fixtures/app/vendor/lua/linit.c +38 -0
- data/test/fixtures/app/vendor/lua/liolib.c +532 -0
- data/test/fixtures/app/vendor/lua/llex.c +461 -0
- data/test/fixtures/app/vendor/lua/llex.h +81 -0
- data/test/fixtures/app/vendor/lua/llimits.h +128 -0
- data/test/fixtures/app/vendor/lua/lmathlib.c +263 -0
- data/test/fixtures/app/vendor/lua/lmem.c +86 -0
- data/test/fixtures/app/vendor/lua/lmem.h +49 -0
- data/test/fixtures/app/vendor/lua/loadlib.c +664 -0
- data/test/fixtures/app/vendor/lua/lobject.c +214 -0
- data/test/fixtures/app/vendor/lua/lobject.h +381 -0
- data/test/fixtures/app/vendor/lua/lopcodes.c +102 -0
- data/test/fixtures/app/vendor/lua/lopcodes.h +268 -0
- data/test/fixtures/app/vendor/lua/loslib.c +244 -0
- data/test/fixtures/app/vendor/lua/lparser.c +1337 -0
- data/test/fixtures/app/vendor/lua/lparser.h +82 -0
- data/test/fixtures/app/vendor/lua/lstate.c +214 -0
- data/test/fixtures/app/vendor/lua/lstate.h +168 -0
- data/test/fixtures/app/vendor/lua/lstring.c +111 -0
- data/test/fixtures/app/vendor/lua/lstring.h +31 -0
- data/test/fixtures/app/vendor/lua/lstrlib.c +868 -0
- data/test/fixtures/app/vendor/lua/ltable.c +588 -0
- data/test/fixtures/app/vendor/lua/ltable.h +40 -0
- data/test/fixtures/app/vendor/lua/ltablib.c +278 -0
- data/test/fixtures/app/vendor/lua/ltm.c +75 -0
- data/test/fixtures/app/vendor/lua/ltm.h +54 -0
- data/test/fixtures/app/vendor/lua/lua.c +695 -0
- data/test/fixtures/app/vendor/lua/lua.h +385 -0
- data/test/fixtures/app/vendor/lua/lua_dub_helper.h +77 -0
- data/test/fixtures/app/vendor/lua/luac +0 -0
- data/test/fixtures/app/vendor/lua/luac.c +200 -0
- data/test/fixtures/app/vendor/lua/luaconf.h +762 -0
- data/test/fixtures/app/vendor/lua/lualib.h +53 -0
- data/test/fixtures/app/vendor/lua/lundump.c +223 -0
- data/test/fixtures/app/vendor/lua/lundump.h +36 -0
- data/test/fixtures/app/vendor/lua/lvm.c +765 -0
- data/test/fixtures/app/vendor/lua/lvm.h +36 -0
- data/test/fixtures/app/vendor/lua/lzio.c +82 -0
- data/test/fixtures/app/vendor/lua/lzio.h +67 -0
- data/test/fixtures/app/vendor/lua/matrix.h +102 -0
- data/test/fixtures/app/vendor/lua/print.c +227 -0
- data/test/fixtures/app/vendor/lua/test/README +26 -0
- data/test/fixtures/app/vendor/lua/test/bisect.lua +27 -0
- data/test/fixtures/app/vendor/lua/test/cf.lua +16 -0
- data/test/fixtures/app/vendor/lua/test/echo.lua +5 -0
- data/test/fixtures/app/vendor/lua/test/env.lua +7 -0
- data/test/fixtures/app/vendor/lua/test/factorial.lua +32 -0
- data/test/fixtures/app/vendor/lua/test/fib.lua +40 -0
- data/test/fixtures/app/vendor/lua/test/fibfor.lua +13 -0
- data/test/fixtures/app/vendor/lua/test/globals.lua +13 -0
- data/test/fixtures/app/vendor/lua/test/hello.lua +3 -0
- data/test/fixtures/app/vendor/lua/test/life.lua +111 -0
- data/test/fixtures/app/vendor/lua/test/luac.lua +7 -0
- data/test/fixtures/app/vendor/lua/test/printf.lua +7 -0
- data/test/fixtures/app/vendor/lua/test/readonly.lua +12 -0
- data/test/fixtures/app/vendor/lua/test/sieve.lua +29 -0
- data/test/fixtures/app/vendor/lua/test/sort.lua +66 -0
- data/test/fixtures/app/vendor/lua/test/table.lua +12 -0
- data/test/fixtures/app/vendor/lua/test/trace-calls.lua +32 -0
- data/test/fixtures/app/vendor/lua/test/trace-globals.lua +38 -0
- data/test/fixtures/app/vendor/lua/test/xd.lua +14 -0
- data/test/fixtures/app/xml/classdub_1_1_base.xml +85 -0
- data/test/fixtures/app/xml/classdub_1_1_custom_destructor.xml +67 -0
- data/test/fixtures/app/xml/classdub_1_1_deletable_out_of_lua.xml +43 -0
- data/test/fixtures/app/xml/classdub_1_1_matrix.xml +482 -0
- data/test/fixtures/app/xml/classdub_1_1_no_destructor.xml +49 -0
- data/test/fixtures/app/xml/classdub_1_1_priv_sub_base.xml +89 -0
- data/test/fixtures/app/xml/classdub_1_1_private_constr.xml +68 -0
- data/test/fixtures/app/xml/classdub_1_1_static_constr.xml +69 -0
- data/test/fixtures/app/xml/classdub_1_1_sub_base.xml +89 -0
- data/test/fixtures/app/xml/classdub_1_1_t_mat.xml +252 -0
- data/test/fixtures/app/xml/combine.xslt +15 -0
- data/test/fixtures/app/xml/compound.xsd +814 -0
- data/test/fixtures/app/xml/dir_53661a2bdeb1d55e60581a7e15deb763.xml +12 -0
- data/test/fixtures/app/xml/index.xml +91 -0
- data/test/fixtures/app/xml/index.xsd +66 -0
- data/test/fixtures/app/xml/matrix_8h.xml +310 -0
- data/test/fixtures/app/xml/namespacedub.xml +48 -0
- data/test/fixtures/classcv_1_1_mat.xml +1996 -0
- data/test/fixtures/classcv_1_1_point__.xml +341 -0
- data/test/fixtures/classcv_1_1_scalar__.xml +269 -0
- data/test/fixtures/classcv_1_1_size__.xml +270 -0
- data/test/fixtures/dummy_class.cpp.erb +1 -0
- data/test/fixtures/dummy_function.cpp.erb +1 -0
- data/test/fixtures/group___magic_type.xml +406 -0
- data/test/fixtures/namespacecv.xml +12659 -0
- data/test/function_group_test.rb +43 -0
- data/test/function_test.rb +405 -0
- data/test/group_test.rb +241 -0
- data/test/helper.rb +34 -0
- data/test/klass_test.rb +551 -0
- data/test/lua_function_gen_test.rb +242 -0
- data/test/namespace_test.rb +220 -0
- data/test/parser_test.rb +36 -0
- metadata +229 -272
- checksums.yaml +0 -7
- data/lib/open_api_sdk/analytics.rb +0 -99
- data/lib/open_api_sdk/domains.rb +0 -353
- data/lib/open_api_sdk/dub.rb +0 -88
- data/lib/open_api_sdk/links.rb +0 -766
- data/lib/open_api_sdk/metatags.rb +0 -54
- data/lib/open_api_sdk/models/operations/bulkcreatelinks_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/bulkupdatelinks_requestbody.rb +0 -27
- data/lib/open_api_sdk/models/operations/bulkupdatelinks_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/color.rb +0 -24
- data/lib/open_api_sdk/models/operations/createdomain_requestbody.rb +0 -33
- data/lib/open_api_sdk/models/operations/createdomain_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/createlink_requestbody.rb +0 -95
- data/lib/open_api_sdk/models/operations/createlink_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/createtag_requestbody.rb +0 -32
- data/lib/open_api_sdk/models/operations/createtag_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/data.rb +0 -83
- data/lib/open_api_sdk/models/operations/deletedomain_request.rb +0 -24
- data/lib/open_api_sdk/models/operations/deletedomain_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/deletedomain_responsebody.rb +0 -24
- data/lib/open_api_sdk/models/operations/deletelink_request.rb +0 -24
- data/lib/open_api_sdk/models/operations/deletelink_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/deletelink_responsebody.rb +0 -24
- data/lib/open_api_sdk/models/operations/event.rb +0 -21
- data/lib/open_api_sdk/models/operations/getlinkinfo_request.rb +0 -33
- data/lib/open_api_sdk/models/operations/getlinkinfo_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/getlinks_request.rb +0 -51
- data/lib/open_api_sdk/models/operations/getlinks_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/getlinkscount_request.rb +0 -48
- data/lib/open_api_sdk/models/operations/getlinkscount_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/getmetatags_request.rb +0 -24
- data/lib/open_api_sdk/models/operations/getmetatags_response.rb +0 -33
- data/lib/open_api_sdk/models/operations/getmetatags_responsebody.rb +0 -30
- data/lib/open_api_sdk/models/operations/getqrcode_request.rb +0 -39
- data/lib/open_api_sdk/models/operations/getqrcode_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/gettags_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/getworkspace_request.rb +0 -24
- data/lib/open_api_sdk/models/operations/getworkspace_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/groupby.rb +0 -28
- data/lib/open_api_sdk/models/operations/interval.rb +0 -25
- data/lib/open_api_sdk/models/operations/level.rb +0 -21
- data/lib/open_api_sdk/models/operations/listdomains_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/paymentprocessor.rb +0 -20
- data/lib/open_api_sdk/models/operations/requestbody.rb +0 -95
- data/lib/open_api_sdk/models/operations/retrieveanalytics_request.rb +0 -81
- data/lib/open_api_sdk/models/operations/retrieveanalytics_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/sort.rb +0 -20
- data/lib/open_api_sdk/models/operations/trackcustomer_requestbody.rb +0 -33
- data/lib/open_api_sdk/models/operations/trackcustomer_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/trackcustomer_responsebody.rb +0 -33
- data/lib/open_api_sdk/models/operations/tracklead_requestbody.rb +0 -42
- data/lib/open_api_sdk/models/operations/tracklead_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/tracklead_responsebody.rb +0 -42
- data/lib/open_api_sdk/models/operations/tracksale_requestbody.rb +0 -42
- data/lib/open_api_sdk/models/operations/tracksale_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/tracksale_responsebody.rb +0 -42
- data/lib/open_api_sdk/models/operations/updatedomain_request.rb +0 -27
- data/lib/open_api_sdk/models/operations/updatedomain_requestbody.rb +0 -33
- data/lib/open_api_sdk/models/operations/updatedomain_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/updatelink_request.rb +0 -27
- data/lib/open_api_sdk/models/operations/updatelink_requestbody.rb +0 -95
- data/lib/open_api_sdk/models/operations/updatelink_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/updatetag_color.rb +0 -24
- data/lib/open_api_sdk/models/operations/updatetag_request.rb +0 -27
- data/lib/open_api_sdk/models/operations/updatetag_requestbody.rb +0 -32
- data/lib/open_api_sdk/models/operations/updatetag_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/updateworkspace_request.rb +0 -27
- data/lib/open_api_sdk/models/operations/updateworkspace_requestbody.rb +0 -27
- data/lib/open_api_sdk/models/operations/updateworkspace_response.rb +0 -60
- data/lib/open_api_sdk/models/operations/upsertlink_requestbody.rb +0 -95
- data/lib/open_api_sdk/models/operations/upsertlink_response.rb +0 -60
- data/lib/open_api_sdk/models/operations.rb +0 -74
- data/lib/open_api_sdk/models/shared/badrequest.rb +0 -24
- data/lib/open_api_sdk/models/shared/code.rb +0 -18
- data/lib/open_api_sdk/models/shared/color.rb +0 -24
- data/lib/open_api_sdk/models/shared/conflict.rb +0 -24
- data/lib/open_api_sdk/models/shared/conflict_code.rb +0 -18
- data/lib/open_api_sdk/models/shared/conflict_error.rb +0 -30
- data/lib/open_api_sdk/models/shared/countrycode.rb +0 -267
- data/lib/open_api_sdk/models/shared/domains.rb +0 -27
- data/lib/open_api_sdk/models/shared/domainschema.rb +0 -48
- data/lib/open_api_sdk/models/shared/error.rb +0 -30
- data/lib/open_api_sdk/models/shared/forbidden.rb +0 -24
- data/lib/open_api_sdk/models/shared/forbidden_code.rb +0 -18
- data/lib/open_api_sdk/models/shared/forbidden_error.rb +0 -30
- data/lib/open_api_sdk/models/shared/geo.rb +0 -771
- data/lib/open_api_sdk/models/shared/internalservererror.rb +0 -24
- data/lib/open_api_sdk/models/shared/internalservererror_code.rb +0 -18
- data/lib/open_api_sdk/models/shared/internalservererror_error.rb +0 -30
- data/lib/open_api_sdk/models/shared/inviteexpired.rb +0 -24
- data/lib/open_api_sdk/models/shared/inviteexpired_code.rb +0 -18
- data/lib/open_api_sdk/models/shared/inviteexpired_error.rb +0 -30
- data/lib/open_api_sdk/models/shared/linkgeotargeting.rb +0 -771
- data/lib/open_api_sdk/models/shared/linkschema.rb +0 -142
- data/lib/open_api_sdk/models/shared/notfound.rb +0 -24
- data/lib/open_api_sdk/models/shared/notfound_code.rb +0 -18
- data/lib/open_api_sdk/models/shared/notfound_error.rb +0 -30
- data/lib/open_api_sdk/models/shared/plan.rb +0 -24
- data/lib/open_api_sdk/models/shared/ratelimitexceeded.rb +0 -24
- data/lib/open_api_sdk/models/shared/ratelimitexceeded_code.rb +0 -18
- data/lib/open_api_sdk/models/shared/ratelimitexceeded_error.rb +0 -30
- data/lib/open_api_sdk/models/shared/role.rb +0 -19
- data/lib/open_api_sdk/models/shared/security.rb +0 -24
- data/lib/open_api_sdk/models/shared/tagschema.rb +0 -30
- data/lib/open_api_sdk/models/shared/unauthorized.rb +0 -24
- data/lib/open_api_sdk/models/shared/unauthorized_code.rb +0 -18
- data/lib/open_api_sdk/models/shared/unauthorized_error.rb +0 -30
- data/lib/open_api_sdk/models/shared/unprocessableentity.rb +0 -24
- data/lib/open_api_sdk/models/shared/unprocessableentity_code.rb +0 -18
- data/lib/open_api_sdk/models/shared/unprocessableentity_error.rb +0 -30
- data/lib/open_api_sdk/models/shared/users.rb +0 -24
- data/lib/open_api_sdk/models/shared/workspaceschema.rb +0 -81
- data/lib/open_api_sdk/models/shared.rb +0 -49
- data/lib/open_api_sdk/qr_codes.rb +0 -97
- data/lib/open_api_sdk/sdkconfiguration.rb +0 -52
- data/lib/open_api_sdk/tags.rb +0 -272
- data/lib/open_api_sdk/track.rb +0 -276
- data/lib/open_api_sdk/utils/metadata_fields.rb +0 -150
- data/lib/open_api_sdk/utils/t.rb +0 -59
- data/lib/open_api_sdk/utils/utils.rb +0 -772
- data/lib/open_api_sdk/workspaces.rb +0 -192
metadata
CHANGED
@@ -1,292 +1,249 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: dub
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 23
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 0
|
9
|
+
- 0
|
10
|
+
version: 1.0.0
|
5
11
|
platform: ruby
|
6
|
-
authors:
|
7
|
-
-
|
12
|
+
authors:
|
13
|
+
- Gaspard Bucher
|
8
14
|
autorequire:
|
9
15
|
bindir: bin
|
10
16
|
cert_chain: []
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
requirements:
|
17
|
-
- - ">="
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - ">="
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: faraday-multipart
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: rack
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - ">="
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
48
|
-
type: :runtime
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - ">="
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rake
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - ">="
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
62
|
-
type: :runtime
|
17
|
+
|
18
|
+
date: 2011-09-04 00:00:00 Z
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: hpricot
|
63
22
|
prerelease: false
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
- - ">="
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '0'
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
none: false
|
25
|
+
requirements:
|
26
|
+
- - ">="
|
27
|
+
- !ruby/object:Gem::Version
|
28
|
+
hash: 3
|
29
|
+
segments:
|
30
|
+
- 0
|
31
|
+
version: "0"
|
76
32
|
type: :runtime
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: shoulda
|
77
36
|
prerelease: false
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
90
|
-
type: :development
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: rubocop
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: sorbet-runtime
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: tapioca
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
none: false
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
hash: 3
|
43
|
+
segments:
|
44
|
+
- 0
|
45
|
+
version: "0"
|
132
46
|
type: :development
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
version: '0'
|
139
|
-
description: Ruby Client SDK Generated by Speakeasy
|
140
|
-
email:
|
47
|
+
version_requirements: *id002
|
48
|
+
description: |-
|
49
|
+
This is a tool to ease the creation of scripting language bindings for a C++ library.
|
50
|
+
It is currently developed to crete the OpenCV bindings for Lua in Rubyk (http://rubyk.org). The generator uses the xml output from Doxygen to avoid parsing C++ code by itself.
|
51
|
+
email: gaspard@teti.ch
|
141
52
|
executables: []
|
53
|
+
|
142
54
|
extensions: []
|
143
|
-
|
144
|
-
|
55
|
+
|
56
|
+
extra_rdoc_files:
|
57
|
+
- LICENSE
|
58
|
+
- README.rdoc
|
59
|
+
files:
|
60
|
+
- History.txt
|
61
|
+
- LICENSE
|
62
|
+
- README.rdoc
|
63
|
+
- Rakefile
|
64
|
+
- dub.gemspec
|
145
65
|
- lib/dub.rb
|
146
|
-
- lib/
|
147
|
-
- lib/
|
148
|
-
- lib/
|
149
|
-
- lib/
|
150
|
-
- lib/
|
151
|
-
- lib/
|
152
|
-
- lib/
|
153
|
-
- lib/
|
154
|
-
- lib/
|
155
|
-
- lib/
|
156
|
-
- lib/
|
157
|
-
- lib/
|
158
|
-
- lib/
|
159
|
-
- lib/
|
160
|
-
- lib/
|
161
|
-
- lib/
|
162
|
-
- lib/
|
163
|
-
- lib/
|
164
|
-
- lib/
|
165
|
-
- lib/
|
166
|
-
- lib/
|
167
|
-
- lib/
|
168
|
-
- lib/
|
169
|
-
- lib/
|
170
|
-
- lib/
|
171
|
-
-
|
172
|
-
-
|
173
|
-
-
|
174
|
-
-
|
175
|
-
-
|
176
|
-
-
|
177
|
-
-
|
178
|
-
-
|
179
|
-
-
|
180
|
-
-
|
181
|
-
-
|
182
|
-
-
|
183
|
-
-
|
184
|
-
-
|
185
|
-
-
|
186
|
-
-
|
187
|
-
-
|
188
|
-
-
|
189
|
-
-
|
190
|
-
-
|
191
|
-
-
|
192
|
-
-
|
193
|
-
-
|
194
|
-
-
|
195
|
-
-
|
196
|
-
-
|
197
|
-
-
|
198
|
-
-
|
199
|
-
-
|
200
|
-
-
|
201
|
-
-
|
202
|
-
-
|
203
|
-
-
|
204
|
-
-
|
205
|
-
-
|
206
|
-
-
|
207
|
-
-
|
208
|
-
-
|
209
|
-
-
|
210
|
-
-
|
211
|
-
-
|
212
|
-
-
|
213
|
-
-
|
214
|
-
-
|
215
|
-
-
|
216
|
-
-
|
217
|
-
-
|
218
|
-
-
|
219
|
-
-
|
220
|
-
-
|
221
|
-
-
|
222
|
-
-
|
223
|
-
-
|
224
|
-
-
|
225
|
-
-
|
226
|
-
-
|
227
|
-
-
|
228
|
-
-
|
229
|
-
-
|
230
|
-
-
|
231
|
-
-
|
232
|
-
-
|
233
|
-
-
|
234
|
-
-
|
235
|
-
-
|
236
|
-
-
|
237
|
-
-
|
238
|
-
-
|
239
|
-
-
|
240
|
-
-
|
241
|
-
-
|
242
|
-
-
|
243
|
-
-
|
244
|
-
-
|
245
|
-
-
|
246
|
-
-
|
247
|
-
-
|
248
|
-
-
|
249
|
-
-
|
250
|
-
-
|
251
|
-
-
|
252
|
-
-
|
253
|
-
-
|
254
|
-
-
|
255
|
-
-
|
256
|
-
-
|
257
|
-
-
|
258
|
-
-
|
259
|
-
-
|
260
|
-
-
|
261
|
-
-
|
262
|
-
-
|
263
|
-
-
|
264
|
-
-
|
265
|
-
-
|
266
|
-
|
267
|
-
|
268
|
-
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
66
|
+
- lib/dub/argument.rb
|
67
|
+
- lib/dub/entities_unescape.rb
|
68
|
+
- lib/dub/function.rb
|
69
|
+
- lib/dub/function_group.rb
|
70
|
+
- lib/dub/generator.rb
|
71
|
+
- lib/dub/group.rb
|
72
|
+
- lib/dub/klass.rb
|
73
|
+
- lib/dub/lua.rb
|
74
|
+
- lib/dub/lua/class.cpp.erb
|
75
|
+
- lib/dub/lua/class_gen.rb
|
76
|
+
- lib/dub/lua/function.cpp.erb
|
77
|
+
- lib/dub/lua/function_gen.rb
|
78
|
+
- lib/dub/lua/group.cpp.erb
|
79
|
+
- lib/dub/lua/lua_cpp_helper.cpp
|
80
|
+
- lib/dub/lua/lua_cpp_helper.h
|
81
|
+
- lib/dub/lua/lua_object.cpp
|
82
|
+
- lib/dub/lua/lua_object.h
|
83
|
+
- lib/dub/lua/namespace.cpp.erb
|
84
|
+
- lib/dub/lua/namespace_gen.rb
|
85
|
+
- lib/dub/member_extraction.rb
|
86
|
+
- lib/dub/namespace.rb
|
87
|
+
- lib/dub/opts_parser.rb
|
88
|
+
- lib/dub/parser.rb
|
89
|
+
- lib/dub/templates/lua_template.erb
|
90
|
+
- lib/dub/version.rb
|
91
|
+
- test/argument_test.rb
|
92
|
+
- test/fixtures/app/CMakeLists.txt
|
93
|
+
- test/fixtures/app/Doxyfile
|
94
|
+
- test/fixtures/app/bindings/all_lua.cpp
|
95
|
+
- test/fixtures/app/include/matrix.h
|
96
|
+
- test/fixtures/app/make_lua_bindings.rb
|
97
|
+
- test/fixtures/app/vendor/lua/CMakeLists.txt
|
98
|
+
- test/fixtures/app/vendor/lua/COPYRIGHT
|
99
|
+
- test/fixtures/app/vendor/lua/HISTORY
|
100
|
+
- test/fixtures/app/vendor/lua/INSTALL
|
101
|
+
- test/fixtures/app/vendor/lua/Makefile
|
102
|
+
- test/fixtures/app/vendor/lua/README
|
103
|
+
- test/fixtures/app/vendor/lua/lapi.c
|
104
|
+
- test/fixtures/app/vendor/lua/lapi.h
|
105
|
+
- test/fixtures/app/vendor/lua/lauxlib.c
|
106
|
+
- test/fixtures/app/vendor/lua/lauxlib.h
|
107
|
+
- test/fixtures/app/vendor/lua/lbaselib.c
|
108
|
+
- test/fixtures/app/vendor/lua/lcode.c
|
109
|
+
- test/fixtures/app/vendor/lua/lcode.h
|
110
|
+
- test/fixtures/app/vendor/lua/ldblib.c
|
111
|
+
- test/fixtures/app/vendor/lua/ldebug.c
|
112
|
+
- test/fixtures/app/vendor/lua/ldebug.h
|
113
|
+
- test/fixtures/app/vendor/lua/ldo.c
|
114
|
+
- test/fixtures/app/vendor/lua/ldo.h
|
115
|
+
- test/fixtures/app/vendor/lua/ldump.c
|
116
|
+
- test/fixtures/app/vendor/lua/lfunc.c
|
117
|
+
- test/fixtures/app/vendor/lua/lfunc.h
|
118
|
+
- test/fixtures/app/vendor/lua/lgc.c
|
119
|
+
- test/fixtures/app/vendor/lua/lgc.h
|
120
|
+
- test/fixtures/app/vendor/lua/liblua.a
|
121
|
+
- test/fixtures/app/vendor/lua/linit.c
|
122
|
+
- test/fixtures/app/vendor/lua/liolib.c
|
123
|
+
- test/fixtures/app/vendor/lua/llex.c
|
124
|
+
- test/fixtures/app/vendor/lua/llex.h
|
125
|
+
- test/fixtures/app/vendor/lua/llimits.h
|
126
|
+
- test/fixtures/app/vendor/lua/lmathlib.c
|
127
|
+
- test/fixtures/app/vendor/lua/lmem.c
|
128
|
+
- test/fixtures/app/vendor/lua/lmem.h
|
129
|
+
- test/fixtures/app/vendor/lua/loadlib.c
|
130
|
+
- test/fixtures/app/vendor/lua/lobject.c
|
131
|
+
- test/fixtures/app/vendor/lua/lobject.h
|
132
|
+
- test/fixtures/app/vendor/lua/lopcodes.c
|
133
|
+
- test/fixtures/app/vendor/lua/lopcodes.h
|
134
|
+
- test/fixtures/app/vendor/lua/loslib.c
|
135
|
+
- test/fixtures/app/vendor/lua/lparser.c
|
136
|
+
- test/fixtures/app/vendor/lua/lparser.h
|
137
|
+
- test/fixtures/app/vendor/lua/lstate.c
|
138
|
+
- test/fixtures/app/vendor/lua/lstate.h
|
139
|
+
- test/fixtures/app/vendor/lua/lstring.c
|
140
|
+
- test/fixtures/app/vendor/lua/lstring.h
|
141
|
+
- test/fixtures/app/vendor/lua/lstrlib.c
|
142
|
+
- test/fixtures/app/vendor/lua/ltable.c
|
143
|
+
- test/fixtures/app/vendor/lua/ltable.h
|
144
|
+
- test/fixtures/app/vendor/lua/ltablib.c
|
145
|
+
- test/fixtures/app/vendor/lua/ltm.c
|
146
|
+
- test/fixtures/app/vendor/lua/ltm.h
|
147
|
+
- test/fixtures/app/vendor/lua/lua.c
|
148
|
+
- test/fixtures/app/vendor/lua/lua.h
|
149
|
+
- test/fixtures/app/vendor/lua/lua_dub_helper.h
|
150
|
+
- test/fixtures/app/vendor/lua/luac
|
151
|
+
- test/fixtures/app/vendor/lua/luac.c
|
152
|
+
- test/fixtures/app/vendor/lua/luaconf.h
|
153
|
+
- test/fixtures/app/vendor/lua/lualib.h
|
154
|
+
- test/fixtures/app/vendor/lua/lundump.c
|
155
|
+
- test/fixtures/app/vendor/lua/lundump.h
|
156
|
+
- test/fixtures/app/vendor/lua/lvm.c
|
157
|
+
- test/fixtures/app/vendor/lua/lvm.h
|
158
|
+
- test/fixtures/app/vendor/lua/lzio.c
|
159
|
+
- test/fixtures/app/vendor/lua/lzio.h
|
160
|
+
- test/fixtures/app/vendor/lua/matrix.h
|
161
|
+
- test/fixtures/app/vendor/lua/print.c
|
162
|
+
- test/fixtures/app/vendor/lua/test/README
|
163
|
+
- test/fixtures/app/vendor/lua/test/bisect.lua
|
164
|
+
- test/fixtures/app/vendor/lua/test/cf.lua
|
165
|
+
- test/fixtures/app/vendor/lua/test/echo.lua
|
166
|
+
- test/fixtures/app/vendor/lua/test/env.lua
|
167
|
+
- test/fixtures/app/vendor/lua/test/factorial.lua
|
168
|
+
- test/fixtures/app/vendor/lua/test/fib.lua
|
169
|
+
- test/fixtures/app/vendor/lua/test/fibfor.lua
|
170
|
+
- test/fixtures/app/vendor/lua/test/globals.lua
|
171
|
+
- test/fixtures/app/vendor/lua/test/hello.lua
|
172
|
+
- test/fixtures/app/vendor/lua/test/life.lua
|
173
|
+
- test/fixtures/app/vendor/lua/test/luac.lua
|
174
|
+
- test/fixtures/app/vendor/lua/test/printf.lua
|
175
|
+
- test/fixtures/app/vendor/lua/test/readonly.lua
|
176
|
+
- test/fixtures/app/vendor/lua/test/sieve.lua
|
177
|
+
- test/fixtures/app/vendor/lua/test/sort.lua
|
178
|
+
- test/fixtures/app/vendor/lua/test/table.lua
|
179
|
+
- test/fixtures/app/vendor/lua/test/trace-calls.lua
|
180
|
+
- test/fixtures/app/vendor/lua/test/trace-globals.lua
|
181
|
+
- test/fixtures/app/vendor/lua/test/xd.lua
|
182
|
+
- test/fixtures/app/xml/classdub_1_1_base.xml
|
183
|
+
- test/fixtures/app/xml/classdub_1_1_custom_destructor.xml
|
184
|
+
- test/fixtures/app/xml/classdub_1_1_deletable_out_of_lua.xml
|
185
|
+
- test/fixtures/app/xml/classdub_1_1_matrix.xml
|
186
|
+
- test/fixtures/app/xml/classdub_1_1_no_destructor.xml
|
187
|
+
- test/fixtures/app/xml/classdub_1_1_priv_sub_base.xml
|
188
|
+
- test/fixtures/app/xml/classdub_1_1_private_constr.xml
|
189
|
+
- test/fixtures/app/xml/classdub_1_1_static_constr.xml
|
190
|
+
- test/fixtures/app/xml/classdub_1_1_sub_base.xml
|
191
|
+
- test/fixtures/app/xml/classdub_1_1_t_mat.xml
|
192
|
+
- test/fixtures/app/xml/combine.xslt
|
193
|
+
- test/fixtures/app/xml/compound.xsd
|
194
|
+
- test/fixtures/app/xml/dir_53661a2bdeb1d55e60581a7e15deb763.xml
|
195
|
+
- test/fixtures/app/xml/index.xml
|
196
|
+
- test/fixtures/app/xml/index.xsd
|
197
|
+
- test/fixtures/app/xml/matrix_8h.xml
|
198
|
+
- test/fixtures/app/xml/namespacedub.xml
|
199
|
+
- test/fixtures/classcv_1_1_mat.xml
|
200
|
+
- test/fixtures/classcv_1_1_point__.xml
|
201
|
+
- test/fixtures/classcv_1_1_scalar__.xml
|
202
|
+
- test/fixtures/classcv_1_1_size__.xml
|
203
|
+
- test/fixtures/dummy_class.cpp.erb
|
204
|
+
- test/fixtures/dummy_function.cpp.erb
|
205
|
+
- test/fixtures/group___magic_type.xml
|
206
|
+
- test/fixtures/namespacecv.xml
|
207
|
+
- test/function_group_test.rb
|
208
|
+
- test/function_test.rb
|
209
|
+
- test/group_test.rb
|
210
|
+
- test/helper.rb
|
211
|
+
- test/klass_test.rb
|
212
|
+
- test/lua_function_gen_test.rb
|
213
|
+
- test/namespace_test.rb
|
214
|
+
- test/parser_test.rb
|
215
|
+
homepage: http://rubyk.org/en/project311.html
|
216
|
+
licenses: []
|
217
|
+
|
273
218
|
post_install_message:
|
274
219
|
rdoc_options: []
|
275
|
-
|
220
|
+
|
221
|
+
require_paths:
|
276
222
|
- lib
|
277
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
278
|
-
|
223
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
224
|
+
none: false
|
225
|
+
requirements:
|
279
226
|
- - ">="
|
280
|
-
- !ruby/object:Gem::Version
|
281
|
-
|
282
|
-
|
283
|
-
|
227
|
+
- !ruby/object:Gem::Version
|
228
|
+
hash: 3
|
229
|
+
segments:
|
230
|
+
- 0
|
231
|
+
version: "0"
|
232
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
233
|
+
none: false
|
234
|
+
requirements:
|
284
235
|
- - ">="
|
285
|
-
- !ruby/object:Gem::Version
|
286
|
-
|
236
|
+
- !ruby/object:Gem::Version
|
237
|
+
hash: 3
|
238
|
+
segments:
|
239
|
+
- 0
|
240
|
+
version: "0"
|
287
241
|
requirements: []
|
288
|
-
|
242
|
+
|
243
|
+
rubyforge_project:
|
244
|
+
rubygems_version: 1.8.6
|
289
245
|
signing_key:
|
290
|
-
specification_version:
|
291
|
-
summary:
|
246
|
+
specification_version: 3
|
247
|
+
summary: A tool to ease the creation of scripting language bindings for a C++ library.
|
292
248
|
test_files: []
|
249
|
+
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA256:
|
3
|
-
metadata.gz: 48b0ebc59e580c1bb1c8ee97532ee1f5f4af5ba787f2df57b5b70fac67b017ea
|
4
|
-
data.tar.gz: c02ce3ffdbe5c884232e523147d2947f43ce09c37ba17f6a482f921b8a4c4e3a
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 6177c08e1ac5c970e9ea49d9b564d3b9025fd9b5506c5f1063acb558f4f4a9dcfd2c602751b2bdadb6ce2b3f805227f88c0ebd8e7028c756f4eed9cd746b2685
|
7
|
-
data.tar.gz: 664da895006e157ac145674b00a0db15ebdfb1eb05492b9c434ff114cdf2271ebd7090188eaaa0d3d56e10b020731b5d8d12cc759a3b1b038d30956bde91e137
|
@@ -1,99 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'faraday'
|
7
|
-
require 'faraday/multipart'
|
8
|
-
require 'sorbet-runtime'
|
9
|
-
|
10
|
-
module OpenApiSDK
|
11
|
-
extend T::Sig
|
12
|
-
class Analytics
|
13
|
-
extend T::Sig
|
14
|
-
|
15
|
-
|
16
|
-
sig { params(sdk_config: SDKConfiguration).void }
|
17
|
-
def initialize(sdk_config)
|
18
|
-
@sdk_configuration = sdk_config
|
19
|
-
end
|
20
|
-
|
21
|
-
|
22
|
-
sig { params(request: T.nilable(::OpenApiSDK::Operations::RetrieveAnalyticsRequest)).returns(::OpenApiSDK::Operations::RetrieveAnalyticsResponse) }
|
23
|
-
def retrieve(request)
|
24
|
-
# retrieve - Retrieve analytics for a link, a domain, or the authenticated workspace.
|
25
|
-
# Retrieve analytics for a link, a domain, or the authenticated workspace. The response type depends on the `event` and `type` query parameters.
|
26
|
-
url, params = @sdk_configuration.get_server_details
|
27
|
-
base_url = Utils.template_url(url, params)
|
28
|
-
url = "#{base_url}/analytics"
|
29
|
-
headers = {}
|
30
|
-
query_params = Utils.get_query_params(::OpenApiSDK::Operations::RetrieveAnalyticsRequest, request)
|
31
|
-
headers['Accept'] = 'application/json'
|
32
|
-
headers['user-agent'] = @sdk_configuration.user_agent
|
33
|
-
|
34
|
-
r = @sdk_configuration.client.get(url) do |req|
|
35
|
-
req.headers = headers
|
36
|
-
req.params = query_params
|
37
|
-
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
38
|
-
end
|
39
|
-
|
40
|
-
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
41
|
-
|
42
|
-
res = ::OpenApiSDK::Operations::RetrieveAnalyticsResponse.new(
|
43
|
-
status_code: r.status, content_type: content_type, raw_response: r
|
44
|
-
)
|
45
|
-
if r.status == 200
|
46
|
-
if Utils.match_content_type(content_type, 'application/json')
|
47
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::Object)
|
48
|
-
res.one_of = out
|
49
|
-
end
|
50
|
-
elsif r.status == 400
|
51
|
-
if Utils.match_content_type(content_type, 'application/json')
|
52
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::BadRequest)
|
53
|
-
res.bad_request = out
|
54
|
-
end
|
55
|
-
elsif r.status == 401
|
56
|
-
if Utils.match_content_type(content_type, 'application/json')
|
57
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::Unauthorized)
|
58
|
-
res.unauthorized = out
|
59
|
-
end
|
60
|
-
elsif r.status == 403
|
61
|
-
if Utils.match_content_type(content_type, 'application/json')
|
62
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::Forbidden)
|
63
|
-
res.forbidden = out
|
64
|
-
end
|
65
|
-
elsif r.status == 404
|
66
|
-
if Utils.match_content_type(content_type, 'application/json')
|
67
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::NotFound)
|
68
|
-
res.not_found = out
|
69
|
-
end
|
70
|
-
elsif r.status == 409
|
71
|
-
if Utils.match_content_type(content_type, 'application/json')
|
72
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::Conflict)
|
73
|
-
res.conflict = out
|
74
|
-
end
|
75
|
-
elsif r.status == 410
|
76
|
-
if Utils.match_content_type(content_type, 'application/json')
|
77
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::InviteExpired)
|
78
|
-
res.invite_expired = out
|
79
|
-
end
|
80
|
-
elsif r.status == 422
|
81
|
-
if Utils.match_content_type(content_type, 'application/json')
|
82
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::UnprocessableEntity)
|
83
|
-
res.unprocessable_entity = out
|
84
|
-
end
|
85
|
-
elsif r.status == 429
|
86
|
-
if Utils.match_content_type(content_type, 'application/json')
|
87
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::RateLimitExceeded)
|
88
|
-
res.rate_limit_exceeded = out
|
89
|
-
end
|
90
|
-
elsif r.status == 500
|
91
|
-
if Utils.match_content_type(content_type, 'application/json')
|
92
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::OpenApiSDK::Shared::InternalServerError)
|
93
|
-
res.internal_server_error = out
|
94
|
-
end
|
95
|
-
end
|
96
|
-
res
|
97
|
-
end
|
98
|
-
end
|
99
|
-
end
|