neighbor-redis 0.2.0 → 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 15f6a05f33831afcb282262440f8a4ccd73264c109ada3d5de1383af76cab304
4
- data.tar.gz: 977b93e67d4b62db75837bf72dff4959a5b6aae8c940828273bee22563f172ad
3
+ metadata.gz: 7a5af4a80cc03cdce7567594144695b7bf5bd9a165884135c21eb10a316c3e17
4
+ data.tar.gz: 8700c04a90e034c099def3fec562aa982dafcbb87075e08a81fb13b66d74a703
5
5
  SHA512:
6
- metadata.gz: f6148b2717ddbb7cef8e9d762866b3c0d981be8e57e6a9e7c8a28f3a37b8402b5add0383e2676bc21b1c93dd687e10ae2fdaf9bfb31969adc80d7fb43def01a4
7
- data.tar.gz: e7bc98f4436a8e48c84215e837461312bf0d610e9f5103a8d6f0ce39aa800970f5adb4c341ff691e21a059d30e4540eda4ef1df3d17f7d313923e6799860beb3
6
+ metadata.gz: e035dba8d0fd5ed1fd27526db22ec466e9704f914e1e91d30665aa092ac0b76ae202a2c4178815159f14c5f9923ee96094b565338f238bbdc82b416175d91204
7
+ data.tar.gz: d26fced7f998bad66b2a20cb81327dbcfdbcfc4bdc5754efd93ccdd730ad6865fcbedea0e59ff059139ee8679f56202ab143c45a8ee8a3c28a88046e668b2501
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 0.2.1 (2025-05-06)
2
+
3
+ - Added support for Redis 8
4
+
1
5
  ## 0.2.0 (2024-10-23)
2
6
 
3
7
  - Dropped support for Ruby < 3.1
data/LICENSE.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2023 Andrew Kane
3
+ Copyright (c) 2023-2025 Andrew Kane
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -6,10 +6,10 @@ Nearest neighbor search for Ruby and Redis
6
6
 
7
7
  ## Installation
8
8
 
9
- First, [install RediSearch](https://redis.io/docs/stack/search/quick_start/). With Docker, use:
9
+ First, install Redis with the [RediSearch](https://github.com/RediSearch/RediSearch) module. With Docker, use:
10
10
 
11
11
  ```sh
12
- docker run -p 6379:6379 redis/redis-stack-server
12
+ docker run -p 6379:6379 redis:8
13
13
  ```
14
14
 
15
15
  Add this line to your application’s Gemfile:
@@ -70,7 +70,8 @@ module Neighbor
70
70
  # fix for invalid value for Float(): "-nan"
71
71
  true
72
72
  rescue => e
73
- raise unless e.message.downcase.include?("unknown index name")
73
+ message = e.message.downcase
74
+ raise unless message.include?("unknown index name") || message.include?("no such index")
74
75
  false
75
76
  end
76
77
 
@@ -1,5 +1,5 @@
1
1
  module Neighbor
2
2
  module Redis
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: neighbor-redis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-10-23 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: redis-client
@@ -24,7 +23,6 @@ dependencies:
24
23
  - - ">="
25
24
  - !ruby/object:Gem::Version
26
25
  version: '0'
27
- description:
28
26
  email: andrew@ankane.org
29
27
  executables: []
30
28
  extensions: []
@@ -43,7 +41,6 @@ homepage: https://github.com/ankane/neighbor-redis
43
41
  licenses:
44
42
  - MIT
45
43
  metadata: {}
46
- post_install_message:
47
44
  rdoc_options: []
48
45
  require_paths:
49
46
  - lib
@@ -58,8 +55,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
55
  - !ruby/object:Gem::Version
59
56
  version: '0'
60
57
  requirements: []
61
- rubygems_version: 3.5.16
62
- signing_key:
58
+ rubygems_version: 3.6.7
63
59
  specification_version: 4
64
60
  summary: Nearest neighbor search for Ruby and Redis
65
61
  test_files: []