phobos 1.9.0.pre.beta2 → 1.9.0.pre.beta3

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: f2b2f9eeb44e40d9cb01add121e7b388c66e99f5482e5f2ec78bb7bc3263bd32
4
- data.tar.gz: 796484971553a2b19edc18f0e4192ffaece1de0c27894bfa0344b0af29fc3f23
3
+ metadata.gz: 37dfd76749d3cbea4d6e7611ad70581eb938487ff37088e6f80d2b5ba78eb844
4
+ data.tar.gz: ba3104759ff0d2d2369b5077abc487545f75b32815e4fb4af042575e4176c12f
5
5
  SHA512:
6
- metadata.gz: 0f2f422bff9b56354c1378c283090277a1af164b2b8a3f9a038c85a25157131e1e2cd005d37e72ba21d921620521210020859368b42851dc110043395052ab11
7
- data.tar.gz: dbd23e7210111e63921854bf279c0f64aa9a4ba426f24af897924a1c6a76cb24a19be4c35db1105013c0d0de3c6a6e2bb73272df6cce9b24e4dce9c9a445becf
6
+ metadata.gz: 2cfb3e98b26a94f2adfd3ab579bc47aae565ece64bbdec1446833e33cb70c0e27e4413d0d4d083c5dc2cdf04827624c64c3ad51781c686f83013dfe21b363926
7
+ data.tar.gz: 829f7fd8355cc7717535e9e6f108a6f3dd18dd25f144ae659b4c81db9a19e661a8c916caf8ab9891d49e8502c5027d68376ceb7fc2ea8632b3142efe88c8b414
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
6
6
  ``
7
7
  ## UNRELEASED
8
8
 
9
+ ## [1.9.0-beta3] - 2020-02-05
10
+ - Fix bug where deprecation errors would be shown when receiving nil payloads
11
+ even if `around_consume` was updated to yield them.
12
+
9
13
  ## [1.9.0-beta2] - 2020-01-09
10
14
 
11
15
  - Allow `around_consume` to yield payload and metadata, and deprecate
@@ -51,7 +51,7 @@ module Phobos
51
51
 
52
52
  def consume_block(payload, handler)
53
53
  proc { |around_payload, around_metadata|
54
- if around_payload
54
+ if around_metadata
55
55
  handler.consume(around_payload, around_metadata)
56
56
  else
57
57
  Phobos.deprecate('Calling around_consume without yielding payload and metadata \
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Phobos
4
- VERSION = '1.9.0-beta2'
4
+ VERSION = '1.9.0-beta3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phobos
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0.pre.beta2
4
+ version: 1.9.0.pre.beta3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Túlio Ornelas
@@ -15,7 +15,7 @@ authors:
15
15
  autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
- date: 2020-01-09 00:00:00.000000000 Z
18
+ date: 2020-02-05 00:00:00.000000000 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: bundler
@@ -314,7 +314,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
314
314
  - !ruby/object:Gem::Version
315
315
  version: 1.3.1
316
316
  requirements: []
317
- rubygems_version: 3.0.2
317
+ rubygems_version: 3.1.2
318
318
  signing_key:
319
319
  specification_version: 4
320
320
  summary: Simplifying Kafka for ruby apps