phobos 2.0.0.pre.beta1 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +4 -1
- data/README.md +9 -1
- data/lib/phobos/deep_struct.rb +1 -1
- data/lib/phobos/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e0e6b91f9e7afec0ae7b099dfd87c9106e4d8691c61093e6e0b5c3cddf11a10
|
4
|
+
data.tar.gz: 3f346e5a54b758a14a24da2ff187e3cb3e76ae855ee2f96462272bac5e16c835
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f428b81a60214c3038ce4cace27d3c88de0045ec735cd674eac8b5053dc7748ca5b1318dbab250f203ee896df1975ad3a916cf5302cd42d6c314bcd5f40f914
|
7
|
+
data.tar.gz: 7f03ea7b6445e9a9480169515f13fa5cb542f6dc7b8b6f7b93b1222738ec80f1d34bc6358e4d960d8191033d830e8b65ceb83fa40885097520af78f434325fd5
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -6,7 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
6
6
|
``
|
7
7
|
## UNRELEASED
|
8
8
|
|
9
|
-
|
9
|
+
# [2.0.1] - 2021-01-14
|
10
|
+
- Fix bug with Ruby 3.0 around OpenStruct
|
11
|
+
|
12
|
+
## [2.0.0-beta1] - 2020-05-04
|
10
13
|
|
11
14
|
- Remove deprecated patterns:
|
12
15
|
-- `before_consume` method
|
data/README.md
CHANGED
@@ -596,8 +596,16 @@ Phobos exports a spec helper that can help you test your consumer. The Phobos li
|
|
596
596
|
* `process_message(handler:, payload:, metadata: {}, encoding: nil)` - Invokes your handler with payload and metadata, using a dummy listener (encoding and metadata are optional).
|
597
597
|
|
598
598
|
```ruby
|
599
|
-
|
599
|
+
### spec_helper.rb
|
600
|
+
require 'phobos/test/helper'
|
601
|
+
RSpec.configure do |config|
|
602
|
+
config.include Phobos::Test::Helper
|
603
|
+
config.before(:each) do
|
604
|
+
Phobos.configure(path_to_my_config_file)
|
605
|
+
end
|
606
|
+
end
|
600
607
|
|
608
|
+
### Spec file
|
601
609
|
describe MyConsumer do
|
602
610
|
let(:payload) { 'foo' }
|
603
611
|
let(:metadata) { Hash(foo: 'bar') }
|
data/lib/phobos/deep_struct.rb
CHANGED
data/lib/phobos/version.rb
CHANGED
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: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Túlio Ornelas
|
@@ -12,10 +12,10 @@ authors:
|
|
12
12
|
- Francisco Juan
|
13
13
|
- Tommy Gustafsson
|
14
14
|
- Daniel Orner
|
15
|
-
autorequire:
|
15
|
+
autorequire:
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
|
-
date:
|
18
|
+
date: 2021-01-14 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: bundler
|
@@ -299,7 +299,7 @@ licenses:
|
|
299
299
|
- Apache License Version 2.0
|
300
300
|
metadata:
|
301
301
|
allowed_push_host: https://rubygems.org
|
302
|
-
post_install_message:
|
302
|
+
post_install_message:
|
303
303
|
rdoc_options: []
|
304
304
|
require_paths:
|
305
305
|
- lib
|
@@ -310,12 +310,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
310
310
|
version: '2.3'
|
311
311
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
312
312
|
requirements:
|
313
|
-
- - "
|
313
|
+
- - ">="
|
314
314
|
- !ruby/object:Gem::Version
|
315
|
-
version:
|
315
|
+
version: '0'
|
316
316
|
requirements: []
|
317
|
-
rubygems_version: 3.
|
318
|
-
signing_key:
|
317
|
+
rubygems_version: 3.0.9
|
318
|
+
signing_key:
|
319
319
|
specification_version: 4
|
320
320
|
summary: Simplifying Kafka for ruby apps
|
321
321
|
test_files: []
|