sidekiq-amigo 1.6.1 → 1.6.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: 14e6bc3120144858128f363dc8e949a7426934cafd845a3437119e02a93787c6
4
- data.tar.gz: e93ebb50c72196c2485fd5e2f69b22bb6c1eb9765520d03cbfb7ce45d7dffaf1
3
+ metadata.gz: d5224634ebf95a2fcaefc764d07114cc77b2feed22a15e736eec934d8eba84b0
4
+ data.tar.gz: 2e49a507f4e6d47e7ce25b676293738591807bc47dadf47e1fdbcb634d5a9df5
5
5
  SHA512:
6
- metadata.gz: 0dcb1d84ea09a01170fb2daf31f4671e49105edafc687a7d6521b673a18f02891115207cf71d3345a2a6fe4fda7c9cf9165929a766bba76f5dc41e61957fff0e
7
- data.tar.gz: 1c19c16aaa290dbc372bc8baf0cb328aef784439361d353a06179ae8e2b7b20033970ef3c82f3865ef25cd02110e7aca51e567613feb62ef341c0b119d00b0e1
6
+ metadata.gz: fa9617859526003317496d860e07119a11e8d0d58e66382360078a74463760b78da8516d215a0922fd40ee5bcc4d5e35421be2aa393df1f0a0709c941c367560
7
+ data.tar.gz: 99876ed52f35b972bdc1a68a507c29b87f6a0aa5db6c2ae7738e203da8c66cb5dd01a4c2489fd4a923f117e84af308ea121f2be40ea95e5a3426485da114f216
@@ -6,8 +6,12 @@ module Amigo
6
6
  class AuditLogger
7
7
  include Sidekiq::Worker
8
8
 
9
+ def audit_log_level
10
+ return :info
11
+ end
12
+
9
13
  def perform(event_json)
10
- Amigo.log(self, :info, "async_job_audit",
14
+ Amigo.log(self, self.audit_log_level, "async_job_audit",
11
15
  event_id: event_json["id"],
12
16
  event_name: event_json["name"],
13
17
  event_payload: event_json["payload"],)
data/lib/amigo/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Amigo
4
- VERSION = "1.6.1"
4
+ VERSION = "1.6.2"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-amigo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.1
4
+ version: 1.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lithic Technology
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-07-05 00:00:00.000000000 Z
11
+ date: 2024-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq