robot_lab-document_store 0.1.1 → 0.2.1
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 +10 -7
- data/docs/pluggable_backends_design.md +2 -2
- data/lib/robot_lab/document_store/version.rb +1 -1
- metadata +15 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 421276837702fa51fef2d7eb2e776634f7f5e9f937b85bc832afb1ba6d0da978
|
|
4
|
+
data.tar.gz: 6ecb47f66596a40a8e36abe49880f0001b1bc6ed6b9f3fd976b4c0b36b6ede29
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6f56c72155401b3f79acbd3ed9c70ab8a62081b2a7b587d415a93a5143bc716f73a54c2eecaf785598ef923b271dfb7dad3e799cf7c8c06dbbb0b5a311b79a29
|
|
7
|
+
data.tar.gz: 2643e466fefa4f97c2ce218e33e2904c3d40845b242276997e58475f46b59517e05cf810e5c43aab80e978b1b43990fe9c990990147e927a0776fb93c3c6fda9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
- Model name in README and docs corrected to `BAAI/bge-small-en-v1.5` (was incorrectly listed as `bge-base`)
|
|
5
|
-
- `register_extension` call guarded with `defined?(RobotLab) && RobotLab.respond_to?(:register_extension)` so the file loads safely without robot_lab core
|
|
6
|
-
- Instance variable `@fastembed_model` renamed from `@model` to eliminate shadowing risk
|
|
7
|
-
- `FASTEMBED_AVAILABLE` constant moved into `DocumentStore` class (was at module level)
|
|
8
|
-
- `STOP_WORDS` constant moved before `private` keyword (was defined after it)
|
|
9
|
-
- `sparse_cosine` parameter names corrected to `vec_a`/`vec_b`; uses `each_value` for the second vector
|
|
3
|
+
## [0.2.1] - 2026-05-19
|
|
10
4
|
|
|
11
5
|
### Added
|
|
12
6
|
- Full test suite covering fastembed path, TF-IDF fallback path, and cosine edge cases (27 tests, 44 assertions)
|
|
@@ -18,6 +12,15 @@
|
|
|
18
12
|
### Changed
|
|
19
13
|
- Development dependencies moved from gemspec to Gemfile (per `Gemspec/DevelopmentDependencies` cop)
|
|
20
14
|
- Example renamed from `26_document_store.rb` to `01_basic_usage.rb`
|
|
15
|
+
- Version synchronized with robot_lab core 0.2.1
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
- Model name in README and docs corrected to `BAAI/bge-small-en-v1.5` (was incorrectly listed as `bge-base`)
|
|
19
|
+
- `register_extension` call guarded with `defined?(RobotLab) && RobotLab.respond_to?(:register_extension)` so the file loads safely without robot_lab core
|
|
20
|
+
- Instance variable `@fastembed_model` renamed from `@model` to eliminate shadowing risk
|
|
21
|
+
- `FASTEMBED_AVAILABLE` constant moved into `DocumentStore` class (was at module level)
|
|
22
|
+
- `STOP_WORDS` constant moved before `private` keyword (was defined after it)
|
|
23
|
+
- `sparse_cosine` parameter names corrected to `vec_a`/`vec_b`; uses `each_value` for the second vector
|
|
21
24
|
|
|
22
25
|
## [0.1.0] - 2026-05-07
|
|
23
26
|
|
|
@@ -54,7 +54,7 @@ empty? # Boolean
|
|
|
54
54
|
- `FileSystem` stores raw text; durable serializes/deserializes `Entry` fields into the text before storing.
|
|
55
55
|
- `FileSystem` supports structured metadata alongside text (a `meta:` hash), which durable populates.
|
|
56
56
|
|
|
57
|
-
3. **Breaking change.** Refactoring `DocumentStore` from a concrete class to an abstract base is a breaking change — this is v0.
|
|
57
|
+
3. **Breaking change.** Refactoring `DocumentStore` from a concrete class to an abstract base is a breaking change — this is v0.3.0 territory (v0.2.1 is the current release).
|
|
58
58
|
|
|
59
59
|
## Rough Implementation Plan
|
|
60
60
|
|
|
@@ -63,4 +63,4 @@ empty? # Boolean
|
|
|
63
63
|
3. Implement `DocumentStore::FileSystem` — port durable's `Store` (YAML, file locking, keyword search).
|
|
64
64
|
4. Update `robot_lab-durable` gemspec to add `robot_lab-document_store` as a dependency.
|
|
65
65
|
5. Replace `RobotLab::Durable::Store` with `DocumentStore::FileSystem` in durable's internals.
|
|
66
|
-
6. Bump `robot_lab-document_store` to v0.
|
|
66
|
+
6. Bump `robot_lab-document_store` to v0.3.0; bump `robot_lab-durable` to v0.3.0.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: robot_lab-document_store
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dewayne VanHoozer
|
|
@@ -9,6 +9,20 @@ bindir: bin
|
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: robot_lab
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: 0.2.0
|
|
19
|
+
type: :runtime
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: 0.2.0
|
|
12
26
|
- !ruby/object:Gem::Dependency
|
|
13
27
|
name: fastembed
|
|
14
28
|
requirement: !ruby/object:Gem::Requirement
|