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 +4 -4
- data/lib/pretty_logger/request_logger.rb +2 -1
- data/lib/pretty_logger/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 240464d46fa496347dafbaec2aff806ef1b442dca72f5781897508fd1acae5ae
|
4
|
+
data.tar.gz: e65b4231852b188c2ecd3bdd4b72172256e2e22fa32518504026922c4deb135d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|
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.
|
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-
|
11
|
+
date: 2024-08-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: coderay
|