search-engine-for-typesense 30.1.1 → 30.1.2

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: cc6c98f51d7d42de6bdebe417e43a17bcdda2f4abb89c102277225183466a53e
4
- data.tar.gz: 511940a80bace746eb5424a756fdc561e34595a6e2867d9f98631eddc669e8a4
3
+ metadata.gz: 724f7861a8f221fce45175c0fae05471107eb97a3cd95711357e70ffd59d32bc
4
+ data.tar.gz: 0a89defd92643f410d13f3e62a694fb0ae976cb6c81e2ab05e2c010f29a134e4
5
5
  SHA512:
6
- metadata.gz: da964bae21bea332b73a385d1af55ffcc402b443bad34498fca153fa5a4304e784c78ba41a2891c9293204beb9fd653ef8282d5604daa7834584f19695d7cddc
7
- data.tar.gz: c1fb500960c5849d69c3bcb5f8ee97c2de7d138347889c670df008724166e14ab25bbcadd4c846c05526c49c51f31f7c35061b30609d525b596aa70f2edada96
6
+ metadata.gz: 28e5692bbf6947e1ba6b9cac829b05e59d20d0bc5423e7c99f3e4dcd18910b86392fc6b66f72d7af974898c3a3366eb86aa130f87a9283d7313862fd2f201b46
7
+ data.tar.gz: 42284e73cb4d0017d286bcf887909edd993522ad7e38b548d7bdcfc8db57d5e13256a8aaea6e80468994e9261177fc80f215174409543c19b9ac29ca4748f332
@@ -57,6 +57,8 @@ module SearchEngine
57
57
  resp.nil? ? 0 : 1
58
58
  end
59
59
 
60
+ alias_method :destroy, :delete
61
+
60
62
  private
61
63
 
62
64
  # Determine the effective document id for deletion, preferring hydrated
@@ -52,6 +52,8 @@ module SearchEngine
52
52
  timeout_ms: timeout_ms
53
53
  )
54
54
  end
55
+
56
+ alias_method :destroy_by, :delete_by
55
57
  end
56
58
 
57
59
  class_methods do
@@ -25,7 +25,7 @@ module SearchEngine
25
25
  select include_fields exclude reselect
26
26
  limit_hits validate_hits!
27
27
  first last take pluck pick exists? count find_by all!
28
- delete_all update_all
28
+ delete_all destroy_all update_all
29
29
  raw
30
30
  ].each { |method| delegate method, to: :all }
31
31
 
@@ -32,6 +32,8 @@ module SearchEngine
32
32
  timeout_ms: timeout_ms
33
33
  )
34
34
  end
35
+
36
+ alias_method :destroy_all, :delete_all
35
37
  end
36
38
  end
37
39
  end
@@ -3,5 +3,5 @@
3
3
  module SearchEngine
4
4
  # Current gem version.
5
5
  # @return [String]
6
- VERSION = '30.1.1'
6
+ VERSION = '30.1.2'
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: search-engine-for-typesense
3
3
  version: !ruby/object:Gem::Version
4
- version: 30.1.1
4
+ version: 30.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikita Shkoda
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-03-05 00:00:00.000000000 Z
11
+ date: 2026-03-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby