wampproto 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 77d767efae20a706cae98c3ded62404ff67b4d36cd949232a86874939f9009d8
4
- data.tar.gz: e29a02be8412a67f77bc1c03419ce0166b856987407286d909ae7c710b7d4b5e
3
+ metadata.gz: 26c4ffaaaa9d483434bebf923785ea5ce2658da33a3e6768836e46c78f1dd212
4
+ data.tar.gz: a42dba9c1410edcd9e2ab766d69013752848772ad76cb5ba84bb1128c6e8ee1a
5
5
  SHA512:
6
- metadata.gz: 8ed18913724993b58517dddd405c3b292216929aa4d44ef02160edb67e4c4da03e935202a9830010fbf232b865df4890d71bbbd74018849e52225ef369e0139b
7
- data.tar.gz: 89bdcf2351cc252ca100f40ce2b4117b21ab9ca63cb85013e95e8212ca4eb522001f0e6b7266eca2336f1dd3d4da4a0b4123bb700a9e9b963de312b5fb44debd
6
+ metadata.gz: 1baf0ae46dd2d53f1b48c7b49f46f1a5b4402be69ac4c920e81ed327b565384746c5722f060aa028d90a7dfd1460565c6f5fc2fb58f0430959fe52606f7b9268
7
+ data.tar.gz: 7520812b2fd0666fd677670ac1f8a885919e63d979953b32ba7f3e45ad12f5d2d5ba657a733e32fb67ec0da060dab56cf50e37b60d231a98184875ab5e06156a
@@ -77,7 +77,7 @@ module Wampproto
77
77
  raise ValueError, error_message unless registrations.delete(registration_id)
78
78
  when Message::Invocation
79
79
  error_message = "received INVOCATION for invalid registration_id"
80
- raise ValueError, error_message unless registrations.delete(msg.registration_id)
80
+ raise ValueError, error_message unless registrations.include?(msg.registration_id)
81
81
 
82
82
  invocation_requests[msg.request_id] = msg.request_id
83
83
  when Message::Published
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Wampproto
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wampproto
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ismail Akram
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-05-19 00:00:00.000000000 Z
11
+ date: 2024-05-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cbor