daytona_api_client 0.190.1 → 0.191.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3e3cfd592c0e08758067a20459b12fcc0a3c038978fbfa848ab136792b74a538
4
- data.tar.gz: bdb8f81da506f2b952d66206acbd7ae6fb0e62c79ee2fe80d2320bb302fc6077
3
+ metadata.gz: 5ace7f1ba58233019be6ce9a94d1d3d69727c3e368141d832789dcbb8504c772
4
+ data.tar.gz: 8afaff5685671a550bacf7810ba62b093d4d1cb72850348ec81a114f3ee573d9
5
5
  SHA512:
6
- metadata.gz: 5acda9f086c36224495c9ad4890582a253295392ce5217631affe68d9df62adf53641d1812ea63d51a3a90ccf004a5ed182aaec50366d4defce55a17379f10c5
7
- data.tar.gz: 1de2ffab6f1b7be073e88476d5ab20392ea5f6f8e9cc5800ef5ef508c82eec0586a933b01fecd259eaa1be4ebe3a963d39a35f2920b969913dfc3c7d5fef2d77
6
+ metadata.gz: '087bd4f867d654527891bf8aca733b3de036279955778d0ef31d740f11f839651c728e684810749936733fca2f76b1ab13ff36ebc637efceeb31200b4c6e8f82'
7
+ data.tar.gz: f454a211ff599a8ceeb8ac1da0d37f7d450895f0b51449c6c0057bd5795e16cf7b8daa17be7953a66a4297044234cb82adbdbab3185baf2fd576fb646309fe8c
@@ -19,9 +19,9 @@ Gem::Specification.new do |s|
19
19
  s.name = "daytona_api_client"
20
20
  s.version = DaytonaApiClient::VERSION
21
21
  s.platform = Gem::Platform::RUBY
22
- s.authors = ["daytonaio"]
22
+ s.authors = ["daytona"]
23
23
  s.email = ["support@daytona.io"]
24
- s.homepage = "https://github.com/daytonaio/daytona"
24
+ s.homepage = "https://github.com/daytona/clients"
25
25
  s.summary = "Daytona Ruby Gem"
26
26
  s.description = "Daytona API Client"
27
27
  s.license = "Unlicense"
@@ -33,6 +33,9 @@ module DaytonaApiClient
33
33
 
34
34
  attr_accessor :volume_quota
35
35
 
36
+ # Maximum number of snapshots an organization can process (building or pulling) concurrently. Excess are queued. <= 0 means unlimited.
37
+ attr_accessor :max_concurrent_snapshot_processing
38
+
36
39
  # Attribute mapping from ruby-style variable name to JSON key.
37
40
  def self.attribute_map
38
41
  {
@@ -44,7 +47,8 @@ module DaytonaApiClient
44
47
  :'max_disk_per_sandbox' => :'maxDiskPerSandbox',
45
48
  :'snapshot_quota' => :'snapshotQuota',
46
49
  :'max_snapshot_size' => :'maxSnapshotSize',
47
- :'volume_quota' => :'volumeQuota'
50
+ :'volume_quota' => :'volumeQuota',
51
+ :'max_concurrent_snapshot_processing' => :'maxConcurrentSnapshotProcessing'
48
52
  }
49
53
  end
50
54
 
@@ -69,7 +73,8 @@ module DaytonaApiClient
69
73
  :'max_disk_per_sandbox' => :'Float',
70
74
  :'snapshot_quota' => :'Float',
71
75
  :'max_snapshot_size' => :'Float',
72
- :'volume_quota' => :'Float'
76
+ :'volume_quota' => :'Float',
77
+ :'max_concurrent_snapshot_processing' => :'Float'
73
78
  }
74
79
  end
75
80
 
@@ -130,6 +135,10 @@ module DaytonaApiClient
130
135
  if attributes.key?(:'volume_quota')
131
136
  self.volume_quota = attributes[:'volume_quota']
132
137
  end
138
+
139
+ if attributes.key?(:'max_concurrent_snapshot_processing')
140
+ self.max_concurrent_snapshot_processing = attributes[:'max_concurrent_snapshot_processing']
141
+ end
133
142
  end
134
143
 
135
144
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -160,7 +169,8 @@ module DaytonaApiClient
160
169
  max_disk_per_sandbox == o.max_disk_per_sandbox &&
161
170
  snapshot_quota == o.snapshot_quota &&
162
171
  max_snapshot_size == o.max_snapshot_size &&
163
- volume_quota == o.volume_quota
172
+ volume_quota == o.volume_quota &&
173
+ max_concurrent_snapshot_processing == o.max_concurrent_snapshot_processing
164
174
  end
165
175
 
166
176
  # @see the `==` method
@@ -172,7 +182,7 @@ module DaytonaApiClient
172
182
  # Calculates hash code according to all attributes.
173
183
  # @return [Integer] Hash code
174
184
  def hash
175
- [total_cpu_quota, total_memory_quota, total_disk_quota, max_cpu_per_sandbox, max_memory_per_sandbox, max_disk_per_sandbox, snapshot_quota, max_snapshot_size, volume_quota].hash
185
+ [total_cpu_quota, total_memory_quota, total_disk_quota, max_cpu_per_sandbox, max_memory_per_sandbox, max_disk_per_sandbox, snapshot_quota, max_snapshot_size, volume_quota, max_concurrent_snapshot_processing].hash
176
186
  end
177
187
 
178
188
  # Builds the object from hash
@@ -60,6 +60,9 @@ module DaytonaApiClient
60
60
  # Analytics API URL
61
61
  attr_accessor :analytics_api_url
62
62
 
63
+ # Stripe publishable key for client-side Stripe.js
64
+ attr_accessor :stripe_publishable_key
65
+
63
66
  # SSH Gateway command
64
67
  attr_accessor :ssh_gateway_command
65
68
 
@@ -87,6 +90,7 @@ module DaytonaApiClient
87
90
  :'environment' => :'environment',
88
91
  :'billing_api_url' => :'billingApiUrl',
89
92
  :'analytics_api_url' => :'analyticsApiUrl',
93
+ :'stripe_publishable_key' => :'stripePublishableKey',
90
94
  :'ssh_gateway_command' => :'sshGatewayCommand',
91
95
  :'ssh_gateway_public_key' => :'sshGatewayPublicKey',
92
96
  :'rate_limit' => :'rateLimit'
@@ -121,6 +125,7 @@ module DaytonaApiClient
121
125
  :'environment' => :'String',
122
126
  :'billing_api_url' => :'String',
123
127
  :'analytics_api_url' => :'String',
128
+ :'stripe_publishable_key' => :'String',
124
129
  :'ssh_gateway_command' => :'String',
125
130
  :'ssh_gateway_public_key' => :'String',
126
131
  :'rate_limit' => :'RateLimitConfig'
@@ -233,6 +238,10 @@ module DaytonaApiClient
233
238
  self.analytics_api_url = attributes[:'analytics_api_url']
234
239
  end
235
240
 
241
+ if attributes.key?(:'stripe_publishable_key')
242
+ self.stripe_publishable_key = attributes[:'stripe_publishable_key']
243
+ end
244
+
236
245
  if attributes.key?(:'ssh_gateway_command')
237
246
  self.ssh_gateway_command = attributes[:'ssh_gateway_command']
238
247
  end
@@ -446,6 +455,7 @@ module DaytonaApiClient
446
455
  environment == o.environment &&
447
456
  billing_api_url == o.billing_api_url &&
448
457
  analytics_api_url == o.analytics_api_url &&
458
+ stripe_publishable_key == o.stripe_publishable_key &&
449
459
  ssh_gateway_command == o.ssh_gateway_command &&
450
460
  ssh_gateway_public_key == o.ssh_gateway_public_key &&
451
461
  rate_limit == o.rate_limit
@@ -460,7 +470,7 @@ module DaytonaApiClient
460
470
  # Calculates hash code according to all attributes.
461
471
  # @return [Integer] Hash code
462
472
  def hash
463
- [version, posthog, oidc, linked_accounts_enabled, announcements, pylon_app_id, proxy_template_url, proxy_toolbox_url, default_snapshot, dashboard_url, max_auto_archive_interval, maintanance_mode, environment, billing_api_url, analytics_api_url, ssh_gateway_command, ssh_gateway_public_key, rate_limit].hash
473
+ [version, posthog, oidc, linked_accounts_enabled, announcements, pylon_app_id, proxy_template_url, proxy_toolbox_url, default_snapshot, dashboard_url, max_auto_archive_interval, maintanance_mode, environment, billing_api_url, analytics_api_url, stripe_publishable_key, ssh_gateway_command, ssh_gateway_public_key, rate_limit].hash
464
474
  end
465
475
 
466
476
  # Builds the object from hash
@@ -27,13 +27,17 @@ module DaytonaApiClient
27
27
  # Sandbox lifecycle rate limit
28
28
  attr_accessor :sandbox_lifecycle
29
29
 
30
+ # Sandbox list rate limit
31
+ attr_accessor :sandbox_list
32
+
30
33
  # Attribute mapping from ruby-style variable name to JSON key.
31
34
  def self.attribute_map
32
35
  {
33
36
  :'failed_auth' => :'failedAuth',
34
37
  :'authenticated' => :'authenticated',
35
38
  :'sandbox_create' => :'sandboxCreate',
36
- :'sandbox_lifecycle' => :'sandboxLifecycle'
39
+ :'sandbox_lifecycle' => :'sandboxLifecycle',
40
+ :'sandbox_list' => :'sandboxList'
37
41
  }
38
42
  end
39
43
 
@@ -53,7 +57,8 @@ module DaytonaApiClient
53
57
  :'failed_auth' => :'RateLimitEntry',
54
58
  :'authenticated' => :'RateLimitEntry',
55
59
  :'sandbox_create' => :'RateLimitEntry',
56
- :'sandbox_lifecycle' => :'RateLimitEntry'
60
+ :'sandbox_lifecycle' => :'RateLimitEntry',
61
+ :'sandbox_list' => :'RateLimitEntry'
57
62
  }
58
63
  end
59
64
 
@@ -94,6 +99,10 @@ module DaytonaApiClient
94
99
  if attributes.key?(:'sandbox_lifecycle')
95
100
  self.sandbox_lifecycle = attributes[:'sandbox_lifecycle']
96
101
  end
102
+
103
+ if attributes.key?(:'sandbox_list')
104
+ self.sandbox_list = attributes[:'sandbox_list']
105
+ end
97
106
  end
98
107
 
99
108
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -119,7 +128,8 @@ module DaytonaApiClient
119
128
  failed_auth == o.failed_auth &&
120
129
  authenticated == o.authenticated &&
121
130
  sandbox_create == o.sandbox_create &&
122
- sandbox_lifecycle == o.sandbox_lifecycle
131
+ sandbox_lifecycle == o.sandbox_lifecycle &&
132
+ sandbox_list == o.sandbox_list
123
133
  end
124
134
 
125
135
  # @see the `==` method
@@ -131,7 +141,7 @@ module DaytonaApiClient
131
141
  # Calculates hash code according to all attributes.
132
142
  # @return [Integer] Hash code
133
143
  def hash
134
- [failed_auth, authenticated, sandbox_create, sandbox_lifecycle].hash
144
+ [failed_auth, authenticated, sandbox_create, sandbox_lifecycle, sandbox_list].hash
135
145
  end
136
146
 
137
147
  # Builds the object from hash
@@ -108,6 +108,9 @@ module DaytonaApiClient
108
108
  # The app version of the runner
109
109
  attr_accessor :app_version
110
110
 
111
+ # Deprecated runner class property
112
+ attr_accessor :_class
113
+
111
114
  class EnumAttributeValidator
112
115
  attr_reader :datatype
113
116
  attr_reader :allowable_values
@@ -163,7 +166,8 @@ module DaytonaApiClient
163
166
  :'version' => :'version',
164
167
  :'api_version' => :'apiVersion',
165
168
  :'runner_class' => :'runnerClass',
166
- :'app_version' => :'appVersion'
169
+ :'app_version' => :'appVersion',
170
+ :'_class' => :'class'
167
171
  }
168
172
  end
169
173
 
@@ -210,7 +214,8 @@ module DaytonaApiClient
210
214
  :'version' => :'String',
211
215
  :'api_version' => :'String',
212
216
  :'runner_class' => :'RunnerClass',
213
- :'app_version' => :'String'
217
+ :'app_version' => :'String',
218
+ :'_class' => :'String'
214
219
  }
215
220
  end
216
221
 
@@ -389,6 +394,10 @@ module DaytonaApiClient
389
394
  if attributes.key?(:'app_version')
390
395
  self.app_version = attributes[:'app_version']
391
396
  end
397
+
398
+ if attributes.key?(:'_class')
399
+ self._class = attributes[:'_class']
400
+ end
392
401
  end
393
402
 
394
403
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -651,7 +660,8 @@ module DaytonaApiClient
651
660
  version == o.version &&
652
661
  api_version == o.api_version &&
653
662
  runner_class == o.runner_class &&
654
- app_version == o.app_version
663
+ app_version == o.app_version &&
664
+ _class == o._class
655
665
  end
656
666
 
657
667
  # @see the `==` method
@@ -663,7 +673,7 @@ module DaytonaApiClient
663
673
  # Calculates hash code according to all attributes.
664
674
  # @return [Integer] Hash code
665
675
  def hash
666
- [id, domain, api_url, proxy_url, cpu, memory, disk, gpu, gpu_type, sandbox_class, current_cpu_usage_percentage, current_memory_usage_percentage, current_disk_usage_percentage, current_allocated_cpu, current_allocated_memory_gi_b, current_allocated_disk_gi_b, current_snapshot_count, current_started_sandboxes, availability_score, region, name, state, last_checked, unschedulable, tags, created_at, updated_at, version, api_version, runner_class, app_version].hash
676
+ [id, domain, api_url, proxy_url, cpu, memory, disk, gpu, gpu_type, sandbox_class, current_cpu_usage_percentage, current_memory_usage_percentage, current_disk_usage_percentage, current_allocated_cpu, current_allocated_memory_gi_b, current_allocated_disk_gi_b, current_snapshot_count, current_started_sandboxes, availability_score, region, name, state, last_checked, unschedulable, tags, created_at, updated_at, version, api_version, runner_class, app_version, _class].hash
667
677
  end
668
678
 
669
679
  # Builds the object from hash
@@ -108,6 +108,9 @@ module DaytonaApiClient
108
108
  # The app version of the runner
109
109
  attr_accessor :app_version
110
110
 
111
+ # Deprecated runner class property
112
+ attr_accessor :_class
113
+
111
114
  # The API key for the runner
112
115
  attr_accessor :api_key
113
116
 
@@ -170,6 +173,7 @@ module DaytonaApiClient
170
173
  :'api_version' => :'apiVersion',
171
174
  :'runner_class' => :'runnerClass',
172
175
  :'app_version' => :'appVersion',
176
+ :'_class' => :'class',
173
177
  :'api_key' => :'apiKey',
174
178
  :'region_type' => :'regionType'
175
179
  }
@@ -219,6 +223,7 @@ module DaytonaApiClient
219
223
  :'api_version' => :'String',
220
224
  :'runner_class' => :'RunnerClass',
221
225
  :'app_version' => :'String',
226
+ :'_class' => :'String',
222
227
  :'api_key' => :'String',
223
228
  :'region_type' => :'RegionType'
224
229
  }
@@ -400,6 +405,10 @@ module DaytonaApiClient
400
405
  self.app_version = attributes[:'app_version']
401
406
  end
402
407
 
408
+ if attributes.key?(:'_class')
409
+ self._class = attributes[:'_class']
410
+ end
411
+
403
412
  if attributes.key?(:'api_key')
404
413
  self.api_key = attributes[:'api_key']
405
414
  else
@@ -687,6 +696,7 @@ module DaytonaApiClient
687
696
  api_version == o.api_version &&
688
697
  runner_class == o.runner_class &&
689
698
  app_version == o.app_version &&
699
+ _class == o._class &&
690
700
  api_key == o.api_key &&
691
701
  region_type == o.region_type
692
702
  end
@@ -700,7 +710,7 @@ module DaytonaApiClient
700
710
  # Calculates hash code according to all attributes.
701
711
  # @return [Integer] Hash code
702
712
  def hash
703
- [id, domain, api_url, proxy_url, cpu, memory, disk, gpu, gpu_type, sandbox_class, current_cpu_usage_percentage, current_memory_usage_percentage, current_disk_usage_percentage, current_allocated_cpu, current_allocated_memory_gi_b, current_allocated_disk_gi_b, current_snapshot_count, current_started_sandboxes, availability_score, region, name, state, last_checked, unschedulable, tags, created_at, updated_at, version, api_version, runner_class, app_version, api_key, region_type].hash
713
+ [id, domain, api_url, proxy_url, cpu, memory, disk, gpu, gpu_type, sandbox_class, current_cpu_usage_percentage, current_memory_usage_percentage, current_disk_usage_percentage, current_allocated_cpu, current_allocated_memory_gi_b, current_allocated_disk_gi_b, current_snapshot_count, current_started_sandboxes, availability_score, region, name, state, last_checked, unschedulable, tags, created_at, updated_at, version, api_version, runner_class, app_version, _class, api_key, region_type].hash
704
714
  end
705
715
 
706
716
  # Builds the object from hash
@@ -42,6 +42,9 @@ module DaytonaApiClient
42
42
  # Time in minutes before an unused snapshot is deactivated
43
43
  attr_accessor :snapshot_deactivation_timeout_minutes
44
44
 
45
+ # Maximum number of snapshots an organization can process (building or pulling) concurrently. Excess are queued. <= 0 means unlimited.
46
+ attr_accessor :max_concurrent_snapshot_processing
47
+
45
48
  # Attribute mapping from ruby-style variable name to JSON key.
46
49
  def self.attribute_map
47
50
  {
@@ -57,7 +60,8 @@ module DaytonaApiClient
57
60
  :'authenticated_rate_limit_ttl_seconds' => :'authenticatedRateLimitTtlSeconds',
58
61
  :'sandbox_create_rate_limit_ttl_seconds' => :'sandboxCreateRateLimitTtlSeconds',
59
62
  :'sandbox_lifecycle_rate_limit_ttl_seconds' => :'sandboxLifecycleRateLimitTtlSeconds',
60
- :'snapshot_deactivation_timeout_minutes' => :'snapshotDeactivationTimeoutMinutes'
63
+ :'snapshot_deactivation_timeout_minutes' => :'snapshotDeactivationTimeoutMinutes',
64
+ :'max_concurrent_snapshot_processing' => :'maxConcurrentSnapshotProcessing'
61
65
  }
62
66
  end
63
67
 
@@ -86,7 +90,8 @@ module DaytonaApiClient
86
90
  :'authenticated_rate_limit_ttl_seconds' => :'Float',
87
91
  :'sandbox_create_rate_limit_ttl_seconds' => :'Float',
88
92
  :'sandbox_lifecycle_rate_limit_ttl_seconds' => :'Float',
89
- :'snapshot_deactivation_timeout_minutes' => :'Float'
93
+ :'snapshot_deactivation_timeout_minutes' => :'Float',
94
+ :'max_concurrent_snapshot_processing' => :'Float'
90
95
  }
91
96
  end
92
97
 
@@ -105,7 +110,8 @@ module DaytonaApiClient
105
110
  :'authenticated_rate_limit_ttl_seconds',
106
111
  :'sandbox_create_rate_limit_ttl_seconds',
107
112
  :'sandbox_lifecycle_rate_limit_ttl_seconds',
108
- :'snapshot_deactivation_timeout_minutes'
113
+ :'snapshot_deactivation_timeout_minutes',
114
+ :'max_concurrent_snapshot_processing'
109
115
  ])
110
116
  end
111
117
 
@@ -202,6 +208,12 @@ module DaytonaApiClient
202
208
  else
203
209
  self.snapshot_deactivation_timeout_minutes = nil
204
210
  end
211
+
212
+ if attributes.key?(:'max_concurrent_snapshot_processing')
213
+ self.max_concurrent_snapshot_processing = attributes[:'max_concurrent_snapshot_processing']
214
+ else
215
+ self.max_concurrent_snapshot_processing = nil
216
+ end
205
217
  end
206
218
 
207
219
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -236,7 +248,8 @@ module DaytonaApiClient
236
248
  authenticated_rate_limit_ttl_seconds == o.authenticated_rate_limit_ttl_seconds &&
237
249
  sandbox_create_rate_limit_ttl_seconds == o.sandbox_create_rate_limit_ttl_seconds &&
238
250
  sandbox_lifecycle_rate_limit_ttl_seconds == o.sandbox_lifecycle_rate_limit_ttl_seconds &&
239
- snapshot_deactivation_timeout_minutes == o.snapshot_deactivation_timeout_minutes
251
+ snapshot_deactivation_timeout_minutes == o.snapshot_deactivation_timeout_minutes &&
252
+ max_concurrent_snapshot_processing == o.max_concurrent_snapshot_processing
240
253
  end
241
254
 
242
255
  # @see the `==` method
@@ -248,7 +261,7 @@ module DaytonaApiClient
248
261
  # Calculates hash code according to all attributes.
249
262
  # @return [Integer] Hash code
250
263
  def hash
251
- [max_cpu_per_sandbox, max_memory_per_sandbox, max_disk_per_sandbox, snapshot_quota, max_snapshot_size, volume_quota, authenticated_rate_limit, sandbox_create_rate_limit, sandbox_lifecycle_rate_limit, authenticated_rate_limit_ttl_seconds, sandbox_create_rate_limit_ttl_seconds, sandbox_lifecycle_rate_limit_ttl_seconds, snapshot_deactivation_timeout_minutes].hash
264
+ [max_cpu_per_sandbox, max_memory_per_sandbox, max_disk_per_sandbox, snapshot_quota, max_snapshot_size, volume_quota, authenticated_rate_limit, sandbox_create_rate_limit, sandbox_lifecycle_rate_limit, authenticated_rate_limit_ttl_seconds, sandbox_create_rate_limit_ttl_seconds, sandbox_lifecycle_rate_limit_ttl_seconds, snapshot_deactivation_timeout_minutes, max_concurrent_snapshot_processing].hash
252
265
  end
253
266
 
254
267
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.21.0
11
11
  =end
12
12
 
13
13
  module DaytonaApiClient
14
- VERSION = '0.190.1'
14
+ VERSION = '0.191.0'
15
15
  end
data/project.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "api-client-ruby",
3
- "$schema": "../../node_modules/nx/schemas/project-schema.json",
3
+ "$schema": "../node_modules/nx/schemas/project-schema.json",
4
4
  "projectType": "library",
5
- "sourceRoot": "libs/api-client-ruby",
5
+ "sourceRoot": "api-client-ruby",
6
6
  "tags": [],
7
7
  "targets": {
8
8
  "build": {
9
9
  "executor": "nx:run-commands",
10
10
  "options": {
11
11
  "cwd": "{projectRoot}",
12
- "commands": ["rm -f *.gem", "bundle install", "gem build daytona_api_client.gemspec"],
12
+ "commands": ["rm -f *.gem", "BUNDLE_GEMFILE=Gemfile bundle install", "gem build daytona_api_client.gemspec"],
13
13
  "parallel": false
14
14
  },
15
15
  "dependsOn": ["set-version"],
@@ -31,11 +31,11 @@
31
31
  "outputs": ["{projectRoot}/lib"],
32
32
  "options": {
33
33
  "commands": [
34
- "rm -rf libs/api-client-ruby/lib",
35
- "yarn run openapi-generator-cli generate -i dist/apps/api/openapi.json -g ruby -t hack/ruby-client/openapi-templates --additional-properties=gemAuthor=daytonaio,gemAuthorEmail=support@daytona.io,gemDescription=\\\"Daytona API Client\\\",gemHomepage=\\\"https://github.com/daytonaio/daytona\\\",gemVersion=$DEFAULT_GEM_VERSION,gemName=daytona_api_client,enumUnknownDefaultCase=true -o libs/api-client-ruby",
36
- "bash libs/api-client-ruby/fix-gemspec.sh",
37
- "sed -i 's|OpenAPI-Generator/#{VERSION}/ruby|api-client-ruby/#{VERSION}|' libs/api-client-ruby/lib/daytona_api_client/api_client.rb",
38
- "cd libs/api-client-ruby && bundle install"
34
+ "rm -rf api-client-ruby/lib",
35
+ "yarn run openapi-generator-cli generate -i openapi-specs/api.json -g ruby -t hack/ruby-client/openapi-templates --additional-properties=gemAuthor=daytona,gemAuthorEmail=support@daytona.io,gemDescription=\\\"Daytona API Client\\\",gemHomepage=\\\"https://github.com/daytona/clients\\\",gemVersion=$DEFAULT_GEM_VERSION,gemName=daytona_api_client,enumUnknownDefaultCase=true -o api-client-ruby",
36
+ "bash api-client-ruby/fix-gemspec.sh",
37
+ "sed -i 's|OpenAPI-Generator/#{VERSION}/ruby|api-client-ruby/#{VERSION}|' api-client-ruby/lib/daytona_api_client/api_client.rb",
38
+ "cd api-client-ruby && BUNDLE_GEMFILE=Gemfile bundle install"
39
39
  ],
40
40
  "parallel": false
41
41
  },
@@ -44,12 +44,6 @@
44
44
  "apiClient",
45
45
  "{workspaceRoot}/hack/ruby-client/openapi-templates/**/*",
46
46
  { "env": "DEFAULT_GEM_VERSION" }
47
- ],
48
- "dependsOn": [
49
- {
50
- "target": "openapi",
51
- "projects": "api"
52
- }
53
47
  ]
54
48
  },
55
49
  "publish": {
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: daytona_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.190.1
4
+ version: 0.191.0
5
5
  platform: ruby
6
6
  authors:
7
- - daytonaio
7
+ - daytona
8
8
  bindir: bin
9
9
  cert_chain: []
10
10
  date: 1980-01-02 00:00:00.000000000 Z
@@ -273,7 +273,7 @@ files:
273
273
  - lib/daytona_api_client/models/work_dir_response.rb
274
274
  - lib/daytona_api_client/version.rb
275
275
  - project.json
276
- homepage: https://github.com/daytonaio/daytona
276
+ homepage: https://github.com/daytona/clients
277
277
  licenses:
278
278
  - Unlicense
279
279
  metadata: {}