chalk_ruby 0.1.2 → 0.1.3

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: be35291268749664bfdee468de9a997bd421f3b16683ffb847e12f3089f22e46
4
- data.tar.gz: 3670d6543e87f11cee499ed8477729364e57a2072437ed798f1a721d7823e93d
3
+ metadata.gz: d2ede1c8828c78063446a6dde9f51f7b9bc487c5d25a4ffc36d4fa48c200504b
4
+ data.tar.gz: 80d0d2513511d278d9ceeb2b64b71935287d9957c5f9df7e2e4758eea217b25f
5
5
  SHA512:
6
- metadata.gz: 87b9e3a20075fda23a00ba5e38dc91827afcc18922b6b664e1fb31676623ce2d67627cd0d1a56831740fa03eeeaf99439841151073bfd1413b33e9811aa45281
7
- data.tar.gz: 908b81be15e3c99571a7195f9464496b0f52bb5447f96728d82e2ed57365b5828dfef48c911a42d850ed9262a1bfb4c26b496cd7649e8a1512605c28a10a4c4f
6
+ metadata.gz: 0afdcc9b35ce5ae8a2cc4a1761e958ed844d0e0dc5e36f77192e538018fd420fca7ab0316a2ed4b6a85e4a05db896ace76385db236c5e1075d58ccd854396547
7
+ data.tar.gz: 55ef6712afc0f55785065e19a8ef9392c1319851df453742192703cd4f396c4ae9971b429464b6bd40443956193d9036fa84975eaee37113e22c3fc8971ad654
data/README.md CHANGED
@@ -1,15 +1,17 @@
1
1
  ## ChalkRuby Ruby
2
2
 
3
- Ruby client for ChalkRuby
3
+ [![Gem Version](https://badge.fury.io/rb/chalk_ruby.svg)](https://badge.fury.io/rb/chalk_ruby)
4
+
5
+ Ruby client for Chalk!
4
6
 
5
7
  https://rubygems.org/gems/chalk_ruby
6
8
 
7
9
  ## Getting Started
8
10
 
9
- First, install ChalkRuby Ruby API Client via the [RubyGems](https://rubygems.org/) package manager:
11
+ First, install `chalk_ruby` via the [RubyGems](https://rubygems.org/) package manager:
10
12
 
11
13
  ```bash
12
- gem install chalk_ai
14
+ gem install chalk_ruby
13
15
  ```
14
16
 
15
17
  Then, create a new client using your client ID and client secret:
data/Rakefile CHANGED
@@ -17,7 +17,7 @@ namespace :test do
17
17
  Rake::TestTask.new(:integration) do |t|
18
18
  t.libs << 'test'
19
19
  t.libs << 'lib'
20
- t.test_files = FileList['test/chalk/integration/**/*_test.rb']
20
+ t.test_files = FileList['test/chalk_ruby/integration/**/*_test.rb']
21
21
  t.verbose = true
22
22
  t.warning = false
23
23
  end
data/SECURITY.md CHANGED
@@ -1,17 +1,17 @@
1
1
  ## Security
2
2
 
3
- If you believe you have found a security vulnerability in ChalkRuby's Ruby package, please report it to us!
3
+ If you believe you have found a security vulnerability in Chalk's Ruby package, please report it to us!
4
4
 
5
5
  ### Reporting Security Issues
6
6
 
7
7
  **Please do not report security vulnerabilities through public GitHub issues.**
8
8
 
9
- Please email security concerns to [security@chalk_ai.ai](mailto:security@chalk_ai.ai).
9
+ Please email security concerns to [security@chalk.ai](mailto:security@chalk.ai).
10
10
 
11
11
  ### Security Overview
12
12
 
13
- https://docs.chalk_ai.ai/docs/security
13
+ https://docs.chalk.ai/docs/security
14
14
 
15
15
  ### SOC-2 Report
16
16
 
17
- To request access to ChalkRuby's SOC-2 report, please email [security@chalk_ai.ai](mailto:security@chalk_ai.ai).
17
+ To request access to ChalkRuby's SOC-2 report, please email [security@chalk.ai](mailto:security@chalk_ruby.ai).
@@ -31,13 +31,13 @@ module ChalkRuby
31
31
  # The API server to use.
32
32
  # If not provided, it will be read from the CHALK_API_SERVER environment variable.
33
33
  #
34
- # @option options [Integer?] :read_timeout
35
- # The timeout for read operations (in seconds).
34
+ # @option options [Float?] :query_timeout
35
+ # The timeout for query operations (in seconds).
36
36
  #
37
- # @option options [Integer?] :write_timeout
38
- # The timeout for write operations (in seconds).
37
+ # @option options [Float?] :api_timeout
38
+ # The timeout for non-query API operations (in seconds).
39
39
  #
40
- # @option options [Integer?] :connect_timeout
40
+ # @option options [Float?] :connect_timeout
41
41
  # The timeout for connect operations (in seconds).
42
42
  #
43
43
  # @option options [Hash<String, String>?] :additional_headers
@@ -49,8 +49,8 @@ module ChalkRuby
49
49
  @environment = opts[:environment] || ENV['CHALK_ACTIVE_ENVIRONMENT']
50
50
  @query_server = opts[:query_server] || ENV['CHALK_QUERY_SERVER'] || Defaults::QUERY_SERVER
51
51
  @api_server = opts[:api_server] || ENV['CHALK_API_SERVER'] || Defaults::API_SERVER
52
- @query_timeout = opts[:query_timeout] || Defaults::API_TIMEOUT
53
- @api_timeout = opts[:api_timeout] || Defaults::QUERY_TIMEOUT
52
+ @query_timeout = opts[:query_timeout] || Defaults::QUERY_TIMEOUT
53
+ @api_timeout = opts[:api_timeout] || Defaults::API_TIMEOUT
54
54
  @connect_timeout = opts[:connect_timeout] || Defaults::CONNECT_TIMEOUT
55
55
  @additional_headers = opts[:additional_headers] || {}
56
56
 
@@ -1,3 +1,3 @@
1
1
  module ChalkRuby
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.1.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chalk_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chalk AI, Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-12 00:00:00.000000000 Z
11
+ date: 2024-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -236,8 +236,8 @@ files:
236
236
  - sig/chalk_ruby/http/response.rbs
237
237
  - sig/chalk_ruby/token.rbs
238
238
  - sig/chalk_ruby/versions.rbs
239
- - test/chalk_ai/integration/client_test.rb
240
- - test/chalk_ai/test_helper.rb
239
+ - test/chalk_ruby/integration/client_test.rb
240
+ - test/chalk_ruby/test_helper.rb
241
241
  homepage: https://github.com/chalk-ai/chalk-ruby
242
242
  licenses:
243
243
  - Apache-2.0
@@ -265,5 +265,5 @@ signing_key:
265
265
  specification_version: 4
266
266
  summary: A simple Ruby client for Chalk
267
267
  test_files:
268
- - test/chalk_ai/integration/client_test.rb
269
- - test/chalk_ai/test_helper.rb
268
+ - test/chalk_ruby/integration/client_test.rb
269
+ - test/chalk_ruby/test_helper.rb
File without changes