pretty_logger 1.4.6 → 1.4.7

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: 495230861ba7c527043c10ae1ce1151faaeae4b15d9ca84682d62362b782815a
4
- data.tar.gz: f4e36270962d8452c0bc6631979dd62b5bcf7bd3497a9f36d047a4c5d7da151a
3
+ metadata.gz: 240464d46fa496347dafbaec2aff806ef1b442dca72f5781897508fd1acae5ae
4
+ data.tar.gz: e65b4231852b188c2ecd3bdd4b72172256e2e22fa32518504026922c4deb135d
5
5
  SHA512:
6
- metadata.gz: b3bd7e311cab0ba85d1360500a71d6b7baf2071c56940454fd989935c185b6a7efc472f3daa03e6c067e6c936183ae1b6112b27d5f0562f33669b02e6ffc830c
7
- data.tar.gz: 73ad8ab4706909d3c4f4da8539871904f90da38613b0d788beefce0e55d9365856659daac0e1762c05f327552a13d2576a2e349b30659369cb86c92fb8e4a212
6
+ metadata.gz: efb31cf574acb6a7d18ef337d1014e7b2fb90008300164a62af7d09d90e8942691905c40e8075a90927c9009e5bdd91d915fdc99961b00192f8fc50f75220474
7
+ data.tar.gz: a266ecabf2c8703cafe7b253ec00822f73e735bfaf757667c23da80cc6b7a1327e44241abcfc82032a0e335428cb0d0620b807ae6005576485e6bb21e6ed98d1
@@ -1,10 +1,11 @@
1
1
  class PrettyLogger::RequestLogger
2
2
  include PrettyLogger
3
- attr_accessor :request, :current_user
3
+ attr_accessor :request, :current_user, :data
4
4
 
5
5
  def initialize(request:nil, current_user:nil)
6
6
  @request = request
7
7
  @current_user = current_user
8
+ @data = {}
8
9
  end
9
10
 
10
11
  def log_request(extra_text=nil)
@@ -1,3 +1,3 @@
1
1
  module PrettyLogger
2
- VERSION = "1.4.6"
2
+ VERSION = "1.4.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pretty_logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.6
4
+ version: 1.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rocco Nicholls
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-02 00:00:00.000000000 Z
11
+ date: 2024-08-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coderay