logjam_agent 0.39.0 → 0.39.1

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: 3d7b4025afcfb74c8ddface95761561c9afe00438b1efde33007d895c3082ebd
4
- data.tar.gz: cd945e945bb82cef9d7021661224abe63ac63d655ae7f4c00523df545c9d1dd0
3
+ metadata.gz: f186ba84a9bc5d93776c0d24b140736439fbc0f29eebe2afbeb9401c22eb0987
4
+ data.tar.gz: 7ef52541666f638caa3ffd2798f2da95128f720b9df27c8acf6a37ade5666c08
5
5
  SHA512:
6
- metadata.gz: f926c57ee8e5498c626db610c9191f38fbdc851753e2aa19772ce641d7e6cab4300941bec45ee810ac186a991ea094d1d0aee6c803b33cb8937bf7595f4a3d9d
7
- data.tar.gz: 98c2af2e48e1fe938472f1f1392dbe74e5b20f98c93629ba482e3adaa3b362ffc7ec7201782e4005a015618431e970c97994696e6e8ba5c89947c99e019ff68c
6
+ metadata.gz: a3a424872649058f48a09babd30da5abac2e013db6afe50fd9284bb51e313fe6ab9d313c47f7aee40e097c64b297d533d209d3f118273fc1980e2f4e6f08f138
7
+ data.tar.gz: 4003a735b587bd1e6a69cd2f6c671ce86f70c609269dd273fb8859ea0a9795cf5264421d088b842b5d357f50c090360d2530ae092cf05a639c17e808465ae6aa
@@ -140,11 +140,21 @@ module LogjamAgent
140
140
  trace = wrapper.application_trace
141
141
  trace = wrapper.framework_trace if trace.empty?
142
142
 
143
- ActiveSupport::Deprecation.silence do
144
- parts = [ "#{exception.class} (#{exception.message})" ]
145
- parts.concat exception.annoted_source_code if exception.respond_to?(:annoted_source_code)
146
- parts.concat trace
147
- logger.fatal parts.join("\n ")
143
+ if Gem::Version.new(Rails::VERSION::STRING) >= Gem::Version.new("7.1.0")
144
+ Rails.application.deprecators.silence do
145
+ parts = [ "#{exception.class} (#{exception.message})" ]
146
+ parts.concat exception.annoted_source_code if exception.respond_to?(:annoted_source_code)
147
+ parts.concat trace
148
+ logger.fatal parts.join("\n ")
149
+ end
150
+ else
151
+ ActiveSupport::Deprecation.silence do
152
+ parts = [ "#{exception.class} (#{exception.message})" ]
153
+ parts.concat exception.annoted_source_code if exception.respond_to?(:annoted_source_code)
154
+ parts.concat trace
155
+ logger.fatal parts.join("\n ")
156
+ end
157
+
148
158
  end
149
159
  end
150
160
  end
@@ -1,3 +1,3 @@
1
1
  module LogjamAgent
2
- VERSION = "0.39.0"
2
+ VERSION = "0.39.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logjam_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.39.0
4
+ version: 0.39.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Kaes
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-10-11 00:00:00.000000000 Z
11
+ date: 2024-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
128
128
  - !ruby/object:Gem::Version
129
129
  version: '0'
130
130
  requirements: []
131
- rubygems_version: 3.4.10
131
+ rubygems_version: 3.5.11
132
132
  signing_key:
133
133
  specification_version: 4
134
134
  summary: Logjam client library to be used with logjam