async-websocket 0.21.0 → 0.22.0

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: 3f647aa6496d73f12e3fb60e2f0973f1021c0e9ed4184285114182e726644ed2
4
- data.tar.gz: 2263444a6dea430fcf6ffe1f39a25c05a8bcdfb3e27cb54abd334b69bcadf918
3
+ metadata.gz: 2f44102a9613ddc21a24c007f7d2dd321d86e1f7e0e9f58d9d8493ac26f65689
4
+ data.tar.gz: bb7b076d16e8037c7fd6a61c7736f956c53d51088371b285e13883d3a2343445
5
5
  SHA512:
6
- metadata.gz: 1545f3675a0168932cfa393d24fcc68332e254c3e279e9db35c7c0478b5d541d6dd293ab0e2dfb76cc52fd5bc55c8a157ecc4e2283150ab44c814d5b791ef4eb
7
- data.tar.gz: 3b28edd7eeef1ba6f1f89ffc05cead77f9fdcd85dc79d85d11cdafc65b85d98c4f1bed7bd9a019b71fdc0ce4ff5f1a6ab8b844844a3c75715c64987988c645d4
6
+ metadata.gz: 1c41481ccfaeee07401f5d4607c645de83116de199908c12e921299b924763bb763d01f2181798d1c1f7f2d568474e2d3391dadc69da7ce329e441927e970519
7
+ data.tar.gz: ba0006b75404a857f2b97e43e8d8bdc51db402d677975a0c1bd4e6ad20146b9e631142c65bd9cd4e14e2d2fc0e129336751eea932b89d557f3fcd1fbd68a740a
checksums.yaml.gz.sig CHANGED
Binary file
@@ -67,24 +67,6 @@ module Async
67
67
 
68
68
  attr :protocol
69
69
 
70
- def read
71
- if buffer = super
72
- parse(buffer)
73
- end
74
- end
75
-
76
- def write(object)
77
- super(dump(object))
78
- end
79
-
80
- def parse(buffer)
81
- JSON.parse(buffer, symbolize_names: true)
82
- end
83
-
84
- def dump(object)
85
- JSON.dump(object)
86
- end
87
-
88
70
  def call
89
71
  self.close
90
72
  end
@@ -20,6 +20,6 @@
20
20
 
21
21
  module Async
22
22
  module WebSocket
23
- VERSION = "0.21.0"
23
+ VERSION = "0.22.0"
24
24
  end
25
25
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: async-websocket
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.0
4
+ version: 0.22.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Samuel Williams
@@ -45,7 +45,7 @@ cert_chain:
45
45
  Q2K9NVun/S785AP05vKkXZEFYxqG6EW012U4oLcFl5MySFajYXRYbuUpH6AY+HP8
46
46
  voD0MPg1DssDLKwXyt1eKD/+Fq0bFWhwVM/1XiAXL7lyYUyOq24KHgQ2Csg=
47
47
  -----END CERTIFICATE-----
48
- date: 2022-08-21 00:00:00.000000000 Z
48
+ date: 2022-08-22 00:00:00.000000000 Z
49
49
  dependencies:
50
50
  - !ruby/object:Gem::Dependency
51
51
  name: async-http
@@ -95,14 +95,14 @@ dependencies:
95
95
  requirements:
96
96
  - - "~>"
97
97
  - !ruby/object:Gem::Version
98
- version: 0.8.0
98
+ version: 0.9.1
99
99
  type: :runtime
100
100
  prerelease: false
101
101
  version_requirements: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - "~>"
104
104
  - !ruby/object:Gem::Version
105
- version: 0.8.0
105
+ version: 0.9.1
106
106
  - !ruby/object:Gem::Dependency
107
107
  name: async-rspec
108
108
  requirement: !ruby/object:Gem::Requirement
metadata.gz.sig CHANGED
Binary file