libsql2 0.1.4-aarch64-linux → 0.1.5-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 28c7c6688693a5fca39d4e5e978fc5adba67038b58cf8ac7f53e6e3605c77a66
4
- data.tar.gz: 553919a2fa73ebb0a07b34cc8fc03843ce2a0dd663c6745e15c16dd347b2da90
3
+ metadata.gz: 6f809f5f213825dbf9c0db7f1360461057cb2285548a6434b7dfac0a58a69f03
4
+ data.tar.gz: 0f036a7a78be9b1b2aac75325f2b95572f62d3b4e8cbafc20f8f3c7eab0caa57
5
5
  SHA512:
6
- metadata.gz: f8859f07d1b35b67a5a8808d6840429a17d10da9bac3525125a184f61bbdbaf8189e7649fea29854ec8ff357ad3a601d715768d0f8dd62b03714f6c223d4d3a2
7
- data.tar.gz: d8730b4fbcc391949f5d59cb5efc20bcf35026f979b9c322ace7890fff0448ea9a9a20e0ad3e5204f526a8269b973b63770a0587f690da20d8b27b05e283f210
6
+ metadata.gz: 1272c3d0b9af0a3a8364e8a3201dc1b34173ad9230a3ae87deac715f34ca91ae75c1d08a67c3e2593837b127400e4294ef1bca75feebf20c232324c19ee3f40b
7
+ data.tar.gz: 8de71895a39e756a24ca4c8646194d622afc57004cf62b75c34ee5d70b72208b18a2df7be7ecb3f81fed58ee9dded1aee45a0876fa69357b872892868d0e62df
data/README.md CHANGED
@@ -132,6 +132,8 @@ end
132
132
 
133
133
  ## Type Mapping
134
134
 
135
+ ### Query Results (libSQL → Ruby)
136
+
135
137
  | libSQL Type | Ruby Type | Notes |
136
138
  |---|---|---|
137
139
  | INTEGER | `Integer` | Signed 64-bit |
@@ -140,6 +142,18 @@ end
140
142
  | BLOB | `Libsql::Blob` | `String` subclass with `ASCII-8BIT` encoding |
141
143
  | NULL | `nil` | |
142
144
 
145
+ ### Bind Parameters (Ruby → libSQL)
146
+
147
+ | Ruby Type | libSQL Type | Notes |
148
+ |---|---|---|
149
+ | `Integer` | INTEGER | |
150
+ | `Float` | REAL | |
151
+ | `true` / `false` | INTEGER (1 / 0) | SQLite convention — no native Boolean type |
152
+ | `String` (UTF-8 etc.) | TEXT | |
153
+ | `String` (ASCII-8BIT) | BLOB | Ruby convention for binary data |
154
+ | `Libsql::Blob` | BLOB | `String` subclass, checked before `String` |
155
+ | `nil` | NULL | |
156
+
143
157
  ## Development
144
158
 
145
159
  Requirements: Ruby >= 3.4, Rust >= 1.74, and a C compiler.
Binary file
Binary file
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Libsql
4
- VERSION = "0.1.4"
4
+ VERSION = "0.1.5"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libsql2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - speria-jp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-03-17 00:00:00.000000000 Z
11
+ date: 2026-03-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Native Ruby bindings for libSQL database, built with Rust (magnus + libsql
14
14
  crate)