jekyll-meilisearch 0.4.4 → 0.4.5

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: 4da47ba1df678c00a9a0fbc425cec3804a405c71d95017b41eb9d1741b08c6e5
4
- data.tar.gz: a31bc7a11515a039a6c573956ab9c0ec35fa8507082af7237a1a86478b599074
3
+ metadata.gz: 46eee9fd58f159de8337a68eb168e1cec2f44557335c8750c59d04c60a2cd2b3
4
+ data.tar.gz: 2517d87cbe406a3c9c95786e5a38f6c9d63480226cf43885a88377e4c6e10820
5
5
  SHA512:
6
- metadata.gz: 19c756561d91385a94d0a7d80cc1e2a9be229e348d87ee07cfbcb4c513d72d2b27435cc223ec29ab26fff4d3614c650658bf530af43d310e7418818013f6925f
7
- data.tar.gz: fc4ec410ec67b5209988909bf2319c131b0c10f492c41de6bc9ee8604ed50f5e907eab89b331d78a1996dcb7720c30a3358a39792eb6346cfe8838fc0815c499
6
+ metadata.gz: 205b32e6ecd9bb4b9b5b6fe721f147bf8832df362480c0b5278f5be737b48f65c2126016136998d6e8d116c9118fd249b40745f705bfbdf7f89f458b91f91ffb
7
+ data.tar.gz: 4942ed0d26057413b014dcc49c9ac2f944c02108ebc2d080d9fe4a30ba687da3f6e2352959a48e24d269fb1487a1c0f1410204a7e1227ef193c7df5fcbd0936b
@@ -164,7 +164,7 @@ module JekyllMeilisearch
164
164
  if response&.success?
165
165
  Jekyll.logger.info "Delete task queued successfully."
166
166
  elsif response
167
- Jekyll.logger.info "Failed to delete obsolete documents: #{response.code} - #{response.body}"
167
+ Jekyll.logger.info "Failed to delete obsolete documents: #{response.code}"
168
168
  end
169
169
  end
170
170
 
@@ -178,6 +178,8 @@ module JekyllMeilisearch
178
178
  },
179
179
  "indexing documents"
180
180
  )
181
+ Jekyll.logger.info "Response code: #{response&.code}"
182
+ Jekyll.logger.info "Response response: #{response&.response}"
181
183
  if response&.code == 202
182
184
  if response.body
183
185
  task = JSON.parse(response.body)
@@ -188,7 +190,7 @@ module JekyllMeilisearch
188
190
  elsif response.nil?
189
191
  Jekyll.logger.info "Failed to queue indexing task: No response received from Meilisearch."
190
192
  else
191
- Jekyll.logger.info "Failed to queue indexing task: #{response.code} - #{response.body}"
193
+ Jekyll.logger.info "Failed to queue indexing task: #{response.code}"
192
194
  end
193
195
  end
194
196
  end
@@ -207,10 +209,10 @@ module JekyllMeilisearch
207
209
  if response&.success? || response&.code == 202
208
210
  Jekyll.logger.info "Index '#{index_name}' created successfully."
209
211
  elsif response
210
- Jekyll.logger.info "Failed to create index: #{response.code} - #{response.body}"
212
+ Jekyll.logger.info "Failed to create index: #{response.code}"
211
213
  end
212
214
  else
213
- Jekyll.logger.info "Error checking index: #{response.code} - #{response.body}"
215
+ Jekyll.logger.info "Error checking index: #{response.code} - #{response.response}"
214
216
  end
215
217
  end
216
218
 
@@ -224,7 +226,7 @@ module JekyllMeilisearch
224
226
  if response.nil?
225
227
  Jekyll.logger.info "Failed to reset index: No response received from Meilisearch."
226
228
  else
227
- Jekyll.logger.info "Failed to reset index: #{response.code} - #{response.body}"
229
+ Jekyll.logger.info "Failed to reset index: #{response.code}"
228
230
  end
229
231
  return
230
232
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  module Meilisearch
5
- VERSION = "0.4.4"
5
+ VERSION = "0.4.5"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-meilisearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - unicolored
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-21 00:00:00.000000000 Z
11
+ date: 2025-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -189,7 +189,8 @@ files:
189
189
  homepage: https://github.com/unicolored/jekyll-meilisearch
190
190
  licenses:
191
191
  - MIT
192
- metadata: {}
192
+ metadata:
193
+ source_code_uri: https://github.com/unicolored/jekyll-meilisearch
193
194
  post_install_message:
194
195
  rdoc_options: []
195
196
  require_paths: