protocol-jsonrpc 0.2.1 → 0.2.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +0 -3
- data/lib/protocol/jsonrpc/version.rb +1 -1
- metadata +12 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 874cf5c8dbdabf1d9b7e38b2fea872b0ebad5f3375970f3c94f8fda66ab0020d
|
|
4
|
+
data.tar.gz: b135704af442d14ac8f3792a899444ce20253d70212b717249ce7105add41c54
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4b00488285c5680d63ea23dea25c609c513ebcea886e17ab305ebc3e0f0992b61d78ab7cbbd1f1416bf241d703c4c1b1e1cc760725aa25a610bc869ea60dae55
|
|
7
|
+
data.tar.gz: adb7f0226042ba5a14fbcd7fcbac823546dd9fb228bdfa65c861ca6fb82ca8fc8afbacc9ebf9e61ad2f8daef253d0c06d3ab008d8fe1db7a9ad13280c583eb08
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [0.2.2] - 2026-11-06
|
|
4
|
+
|
|
5
|
+
- Require `json >= 2.19.9, < 4.0` to pick up the fix for CVE-2026-54696.
|
|
6
|
+
- Update development dependencies (`erb` 6.0.7 for CVE-2026-41316, `json` 2.21.2).
|
|
7
|
+
|
|
3
8
|
## [0.2.1] - 2025-06-01
|
|
4
9
|
|
|
5
10
|
- If a reply block for a Notification raises, suppress the error as defined in the spec
|
data/README.md
CHANGED
|
@@ -179,9 +179,6 @@ response = request.reply(19)
|
|
|
179
179
|
|
|
180
180
|
response = request.reply do |message|
|
|
181
181
|
message.params.sum if message.request? && message.method == "add"
|
|
182
|
-
if message.method == "fail"
|
|
183
|
-
raise "Oops, we failed" # gets turned into a error response
|
|
184
|
-
end
|
|
185
182
|
end
|
|
186
183
|
|
|
187
184
|
# Or directly
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: protocol-jsonrpc
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Martin Emde
|
|
@@ -13,16 +13,22 @@ dependencies:
|
|
|
13
13
|
name: json
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
15
15
|
requirements:
|
|
16
|
-
- - "
|
|
16
|
+
- - ">="
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version:
|
|
18
|
+
version: 2.19.9
|
|
19
|
+
- - "<"
|
|
20
|
+
- !ruby/object:Gem::Version
|
|
21
|
+
version: '4.0'
|
|
19
22
|
type: :runtime
|
|
20
23
|
prerelease: false
|
|
21
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
25
|
requirements:
|
|
23
|
-
- - "
|
|
26
|
+
- - ">="
|
|
27
|
+
- !ruby/object:Gem::Version
|
|
28
|
+
version: 2.19.9
|
|
29
|
+
- - "<"
|
|
24
30
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: '
|
|
31
|
+
version: '4.0'
|
|
26
32
|
description: JSON-RPC 2.0 protocol implementation
|
|
27
33
|
email:
|
|
28
34
|
- me@martinemde.com
|
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
69
75
|
- !ruby/object:Gem::Version
|
|
70
76
|
version: '0'
|
|
71
77
|
requirements: []
|
|
72
|
-
rubygems_version: 3.6.
|
|
78
|
+
rubygems_version: 3.6.9
|
|
73
79
|
specification_version: 4
|
|
74
80
|
summary: JSON-RPC 2.0 protocol implementation
|
|
75
81
|
test_files: []
|