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 +4 -4
- data/README.md +7 -7
- data/lib/lora_ruby/3.1/lora_ruby.so +0 -0
- data/lib/lora_ruby/3.2/lora_ruby.so +0 -0
- data/lib/lora_ruby/3.3/lora_ruby.so +0 -0
- data/lib/lora_ruby/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4c1a831b806dbdca1dbe3b9e45198f9fc8e221407120d347b86f349d8642e447
|
|
4
|
+
data.tar.gz: afe6d1c478d60db68624b57b44b9824fc0849ba7b20235718c79fa96f66d1cb1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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("
|
|
46
|
+
persistent = LoraRuby::Database.create("app", {"database_dir": "./data"}) # persistent: ./data/app.loradb
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
If you want persistence, pass a
|
|
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("
|
|
152
|
-
`LoraRuby::Database.new("
|
|
153
|
-
persistent database
|
|
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
|
|
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
|
|
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
|
data/lib/lora_ruby/version.rb
CHANGED
|
@@ -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.
|
|
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
|
+
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-
|
|
11
|
+
date: 2026-04-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|