sql_insight 0.1.0.alpha.1-x64-mingw-ucrt

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: 307c8a85f1ce7c21955c47ea779e975a2d671c0040aa7fa70415bff173315742
4
+ data.tar.gz: 625c63a2fca86632ea2f26d764c5df89f57a408e8c2846c6a6c326dd0e370e21
5
+ SHA512:
6
+ metadata.gz: efb724f8d7f8a04ec8e1670ab65cc379f444c833a5cf9960743abb70e80490701406e917be48b931bdd9fb48509e4e81974796f0cb4fbc9118e67a1eb8327f65
7
+ data.tar.gz: 87b2bd322329887040db6abcf3e1ddc4b6a64610cc4d93017feb60046ba722736c53577f638169b3d2d9d7f3a08eb8fe2c1fcf0a1f37ffb9eba091f33ffd4752
Binary file
Binary file
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,58 @@
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-mingw-ucrt
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.1/sql_insight.so
23
+ - lib/sql_insight/3.2/sql_insight.so
24
+ - lib/sql_insight/3.3/sql_insight.so
25
+ - lib/sql_insight/dialect.rb
26
+ - lib/sql_insight/errors.rb
27
+ - lib/sql_insight/version.rb
28
+ homepage: https://github.com/takaebato/sql-insight-rb
29
+ licenses:
30
+ - MIT
31
+ metadata:
32
+ homepage_uri: https://github.com/takaebato/sql-insight-rb
33
+ source_code_uri: https://github.com/takaebato/sql-insight-rb
34
+ changelog_uri: https://github.com/takaebato/sql-insight-rb/blob/master/CHANGELOG.md
35
+ rubygems_mfa_required: 'true'
36
+ post_install_message:
37
+ rdoc_options: []
38
+ require_paths:
39
+ - lib
40
+ required_ruby_version: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ version: '3.1'
45
+ - - "<"
46
+ - !ruby/object:Gem::Version
47
+ version: 3.4.dev
48
+ required_rubygems_version: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 3.3.22
53
+ requirements: []
54
+ rubygems_version: 3.4.4
55
+ signing_key:
56
+ specification_version: 4
57
+ summary: Ruby bindings for the sql-insight, a utility for SQL query analysis and transformation
58
+ test_files: []