heavylog 0.0.18 → 0.0.19

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: 4752329017d62fa9e1508a580baa5bc1975f38bb39f0409b903ad0928b995c4d
4
- data.tar.gz: 97906ad6c259f2745c0d08adc7639ec47830ea6509d119585b84737c2547c8b1
3
+ metadata.gz: 817f124071c11b74c359b8ce78ec24cc8778bfab7c3d3ee79da64847e30f1f66
4
+ data.tar.gz: 80ecb337b3e34dc5a50419f31d3a9bb20fdddbe7da23ffefc52b9b2197eee757
5
5
  SHA512:
6
- metadata.gz: cf0f5e0993eeab83b3fbe3efd8d5358126dd64617da61cb7d6e3497bf13cf369f1ee8b57cb1a4b4a1cdeda4873af2a21bf6eec54db1e9e8950fba6cf06aedd63
7
- data.tar.gz: 65ab525eb488103b3f9fd614131943bf2e8c66efb421aab673b5d3da28ca070cdd0631d67d7f2fc50eaeb458c6cb0216f6da6e439547cc9a645fb950a9fa8768
6
+ metadata.gz: 54e8d27f4dd9c4e69bd4e2a8103a085e246f0e9067bdd056c328efd5edf73d6c9158626bd68245bc7ace3bedfe58ef6a8c821de034d3737d0670231f2cbf47e1
7
+ data.tar.gz: ade91b07e69e29c288b5cda82b3dd00717248099bbf7da75e9f375e08732d53a506f9345f2565ea349853eff66a1c1de65219160c70949fba532e6a49323d463
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- heavylog (0.0.17)
4
+ heavylog (0.0.19)
5
5
  actionpack (>= 5)
6
6
  activesupport (>= 5)
7
7
  railties (>= 5)
@@ -48,7 +48,7 @@ GEM
48
48
  rexml
49
49
  kramdown-parser-gfm (1.1.0)
50
50
  kramdown (~> 2.0)
51
- loofah (2.9.0)
51
+ loofah (2.9.1)
52
52
  crass (~> 1.0.2)
53
53
  nokogiri (>= 1.5.9)
54
54
  method_source (1.0.0)
@@ -157,4 +157,4 @@ DEPENDENCIES
157
157
  solargraph
158
158
 
159
159
  BUNDLED WITH
160
- 2.2.14
160
+ 2.2.15
data/lib/heavylog.rb CHANGED
@@ -139,7 +139,7 @@ module Heavylog
139
139
  formatted = Heavylog.formatter.call(request)
140
140
  Heavylog.logger.send(Heavylog.log_level, formatted)
141
141
  rescue StandardError => e
142
- config.error_handler&.(exception: e)
142
+ config.error_handler&.(e)
143
143
  end
144
144
 
145
145
  def finish_sidekiq
@@ -7,7 +7,7 @@ module Heavylog
7
7
  config.heavylog.path = "log/heavylog.log"
8
8
  config.heavylog.message_limit = 1024 * 1024 * 50 # 50MB
9
9
  config.heavylog.log_sidekiq = false
10
- config.heavylog.error_handler = lambda { |e:|
10
+ config.heavylog.error_handler = lambda { |e|
11
11
  Kernel.puts "HeavyLog: Error writing to log: #{e.class}: #{e.message}\n #{e.backtrace.join("\n ")}"
12
12
  }
13
13
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Heavylog
4
- VERSION = "0.0.18"
4
+ VERSION = "0.0.19"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heavylog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kristjan Rang
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-04-05 00:00:00.000000000 Z
11
+ date: 2021-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -228,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
228
228
  - !ruby/object:Gem::Version
229
229
  version: '0'
230
230
  requirements: []
231
- rubygems_version: 3.2.3
231
+ rubygems_version: 3.2.15
232
232
  signing_key:
233
233
  specification_version: 4
234
234
  summary: Format all Rails logging per request