logtail-rack 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/logtail-rack/http_context.rb +1 -1
- data/lib/logtail-rack/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd113ab9b17ca26fa87eff47038f60d80eb83faf8e952272fdf50d78282cdb85
|
4
|
+
data.tar.gz: b10232307696b875ff0ed56fe3e2881e7d010362b2a8aa773a8cae4d40973f69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fda6074ed268d9674060dbd1b1356ad17872299956bcf4290b6748dc0ed247afac45a340e2e673ec5206bb81b9e55510b6a4295dae79dbb05a66b5195a79887a
|
7
|
+
data.tar.gz: 23028ed6c4bfcf5168556d37e73d79a3159b0565802dd35792720282722ca1de7be645795ecfc47a5f9899ee23ec19747fb0c7bcacb523244f94a6d4b0dfce3b
|
@@ -12,7 +12,7 @@ module Logtail
|
|
12
12
|
def call(env)
|
13
13
|
request = Util::Request.new(env)
|
14
14
|
context = Contexts::HTTP.new(
|
15
|
-
host: Util::Encoding.force_utf8_encoding(request),
|
15
|
+
host: Util::Encoding.force_utf8_encoding(request.host),
|
16
16
|
method: Util::Encoding.force_utf8_encoding(request.request_method),
|
17
17
|
path: request.path,
|
18
18
|
remote_addr: Util::Encoding.force_utf8_encoding(request.ip),
|
data/lib/logtail-rack/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logtail-rack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Logtail
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logtail
|
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
136
136
|
- !ruby/object:Gem::Version
|
137
137
|
version: '0'
|
138
138
|
requirements: []
|
139
|
-
rubygems_version: 3.3.
|
139
|
+
rubygems_version: 3.3.7
|
140
140
|
signing_key:
|
141
141
|
specification_version: 4
|
142
142
|
summary: Logtail integration for Rack
|