mongodb_meilisearch 2.1.0 → 2.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: f94879936fd02812f5a9e9887ce71774edf2049f5b03610196e8a25af558e32c
4
- data.tar.gz: 1078bb0b874e10957d95a5583423a22304fba95b6016f4115407dee6c4c9bee2
3
+ metadata.gz: 78653964e37c1e369c046bc4a14d3387fd4748de74b4355e9f64cf9cbf273490
4
+ data.tar.gz: bb84ab4a5a3d16c45e107dc51ab10148142d36b541304b0b9d1ea54e9b46e000
5
5
  SHA512:
6
- metadata.gz: f41b528068bf5bd587e399ab71f502dcbf9ccdb4f8b4c1c282448335f0f4bc98a69372345f205c536c27e88585bfaa080d1f8c76b42ceac396aa5c8f9ae478f0
7
- data.tar.gz: f594659bcdd20c7e0a2cdebfc30731d17f3e82abf681a2bc343f92b98f2f204b42e3193653b2af11ff1fa517d54f02fc51a26a10073ee07616e0437b8b1d82e4
6
+ metadata.gz: 74e973c47e1acb9413431653d372f3461cbcfc7db85144b4b76dcd8d92c06179b6190f9f3d90360207ba2636146cb591b675bb0b565dc6871f08125635a94c33
7
+ data.tar.gz: da167951abbee5068d8a4a82087aca507cf364599d4e8756963ca3802ca1ba0dc6f619d3ce526491c3225f5646a3b4b94b06540adb77700bec1444330539ab5d
data/Gemfile.lock CHANGED
@@ -1,74 +1,15 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mongodb_meilisearch (2.1.0)
4
+ mongodb_meilisearch (2.2.0)
5
5
  meilisearch
6
- mongoid (~> 7.0)
7
- rails
6
+ mongoid (>= 7.0)
8
7
 
9
8
  GEM
10
9
  remote: https://rubygems.org/
11
10
  specs:
12
- actioncable (7.0.6)
13
- actionpack (= 7.0.6)
14
- activesupport (= 7.0.6)
15
- nio4r (~> 2.0)
16
- websocket-driver (>= 0.6.1)
17
- actionmailbox (7.0.6)
18
- actionpack (= 7.0.6)
19
- activejob (= 7.0.6)
20
- activerecord (= 7.0.6)
21
- activestorage (= 7.0.6)
22
- activesupport (= 7.0.6)
23
- mail (>= 2.7.1)
24
- net-imap
25
- net-pop
26
- net-smtp
27
- actionmailer (7.0.6)
28
- actionpack (= 7.0.6)
29
- actionview (= 7.0.6)
30
- activejob (= 7.0.6)
31
- activesupport (= 7.0.6)
32
- mail (~> 2.5, >= 2.5.4)
33
- net-imap
34
- net-pop
35
- net-smtp
36
- rails-dom-testing (~> 2.0)
37
- actionpack (7.0.6)
38
- actionview (= 7.0.6)
39
- activesupport (= 7.0.6)
40
- rack (~> 2.0, >= 2.2.4)
41
- rack-test (>= 0.6.3)
42
- rails-dom-testing (~> 2.0)
43
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
44
- actiontext (7.0.6)
45
- actionpack (= 7.0.6)
46
- activerecord (= 7.0.6)
47
- activestorage (= 7.0.6)
48
- activesupport (= 7.0.6)
49
- globalid (>= 0.6.0)
50
- nokogiri (>= 1.8.5)
51
- actionview (7.0.6)
52
- activesupport (= 7.0.6)
53
- builder (~> 3.1)
54
- erubi (~> 1.4)
55
- rails-dom-testing (~> 2.0)
56
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
57
- activejob (7.0.6)
58
- activesupport (= 7.0.6)
59
- globalid (>= 0.3.6)
60
11
  activemodel (7.0.6)
61
12
  activesupport (= 7.0.6)
62
- activerecord (7.0.6)
63
- activemodel (= 7.0.6)
64
- activesupport (= 7.0.6)
65
- activestorage (7.0.6)
66
- actionpack (= 7.0.6)
67
- activejob (= 7.0.6)
68
- activerecord (= 7.0.6)
69
- activesupport (= 7.0.6)
70
- marcel (~> 1.0)
71
- mini_mime (>= 1.1.0)
72
13
  activesupport (7.0.6)
73
14
  concurrent-ruby (~> 1.0, >= 1.0.2)
74
15
  i18n (>= 1.6, < 2)
@@ -76,18 +17,12 @@ GEM
76
17
  tzinfo (~> 2.0)
77
18
  ast (2.4.2)
78
19
  bson (4.15.0)
79
- builder (3.2.4)
80
20
  concurrent-ruby (1.2.2)
81
- crass (1.0.6)
82
- date (3.3.3)
83
21
  debug (1.8.0)
84
22
  irb (>= 1.5.0)
85
23
  reline (>= 0.3.1)
86
24
  diff-lcs (1.5.0)
87
25
  dotenv (2.8.1)
88
- erubi (1.12.0)
89
- globalid (1.1.0)
90
- activesupport (>= 5.0)
91
26
  httparty (0.21.0)
92
27
  mini_mime (>= 1.0.0)
93
28
  multi_xml (>= 0.5.2)
@@ -98,20 +33,9 @@ GEM
98
33
  reline (>= 0.3.6)
99
34
  json (2.6.3)
100
35
  lefthook (1.4.5)
101
- loofah (2.21.3)
102
- crass (~> 1.0.2)
103
- nokogiri (>= 1.12.0)
104
- mail (2.8.1)
105
- mini_mime (>= 0.1.1)
106
- net-imap
107
- net-pop
108
- net-smtp
109
- marcel (1.0.2)
110
36
  meilisearch (0.24.0)
111
37
  httparty (>= 0.17.1, < 0.22.0)
112
- method_source (1.0.0)
113
38
  mini_mime (1.1.2)
114
- mini_portile2 (2.8.7)
115
39
  minitest (5.18.1)
116
40
  mongo (2.19.0)
117
41
  bson (>= 4.14.1, < 5.0.0)
@@ -120,57 +44,12 @@ GEM
120
44
  mongo (>= 2.10.5, < 3.0.0)
121
45
  ruby2_keywords (~> 0.0.5)
122
46
  multi_xml (0.6.0)
123
- net-imap (0.3.6)
124
- date
125
- net-protocol
126
- net-pop (0.1.2)
127
- net-protocol
128
- net-protocol (0.2.1)
129
- timeout
130
- net-smtp (0.3.3)
131
- net-protocol
132
- nio4r (2.5.9)
133
- nokogiri (1.15.3)
134
- mini_portile2 (~> 2.8.2)
135
- racc (~> 1.4)
136
47
  parallel (1.23.0)
137
48
  parser (3.2.2.3)
138
49
  ast (~> 2.4.1)
139
50
  racc
140
51
  racc (1.7.1)
141
- rack (2.2.7)
142
- rack-test (2.1.0)
143
- rack (>= 1.3)
144
- rails (7.0.6)
145
- actioncable (= 7.0.6)
146
- actionmailbox (= 7.0.6)
147
- actionmailer (= 7.0.6)
148
- actionpack (= 7.0.6)
149
- actiontext (= 7.0.6)
150
- actionview (= 7.0.6)
151
- activejob (= 7.0.6)
152
- activemodel (= 7.0.6)
153
- activerecord (= 7.0.6)
154
- activestorage (= 7.0.6)
155
- activesupport (= 7.0.6)
156
- bundler (>= 1.15.0)
157
- railties (= 7.0.6)
158
- rails-dom-testing (2.1.1)
159
- activesupport (>= 5.0.0)
160
- minitest
161
- nokogiri (>= 1.6)
162
- rails-html-sanitizer (1.6.0)
163
- loofah (~> 2.21)
164
- nokogiri (~> 1.14)
165
- railties (7.0.6)
166
- actionpack (= 7.0.6)
167
- activesupport (= 7.0.6)
168
- method_source
169
- rake (>= 12.2)
170
- thor (~> 1.0)
171
- zeitwerk (~> 2.5)
172
52
  rainbow (3.1.1)
173
- rake (13.0.6)
174
53
  regexp_parser (2.8.1)
175
54
  reline (0.3.6)
176
55
  io-console (~> 0.5)
@@ -210,15 +89,9 @@ GEM
210
89
  rubocop-factory_bot (~> 2.22)
211
90
  ruby-progressbar (1.13.0)
212
91
  ruby2_keywords (0.0.5)
213
- thor (1.2.2)
214
- timeout (0.4.0)
215
92
  tzinfo (2.0.6)
216
93
  concurrent-ruby (~> 1.0)
217
94
  unicode-display_width (2.4.2)
218
- websocket-driver (0.7.5)
219
- websocket-extensions (>= 0.1.0)
220
- websocket-extensions (0.1.5)
221
- zeitwerk (2.6.8)
222
95
 
223
96
  PLATFORMS
224
97
  arm64-darwin-22
@@ -5,5 +5,5 @@ module MongodbMeilisearch
5
5
  # @note This library will adhere to strict semantic versioning.
6
6
  # See https://semver.org/
7
7
  #
8
- VERSION = "2.1.0"
8
+ VERSION = "2.2.1"
9
9
  end
data/lib/search/client.rb CHANGED
@@ -1,5 +1,6 @@
1
1
  require "singleton"
2
2
  require "logger"
3
+ require_relative "errors"
3
4
 
4
5
  module Search
5
6
  class Client
data/lib/search/errors.rb CHANGED
@@ -1,5 +1,3 @@
1
- # lib/errors.rb
2
-
3
1
  module Search
4
2
  module Errors
5
3
  class ConfigurationError < StandardError; end
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongodb_meilisearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - masukomi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-04 00:00:00.000000000 Z
11
+ date: 2025-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: rails
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: meilisearch
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -42,14 +28,14 @@ dependencies:
42
28
  name: mongoid
43
29
  requirement: !ruby/object:Gem::Requirement
44
30
  requirements:
45
- - - "~>"
31
+ - - ">="
46
32
  - !ruby/object:Gem::Version
47
33
  version: '7.0'
48
34
  type: :runtime
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - "~>"
38
+ - - ">="
53
39
  - !ruby/object:Gem::Version
54
40
  version: '7.0'
55
41
  - !ruby/object:Gem::Dependency