deimos-ruby 2.0.0.pre.alpha1 → 2.0.0.pre.alpha2

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: 45c1138f93a466197d97834130389f2f17652221dee2ec8d909b8f238c85f554
4
- data.tar.gz: 0b48e5070b44906ecf39e759fd3142d0b85805561cca43842407d5d823a0d381
3
+ metadata.gz: c7563872db1d29eb0e6873eec799fe173ceb7484ec8e728063e49cacd3dc3083
4
+ data.tar.gz: d768d9026137b265887c3e0a063c9737974338de2a460c2c747440ba6d2ea94c
5
5
  SHA512:
6
- metadata.gz: 88991e80cf0c4cfcd873058ed30de62b27d78ce0a29f84b66679b0c0b4799a0efb4a4fed647e54016b68f8e4bb282bdc1797ff52796b1ef615897107a156e263
7
- data.tar.gz: 1b256132ce1385301c9b03cf0e3e2ca3c44da14c0a13063a6c911f6d782cb0a7832ec3a4913a5b3e420c663df99db62757108eafd76144d0d4351b9c47241190
6
+ metadata.gz: 76c9cb88a3e130eedcdaa45e4ad5cdf9cbed0bdf3c61e68bde81358785f250429ad1c1ffbaaaa520e739f0e0ef3c16fd8a0f5422e706c3178267600456bf9930
7
+ data.tar.gz: b0a531fdbd9b1ec9276f44783418e8df5fc358c6c3c2e1e51f6265b6e664cdf4fb83ad33d631f2a3ebb465aba52724d8941a7e97fbf49632f9299bd9249d7928
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Deimos
4
- VERSION = '2.0.0-alpha1'
4
+ VERSION = '2.0.0-alpha2'
5
5
  end
data/lib/deimos.rb CHANGED
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'active_support'
4
- require 'deimos/ext/redraw'
5
4
  require 'karafka'
6
5
 
7
6
  require 'deimos/version'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deimos-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.pre.alpha1
4
+ version: 2.0.0.pre.alpha2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Orner
@@ -459,7 +459,6 @@ files:
459
459
  - lib/deimos/ext/consumer_route.rb
460
460
  - lib/deimos/ext/producer_middleware.rb
461
461
  - lib/deimos/ext/producer_route.rb
462
- - lib/deimos/ext/redraw.rb
463
462
  - lib/deimos/ext/routing_defaults.rb
464
463
  - lib/deimos/ext/schema_route.rb
465
464
  - lib/deimos/kafka_message.rb
@@ -1,29 +0,0 @@
1
- # This is for temporary testing until https://github.com/karafka/karafka/pull/2347 is merged and released.
2
-
3
- module Karafka
4
- module Routing
5
- class Builder < Array
6
- alias array_clear clear
7
-
8
- def clear
9
- @mutex.synchronize do
10
- @defaults = EMPTY_DEFAULTS
11
- @draws.clear
12
- array_clear
13
- end
14
- end
15
-
16
- def redraw(&block)
17
- @mutex.synchronize do
18
- @draws.clear
19
- array_clear
20
- end
21
- draw(&block)
22
- end
23
-
24
- end
25
- end
26
- end
27
-
28
- require 'karafka'
29
- require 'karafka/routing/builder'