hermes_messenger_of_the_gods 2.4.1 → 2.4.2

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: 4a94ab1890178b3b576428acad87e0a1028b0e3756167d4fa31a16a568ddbf01
4
- data.tar.gz: 0cd200285bf95a5da2c0c3d370d1c31906158675fd23f26b29e6c3825fbf709c
3
+ metadata.gz: b3ad7cd6b63d696cd8e765e69def47efa4496c43e1573b9dc80a966f770df0da
4
+ data.tar.gz: 627776d0de4ac041fc22b6cb35c3fe2f8ee2d873375599c6136b54d00bc46d29
5
5
  SHA512:
6
- metadata.gz: c5c82b0a76fc6a5fe5fa62398f5376bf3ccf774a9f4f69378f5fa654b5804f2f46fcc0616c3bad7a066e9be6f3df673b1e1a81861443b353539e196e01750703
7
- data.tar.gz: 2d69fdfe769b30744cb41800090db990cc25aa571438bcf0b0fc46303d1b7d29f140608ac67f4453fb949a6a05e2d38d3255ce4fbe3205845b1f4f10442ac820
6
+ metadata.gz: 56035ce71cfc68f0e593a6ffc81236ef8512ab186f459f1b6d29f6322e161862951ba4fe82210cdee8ab189023ef4ef7fd31452f6f4df822be1d39578cfc79e9
7
+ data.tar.gz: 74a55d8d43193c40f7e0e345a8dfe81fc72c3674202ed29c997259f30acf8ebda468e6b920fe88e8dbc28b5018eabf2e208cf23ae533c5f592442e60c69941af
@@ -36,17 +36,17 @@ module HermesMessengerOfTheGods
36
36
  end,
37
37
  # Message Output
38
38
  ActiveSupport::Notifications.subscribe('hermes_messenger_of_the_gods.message.dispatch') do |_, _start, _finish, _, payload|
39
- payload[:message].say_info { "Dispatch complete in #{to_log_s(payload[:job])}s" }
39
+ payload[:message].say_debug { "Dispatch complete in #{to_log_s(payload[:job])}s" }
40
40
  end,
41
41
  ActiveSupport::Notifications.subscribe('hermes_messenger_of_the_gods.message.dispatch_failure') do |*_, payload|
42
- payload[:message].say_debug { "Dispatch failure to #{to_log_s(payload[:job])}: #{payload[:exception].inspect}" }
42
+ payload[:message].say_error { "Dispatch failure to #{to_log_s(payload[:job])}: #{payload[:exception].inspect}" }
43
43
  end,
44
44
  # Endpoint Output
45
45
  ActiveSupport::Notifications.subscribe('hermes_messenger_of_the_gods.endpoint.dispatch') do |_, start, finish, _, payload|
46
- payload[:endpoint].say_info { "Dispatch complete in #{finish - start}s #{' FAILED' if payload.key?(:exception)}" }
46
+ payload[:endpoint].say_debug { "Dispatch complete in #{finish - start}s #{' FAILED' if payload.key?(:exception)}" }
47
47
  end,
48
48
  ActiveSupport::Notifications.subscribe(/hermes_messenger_of_the_gods.endpoint.(dispatch|final)_failure/) do |name, *_, payload|
49
- payload[:endpoint].say_debug { "Dispatch #{'final ' if name.include?('final_')} failure ##{payload[:try]} to #{payload[:endpoint_name]}: #{payload[:exception].inspect}" }
49
+ payload[:endpoint].say_error { "Dispatch #{'final ' if name.include?('final_')} failure ##{payload[:try]} to #{payload[:endpoint_name]}: #{payload[:exception].inspect}" }
50
50
  end,
51
51
  ActiveSupport::Notifications.subscribe(/hermes_messenger_of_the_gods.endpoint.read_failure/) do |_name, *_, payload|
52
52
  payload[:endpoint].say_error { "A message was received that could not be decoded: #{payload[:exception].message}" }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module HermesMessengerOfTheGods
4
- VERSION = '2.4.1'
4
+ VERSION = '2.4.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hermes_messenger_of_the_gods
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.1
4
+ version: 2.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Malinconico
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2022-10-12 00:00:00.000000000 Z
12
+ date: 2023-07-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemodel