nosj 0.5.0-x86_64-linux → 0.5.1-x86_64-linux

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: 0c308d0f2486a7041e62e8c1de75a7711429d59e4cd4cbc646345ad09d4eef83
4
- data.tar.gz: 5a6d0a7476cf09997f7234e404e78bd9f4c25b9b4444cdaf9116a52c5f4c392f
3
+ metadata.gz: 8de4a4280aa43d113a6a7d51ce10a7a8702c9e4652c6867a3cf4486abb55f7e7
4
+ data.tar.gz: e9349c8cdf8252e703db35d4d7aabb04470fe6ae7bd11533e4b98683f19aa1c2
5
5
  SHA512:
6
- metadata.gz: f2d87102fd15520c3183daf859329eb1c1f92ff81e73112d0882e5f8fde8138e3751a083513206381431e1af0f2ffe12a01bd8176aca1b4ce9be01707d57f7a7
7
- data.tar.gz: 4c70d1d907f4a9db68cb02d4231f8258ac9780f4b8bbf935383dedaf0490e5686bd32812234cb5d32599bc26335854fe19e9c5fd1d9c384de61cdbf1f494d4e7
6
+ metadata.gz: 9c289bcfc3b32cbdb53fe924c380e4256c73d9386516078682d6d7ac90f42e1a89c454bb2afe0867fb26b51e8f223350806daeaca8dcd9559974f57291966e41
7
+ data.tar.gz: b978a9d15969408548a5bc30ac41d29d93cf090826a578bff1912bcd3a5c9d9e33125e65c92e03b69d1f9c63ed0458690860136c41537b034f37a9d0a070fa60
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## [0.5.1] - 2026-10-06
2
+
3
+ - Fixed: `NOSJ.patch` read a `path` without the leading slash (`"a"`
4
+ instead of `"/a"`) as the root pointer, so `add`, `copy`, and `move`
5
+ silently replaced the whole document with the value instead of
6
+ raising, and `remove` reported `cannot remove the root`. Such paths
7
+ now raise the same `ArgumentError` as `NOSJ.at_pointer`
8
+ (`JSON Pointer must be empty or start with '/'`) in every op. The
9
+ bug dates back to 0.3.0. Found by fuzzing.
10
+
1
11
  ## [0.5.0] - 2026-09-25
2
12
 
3
13
  **json 3.0 compatibility.** nosj now matches the behavior of the json
data/lib/nosj/3.3/nosj.so CHANGED
Binary file
data/lib/nosj/3.4/nosj.so CHANGED
Binary file
data/lib/nosj/4.0/nosj.so CHANGED
Binary file
data/lib/nosj/version.rb CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  module NOSJ
4
4
  # The gem version.
5
- VERSION = "0.5.0"
5
+ VERSION = "0.5.1"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nosj
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Yaroslav Markin