druid_client 0.1.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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: d0995de7f57ebb5a4b1b5fb39f3bd08378073d814289f3bc02e530edb3aabd53
4
+ data.tar.gz: 27330ecf9f06410fa5a30d9b02c6fc9c63dd3a0bbc02f54b3bc88938c633f369
5
+ SHA512:
6
+ metadata.gz: '081b22325e38beadd31c03636c1f26300a4f8bd8070984de6524206789d15fca97fe9d2691f52b5e15c81fdb5e41934856f8db1eaac58b6b86b20e499ede676c'
7
+ data.tar.gz: 6a28949b4fcd34210bb5cc7f38aa39d8271ab902e677bd868bc65e23bb250034f9d490bf56caa37cbceadd02cf75444d82b366dd3177a6c151098088325f1b0b
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 Thomas Tych
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # DruidClient
2
+
3
+ TODO: Delete this and the text below, and describe your gem
4
+
5
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/druid_client`. To experiment with that code, run `bin/console` for an interactive prompt.
6
+
7
+ ## Installation
8
+
9
+ TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
10
+
11
+ Install the gem and add to the application's Gemfile by executing:
12
+
13
+ ```bash
14
+ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
15
+ ```
16
+
17
+ If bundler is not being used to manage dependencies, install the gem by executing:
18
+
19
+ ```bash
20
+ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
21
+ ```
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/druid_client.
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,18 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'minitest/test_task'
5
+
6
+ Minitest::TestTask.create(:test) do |t|
7
+ t.libs << 'test'
8
+ t.warning = false
9
+ t.test_globs = ['test/**/*_test.rb', 'test/**/test_*.rb']
10
+ end
11
+
12
+ require 'rubocop/rake_task'
13
+
14
+ RuboCop::RakeTask.new
15
+
16
+ require 'bump/tasks'
17
+
18
+ task default: %i[test rubocop]
@@ -0,0 +1,52 @@
1
+ # frozen_string_literal: true
2
+
3
+ # rubocop:disable Metrics/BlockLength,Style/GlobalVars
4
+
5
+ # fake Druid API
6
+ # launch with ruby fake_druid_api.rb
7
+
8
+ require 'sinatra'
9
+
10
+ # SQL query
11
+ post '/druid/v2/sql' do
12
+ auth = Rack::Auth::Basic::Request.new(request.env)
13
+ username, password = auth.credentials if auth.provided? && auth.basic?
14
+ headers = request.env.select { |k, v| k.start_with? 'HTTP_' }
15
+
16
+ puts "# basic auth: #{username}, #{password}"
17
+ puts "# headers: #{headers}"
18
+
19
+ $call_count ||= 0
20
+ $call_count += 1
21
+ case $call_count % 3
22
+ when 0
23
+ status 200
24
+ when 1
25
+ status 400
26
+ when 2
27
+ status 500
28
+ end
29
+ content_type :json
30
+
31
+ response_headers = {
32
+ 'X-Custom-Header-1' => 'h1',
33
+ 'X-Custom-Header-2' => 'h2',
34
+ 'X-Custom-username' => username,
35
+ 'X-Custom-password' => password
36
+ }
37
+
38
+ headers response_headers
39
+ [
40
+ {
41
+ my_count: {
42
+ type: 'LONG',
43
+ sqlType: 'BIGINT'
44
+ }
45
+ },
46
+ {
47
+ my_count: 123_456_789
48
+ }
49
+ ].to_json
50
+ end
51
+
52
+ # rubocop:enable all
@@ -0,0 +1,33 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative '../druid_config'
4
+ require_relative 'rest_client'
5
+ require_relative 'sql'
6
+
7
+ module DruidClient
8
+ module Api
9
+ class Client
10
+ attr_reader :druid_config
11
+
12
+ def initialize(druid_config:)
13
+ @druid_config = druid_config
14
+ @druid_config.verify!
15
+ end
16
+
17
+ def sql
18
+ @sql ||= Api::Sql.new(rest_client: rest_client)
19
+ end
20
+
21
+ def rest_client
22
+ @rest_client ||= RestClient.new(druid_config)
23
+ end
24
+
25
+ class << self
26
+ def build(**)
27
+ druid_config = DruidConfig.new(**)
28
+ new(druid_config: druid_config)
29
+ end
30
+ end
31
+ end
32
+ end
33
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'forwardable'
4
+
5
+ module DruidClient
6
+ module Api
7
+ class Resource
8
+ extend Forwardable
9
+
10
+ def_delegators :@rest_client, :get, :post, :patch, :put, :delete
11
+
12
+ def initialize(rest_client:)
13
+ @rest_client = rest_client
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DruidClient
4
+ module Api
5
+ class Response
6
+ attr_reader :status_code, :body, :headers, :elapsed_time
7
+
8
+ def initialize(status_code:, body:, headers: {}, elapsed_time: nil)
9
+ @status_code = status_code
10
+ @body = body
11
+ @headers = headers
12
+ @elapsed_time = elapsed_time
13
+ end
14
+
15
+ def success?
16
+ return false unless status_code
17
+
18
+ 200.299.include?(status_code)
19
+ end
20
+
21
+ def error?
22
+ !success?
23
+ end
24
+
25
+ def to_s
26
+ "#<Response status_code=#{status_code} elapsed_time=#{elapsed_time}s>"
27
+ end
28
+ end
29
+ end
30
+ end
@@ -0,0 +1,119 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'faraday'
4
+
5
+ require_relative 'response'
6
+
7
+ module DruidClient
8
+ module Api
9
+ class RestClient
10
+ attr_reader :url, :log, :options
11
+
12
+ def initialize(options = {})
13
+ @options = options
14
+ @url = options[:url]
15
+ @log = options[:log]
16
+ end
17
+
18
+ def get(path, params: {}, headers: {})
19
+ request(:get, path, params: params, headers: headers)
20
+ end
21
+
22
+ def post(path, body: nil, headers: {})
23
+ request(:post, path, body: body, headers: headers)
24
+ end
25
+
26
+ def put(path, body: nil, headers: {})
27
+ request(:put, path, body: body, headers: headers)
28
+ end
29
+
30
+ def patch(path, body: nil, headers: {})
31
+ request(:patch, path, body: body, headers: headers)
32
+ end
33
+
34
+ def delete(path, params: {}, headers: {})
35
+ request(:delete, path, params: params, headers: headers)
36
+ end
37
+
38
+ def request(method, path, body: nil, params: {}, headers: {})
39
+ File.join(url, path)
40
+ start_time = Time.now
41
+ response = client.send(method) do |req|
42
+ req.url path
43
+ req.headers.merge!(headers)
44
+ req.body = body.to_json if body
45
+ end
46
+ elapsed_time = Time.now - start_time
47
+ Response.new(
48
+ status_code: response.status,
49
+ headers: response.headers,
50
+ body: response.body,
51
+ elapsed_time: elapsed_time
52
+ )
53
+ rescue Faraday::Error => e
54
+ elapsed_time = Time.now - start_time
55
+ Response.new(status_code: 0, body: e.message, elapsed_time: elapsed_time)
56
+ end
57
+
58
+ def client_options
59
+ {
60
+ url: url,
61
+ headers: { 'User-Agent' => user_agent }.compact,
62
+ request: { timeout: timeout }.compact,
63
+ ssl: { ca_file: ca_file,
64
+ ca_path: ca_path,
65
+ verify: verify_ssl }.compact
66
+ }
67
+ end
68
+
69
+ def client
70
+ @client ||= Faraday.new(client_options) do |conn|
71
+ conn.request :authorization, :basic, basic_username, basic_password if basic_auth?
72
+ conn.request :json
73
+ conn.response :json
74
+ if log
75
+ conn.response :logger, log, headers: options[:log_headers], bodies: options[:log_bodies],
76
+ log_level: :debug
77
+ end
78
+ conn.adapter Faraday.default_adapter
79
+ end
80
+ end
81
+
82
+ def base_headers
83
+ options[:headers] || {}
84
+ end
85
+
86
+ def basic_auth?
87
+ basic_username && basic_password
88
+ end
89
+
90
+ def basic_username
91
+ options[:username]
92
+ end
93
+
94
+ def basic_password
95
+ options[:password]
96
+ end
97
+
98
+ def user_agent
99
+ options[:user_agent]
100
+ end
101
+
102
+ def timeout
103
+ options[:timeout]
104
+ end
105
+
106
+ def ca_file
107
+ options[:ca_file]
108
+ end
109
+
110
+ def ca_path
111
+ options[:ca_path]
112
+ end
113
+
114
+ def verify_ssl
115
+ options[:verify_ssl]
116
+ end
117
+ end
118
+ end
119
+ end
@@ -0,0 +1,46 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'resource'
4
+
5
+ module DruidClient
6
+ module Api
7
+ class Sql < Resource
8
+ SQL_PATH = '/druid/v2/sql'
9
+
10
+ QUERY_RESULT_FORMATS = %i[object
11
+ array
12
+ objectLines
13
+ arrayLines
14
+ csv].freeze
15
+ QUERY_RESULT_FORMAT = QUERY_RESULT_FORMATS.first
16
+ QUERY_HEADER = true
17
+ QUERY_TYPES_HEADER = true
18
+ QUERY_SQL_TYPES_HEADER = true
19
+ QUERY_PARAMETERS = [].freeze
20
+ QUERY_CONTEXT = {}.freeze
21
+
22
+ def query(query:,
23
+ result_format: QUERY_RESULT_FORMAT,
24
+ header: QUERY_HEADER,
25
+ types_header: QUERY_TYPES_HEADER,
26
+ sql_types_header: QUERY_SQL_TYPES_HEADER,
27
+ parameters: QUERY_PARAMETERS,
28
+ context: QUERY_CONTEXT)
29
+ query_body = {
30
+ query: query.to_s,
31
+ parameters: parameters.to_a,
32
+ resultFormat: result_format.to_s,
33
+ header: header,
34
+ typesHeader: types_header,
35
+ sqlTypesHeader: sql_types_header,
36
+ context: context.to_h
37
+ }
38
+ post(SQL_PATH, body: query_body)
39
+ end
40
+
41
+ def cancel_query(query_id:)
42
+ delete("#{SQL_PATH}/#{query_id}")
43
+ end
44
+ end
45
+ end
46
+ end
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'api/client'
4
+
5
+ module DruidClient
6
+ module Api
7
+ def self.new(...)
8
+ DruidClient::Api::Client.build(...)
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,36 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'error'
4
+
5
+ module DruidClient
6
+ class DruidConfig
7
+ DEFAULTS = {
8
+ url: 'http://localhost:8888',
9
+ user_agent: 'druid_client.rb',
10
+ timeout: 30,
11
+ verify_ssl: true,
12
+ log_headers: false,
13
+ log_bodies: false
14
+ }.freeze
15
+
16
+ def initialize(**options)
17
+ @options = DEFAULTS.merge(options)
18
+
19
+ yield self if block_given?
20
+ end
21
+
22
+ def verify!
23
+ return if @options[:url].to_s.size.positive?
24
+
25
+ raise ConfigError, 'Missing url in DruidConfig'
26
+ end
27
+
28
+ def keys
29
+ @options.keys
30
+ end
31
+
32
+ def [](key)
33
+ @options[key]
34
+ end
35
+ end
36
+ end
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DruidClient
4
+ class Error < StandardError; end
5
+ class ConfigError < Error; end
6
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module DruidClient
4
+ VERSION = '0.1.0'
5
+ end
@@ -0,0 +1,10 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'druid_client/version'
4
+ require_relative 'druid_client/api'
5
+
6
+ module DruidClient
7
+ def self.api(...)
8
+ DruidClient::Api.new(...)
9
+ end
10
+ end
@@ -0,0 +1,4 @@
1
+ module DruidClient
2
+ VERSION: String
3
+ # See the writing guide of rbs: https://github.com/ruby/rbs#guides
4
+ end
metadata ADDED
@@ -0,0 +1,276 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: druid_client
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Thomas Tych
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: bump
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: 0.10.0
19
+ type: :development
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - "~>"
24
+ - !ruby/object:Gem::Version
25
+ version: 0.10.0
26
+ - !ruby/object:Gem::Dependency
27
+ name: byebug
28
+ requirement: !ruby/object:Gem::Requirement
29
+ requirements:
30
+ - - "~>"
31
+ - !ruby/object:Gem::Version
32
+ version: '12.0'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - "~>"
38
+ - !ruby/object:Gem::Version
39
+ version: '12.0'
40
+ - !ruby/object:Gem::Dependency
41
+ name: irb
42
+ requirement: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - "~>"
45
+ - !ruby/object:Gem::Version
46
+ version: '1.15'
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: 1.15.2
50
+ type: :development
51
+ prerelease: false
52
+ version_requirements: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - "~>"
55
+ - !ruby/object:Gem::Version
56
+ version: '1.15'
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ version: 1.15.2
60
+ - !ruby/object:Gem::Dependency
61
+ name: minitest
62
+ requirement: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - "~>"
65
+ - !ruby/object:Gem::Version
66
+ version: '5.25'
67
+ - - ">="
68
+ - !ruby/object:Gem::Version
69
+ version: 5.25.5
70
+ type: :development
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - "~>"
75
+ - !ruby/object:Gem::Version
76
+ version: '5.25'
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ version: 5.25.5
80
+ - !ruby/object:Gem::Dependency
81
+ name: minitest-focus
82
+ requirement: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - "~>"
85
+ - !ruby/object:Gem::Version
86
+ version: '1.4'
87
+ type: :development
88
+ prerelease: false
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - "~>"
92
+ - !ruby/object:Gem::Version
93
+ version: '1.4'
94
+ - !ruby/object:Gem::Dependency
95
+ name: rake
96
+ requirement: !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - "~>"
99
+ - !ruby/object:Gem::Version
100
+ version: '13.3'
101
+ type: :development
102
+ prerelease: false
103
+ version_requirements: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - "~>"
106
+ - !ruby/object:Gem::Version
107
+ version: '13.3'
108
+ - !ruby/object:Gem::Dependency
109
+ name: rubocop
110
+ requirement: !ruby/object:Gem::Requirement
111
+ requirements:
112
+ - - "~>"
113
+ - !ruby/object:Gem::Version
114
+ version: '1.81'
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: 1.81.1
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '1.81'
125
+ - - ">="
126
+ - !ruby/object:Gem::Version
127
+ version: 1.81.1
128
+ - !ruby/object:Gem::Dependency
129
+ name: rubocop-minitest
130
+ requirement: !ruby/object:Gem::Requirement
131
+ requirements:
132
+ - - "~>"
133
+ - !ruby/object:Gem::Version
134
+ version: '0.38'
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: 0.38.2
138
+ type: :development
139
+ prerelease: false
140
+ version_requirements: !ruby/object:Gem::Requirement
141
+ requirements:
142
+ - - "~>"
143
+ - !ruby/object:Gem::Version
144
+ version: '0.38'
145
+ - - ">="
146
+ - !ruby/object:Gem::Version
147
+ version: 0.38.2
148
+ - !ruby/object:Gem::Dependency
149
+ name: rubocop-rake
150
+ requirement: !ruby/object:Gem::Requirement
151
+ requirements:
152
+ - - "~>"
153
+ - !ruby/object:Gem::Version
154
+ version: '0.7'
155
+ - - ">="
156
+ - !ruby/object:Gem::Version
157
+ version: 0.7.1
158
+ type: :development
159
+ prerelease: false
160
+ version_requirements: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - "~>"
163
+ - !ruby/object:Gem::Version
164
+ version: '0.7'
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: 0.7.1
168
+ - !ruby/object:Gem::Dependency
169
+ name: simplecov
170
+ requirement: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - "~>"
173
+ - !ruby/object:Gem::Version
174
+ version: '0.22'
175
+ type: :development
176
+ prerelease: false
177
+ version_requirements: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - "~>"
180
+ - !ruby/object:Gem::Version
181
+ version: '0.22'
182
+ - !ruby/object:Gem::Dependency
183
+ name: faraday
184
+ requirement: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - "~>"
187
+ - !ruby/object:Gem::Version
188
+ version: '2.14'
189
+ type: :runtime
190
+ prerelease: false
191
+ version_requirements: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - "~>"
194
+ - !ruby/object:Gem::Version
195
+ version: '2.14'
196
+ - !ruby/object:Gem::Dependency
197
+ name: gli
198
+ requirement: !ruby/object:Gem::Requirement
199
+ requirements:
200
+ - - "~>"
201
+ - !ruby/object:Gem::Version
202
+ version: '2.22'
203
+ - - ">="
204
+ - !ruby/object:Gem::Version
205
+ version: 2.22.2
206
+ type: :runtime
207
+ prerelease: false
208
+ version_requirements: !ruby/object:Gem::Requirement
209
+ requirements:
210
+ - - "~>"
211
+ - !ruby/object:Gem::Version
212
+ version: '2.22'
213
+ - - ">="
214
+ - !ruby/object:Gem::Version
215
+ version: 2.22.2
216
+ - !ruby/object:Gem::Dependency
217
+ name: terminal-table
218
+ requirement: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - "~>"
221
+ - !ruby/object:Gem::Version
222
+ version: '4.0'
223
+ type: :runtime
224
+ prerelease: false
225
+ version_requirements: !ruby/object:Gem::Requirement
226
+ requirements:
227
+ - - "~>"
228
+ - !ruby/object:Gem::Version
229
+ version: '4.0'
230
+ description: Apache Druid DB client
231
+ email:
232
+ - thomas.tych@gmail.com
233
+ executables: []
234
+ extensions: []
235
+ extra_rdoc_files: []
236
+ files:
237
+ - LICENSE.txt
238
+ - README.md
239
+ - Rakefile
240
+ - extra/fake_druid_api.rb
241
+ - lib/druid_client.rb
242
+ - lib/druid_client/api.rb
243
+ - lib/druid_client/api/client.rb
244
+ - lib/druid_client/api/resource.rb
245
+ - lib/druid_client/api/response.rb
246
+ - lib/druid_client/api/rest_client.rb
247
+ - lib/druid_client/api/sql.rb
248
+ - lib/druid_client/druid_config.rb
249
+ - lib/druid_client/error.rb
250
+ - lib/druid_client/version.rb
251
+ - sig/druid_client.rbs
252
+ homepage: https://gitlab.com/ttych/druid_client.rb
253
+ licenses:
254
+ - MIT
255
+ metadata:
256
+ homepage_uri: https://gitlab.com/ttych/druid_client.rb
257
+ source_code_uri: https://gitlab.com/ttych/druid_client.rb
258
+ rubygems_mfa_required: 'true'
259
+ rdoc_options: []
260
+ require_paths:
261
+ - lib
262
+ required_ruby_version: !ruby/object:Gem::Requirement
263
+ requirements:
264
+ - - ">="
265
+ - !ruby/object:Gem::Version
266
+ version: 3.2.0
267
+ required_rubygems_version: !ruby/object:Gem::Requirement
268
+ requirements:
269
+ - - ">="
270
+ - !ruby/object:Gem::Version
271
+ version: '0'
272
+ requirements: []
273
+ rubygems_version: 3.6.9
274
+ specification_version: 4
275
+ summary: Apache Druid DB client
276
+ test_files: []