deimos-ruby 1.8.1.pre.beta7 → 1.8.1.pre.beta8

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: 6ed6bdbc70b4e29dfd893853d2df53ae6779fe3a95adc85a099b270674908135
4
- data.tar.gz: ca1da1180acac7a76cb3abd4ce9c4ab16712b16e94f88b79ae5c952d98a74500
3
+ metadata.gz: ec9800e76e6cc4e78af1e9f52d1f5bd0ab46820a223c663684278f5ef7c80e68
4
+ data.tar.gz: 1b7f4b9cad7933bea186efdf1a7827f8dac5275b296339131ea12c37fcfdd5c7
5
5
  SHA512:
6
- metadata.gz: fd3b5728ce13e60b35ffc0b7dd025e402fa4bbd760edc000ca8cd587bca0c7f39d136eba951ebd631a711cf79171716021f04bda38c8262318ab344d8452be34
7
- data.tar.gz: '0305200088b9d463c92562be1d9bf27d2727a06c10a147fdb6bace097adc795b2cfca6d5942eb4f06ee0da316e5a41db26b1fd04698d63987e2b45fdf7aea4c7'
6
+ metadata.gz: 17ae44bfadfb402e0573ade637c2b5ab69cff91465f8bc3771948a2136e2bbb2c7080ca1dd8e18f7cd11c0f13aa7def2b3557255094e358f002c747915ad4eec
7
+ data.tar.gz: 1d885ffb79c43422881e48cde1def8a0fe11bfa1a36250792b09f03d0a3ef7444f711e6b7ae4995d2a0aeb9ef6c036d37df60f90ebb0025b3c3cc14d2e48dbd3
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## UNRELEASED
9
9
 
10
+ ## 1.8.1-beta8 - 2020-08-27
11
+ ### Fixes :wrench:
12
+ - Moved the TestHelpers hook to `prepend_before` to allow for
13
+ overriding e.g. in integration tests.
14
+
10
15
  ## 1.8.1-beta7 - 2020-08-25
11
16
 
12
17
  ### Fixes :wrench:
data/README.md CHANGED
@@ -921,6 +921,17 @@ Deimos::TestHelpers.schemas_compatible?(schema1, schema2)
921
921
 
922
922
  ### Integration Test Helpers
923
923
 
924
+ When running integration tests, you'll want to override the default test helper settings:
925
+
926
+ ```ruby
927
+ config.before(:each, :my_integration_metadata) do
928
+ Deimos.configure do
929
+ producers.backend :kafka
930
+ schema.backend :avro_schema_registry
931
+ end
932
+ end
933
+ ```
934
+
924
935
  You can use the `InlineConsumer` class to help with integration testing,
925
936
  with a full external Kafka running.
926
937
 
@@ -34,7 +34,7 @@ module Deimos
34
34
  end
35
35
  end
36
36
 
37
- before(:each) do
37
+ prepend_before(:each) do
38
38
  client = double('client').as_null_object
39
39
  allow(client).to receive(:time) do |*_args, &block|
40
40
  block.call
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Deimos
4
- VERSION = '1.8.1-beta7'
4
+ VERSION = '1.8.1-beta8'
5
5
  end
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.8.1.pre.beta7
4
+ version: 1.8.1.pre.beta8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Orner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-25 00:00:00.000000000 Z
11
+ date: 2020-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avro_turf