sqlglot 0.1.0-arm64-darwin → 0.1.1-arm64-darwin

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0d35fb352de92968a0874645c612900468bb439c41fba0309d3855adaf4c8592
4
- data.tar.gz: 27bd1666277f15f20287482eea4fd86e650155100ce2b9d2ee4a505c348f83ad
3
+ metadata.gz: d6a3a5392217f8f26e13c3bea5d1703801a532629286c86fc1a447d7e497cd2b
4
+ data.tar.gz: 58f40aea7fed3d10073d5f354f1532234767b7493dc352adeab7b21b8a6e823f
5
5
  SHA512:
6
- metadata.gz: 6b3267d283a286d433198da96ed98c1554eeea95e94ec697cee5260c632434f62b93b7eaab43cda1d20521688d5c60ad5b63991a987a63c3746600fb9875a908
7
- data.tar.gz: b95e6562495c3906cda51bf3875b3e5d526288a8e5dfb5c2f8ff674feea6953a92865c202f6ed292de9d9accf3d145e79c6473409bc7e89654c21ab1f32a8d3d
6
+ metadata.gz: c20736f090a17eb50b4625a3a4b2da01292bf03c522ea83628b8b8de18a45e48694990529191eff718c746360488a4210b62a347d4e4bc17f21619283403f9e2
7
+ data.tar.gz: 0fd256f5ba00869fe4dc99f97d56f9580a174a85e9b00490cfe945f6d1c6ff076f7d77aa6de8b1254be20e6a52ac91aff52e7f21ce8d1d9cd5f6df06eb8dd796
data/Rakefile CHANGED
@@ -11,7 +11,7 @@ namespace :cargo do
11
11
  rust_dir = File.join(ext_dir, "sql-glot-rust")
12
12
 
13
13
  unless Dir.exist?(rust_dir)
14
- sh "git clone --depth 1 --branch v0.10.0 " \
14
+ sh "git clone --depth 1 --branch v0.10.12 " \
15
15
  "https://github.com/protegrity/sql-glot-rust.git #{rust_dir}"
16
16
  end
17
17
 
@@ -10,7 +10,7 @@
10
10
  require "fileutils"
11
11
 
12
12
  RUST_REPO = "https://github.com/protegrity/sql-glot-rust.git"
13
- RUST_TAG = "v0.10.0"
13
+ RUST_TAG = "v0.10.12"
14
14
  EXT_DIR = __dir__
15
15
  RUST_DIR = File.join(EXT_DIR, "sql-glot-rust")
16
16
  LIB_DIR = File.expand_path("../../lib/sqlglot", EXT_DIR)
Binary file
Binary file
data/lib/sqlglot/query.rb CHANGED
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require "set"
4
+
3
5
  module Sqlglot
4
6
  # High-level query metadata extraction, inspired by Python's sql-metadata.
5
7
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sqlglot
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
data/lib/sqlglot.rb CHANGED
@@ -95,7 +95,7 @@ module Sqlglot
95
95
 
96
96
  # Return the version of the underlying sql-glot-rust library.
97
97
  #
98
- # @return [String] e.g. "0.10.0"
98
+ # @return [String] e.g. "0.10.12"
99
99
  def version
100
100
  Native.version
101
101
  end
data/sqlglot.gemspec CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |spec|
14
14
  DESC
15
15
  spec.homepage = "https://github.com/AccountAim/sql-glot-ruby"
16
16
  spec.license = "MIT"
17
- spec.required_ruby_version = ">= 3.0.0"
17
+ spec.required_ruby_version = ">= 3.2.0"
18
18
 
19
19
  spec.files = Dir.chdir(__dir__) do
20
20
  Dir["{lib,ext}/**/*", "Gemfile", "Rakefile", "sqlglot.gemspec"]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sqlglot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Accountaim
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-05 00:00:00.000000000 Z
11
+ date: 2026-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi
@@ -61,7 +61,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
61
61
  requirements:
62
62
  - - ">="
63
63
  - !ruby/object:Gem::Version
64
- version: 3.0.0
64
+ version: 3.2.0
65
65
  required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  requirements:
67
67
  - - ">="