finox 0.1.0-aarch64-linux → 0.2.0-aarch64-linux
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 +4 -4
- data/CHANGELOG.md +25 -1
- data/LICENSE-THIRD-PARTY.txt +1095 -0
- data/README.md +89 -17
- data/lib/finox/3.1/finox.so +0 -0
- data/lib/finox/3.2/finox.so +0 -0
- data/lib/finox/3.3/finox.so +0 -0
- data/lib/finox/3.4/finox.so +0 -0
- data/lib/finox/4.0/finox.so +0 -0
- data/lib/finox/version.rb +1 -1
- metadata +5 -5
- data/.rspec +0 -3
- data/.rubocop.yml +0 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 470891ee672e11d4d6f513ef9144481b88ed8fc9e218b9ebfb0da420a8a39f60
|
|
4
|
+
data.tar.gz: 98cf85bbf345f331603ab93a286c10b4819262801dea9f135f15cc820787e133
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7ae6e2480540d018653e822c1cca58c31aca5552be13bff8e641887f91e9d0732a218455950ca6c1029a1c2805c3e1020939272541a0442d8dec636a1c57208f
|
|
7
|
+
data.tar.gz: 6886d4b7f2f32e0ba3ae45d431e717bf028e9224d49ca005e09d483e369e159fe9c86ad0d3354e971bf49846be68d420bda6ad6fe9507d6bcd22e7e5498a2008
|
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,28 @@
|
|
|
1
|
-
## [
|
|
1
|
+
## [0.2.0] - 2026-07-18
|
|
2
|
+
|
|
3
|
+
- **Breaking:** `Finox.parse` now returns a `Finox::Result` instead of a plain Array.
|
|
4
|
+
- Add `Finox::Result#tables`, which returns the tables referenced across all
|
|
5
|
+
parsed statements (including joins, subqueries and DML targets), deduplicated
|
|
6
|
+
and excluding CTE names.
|
|
7
|
+
- Add `Finox::Result#columns`, which returns the columns referenced across all
|
|
8
|
+
parsed statements (including `INSERT` column lists and `UPDATE` assignment
|
|
9
|
+
targets), deduplicated.
|
|
10
|
+
- Add `Finox::Result#statement_types`, which returns the type of each parsed
|
|
11
|
+
statement (sqlparser's variant names, e.g. `"Query"`, `"Insert"`).
|
|
12
|
+
- Add `Finox::Result#select_tables`, `#dml_tables` and `#ddl_tables`, which
|
|
13
|
+
classify the referenced tables into read, written by DML and targeted by DDL
|
|
14
|
+
(a table appearing in multiple roles is listed in each).
|
|
15
|
+
- Add `Finox::Result#normalize`, which returns the SQL with literals replaced
|
|
16
|
+
by `?` placeholders, deparsed from the AST (normalizing formatting and
|
|
17
|
+
keyword case).
|
|
18
|
+
- Add `Finox::Result#fingerprint`, which returns a 64-bit hex hash of the
|
|
19
|
+
normalized SQL, for grouping queries that differ only in literals or
|
|
20
|
+
formatting. Fingerprints are not guaranteed to be stable across finox
|
|
21
|
+
versions.
|
|
22
|
+
- Add `Finox::Result#statements`, which returns the AST of each parsed
|
|
23
|
+
statement as plain Hashes/Arrays. All keys are Strings (previously enum
|
|
24
|
+
variant names were Strings but struct fields were Symbols).
|
|
25
|
+
- Precompiled gems now include a shared object for Ruby 4.0.
|
|
2
26
|
|
|
3
27
|
## [0.1.0] - 2026-07-17
|
|
4
28
|
|