carbon_ruby_sdk 0.2.31 → 0.2.32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1939099e2521b3ce6cd543619658ed58f1faa33ce3a130183c5c974f35a000e4
4
- data.tar.gz: 4573715a75b4ac334b788ff4a2d3750d04ec01a488daa01d5581d36c1d61ae1d
3
+ metadata.gz: 6780976b809dc2379eab91bcc29d6e61c68bf5b241aab6c073ba8181da54be59
4
+ data.tar.gz: e4875b2af1887a27a3289693558cef3fa7f01655bf4c9e0e7d831205f7dbe98c
5
5
  SHA512:
6
- metadata.gz: e97681a4f7458e062ac3c13f822d359ddd5096b9f8982ec81d6ceb19374f33ca6c906df6cedcd4794c4e57f91827de14a8b03de4575373e925c632cd3a686505
7
- data.tar.gz: 0d2a1f1704620c3e481c11f7f124dcf4f08df5a40cd59c43890e1f504076376faeec18acd31a7ae508975619d6fcfdf5a70b6521ebb00cf160b5152b8a7f9efa
6
+ metadata.gz: 2cd55af26a42d03355def8a93410efce994415488cc6df1bacc2a6a526da2d6f4be7e7575f7972b6d2bed6718d2c303254ae84528c17d0f18d13addde3b3e3dd
7
+ data.tar.gz: e331119254730ea6cfbad55ddc5ec571bdcd36c75fbdadb759f0a4fec6343675394487f6abeb22ef1b8a139c5c35271df62e0ab0c561c13efa6afafc53ad92ad
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- carbon_ruby_sdk (0.2.31)
4
+ carbon_ruby_sdk (0.2.32)
5
5
  faraday (>= 1.0.1, < 3.0)
6
6
  faraday-multipart (~> 1.0, >= 1.0.4)
7
7
 
data/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Connect external data to LLMs, no matter the source.
8
8
 
9
- [![npm](https://img.shields.io/badge/gem-v0.2.31-blue)](https://rubygems.org/gems/carbon_ruby_sdk/versions/0.2.31)
9
+ [![npm](https://img.shields.io/badge/gem-v0.2.32-blue)](https://rubygems.org/gems/carbon_ruby_sdk/versions/0.2.32)
10
10
 
11
11
  </div>
12
12
 
@@ -94,7 +94,7 @@ Connect external data to LLMs, no matter the source.
94
94
  Add to Gemfile:
95
95
 
96
96
  ```ruby
97
- gem 'carbon_ruby_sdk', '~> 0.2.31'
97
+ gem 'carbon_ruby_sdk', '~> 0.2.32'
98
98
  ```
99
99
 
100
100
  ## Getting Started<a id="getting-started"></a>
@@ -47,6 +47,8 @@ module Carbon
47
47
 
48
48
  attr_accessor :file_sync_usage
49
49
 
50
+ attr_accessor :logging_settings
51
+
50
52
  attr_accessor :created_at
51
53
 
52
54
  attr_accessor :updated_at
@@ -72,6 +74,7 @@ module Carbon
72
74
  :'connector_settings' => :'connector_settings',
73
75
  :'global_user_config' => :'global_user_config',
74
76
  :'file_sync_usage' => :'file_sync_usage',
77
+ :'logging_settings' => :'logging_settings',
75
78
  :'created_at' => :'created_at',
76
79
  :'updated_at' => :'updated_at'
77
80
  }
@@ -103,6 +106,7 @@ module Carbon
103
106
  :'connector_settings' => :'Object',
104
107
  :'global_user_config' => :'Object',
105
108
  :'file_sync_usage' => :'Object',
109
+ :'logging_settings' => :'Object',
106
110
  :'created_at' => :'Time',
107
111
  :'updated_at' => :'Time'
108
112
  }
@@ -207,6 +211,10 @@ module Carbon
207
211
  self.file_sync_usage = attributes[:'file_sync_usage']
208
212
  end
209
213
 
214
+ if attributes.key?(:'logging_settings')
215
+ self.logging_settings = attributes[:'logging_settings']
216
+ end
217
+
210
218
  if attributes.key?(:'created_at')
211
219
  self.created_at = attributes[:'created_at']
212
220
  end
@@ -268,6 +276,10 @@ module Carbon
268
276
  invalid_properties.push('invalid value for "file_sync_usage", file_sync_usage cannot be nil.')
269
277
  end
270
278
 
279
+ if @logging_settings.nil?
280
+ invalid_properties.push('invalid value for "logging_settings", logging_settings cannot be nil.')
281
+ end
282
+
271
283
  if @created_at.nil?
272
284
  invalid_properties.push('invalid value for "created_at", created_at cannot be nil.')
273
285
  end
@@ -294,6 +306,7 @@ module Carbon
294
306
  return false if @connector_settings.nil?
295
307
  return false if @global_user_config.nil?
296
308
  return false if @file_sync_usage.nil?
309
+ return false if @logging_settings.nil?
297
310
  return false if @created_at.nil?
298
311
  return false if @updated_at.nil?
299
312
  true
@@ -322,6 +335,7 @@ module Carbon
322
335
  connector_settings == o.connector_settings &&
323
336
  global_user_config == o.global_user_config &&
324
337
  file_sync_usage == o.file_sync_usage &&
338
+ logging_settings == o.logging_settings &&
325
339
  created_at == o.created_at &&
326
340
  updated_at == o.updated_at
327
341
  end
@@ -335,7 +349,7 @@ module Carbon
335
349
  # Calculates hash code according to all attributes.
336
350
  # @return [Integer] Hash code
337
351
  def hash
338
- [id, name, nickname, remove_branding, custom_branding, custom_limits, aggregate_file_size, aggregate_num_characters, aggregate_num_tokens, aggregate_num_embeddings, aggregate_num_files_by_source, aggregate_num_files_by_file_format, file_statistics_aggregated_at, period_ends_at, cancel_at_period_end, connector_settings, global_user_config, file_sync_usage, created_at, updated_at].hash
352
+ [id, name, nickname, remove_branding, custom_branding, custom_limits, aggregate_file_size, aggregate_num_characters, aggregate_num_tokens, aggregate_num_embeddings, aggregate_num_files_by_source, aggregate_num_files_by_file_format, file_statistics_aggregated_at, period_ends_at, cancel_at_period_end, connector_settings, global_user_config, file_sync_usage, logging_settings, created_at, updated_at].hash
339
353
  end
340
354
 
341
355
  # Builds the object from hash
@@ -7,5 +7,5 @@ The version of the OpenAPI document: 1.0.0
7
7
  =end
8
8
 
9
9
  module Carbon
10
- VERSION = '0.2.31'
10
+ VERSION = '0.2.32'
11
11
  end
@@ -127,6 +127,12 @@ describe Carbon::OrganizationResponse do
127
127
  end
128
128
  end
129
129
 
130
+ describe 'test attribute "logging_settings"' do
131
+ it 'should work' do
132
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
133
+ end
134
+ end
135
+
130
136
  describe 'test attribute "created_at"' do
131
137
  it 'should work' do
132
138
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: carbon_ruby_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.31
4
+ version: 0.2.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konfig
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-10 00:00:00.000000000 Z
11
+ date: 2024-09-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday