lamian 1.5.0 → 1.6.0

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: d658a3a17f04025bed6140c233857a95f2e153332654d3fe6fbc2c10d0ef7916
4
- data.tar.gz: 2b73f21507f4fa1e2a18ec20bfe57d613abbee01b079ed1fc78f12f966623854
3
+ metadata.gz: 3c89ac71145ec9af5b58ff7838d164aacb7b475b927e6c2aa18d082475259490
4
+ data.tar.gz: 8bd8d8463613bb9930e8d23b36a5a964b35ac101eaead9cfb0061a14636eb29c
5
5
  SHA512:
6
- metadata.gz: 1a8d7a403f777a0e2ddf846d7da980267d22b5d44665aed8e4794c851d5a92ce535a1e6e338cd100c4d1fe81eaa13290857ce4d44bddd557172aebd8803f1a23
7
- data.tar.gz: c7b32c823fc0972a0039f4a2618671d8db045680b6b5b5158ba70c88bc06715b8fe0b431820cca705f0b28ebbc107171c097498da95d67ffa5814a9b8e2ca219
6
+ metadata.gz: 6a8f70c8575eea0c877d403f3c4201befc03e5e8e4cf45d52da7bcfd09ea4a43e583c212089aefa6d686f200579129c0ff30128401f68dd5c1e1abeef49b8c85
7
+ data.tar.gz: 4668462108c871ded252b6fc90d3dde9ac6178c29bf5d067076527ea11cd1c6004f9eacf9518c305330ce3ef46f99fdb297b50812469373829d88f560aafc215
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lamian (1.5.0)
4
+ lamian (1.6.0)
5
5
  rails (>= 4.2)
6
6
 
7
7
  GEM
data/lib/lamian/engine.rb CHANGED
@@ -17,10 +17,13 @@ module Lamian
17
17
 
18
18
  config.after_initialize do
19
19
  # :nocov:
20
- next unless defined?(Sentry)
21
- next unless Sentry.initialized?
20
+ if defined?(Sentry) && Sentry.initialized?
21
+ Sentry.configuration.before_send = rebuild_before_send
22
+ end
22
23
 
23
- Sentry.configuration.before_send = rebuild_before_send
24
+ if defined?(Sidekiq::ServerMiddleware)
25
+ Lamian::SidekiqSentryMiddleware.include(Sidekiq::ServerMiddleware)
26
+ end
24
27
  # :nocov:
25
28
  end
26
29
 
@@ -13,5 +13,5 @@ module Lamian
13
13
  # According to this, it is enought to specify '~> a.b'
14
14
  # if private API was not used and to specify '~> a.b.c' if it was
15
15
 
16
- VERSION = "1.5.0"
16
+ VERSION = "1.6.0"
17
17
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lamian
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - JelF
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-10 00:00:00.000000000 Z
11
+ date: 2022-10-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -260,7 +260,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
260
260
  - !ruby/object:Gem::Version
261
261
  version: '0'
262
262
  requirements: []
263
- rubygems_version: 3.3.0.dev
263
+ rubygems_version: 3.3.24
264
264
  signing_key:
265
265
  specification_version: 4
266
266
  summary: Add logs to your error messages