sql_insight 0.1.0.alpha.1-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 0561f755faabb6107b16c9cbb4f30658288316c6e9b7922e09d5027705dff7af
4
+ data.tar.gz: 077aeff604f042422742de0479a2dda318c26d7416fc551d6491a3784d86aa2c
5
+ SHA512:
6
+ metadata.gz: 79dffc3f27b4df63f75695f2809f30ff660cedfab143aec288aea076ae5cd613e1794837634ba831838773d30d2d7ac3b7e0cbedd9dad16d6625eec3d2718946
7
+ data.tar.gz: 728703c9ba952c741b778427c0100cf43efee3193e79bb6535327e1bda2d60c2c7d137ee8c0484187c73bb69d753a42f1c392ed5c21689a4536c15898a484459
Binary file
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+ module SqlInsight
3
+ module Dialect
4
+ MYSQL = 'MySQL'
5
+ POSTGRESQL = 'PostgreSQL'
6
+ SQLITE = 'SQLite'
7
+ SQLSERVER = 'MsSQL'
8
+ GENERIC = 'Generic'
9
+ HIVE = 'Hive'
10
+ SNOWFLAKE = 'Snowflake'
11
+ REDSHIFT = 'Uedshift'
12
+ CLICKHOUSE = 'Clickhouse'
13
+ BIGQUERY = 'BigQuery'
14
+ ANSI = 'ANSI'
15
+ DUCKDB = 'DuckDB'
16
+ end
17
+ end
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Definitions must be synced with ext/sql_insight/src/errors.rs
4
+ module SqlInsight
5
+ class Error < StandardError
6
+ end
7
+
8
+ class ParserError < Error
9
+ end
10
+
11
+ class AnalysisError < Error
12
+ end
13
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module SqlInsight
4
+ VERSION = '0.1.0.alpha.1'
5
+ end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'sql_insight/version'
4
+ require_relative 'sql_insight/dialect'
5
+ require_relative 'sql_insight/errors'
6
+
7
+ # https://github.com/rake-compiler/rake-compiler/blob/master/README.md
8
+ # Technique to lookup the fat binaries first, and then lookup the gems compiled by the end user.
9
+ begin
10
+ RUBY_VERSION =~ /(\d+\.\d+)/
11
+ require_relative "sql_insight/#{Regexp.last_match(1)}/sql_insight"
12
+ rescue LoadError
13
+ require_relative 'sql_insight/sql_insight'
14
+ end
15
+
16
+ module SqlInsight
17
+ end
metadata ADDED
@@ -0,0 +1,56 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sql_insight
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0.alpha.1
5
+ platform: x64-mingw32
6
+ authors:
7
+ - Takahiro Ebato
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-03-16 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: Ruby bindings for the sql-insight, a utility for SQL query analysis and
14
+ transformation supporting various SQL dialects
15
+ email:
16
+ - takahiro.ebato@gmail.com
17
+ executables: []
18
+ extensions: []
19
+ extra_rdoc_files: []
20
+ files:
21
+ - lib/sql_insight.rb
22
+ - lib/sql_insight/3.0/sql_insight.so
23
+ - lib/sql_insight/dialect.rb
24
+ - lib/sql_insight/errors.rb
25
+ - lib/sql_insight/version.rb
26
+ homepage: https://github.com/takaebato/sql-insight-rb
27
+ licenses:
28
+ - MIT
29
+ metadata:
30
+ homepage_uri: https://github.com/takaebato/sql-insight-rb
31
+ source_code_uri: https://github.com/takaebato/sql-insight-rb
32
+ changelog_uri: https://github.com/takaebato/sql-insight-rb/blob/master/CHANGELOG.md
33
+ rubygems_mfa_required: 'true'
34
+ post_install_message:
35
+ rdoc_options: []
36
+ require_paths:
37
+ - lib
38
+ required_ruby_version: !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: '3.0'
43
+ - - "<"
44
+ - !ruby/object:Gem::Version
45
+ version: 3.1.dev
46
+ required_rubygems_version: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ version: 3.3.22
51
+ requirements: []
52
+ rubygems_version: 3.4.4
53
+ signing_key:
54
+ specification_version: 4
55
+ summary: Ruby bindings for the sql-insight, a utility for SQL query analysis and transformation
56
+ test_files: []