daytona_toolbox_api_client 0.126.0.alpha.1
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.
- checksums.yaml +7 -0
- data/.gitignore +39 -0
- data/.openapi-generator/FILES +92 -0
- data/.openapi-generator/VERSION +1 -0
- data/.openapi-generator-ignore +12 -0
- data/.rspec +2 -0
- data/.rubocop.yml +148 -0
- data/Gemfile +9 -0
- data/Gemfile.lock +101 -0
- data/Rakefile +10 -0
- data/daytona_toolbox_api_client.gemspec +39 -0
- data/fix-gemspec.sh +13 -0
- data/lib/daytona_toolbox_api_client/api/computer_use_api.rb +1463 -0
- data/lib/daytona_toolbox_api_client/api/file_system_api.rb +893 -0
- data/lib/daytona_toolbox_api_client/api/git_api.rb +744 -0
- data/lib/daytona_toolbox_api_client/api/info_api.rb +193 -0
- data/lib/daytona_toolbox_api_client/api/interpreter_api.rb +267 -0
- data/lib/daytona_toolbox_api_client/api/lsp_api.rb +510 -0
- data/lib/daytona_toolbox_api_client/api/port_api.rb +142 -0
- data/lib/daytona_toolbox_api_client/api/process_api.rb +938 -0
- data/lib/daytona_toolbox_api_client/api_client.rb +392 -0
- data/lib/daytona_toolbox_api_client/api_error.rb +58 -0
- data/lib/daytona_toolbox_api_client/configuration.rb +297 -0
- data/lib/daytona_toolbox_api_client/models/command.rb +270 -0
- data/lib/daytona_toolbox_api_client/models/completion_context.rb +244 -0
- data/lib/daytona_toolbox_api_client/models/completion_item.rb +289 -0
- data/lib/daytona_toolbox_api_client/models/completion_list.rb +263 -0
- data/lib/daytona_toolbox_api_client/models/computer_use_start_response.rb +229 -0
- data/lib/daytona_toolbox_api_client/models/computer_use_status_response.rb +218 -0
- data/lib/daytona_toolbox_api_client/models/computer_use_stop_response.rb +229 -0
- data/lib/daytona_toolbox_api_client/models/create_context_request.rb +227 -0
- data/lib/daytona_toolbox_api_client/models/create_session_request.rb +235 -0
- data/lib/daytona_toolbox_api_client/models/display_info.rb +263 -0
- data/lib/daytona_toolbox_api_client/models/display_info_response.rb +220 -0
- data/lib/daytona_toolbox_api_client/models/execute_request.rb +255 -0
- data/lib/daytona_toolbox_api_client/models/execute_response.rb +244 -0
- data/lib/daytona_toolbox_api_client/models/file_info.rb +417 -0
- data/lib/daytona_toolbox_api_client/models/file_status.rb +335 -0
- data/lib/daytona_toolbox_api_client/models/files_download_request.rb +237 -0
- data/lib/daytona_toolbox_api_client/models/git_add_request.rb +264 -0
- data/lib/daytona_toolbox_api_client/models/git_branch_request.rb +261 -0
- data/lib/daytona_toolbox_api_client/models/git_checkout_request.rb +261 -0
- data/lib/daytona_toolbox_api_client/models/git_clone_request.rb +297 -0
- data/lib/daytona_toolbox_api_client/models/git_commit_info.rb +339 -0
- data/lib/daytona_toolbox_api_client/models/git_commit_request.rb +322 -0
- data/lib/daytona_toolbox_api_client/models/git_commit_response.rb +235 -0
- data/lib/daytona_toolbox_api_client/models/git_git_delete_branch_request.rb +261 -0
- data/lib/daytona_toolbox_api_client/models/git_repo_request.rb +253 -0
- data/lib/daytona_toolbox_api_client/models/git_status.rb +290 -0
- data/lib/daytona_toolbox_api_client/models/interpreter_context.rb +339 -0
- data/lib/daytona_toolbox_api_client/models/is_port_in_use_response.rb +218 -0
- data/lib/daytona_toolbox_api_client/models/keyboard_hotkey_request.rb +219 -0
- data/lib/daytona_toolbox_api_client/models/keyboard_press_request.rb +230 -0
- data/lib/daytona_toolbox_api_client/models/keyboard_type_request.rb +228 -0
- data/lib/daytona_toolbox_api_client/models/list_branch_response.rb +237 -0
- data/lib/daytona_toolbox_api_client/models/list_contexts_response.rb +237 -0
- data/lib/daytona_toolbox_api_client/models/lsp_completion_params.rb +322 -0
- data/lib/daytona_toolbox_api_client/models/lsp_document_request.rb +287 -0
- data/lib/daytona_toolbox_api_client/models/lsp_location.rb +261 -0
- data/lib/daytona_toolbox_api_client/models/lsp_position.rb +261 -0
- data/lib/daytona_toolbox_api_client/models/lsp_range.rb +261 -0
- data/lib/daytona_toolbox_api_client/models/lsp_server_request.rb +261 -0
- data/lib/daytona_toolbox_api_client/models/lsp_symbol.rb +287 -0
- data/lib/daytona_toolbox_api_client/models/match.rb +287 -0
- data/lib/daytona_toolbox_api_client/models/mouse_click_request.rb +246 -0
- data/lib/daytona_toolbox_api_client/models/mouse_click_response.rb +227 -0
- data/lib/daytona_toolbox_api_client/models/mouse_drag_request.rb +254 -0
- data/lib/daytona_toolbox_api_client/models/mouse_drag_response.rb +227 -0
- data/lib/daytona_toolbox_api_client/models/mouse_move_request.rb +227 -0
- data/lib/daytona_toolbox_api_client/models/mouse_position_response.rb +227 -0
- data/lib/daytona_toolbox_api_client/models/mouse_scroll_request.rb +246 -0
- data/lib/daytona_toolbox_api_client/models/port_list.rb +220 -0
- data/lib/daytona_toolbox_api_client/models/position.rb +227 -0
- data/lib/daytona_toolbox_api_client/models/process_errors_response.rb +227 -0
- data/lib/daytona_toolbox_api_client/models/process_logs_response.rb +227 -0
- data/lib/daytona_toolbox_api_client/models/process_restart_response.rb +227 -0
- data/lib/daytona_toolbox_api_client/models/process_status.rb +245 -0
- data/lib/daytona_toolbox_api_client/models/process_status_response.rb +227 -0
- data/lib/daytona_toolbox_api_client/models/pty_create_request.rb +266 -0
- data/lib/daytona_toolbox_api_client/models/pty_create_response.rb +218 -0
- data/lib/daytona_toolbox_api_client/models/pty_list_response.rb +220 -0
- data/lib/daytona_toolbox_api_client/models/pty_resize_request.rb +297 -0
- data/lib/daytona_toolbox_api_client/models/pty_session_info.rb +284 -0
- data/lib/daytona_toolbox_api_client/models/replace_request.rb +289 -0
- data/lib/daytona_toolbox_api_client/models/replace_result.rb +236 -0
- data/lib/daytona_toolbox_api_client/models/screenshot_response.rb +236 -0
- data/lib/daytona_toolbox_api_client/models/scroll_response.rb +218 -0
- data/lib/daytona_toolbox_api_client/models/search_files_response.rb +237 -0
- data/lib/daytona_toolbox_api_client/models/session.rb +263 -0
- data/lib/daytona_toolbox_api_client/models/session_execute_request.rb +253 -0
- data/lib/daytona_toolbox_api_client/models/session_execute_response.rb +254 -0
- data/lib/daytona_toolbox_api_client/models/status.rb +46 -0
- data/lib/daytona_toolbox_api_client/models/user_home_dir_response.rb +218 -0
- data/lib/daytona_toolbox_api_client/models/window_info.rb +272 -0
- data/lib/daytona_toolbox_api_client/models/windows_response.rb +220 -0
- data/lib/daytona_toolbox_api_client/models/work_dir_response.rb +218 -0
- data/lib/daytona_toolbox_api_client/version.rb +15 -0
- data/lib/daytona_toolbox_api_client.rb +120 -0
- data/project.json +65 -0
- metadata +178 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 7e180eb3839b642360565138155b4311d9bf2c26cc369c7eecf22bd48cb27b4c
|
|
4
|
+
data.tar.gz: 52e3e7f04d4e87fe09e8b3b59ba4d9bcb8fb0f09d2761dff32218e6c31d84e15
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: baf2acf53aedf8ebced8def841c6e4db9eba46c1f702fdf70acbde9defbd7372336e012c92d05f0fc3d31610a9ae1380b07643d97f710d1def24ba1cbadd4d68
|
|
7
|
+
data.tar.gz: 741649111e187f9e7c137fa8b3b6f0bd2787dfafc048dcc46d0b33d0d2729fc6903871c62c78c4c3d7ab2089e46e6020c3601132ec9981b1184dd10ae6eaac14
|
data/.gitignore
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# Generated by: https://openapi-generator.tech
|
|
2
|
+
#
|
|
3
|
+
|
|
4
|
+
*.gem
|
|
5
|
+
*.rbc
|
|
6
|
+
/.config
|
|
7
|
+
/coverage/
|
|
8
|
+
/InstalledFiles
|
|
9
|
+
/pkg/
|
|
10
|
+
/spec/reports/
|
|
11
|
+
/spec/examples.txt
|
|
12
|
+
/test/tmp/
|
|
13
|
+
/test/version_tmp/
|
|
14
|
+
/tmp/
|
|
15
|
+
|
|
16
|
+
## Specific to RubyMotion:
|
|
17
|
+
.dat*
|
|
18
|
+
.repl_history
|
|
19
|
+
build/
|
|
20
|
+
|
|
21
|
+
## Documentation cache and generated files:
|
|
22
|
+
/.yardoc/
|
|
23
|
+
/_yardoc/
|
|
24
|
+
/doc/
|
|
25
|
+
/rdoc/
|
|
26
|
+
|
|
27
|
+
## Environment normalization:
|
|
28
|
+
/.bundle/
|
|
29
|
+
/vendor/bundle
|
|
30
|
+
/lib/bundler/man/
|
|
31
|
+
|
|
32
|
+
# for a library or gem, you might want to ignore these files since the code is
|
|
33
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
34
|
+
# Gemfile.lock
|
|
35
|
+
# .ruby-version
|
|
36
|
+
# .ruby-gemset
|
|
37
|
+
|
|
38
|
+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
|
|
39
|
+
.rvmrc
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
.gitignore
|
|
2
|
+
.rspec
|
|
3
|
+
.rubocop.yml
|
|
4
|
+
Gemfile
|
|
5
|
+
Rakefile
|
|
6
|
+
daytona_toolbox_api_client.gemspec
|
|
7
|
+
lib/daytona_toolbox_api_client.rb
|
|
8
|
+
lib/daytona_toolbox_api_client/api/computer_use_api.rb
|
|
9
|
+
lib/daytona_toolbox_api_client/api/file_system_api.rb
|
|
10
|
+
lib/daytona_toolbox_api_client/api/git_api.rb
|
|
11
|
+
lib/daytona_toolbox_api_client/api/info_api.rb
|
|
12
|
+
lib/daytona_toolbox_api_client/api/interpreter_api.rb
|
|
13
|
+
lib/daytona_toolbox_api_client/api/lsp_api.rb
|
|
14
|
+
lib/daytona_toolbox_api_client/api/port_api.rb
|
|
15
|
+
lib/daytona_toolbox_api_client/api/process_api.rb
|
|
16
|
+
lib/daytona_toolbox_api_client/api_client.rb
|
|
17
|
+
lib/daytona_toolbox_api_client/api_error.rb
|
|
18
|
+
lib/daytona_toolbox_api_client/configuration.rb
|
|
19
|
+
lib/daytona_toolbox_api_client/models/command.rb
|
|
20
|
+
lib/daytona_toolbox_api_client/models/completion_context.rb
|
|
21
|
+
lib/daytona_toolbox_api_client/models/completion_item.rb
|
|
22
|
+
lib/daytona_toolbox_api_client/models/completion_list.rb
|
|
23
|
+
lib/daytona_toolbox_api_client/models/computer_use_start_response.rb
|
|
24
|
+
lib/daytona_toolbox_api_client/models/computer_use_status_response.rb
|
|
25
|
+
lib/daytona_toolbox_api_client/models/computer_use_stop_response.rb
|
|
26
|
+
lib/daytona_toolbox_api_client/models/create_context_request.rb
|
|
27
|
+
lib/daytona_toolbox_api_client/models/create_session_request.rb
|
|
28
|
+
lib/daytona_toolbox_api_client/models/display_info.rb
|
|
29
|
+
lib/daytona_toolbox_api_client/models/display_info_response.rb
|
|
30
|
+
lib/daytona_toolbox_api_client/models/execute_request.rb
|
|
31
|
+
lib/daytona_toolbox_api_client/models/execute_response.rb
|
|
32
|
+
lib/daytona_toolbox_api_client/models/file_info.rb
|
|
33
|
+
lib/daytona_toolbox_api_client/models/file_status.rb
|
|
34
|
+
lib/daytona_toolbox_api_client/models/files_download_request.rb
|
|
35
|
+
lib/daytona_toolbox_api_client/models/git_add_request.rb
|
|
36
|
+
lib/daytona_toolbox_api_client/models/git_branch_request.rb
|
|
37
|
+
lib/daytona_toolbox_api_client/models/git_checkout_request.rb
|
|
38
|
+
lib/daytona_toolbox_api_client/models/git_clone_request.rb
|
|
39
|
+
lib/daytona_toolbox_api_client/models/git_commit_info.rb
|
|
40
|
+
lib/daytona_toolbox_api_client/models/git_commit_request.rb
|
|
41
|
+
lib/daytona_toolbox_api_client/models/git_commit_response.rb
|
|
42
|
+
lib/daytona_toolbox_api_client/models/git_git_delete_branch_request.rb
|
|
43
|
+
lib/daytona_toolbox_api_client/models/git_repo_request.rb
|
|
44
|
+
lib/daytona_toolbox_api_client/models/git_status.rb
|
|
45
|
+
lib/daytona_toolbox_api_client/models/interpreter_context.rb
|
|
46
|
+
lib/daytona_toolbox_api_client/models/is_port_in_use_response.rb
|
|
47
|
+
lib/daytona_toolbox_api_client/models/keyboard_hotkey_request.rb
|
|
48
|
+
lib/daytona_toolbox_api_client/models/keyboard_press_request.rb
|
|
49
|
+
lib/daytona_toolbox_api_client/models/keyboard_type_request.rb
|
|
50
|
+
lib/daytona_toolbox_api_client/models/list_branch_response.rb
|
|
51
|
+
lib/daytona_toolbox_api_client/models/list_contexts_response.rb
|
|
52
|
+
lib/daytona_toolbox_api_client/models/lsp_completion_params.rb
|
|
53
|
+
lib/daytona_toolbox_api_client/models/lsp_document_request.rb
|
|
54
|
+
lib/daytona_toolbox_api_client/models/lsp_location.rb
|
|
55
|
+
lib/daytona_toolbox_api_client/models/lsp_position.rb
|
|
56
|
+
lib/daytona_toolbox_api_client/models/lsp_range.rb
|
|
57
|
+
lib/daytona_toolbox_api_client/models/lsp_server_request.rb
|
|
58
|
+
lib/daytona_toolbox_api_client/models/lsp_symbol.rb
|
|
59
|
+
lib/daytona_toolbox_api_client/models/match.rb
|
|
60
|
+
lib/daytona_toolbox_api_client/models/mouse_click_request.rb
|
|
61
|
+
lib/daytona_toolbox_api_client/models/mouse_click_response.rb
|
|
62
|
+
lib/daytona_toolbox_api_client/models/mouse_drag_request.rb
|
|
63
|
+
lib/daytona_toolbox_api_client/models/mouse_drag_response.rb
|
|
64
|
+
lib/daytona_toolbox_api_client/models/mouse_move_request.rb
|
|
65
|
+
lib/daytona_toolbox_api_client/models/mouse_position_response.rb
|
|
66
|
+
lib/daytona_toolbox_api_client/models/mouse_scroll_request.rb
|
|
67
|
+
lib/daytona_toolbox_api_client/models/port_list.rb
|
|
68
|
+
lib/daytona_toolbox_api_client/models/position.rb
|
|
69
|
+
lib/daytona_toolbox_api_client/models/process_errors_response.rb
|
|
70
|
+
lib/daytona_toolbox_api_client/models/process_logs_response.rb
|
|
71
|
+
lib/daytona_toolbox_api_client/models/process_restart_response.rb
|
|
72
|
+
lib/daytona_toolbox_api_client/models/process_status.rb
|
|
73
|
+
lib/daytona_toolbox_api_client/models/process_status_response.rb
|
|
74
|
+
lib/daytona_toolbox_api_client/models/pty_create_request.rb
|
|
75
|
+
lib/daytona_toolbox_api_client/models/pty_create_response.rb
|
|
76
|
+
lib/daytona_toolbox_api_client/models/pty_list_response.rb
|
|
77
|
+
lib/daytona_toolbox_api_client/models/pty_resize_request.rb
|
|
78
|
+
lib/daytona_toolbox_api_client/models/pty_session_info.rb
|
|
79
|
+
lib/daytona_toolbox_api_client/models/replace_request.rb
|
|
80
|
+
lib/daytona_toolbox_api_client/models/replace_result.rb
|
|
81
|
+
lib/daytona_toolbox_api_client/models/screenshot_response.rb
|
|
82
|
+
lib/daytona_toolbox_api_client/models/scroll_response.rb
|
|
83
|
+
lib/daytona_toolbox_api_client/models/search_files_response.rb
|
|
84
|
+
lib/daytona_toolbox_api_client/models/session.rb
|
|
85
|
+
lib/daytona_toolbox_api_client/models/session_execute_request.rb
|
|
86
|
+
lib/daytona_toolbox_api_client/models/session_execute_response.rb
|
|
87
|
+
lib/daytona_toolbox_api_client/models/status.rb
|
|
88
|
+
lib/daytona_toolbox_api_client/models/user_home_dir_response.rb
|
|
89
|
+
lib/daytona_toolbox_api_client/models/window_info.rb
|
|
90
|
+
lib/daytona_toolbox_api_client/models/windows_response.rb
|
|
91
|
+
lib/daytona_toolbox_api_client/models/work_dir_response.rb
|
|
92
|
+
lib/daytona_toolbox_api_client/version.rb
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7.12.0
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# OpenAPI Generator Ignore
|
|
2
|
+
# Generated by openapi-generator https://github.com/openapitools/openapi-generator
|
|
3
|
+
|
|
4
|
+
# Use this file to prevent files from being overwritten by the generator.
|
|
5
|
+
# The patterns follow closely to .gitignore or .dockerignore.
|
|
6
|
+
|
|
7
|
+
git_push.sh
|
|
8
|
+
.travis.yml
|
|
9
|
+
spec/**
|
|
10
|
+
.gitlab-ci.yml
|
|
11
|
+
docs/**
|
|
12
|
+
README.md
|
data/.rspec
ADDED
data/.rubocop.yml
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
# This file is based on https://github.com/rails/rails/blob/master/.rubocop.yml (MIT license)
|
|
2
|
+
# Automatically generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
3
|
+
AllCops:
|
|
4
|
+
TargetRubyVersion: 2.4
|
|
5
|
+
# RuboCop has a bunch of cops enabled by default. This setting tells RuboCop
|
|
6
|
+
# to ignore them, so only the ones explicitly set in this file are enabled.
|
|
7
|
+
DisabledByDefault: true
|
|
8
|
+
Exclude:
|
|
9
|
+
- '**/templates/**/*'
|
|
10
|
+
- '**/vendor/**/*'
|
|
11
|
+
- 'actionpack/lib/action_dispatch/journey/parser.rb'
|
|
12
|
+
|
|
13
|
+
# Prefer &&/|| over and/or.
|
|
14
|
+
Style/AndOr:
|
|
15
|
+
Enabled: true
|
|
16
|
+
|
|
17
|
+
# Align `when` with `case`.
|
|
18
|
+
Layout/CaseIndentation:
|
|
19
|
+
Enabled: true
|
|
20
|
+
|
|
21
|
+
# Align comments with method definitions.
|
|
22
|
+
Layout/CommentIndentation:
|
|
23
|
+
Enabled: true
|
|
24
|
+
|
|
25
|
+
Layout/ElseAlignment:
|
|
26
|
+
Enabled: true
|
|
27
|
+
|
|
28
|
+
Layout/EmptyLineAfterMagicComment:
|
|
29
|
+
Enabled: true
|
|
30
|
+
|
|
31
|
+
# In a regular class definition, no empty lines around the body.
|
|
32
|
+
Layout/EmptyLinesAroundClassBody:
|
|
33
|
+
Enabled: true
|
|
34
|
+
|
|
35
|
+
# In a regular method definition, no empty lines around the body.
|
|
36
|
+
Layout/EmptyLinesAroundMethodBody:
|
|
37
|
+
Enabled: true
|
|
38
|
+
|
|
39
|
+
# In a regular module definition, no empty lines around the body.
|
|
40
|
+
Layout/EmptyLinesAroundModuleBody:
|
|
41
|
+
Enabled: true
|
|
42
|
+
|
|
43
|
+
Layout/FirstArgumentIndentation:
|
|
44
|
+
Enabled: true
|
|
45
|
+
|
|
46
|
+
# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
|
|
47
|
+
Style/HashSyntax:
|
|
48
|
+
Enabled: false
|
|
49
|
+
|
|
50
|
+
# Method definitions after `private` or `protected` isolated calls need one
|
|
51
|
+
# extra level of indentation.
|
|
52
|
+
Layout/IndentationConsistency:
|
|
53
|
+
Enabled: true
|
|
54
|
+
EnforcedStyle: indented_internal_methods
|
|
55
|
+
|
|
56
|
+
# Two spaces, no tabs (for indentation).
|
|
57
|
+
Layout/IndentationWidth:
|
|
58
|
+
Enabled: true
|
|
59
|
+
|
|
60
|
+
Layout/LeadingCommentSpace:
|
|
61
|
+
Enabled: true
|
|
62
|
+
|
|
63
|
+
Layout/SpaceAfterColon:
|
|
64
|
+
Enabled: true
|
|
65
|
+
|
|
66
|
+
Layout/SpaceAfterComma:
|
|
67
|
+
Enabled: true
|
|
68
|
+
|
|
69
|
+
Layout/SpaceAroundEqualsInParameterDefault:
|
|
70
|
+
Enabled: true
|
|
71
|
+
|
|
72
|
+
Layout/SpaceAroundKeyword:
|
|
73
|
+
Enabled: true
|
|
74
|
+
|
|
75
|
+
Layout/SpaceAroundOperators:
|
|
76
|
+
Enabled: true
|
|
77
|
+
|
|
78
|
+
Layout/SpaceBeforeComma:
|
|
79
|
+
Enabled: true
|
|
80
|
+
|
|
81
|
+
Layout/SpaceBeforeFirstArg:
|
|
82
|
+
Enabled: true
|
|
83
|
+
|
|
84
|
+
Style/DefWithParentheses:
|
|
85
|
+
Enabled: true
|
|
86
|
+
|
|
87
|
+
# Defining a method with parameters needs parentheses.
|
|
88
|
+
Style/MethodDefParentheses:
|
|
89
|
+
Enabled: true
|
|
90
|
+
|
|
91
|
+
Style/FrozenStringLiteralComment:
|
|
92
|
+
Enabled: false
|
|
93
|
+
EnforcedStyle: always
|
|
94
|
+
|
|
95
|
+
# Use `foo {}` not `foo{}`.
|
|
96
|
+
Layout/SpaceBeforeBlockBraces:
|
|
97
|
+
Enabled: true
|
|
98
|
+
|
|
99
|
+
# Use `foo { bar }` not `foo {bar}`.
|
|
100
|
+
Layout/SpaceInsideBlockBraces:
|
|
101
|
+
Enabled: true
|
|
102
|
+
|
|
103
|
+
# Use `{ a: 1 }` not `{a:1}`.
|
|
104
|
+
Layout/SpaceInsideHashLiteralBraces:
|
|
105
|
+
Enabled: true
|
|
106
|
+
|
|
107
|
+
Layout/SpaceInsideParens:
|
|
108
|
+
Enabled: true
|
|
109
|
+
|
|
110
|
+
# Check quotes usage according to lint rule below.
|
|
111
|
+
#Style/StringLiterals:
|
|
112
|
+
# Enabled: true
|
|
113
|
+
# EnforcedStyle: single_quotes
|
|
114
|
+
|
|
115
|
+
# Detect hard tabs, no hard tabs.
|
|
116
|
+
Layout/IndentationStyle:
|
|
117
|
+
Enabled: true
|
|
118
|
+
|
|
119
|
+
# Blank lines should not have any spaces.
|
|
120
|
+
Layout/TrailingEmptyLines:
|
|
121
|
+
Enabled: true
|
|
122
|
+
|
|
123
|
+
# No trailing whitespace.
|
|
124
|
+
Layout/TrailingWhitespace:
|
|
125
|
+
Enabled: false
|
|
126
|
+
|
|
127
|
+
# Use quotes for string literals when they are enough.
|
|
128
|
+
Style/RedundantPercentQ:
|
|
129
|
+
Enabled: true
|
|
130
|
+
|
|
131
|
+
# Align `end` with the matching keyword or starting expression except for
|
|
132
|
+
# assignments, where it should be aligned with the LHS.
|
|
133
|
+
Layout/EndAlignment:
|
|
134
|
+
Enabled: true
|
|
135
|
+
EnforcedStyleAlignWith: variable
|
|
136
|
+
AutoCorrect: true
|
|
137
|
+
|
|
138
|
+
# Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
|
|
139
|
+
Lint/RequireParentheses:
|
|
140
|
+
Enabled: true
|
|
141
|
+
|
|
142
|
+
Style/RedundantReturn:
|
|
143
|
+
Enabled: true
|
|
144
|
+
AllowMultipleReturnValues: true
|
|
145
|
+
|
|
146
|
+
Style/Semicolon:
|
|
147
|
+
Enabled: true
|
|
148
|
+
AllowAsExpressionSeparator: true
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
daytona_toolbox_api_client (0.126.0.alpha.1)
|
|
5
|
+
typhoeus (~> 1.0, >= 1.0.1)
|
|
6
|
+
|
|
7
|
+
GEM
|
|
8
|
+
remote: https://rubygems.org/
|
|
9
|
+
specs:
|
|
10
|
+
ast (2.4.3)
|
|
11
|
+
byebug (12.0.0)
|
|
12
|
+
coderay (1.1.3)
|
|
13
|
+
diff-lcs (1.6.2)
|
|
14
|
+
ethon (0.15.0)
|
|
15
|
+
ffi (>= 1.15.0)
|
|
16
|
+
ffi (1.17.2)
|
|
17
|
+
ffi (1.17.2-aarch64-linux-gnu)
|
|
18
|
+
ffi (1.17.2-aarch64-linux-musl)
|
|
19
|
+
ffi (1.17.2-arm-linux-gnu)
|
|
20
|
+
ffi (1.17.2-arm-linux-musl)
|
|
21
|
+
ffi (1.17.2-arm64-darwin)
|
|
22
|
+
ffi (1.17.2-x86-linux-gnu)
|
|
23
|
+
ffi (1.17.2-x86-linux-musl)
|
|
24
|
+
ffi (1.17.2-x86_64-darwin)
|
|
25
|
+
ffi (1.17.2-x86_64-linux-gnu)
|
|
26
|
+
ffi (1.17.2-x86_64-linux-musl)
|
|
27
|
+
json (2.18.0)
|
|
28
|
+
language_server-protocol (3.17.0.5)
|
|
29
|
+
lint_roller (1.1.0)
|
|
30
|
+
method_source (1.1.0)
|
|
31
|
+
parallel (1.27.0)
|
|
32
|
+
parser (3.3.10.0)
|
|
33
|
+
ast (~> 2.4.1)
|
|
34
|
+
racc
|
|
35
|
+
prism (1.6.0)
|
|
36
|
+
pry (0.15.2)
|
|
37
|
+
coderay (~> 1.1)
|
|
38
|
+
method_source (~> 1.0)
|
|
39
|
+
pry-byebug (3.11.0)
|
|
40
|
+
byebug (~> 12.0)
|
|
41
|
+
pry (>= 0.13, < 0.16)
|
|
42
|
+
racc (1.8.1)
|
|
43
|
+
rainbow (3.1.1)
|
|
44
|
+
rake (13.0.6)
|
|
45
|
+
regexp_parser (2.11.3)
|
|
46
|
+
rspec (3.13.2)
|
|
47
|
+
rspec-core (~> 3.13.0)
|
|
48
|
+
rspec-expectations (~> 3.13.0)
|
|
49
|
+
rspec-mocks (~> 3.13.0)
|
|
50
|
+
rspec-core (3.13.6)
|
|
51
|
+
rspec-support (~> 3.13.0)
|
|
52
|
+
rspec-expectations (3.13.5)
|
|
53
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
54
|
+
rspec-support (~> 3.13.0)
|
|
55
|
+
rspec-mocks (3.13.7)
|
|
56
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
57
|
+
rspec-support (~> 3.13.0)
|
|
58
|
+
rspec-support (3.13.6)
|
|
59
|
+
rubocop (1.82.0)
|
|
60
|
+
json (~> 2.3)
|
|
61
|
+
language_server-protocol (~> 3.17.0.2)
|
|
62
|
+
lint_roller (~> 1.1.0)
|
|
63
|
+
parallel (~> 1.10)
|
|
64
|
+
parser (>= 3.3.0.2)
|
|
65
|
+
rainbow (>= 2.2.2, < 4.0)
|
|
66
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
|
67
|
+
rubocop-ast (>= 1.48.0, < 2.0)
|
|
68
|
+
ruby-progressbar (~> 1.7)
|
|
69
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
|
70
|
+
rubocop-ast (1.48.0)
|
|
71
|
+
parser (>= 3.3.7.2)
|
|
72
|
+
prism (~> 1.4)
|
|
73
|
+
ruby-progressbar (1.13.0)
|
|
74
|
+
typhoeus (1.5.0)
|
|
75
|
+
ethon (>= 0.9.0, < 0.16.0)
|
|
76
|
+
unicode-display_width (3.2.0)
|
|
77
|
+
unicode-emoji (~> 4.1)
|
|
78
|
+
unicode-emoji (4.1.0)
|
|
79
|
+
|
|
80
|
+
PLATFORMS
|
|
81
|
+
aarch64-linux-gnu
|
|
82
|
+
aarch64-linux-musl
|
|
83
|
+
arm-linux-gnu
|
|
84
|
+
arm-linux-musl
|
|
85
|
+
arm64-darwin
|
|
86
|
+
ruby
|
|
87
|
+
x86-linux-gnu
|
|
88
|
+
x86-linux-musl
|
|
89
|
+
x86_64-darwin
|
|
90
|
+
x86_64-linux-gnu
|
|
91
|
+
x86_64-linux-musl
|
|
92
|
+
|
|
93
|
+
DEPENDENCIES
|
|
94
|
+
daytona_toolbox_api_client!
|
|
95
|
+
pry-byebug
|
|
96
|
+
rake (~> 13.0.1)
|
|
97
|
+
rspec (~> 3.6, >= 3.6.0)
|
|
98
|
+
rubocop (~> 1.21)
|
|
99
|
+
|
|
100
|
+
BUNDLED WITH
|
|
101
|
+
2.6.9
|
data/Rakefile
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
|
2
|
+
|
|
3
|
+
=begin
|
|
4
|
+
#Daytona Daemon API
|
|
5
|
+
|
|
6
|
+
#Daytona Daemon API
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: v0.0.0-dev
|
|
9
|
+
|
|
10
|
+
Generated by: https://openapi-generator.tech
|
|
11
|
+
Generator version: 7.12.0
|
|
12
|
+
|
|
13
|
+
=end
|
|
14
|
+
|
|
15
|
+
$:.push File.expand_path("../lib", __FILE__)
|
|
16
|
+
require "daytona_toolbox_api_client/version"
|
|
17
|
+
|
|
18
|
+
Gem::Specification.new do |s|
|
|
19
|
+
s.name = "daytona_toolbox_api_client"
|
|
20
|
+
s.version = DaytonaToolboxApiClient::VERSION
|
|
21
|
+
s.platform = Gem::Platform::RUBY
|
|
22
|
+
s.authors = ["daytonaio"]
|
|
23
|
+
s.email = ["support@daytona.io"]
|
|
24
|
+
s.homepage = "https://github.com/daytonaio/daytona"
|
|
25
|
+
s.summary = "Daytona Daemon API Ruby Gem"
|
|
26
|
+
s.description = "Daytona Toolbox API Client"
|
|
27
|
+
s.license = "Unlicense"
|
|
28
|
+
s.required_ruby_version = ">= 2.7"
|
|
29
|
+
s.metadata = {}
|
|
30
|
+
|
|
31
|
+
s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
|
|
32
|
+
|
|
33
|
+
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
|
34
|
+
|
|
35
|
+
s.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) || f.end_with?('.gem') }
|
|
36
|
+
s.test_files = Dir.exist?('spec') ? Dir.glob('spec/**/*') : []
|
|
37
|
+
s.executables = []
|
|
38
|
+
s.require_paths = ["lib"]
|
|
39
|
+
end
|
data/fix-gemspec.sh
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
# Fix the gemspec and Gemfile generated by OpenAPI Generator
|
|
3
|
+
SCRIPT_DIR="$(dirname "$0")"
|
|
4
|
+
|
|
5
|
+
# Fix gemspec: replace backtick find commands with git ls-files and Dir.glob
|
|
6
|
+
# This is safer and works correctly in CI environments
|
|
7
|
+
sed -i "s/\`find \*\`\.split(\"\\\\n\")\.uniq\.sort\.select { |f| !f\.empty? }/\`git ls-files -z\`\.split(\"\\\\x0\")\.reject { |f| f.match(%r{^(test|spec|features)\/}) || f.end_with?('.gem') }/g" "$SCRIPT_DIR/daytona_toolbox_api_client.gemspec"
|
|
8
|
+
sed -i "s/\`find spec\/\*\`\.split(\"\\\\n\")/Dir.exist?('spec') ? Dir.glob('spec\/\*\*\/\*') : []/g" "$SCRIPT_DIR/daytona_toolbox_api_client.gemspec"
|
|
9
|
+
|
|
10
|
+
# Fix Gemfile: update rubocop from ~> 0.66.0 to ~> 1.21
|
|
11
|
+
sed -i "s/gem 'rubocop', '~> 0\.66\.0'/gem 'rubocop', '~> 1.21'/g" "$SCRIPT_DIR/Gemfile"
|
|
12
|
+
|
|
13
|
+
|