mimi-messaging 1.2.4 → 1.2.5

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
  SHA1:
3
- metadata.gz: b8baee68b3135998131486589ca0fc56b3454c5e
4
- data.tar.gz: 469dc284417b30a83c13a84b7035076cefc8dc64
3
+ metadata.gz: 1cca5d45f4668e13cb9a7072fc1bdae16329f2d9
4
+ data.tar.gz: 45a1bd3e161c1072b0687ee59c6d943b6005360d
5
5
  SHA512:
6
- metadata.gz: cfab8d964275ca42ce5334212e95bde2808bc0874390bea45602f906c4cf5c7e05cc60d25d3a198a6ee7c6b1935fbfd7416480429cedce5104a8ad8f26f7a5de
7
- data.tar.gz: 66d91dcf023f0255384bee9805f0228a445f48109ba751b57d16d38a8798535cfe01dee459a40be41af6c3d6f1711a87c8c4894bc4fca2c007c037f6be28aa0f
6
+ metadata.gz: 587895823e3c9fa32f3a423db9e56c7820c10aeed71de238e83b232a94b5b19c34148b546995c0a63d3c3c731183069858245736eed6aae0f473fd3d8c214ef2
7
+ data.tar.gz: fe4278d21c1ddc4e31b739d45e907292fab595d1a77192ad8057333b47c1669695fa65db53e817a82fe3ff2cb1e7e5e927b7da7c0551364d17717e4d219fb2e4
@@ -452,14 +452,14 @@ module Mimi
452
452
  end
453
453
  private_class_method :start_message_processor
454
454
 
455
- # Starts (registers) all message processors
455
+ # Starts all registered message processors at the adapter
456
456
  #
457
457
  def self.start_all_message_processors
458
458
  message_processors.each { |p| start_message_processor(p) }
459
459
  end
460
460
  private_class_method :start_all_message_processors
461
461
 
462
- # Stops (deregisters) all message processors
462
+ # Stops all registered message processors at the adapter
463
463
  #
464
464
  def self.stop_all_processors
465
465
  log "#{self} stopping all message processors"
@@ -468,9 +468,11 @@ module Mimi
468
468
  end
469
469
  private_class_method :stop_all_processors
470
470
 
471
- # Resets the internal state, private
471
+ # Deregisters all message processors
472
472
  #
473
- def self.reset
473
+ def self.unregister_all_processors
474
+ stop_all_processors
475
+ message_processors.replace([])
474
476
  end
475
477
  end # module Messaging
476
478
  end # module Mimi
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Mimi
4
4
  module Messaging
5
- VERSION = "1.2.4"
5
+ VERSION = "1.2.5"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mimi-messaging
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.4
4
+ version: 1.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Kukushkin