vectra-client 1.0.2 → 1.0.3

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: 5a37467d1a6d3089e0214e4b282b18ccf3254379dcb3f3a76fcd4d165d9211dd
4
- data.tar.gz: 9cdce9ba4c8ed232da5bd0357affabecb2a5b94292e90c0c7e807ed1d0d1c77f
3
+ metadata.gz: 9c879174191ddf2a62fec228f33ac01a0d2d72a71eb32b6f2297ca9559f565e5
4
+ data.tar.gz: 515b00fdace3d3846b5332eeaee7356eecc757f97128311d617bdc58f4fc00fd
5
5
  SHA512:
6
- metadata.gz: 9f728185b895ac06c5805c106b4f9d8b4ba4a9017e4c64f1b13ec664aa22d5a6599eb22a7ad5c55a7dd8ba4b2a054c7e2a769d275fec91bc18784f33b6154678
7
- data.tar.gz: 5e9b703027848b5d25ed3199d0777c7beeed69cdfa5c315bb13c724715c4d7bce5d118a2b8f77977fd4c3e33fc81b5781147157df4edf54e54b92a66b25344a8
6
+ metadata.gz: 9b66483f5bd1914a004aed825f0973fc60efca233e7bdd61570fbb1d724a50edca75f8de82fa011a54aceff075cc7064dd88dd4759fe54642e474b98f456ae17
7
+ data.tar.gz: 8dfb4113c628e034a342f94224eabe5b9df25cb321abf9b4987bd1fee7a452e27decbbc03c11521ca2609c52b7e666b7885de666f0bc53e761030f0985f3bd6c
data/CHANGELOG.md CHANGED
@@ -1,19 +1,19 @@
1
1
  # Changelog
2
2
 
3
- ## [v1.0.2](https://github.com/stokry/vectra/tree/v1.0.2) (2026-01-13)
3
+ ## [v1.0.3](https://github.com/stokry/vectra/tree/v1.0.3) (2026-01-13)
4
4
 
5
5
  ### Fixed
6
- - Fix HealthCheck module inclusion in Client class
6
+ - Fix HealthCheck module inclusion timing issue
7
+ - Fix Rails generator dependencies loading
8
+ - Simplify pgvector migration generation in install generator
7
9
 
8
- [Full Changelog](https://github.com/stokry/vectra/compare/v1.0.1...v1.0.2)
10
+ [Full Changelog](https://github.com/stokry/vectra/compare/v1.0.2...v1.0.3)
9
11
 
10
- ## [v1.0.1](https://github.com/stokry/vectra/tree/v1.0.1) (2026-01-13)
12
+ ## [v1.0.2](https://github.com/stokry/vectra/tree/v1.0.2) (2026-01-13)
11
13
 
12
- ### Added
13
- - Add `vectra:index` Rails generator for model/index scaffolding (migration, concern, config)
14
+ [Full Changelog](https://github.com/stokry/vectra/compare/v1.0.1...v1.0.2)
14
15
 
15
- ### Fixed
16
- - Fix RuboCop violations in index generator
16
+ ## [v1.0.1](https://github.com/stokry/vectra/tree/v1.0.1) (2026-01-13)
17
17
 
18
18
  [Full Changelog](https://github.com/stokry/vectra/compare/v1.0.0...v1.0.1)
19
19
 
@@ -30,8 +30,6 @@ module Vectra
30
30
  def create_migration
31
31
  return unless options[:provider] == "pgvector"
32
32
 
33
- generate :migration, "EnablePgvectorExtension"
34
-
35
33
  migration_template(
36
34
  "enable_pgvector_extension.rb",
37
35
  "db/migrate/enable_pgvector_extension.rb",
data/lib/vectra/client.rb CHANGED
@@ -1,5 +1,9 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # Ensure HealthCheck is loaded before Client
4
+ require_relative "health_check" unless defined?(Vectra::HealthCheck)
5
+ require_relative "configuration" unless defined?(Vectra::Configuration)
6
+
3
7
  module Vectra
4
8
  # Unified client for vector database operations
5
9
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Vectra
4
- VERSION = "1.0.2"
4
+ VERSION = "1.0.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vectra-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mijo Kristo