lora-ruby 0.4.0-x86_64-linux → 0.5.5-x86_64-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: 56ecc108e6296c299d4c4a88ff9cc6c457e7f4969804a70aad7b411f2c51e4a3
4
- data.tar.gz: 9581c66e79f86c057f663e09528238b907f97f13182d412e741fb6ca4216d95c
3
+ metadata.gz: 4c1a831b806dbdca1dbe3b9e45198f9fc8e221407120d347b86f349d8642e447
4
+ data.tar.gz: afe6d1c478d60db68624b57b44b9824fc0849ba7b20235718c79fa96f66d1cb1
5
5
  SHA512:
6
- metadata.gz: b5e72d52e5e2dab1b409f2576fbf5905cb1de0a5ba8d5646543f8cec963576bef2dff421d442790165debe93bab2470e6cac3fab6864efdc591e31ebf8c429a7
7
- data.tar.gz: 047d5d1da597d45117f56239afc340d8336bd0c4c4609a90f977cf9450d6e5217b80d7741a74b17917b25fc3654b9307718d15c0d44670e65663905e15d804c9
6
+ metadata.gz: ba621a40136f44431814fe0fda1f803341d068e8c0b7e855bfaa61705e44d87e914a3330a8c48490dafd0fbe6f8e1f05d7e5caf89420efb5675c75196eb7011a
7
+ data.tar.gz: 9fd6ee7106f4729270abe1b6d50ede735e85c2fbc64b5633124673cc9c786669e0c124c30362aa729e82d85eb30fc26b995aef722c7bc095c2a0d32a2bb0be25
data/README.md CHANGED
@@ -43,10 +43,10 @@ Initialization rule:
43
43
 
44
44
  ```ruby
45
45
  scratch = LoraRuby::Database.create # in-memory
46
- persistent = LoraRuby::Database.create("./app") # persistent: directory string
46
+ persistent = LoraRuby::Database.create("app", {"database_dir": "./data"}) # persistent: ./data/app.loradb
47
47
  ```
48
48
 
49
- If you want persistence, pass a directory string to
49
+ If you want persistence, pass a database name and `database_dir` to
50
50
  `LoraRuby::Database.create(...)` or `LoraRuby::Database.new(...)`.
51
51
 
52
52
  ### Params
@@ -148,16 +148,16 @@ db.execute(
148
148
 
149
149
  ## Persistence
150
150
 
151
- `LoraRuby::Database.create("./app")` and
152
- `LoraRuby::Database.new("./app")` open or create a WAL-backed
153
- persistent database rooted at that directory. Reopening the same path
151
+ `LoraRuby::Database.create("app", {"database_dir": "./data"})` and
152
+ `LoraRuby::Database.new("app", { database_dir: "./data" })` open or create
153
+ an archive-backed persistent database at `./data/app.loradb`. Reopening the same path
154
154
  replays committed writes before returning the handle.
155
155
 
156
- Call `db.close` before reopening the same WAL directory inside one
156
+ Call `db.close` before reopening the same archive inside one
157
157
  process.
158
158
 
159
159
  This first Ruby persistence slice intentionally stays small: the
160
- binding exposes WAL-backed initialization plus the existing snapshot
160
+ binding exposes archive-backed initialization plus the existing snapshot
161
161
  APIs, but not checkpoint, truncate, status, or sync-mode controls.
162
162
 
163
163
  ## Concurrency (GVL release)
Binary file
Binary file
Binary file
@@ -10,5 +10,5 @@ module LoraRuby
10
10
  # Guard against redefinition so re-requiring this file (or loading
11
11
  # both paths) doesn't emit a "warning: already initialized constant"
12
12
  # when the native extension loads second with the identical value.
13
- VERSION = "0.4.0" unless const_defined?(:VERSION)
13
+ VERSION = "0.5.5" unless const_defined?(:VERSION)
14
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lora-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.5
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - LoraDB, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-04-25 00:00:00.000000000 Z
11
+ date: 2026-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake