|
| 1 | +# frozen_string_literal: true |
| 2 | + |
1 | 3 | begin |
2 | | - require_relative "lib/chdb/version" |
| 4 | + require_relative 'lib/chdb/version' |
3 | 5 | rescue LoadError |
4 | | - puts "WARNING: could not load ChDB::VERSION" |
| 6 | + puts 'WARNING: could not load ChDB::VERSION' |
5 | 7 | end |
6 | 8 |
|
7 | 9 | Gem::Specification.new do |s| |
8 | | - s.name = "chdb" |
9 | | - s.version = defined?(ChDB::VERSION) ? ChDB::VERSION : "0.0.0" |
| 10 | + s.name = 'chdb' |
| 11 | + s.version = defined?(ChDB::VERSION) ? ChDB::VERSION : '0.0.0' |
10 | 12 |
|
11 | | - s.summary = "Ruby library to interface with the chDB database engine (https://clickhouse.com/docs/chdb)." |
| 13 | + s.summary = 'Ruby library to interface with the chDB database engine (https://clickhouse.com/docs/chdb).' |
12 | 14 | s.description = <<~TEXT |
13 | 15 | Ruby library to interface with the chDB database engine (https://clickhouse.com/docs/chdb). Precompiled |
14 | 16 | binaries are available for common platforms for recent versions of Ruby. |
15 | 17 | TEXT |
16 | 18 |
|
17 | | - s.authors = ["Xiaozhe Yu", "Auxten Wang"] |
| 19 | + s.authors = ['Xiaozhe Yu', 'Auxten Wang'] |
18 | 20 |
|
19 | | - s.licenses = ["Apache-2.0"] |
| 21 | + s.licenses = ['Apache-2.0'] |
20 | 22 |
|
21 | | - s.required_ruby_version = Gem::Requirement.new(">= 3.1") |
| 23 | + s.required_ruby_version = Gem::Requirement.new('>= 3.1') |
22 | 24 |
|
23 | | - s.homepage = "https://github.com/chdb-io/chdb-ruby" |
| 25 | + s.homepage = 'https://github.com/chdb-io/chdb-ruby' |
24 | 26 | s.metadata = { |
25 | | - "homepage_uri" => "https://github.com/chdb-io/chdb-ruby", |
26 | | - "bug_tracker_uri" => "https://github.com/chdb-io/chdb-ruby/issues", |
27 | | - "changelog_uri" => "https://github.com/chdb-io/chdb-ruby/blob/main/CHANGELOG.md", |
28 | | - "source_code_uri" => "https://github.com/chdb-io/chdb-ruby", |
| 27 | + 'homepage_uri' => 'https://github.com/chdb-io/chdb-ruby', |
| 28 | + 'bug_tracker_uri' => 'https://github.com/chdb-io/chdb-ruby/issues', |
| 29 | + 'changelog_uri' => 'https://github.com/chdb-io/chdb-ruby/blob/main/CHANGELOG.md', |
| 30 | + 'source_code_uri' => 'https://github.com/chdb-io/chdb-ruby', |
29 | 31 |
|
30 | 32 | # https://guides.rubygems.org/mfa-requirement-opt-in/ |
31 | | - "rubygems_mfa_required" => "true" |
| 33 | + 'rubygems_mfa_required' => 'true' |
32 | 34 | } |
33 | 35 |
|
34 | 36 | s.files = [ |
35 | | - "CHANGELOG.md", |
36 | | - "LICENSE", |
37 | | - "README.md", |
38 | | - "lib/chdb.rb", |
39 | | - "lib/chdb/constants.rb", |
40 | | - "lib/chdb/data_path.rb", |
41 | | - "lib/chdb/database.rb", |
42 | | - "lib/chdb/errors.rb", |
43 | | - "lib/chdb/local_result.rb", |
44 | | - "lib/chdb/parameter_binding.rb", |
45 | | - "lib/chdb/result_handler.rb", |
46 | | - "lib/chdb/result_set.rb", |
47 | | - "lib/chdb/sql_processor.rb", |
48 | | - "lib/chdb/statement.rb", |
49 | | - "lib/chdb/version_info.rb", |
50 | | - "lib/chdb/version.rb" |
| 37 | + 'CHANGELOG.md', |
| 38 | + 'LICENSE', |
| 39 | + 'README.md', |
| 40 | + 'lib/chdb.rb', |
| 41 | + 'lib/chdb/constants.rb', |
| 42 | + 'lib/chdb/data_path.rb', |
| 43 | + 'lib/chdb/database.rb', |
| 44 | + 'lib/chdb/errors.rb', |
| 45 | + 'lib/chdb/local_result.rb', |
| 46 | + 'lib/chdb/parameter_binding.rb', |
| 47 | + 'lib/chdb/result_handler.rb', |
| 48 | + 'lib/chdb/result_set.rb', |
| 49 | + 'lib/chdb/sql_processor.rb', |
| 50 | + 'lib/chdb/statement.rb', |
| 51 | + 'lib/chdb/version_info.rb', |
| 52 | + 'lib/chdb/version.rb' |
51 | 53 | ] |
52 | 54 |
|
53 | | - s.rdoc_options = ["--main", "README.md"] |
| 55 | + s.rdoc_options = ['--main', 'README.md'] |
54 | 56 |
|
55 | | - s.extensions << "ext/chdb/extconf.rb" |
| 57 | + s.extensions << 'ext/chdb/extconf.rb' |
56 | 58 | end |
0 commit comments