salestation 4.3.1 → 4.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/salestation/web/request_logger.rb +2 -0
- data/salestation.gemspec +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7040f8a09ba6da03ee7ce9a976a0c7f93fa6a69f0b616f2d14025c5400513ef7
|
|
4
|
+
data.tar.gz: 1933947472a870eef803d8f6da98bd132e8d97c18c0da8b19cd7ec22aea62bdf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: febb0b0cf49adbf47bd10873f12d9761083012d1e2fab1d7a7c965b22de2e74ae777bc6b97e2ee8f92888455b7131a4ced3a39af6ff5188e499b83380371d3e8
|
|
7
|
+
data.tar.gz: fbeb03c1224633c378b0c2af6c700f1ea25bd98a42ca5acfdec746120cf5fdc2ffba74bff77fa9ca7474580e3eaedced6f8c057fdf374309f1a28de57217eee8
|
|
@@ -11,6 +11,7 @@ module Salestation
|
|
|
11
11
|
CONTENT_TYPE = 'CONTENT_TYPE'
|
|
12
12
|
HTTP_USER_AGENT = 'HTTP_USER_AGENT'
|
|
13
13
|
HTTP_ACCEPT = 'HTTP_ACCEPT'
|
|
14
|
+
HTTP_ORIGIN = 'HTTP_ORIGIN'
|
|
14
15
|
SERVER_NAME = 'SERVER_NAME'
|
|
15
16
|
|
|
16
17
|
def initialize(app, logger, log_response_body: false, level: :info)
|
|
@@ -53,6 +54,7 @@ module Salestation
|
|
|
53
54
|
content_type: env[CONTENT_TYPE],
|
|
54
55
|
http_agent: env[HTTP_USER_AGENT],
|
|
55
56
|
http_accept: env[HTTP_ACCEPT],
|
|
57
|
+
http_origin: env[HTTP_ORIGIN],
|
|
56
58
|
server_name: env[SERVER_NAME],
|
|
57
59
|
status: status,
|
|
58
60
|
duration: duration(from: began_at),
|
data/salestation.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: salestation
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.
|
|
4
|
+
version: 4.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Glia TechMovers
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-06-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -188,7 +188,7 @@ homepage: ''
|
|
|
188
188
|
licenses:
|
|
189
189
|
- MIT
|
|
190
190
|
metadata: {}
|
|
191
|
-
post_install_message:
|
|
191
|
+
post_install_message:
|
|
192
192
|
rdoc_options: []
|
|
193
193
|
require_paths:
|
|
194
194
|
- lib
|
|
@@ -203,8 +203,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
203
203
|
- !ruby/object:Gem::Version
|
|
204
204
|
version: '0'
|
|
205
205
|
requirements: []
|
|
206
|
-
rubygems_version: 3.0.
|
|
207
|
-
signing_key:
|
|
206
|
+
rubygems_version: 3.0.9
|
|
207
|
+
signing_key:
|
|
208
208
|
specification_version: 4
|
|
209
209
|
summary: ''
|
|
210
210
|
test_files: []
|