deimos-ruby 1.10.0 → 1.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +9 -7
- data/lib/deimos/schema_backends/base.rb +2 -1
- data/lib/deimos/version.rb +1 -1
- data/spec/schema_backends/base_spec.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 810ce13be8ab8ba5dc64d586ed863a8603fdcc96961ed1779d1af791589161e8
|
4
|
+
data.tar.gz: c6be10e665fee7e50583c927253877d5e70d1ad3905560601e2cde844debf1cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42517bc99f57cef76b0f03957f59550aae1d3234b3f2680958b1d8fd6cb8bd431a43459a5b8542c30658146adfd12fe5eecbc608dd9b878e18166edb84f9ee80
|
7
|
+
data.tar.gz: d5c68af5593e66ac67125108a2f583af7f8003a40515816b6797a17c200a5cffd8aef77d56b400f5c44780c42b78ed0a430037dd2b7033776374aa6a1a5cfb97
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
7
7
|
|
8
8
|
## UNRELEASED
|
9
9
|
|
10
|
+
## 1.10.1 - 2021-06-21
|
11
|
+
|
12
|
+
- ### Fixes :wrench:
|
13
|
+
|
14
|
+
- Fixed crash when trying to decode a nil payload (e.g. during instrumentation of `send_produce_error`.)
|
15
|
+
|
10
16
|
## 1.10.0 - 2021-03-22
|
11
17
|
|
12
18
|
- ### Roadmap :car:
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
deimos-ruby (1.
|
4
|
+
deimos-ruby (1.10.1)
|
5
5
|
avro_turf (~> 0.11)
|
6
6
|
fig_tree (~> 0.0.2)
|
7
7
|
phobos (>= 1.9, < 3.0)
|
@@ -92,7 +92,7 @@ GEM
|
|
92
92
|
rake (>= 12.0.0, < 14.0.0)
|
93
93
|
dogstatsd-ruby (4.8.3)
|
94
94
|
erubi (1.10.0)
|
95
|
-
excon (0.
|
95
|
+
excon (0.81.0)
|
96
96
|
exponential-backoff (0.0.4)
|
97
97
|
ffi (1.15.0)
|
98
98
|
fig_tree (0.0.2)
|
@@ -135,16 +135,18 @@ GEM
|
|
135
135
|
marcel (0.3.3)
|
136
136
|
mimemagic (~> 0.3.2)
|
137
137
|
method_source (1.0.0)
|
138
|
-
mimemagic (0.3.
|
138
|
+
mimemagic (0.3.10)
|
139
|
+
nokogiri (~> 1)
|
140
|
+
rake
|
139
141
|
mini_mime (1.0.2)
|
140
|
-
mini_portile2 (2.5.
|
142
|
+
mini_portile2 (2.5.1)
|
141
143
|
minitest (5.14.4)
|
142
144
|
msgpack (1.4.2)
|
143
145
|
multi_json (1.15.0)
|
144
146
|
mysql2 (0.5.3)
|
145
147
|
nenv (0.3.0)
|
146
148
|
nio4r (2.5.7)
|
147
|
-
nokogiri (1.11.
|
149
|
+
nokogiri (1.11.5)
|
148
150
|
mini_portile2 (~> 2.5.0)
|
149
151
|
racc (~> 1.4)
|
150
152
|
notiffany (0.1.3)
|
@@ -201,7 +203,7 @@ GEM
|
|
201
203
|
rb-inotify (0.10.1)
|
202
204
|
ffi (~> 1.0)
|
203
205
|
regexp_parser (2.1.1)
|
204
|
-
rexml (3.2.
|
206
|
+
rexml (3.2.5)
|
205
207
|
rspec (3.10.0)
|
206
208
|
rspec-core (~> 3.10.0)
|
207
209
|
rspec-expectations (~> 3.10.0)
|
@@ -287,4 +289,4 @@ DEPENDENCIES
|
|
287
289
|
sqlite3 (~> 1.3)
|
288
290
|
|
289
291
|
BUNDLED WITH
|
290
|
-
2.2.
|
292
|
+
2.2.17
|
@@ -40,8 +40,9 @@ module Deimos
|
|
40
40
|
# Decode a payload with a schema. Public method.
|
41
41
|
# @param payload [String]
|
42
42
|
# @param schema [Symbol|String]
|
43
|
-
# @return [Hash]
|
43
|
+
# @return [Hash,nil]
|
44
44
|
def decode(payload, schema: nil)
|
45
|
+
return nil if payload.nil?
|
45
46
|
decode_payload(payload, schema: schema || @schema)
|
46
47
|
end
|
47
48
|
|
data/lib/deimos/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deimos-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.10.
|
4
|
+
version: 1.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Orner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avro_turf
|