mongory 0.7.0 → 0.7.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: 479d442ab8a04a0b6901af9c4833c89babb9acea2a4a8d93756115ee4ebfbf5c
4
- data.tar.gz: e796d56379b2d116d802d6b23b90caed2659e3761f5cfe315a37ce089e37ccd5
3
+ metadata.gz: 2a7ec315565b227d1051af4673da4a5e9eab1c91bb3a578b0bef378d7b829a38
4
+ data.tar.gz: 8d85c987c23b6f4066f8ed3fd752b5ba829e830e75eb3859eb7765bcf999278b
5
5
  SHA512:
6
- metadata.gz: 072eab3cbdb45d9b0a28f42201eddcf3a542518f7b37af2bc7b58f529989b28fb12f5b4df30a7677b5b864db542d8dfbf7fe218065e1f1e0450c076cff63ba82
7
- data.tar.gz: fcc7d74ffd269bf477d2013112bc8a777b527130208fe4b464234446c7364f217c0ae3bac1d4dcd73dcc93e2d1bfc407e0d389cc9c8b53e8a7d71b7391656c25
6
+ metadata.gz: 894bf40d954782890b1793b78f2710f370c964b4fec5cd9e3b453dc9d57bcf102081dee5ea1023e3c59dabe5f37ff09ccb2dde2d5585cbd7c0c6e79b6c115904
7
+ data.tar.gz: afdc73456ddfec6bce3e326bc1a948293c0e6a844c358cb06130b20678ea9c7c53dc06d2e0e43cfb03cf067a4f3a696938243a5c6af4715efd1a813276300a2e
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
1
  # Changelog
2
+ ## [0.7.1] - 2025-08-17
3
+ ### Fixes
4
+ - Linter error
5
+ - CMatcher get crash if print trace when not enable trace yet
2
6
 
3
7
  ## [0.7.0] - 2025-08-17
4
8
 
data/README.md CHANGED
@@ -13,6 +13,7 @@ Mongory lets you filter and query in-memory collections using syntax and semanti
13
13
  - [Installation & Quick Start](#installation--quick-start)
14
14
  - [Integration with MongoDB](#integration-with-mongodb)
15
15
  - Usage & Concepts
16
+ - [Creating Custom Matchers](#creating-custom-matchers)
16
17
  - [Core Concepts & API Reference](#core-concepts--api-reference)
17
18
  - [Handling Dots in Field Names](docs/field_names.md)
18
19
  - [Advanced Usage](docs/advanced_usage.md)
@@ -174,6 +174,8 @@ void mongory_matcher_disable_trace(mongory_matcher *matcher) {
174
174
  }
175
175
 
176
176
  void mongory_matcher_print_trace(mongory_matcher *matcher) {
177
+ if (matcher->trace_stack == NULL)
178
+ return;
177
179
  mongory_array *sorted_trace_stack = mongory_matcher_traces_sort(matcher->trace_stack, 0);
178
180
  int total = (int)sorted_trace_stack->count;
179
181
  for (int i = 0; i < total; i++) {
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Mongory
4
- VERSION = '0.7.0'
4
+ VERSION = '0.7.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mongory
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - koten0224