sql_insight 0.1.0.alpha.1-x86_64-linux-musl
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/sql_insight/3.0/sql_insight.so +0 -0
- data/lib/sql_insight/3.1/sql_insight.so +0 -0
- data/lib/sql_insight/3.2/sql_insight.so +0 -0
- data/lib/sql_insight/3.3/sql_insight.so +0 -0
- data/lib/sql_insight/dialect.rb +17 -0
- data/lib/sql_insight/errors.rb +13 -0
- data/lib/sql_insight/version.rb +5 -0
- data/lib/sql_insight.rb +17 -0
- metadata +62 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1a11465a6f4282fe9edb1f88a46880019b69d0880380ba730d8563e2ed265c86
|
4
|
+
data.tar.gz: 232e2be35624a35cb8822859889f785a8beeb32a28241c938c5a91c55d158c61
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b636d95a14f418e0bc6d5cd8eae6ab8894625236e156343553eddd4946379e7cf676a0d237ebef099951ba2b95172c3e588983ad46c3ae10afa3d82c17d3e491
|
7
|
+
data.tar.gz: e55b049463d3b1024267f3dd02ebfe869c9c20d859ccb616611c1fa9890427430949a9a45e1a42ed19375ae941c6fb7d30fc143223c1c1549f630a5f7bb2345b
|
Binary file
|
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
|
data/lib/sql_insight.rb
ADDED
@@ -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,62 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sql_insight
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0.alpha.1
|
5
|
+
platform: x86_64-linux-musl
|
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/3.1/sql_insight.so
|
24
|
+
- lib/sql_insight/3.2/sql_insight.so
|
25
|
+
- lib/sql_insight/3.3/sql_insight.so
|
26
|
+
- lib/sql_insight/dialect.rb
|
27
|
+
- lib/sql_insight/errors.rb
|
28
|
+
- lib/sql_insight/version.rb
|
29
|
+
homepage: https://github.com/takaebato/sql-insight-rb
|
30
|
+
licenses:
|
31
|
+
- MIT
|
32
|
+
metadata:
|
33
|
+
homepage_uri: https://github.com/takaebato/sql-insight-rb
|
34
|
+
source_code_uri: https://github.com/takaebato/sql-insight-rb
|
35
|
+
changelog_uri: https://github.com/takaebato/sql-insight-rb/blob/master/CHANGELOG.md
|
36
|
+
rubygems_mfa_required: 'true'
|
37
|
+
post_install_message:
|
38
|
+
rdoc_options: []
|
39
|
+
require_paths:
|
40
|
+
- lib
|
41
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '3.0'
|
46
|
+
- - "<"
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: 3.4.dev
|
49
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 3.3.22
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 3.3.22
|
57
|
+
requirements: []
|
58
|
+
rubygems_version: 3.4.4
|
59
|
+
signing_key:
|
60
|
+
specification_version: 4
|
61
|
+
summary: Ruby bindings for the sql-insight, a utility for SQL query analysis and transformation
|
62
|
+
test_files: []
|