heavylog 0.0.26 → 0.0.27
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +3 -0
- data/.ruby-version +1 -0
- data/Gemfile.lock +19 -15
- data/heavylog.gemspec +2 -1
- data/lib/heavylog/middleware.rb +1 -1
- data/lib/heavylog/version.rb +1 -1
- metadata +19 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58b2541fe38a594b5bd231b7c38ee9f5228a06e1659f4261d18871d073d641e7
|
4
|
+
data.tar.gz: 14fb4af4400e246433af3a3c65f67c251f40f90a3ef80fffc36f308ce3031efa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 879da51b9aa219f6836357544dfde89f84224719fe34aa7e9e0eda3359c6b50d7e6e12eef0e440583e23d97a4418d840b28e0a102c611deb7d9c88f03cbd8470
|
7
|
+
data.tar.gz: 50d5b572eede80737c577f575b8cec5b2fbde76c17b54acd73e0772bb4ae2b1f8f707a52d16e2187c01580637118ce814247043089957f291cc4ae8f88a9f273
|
data/.github/workflows/test.yml
CHANGED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.1.2
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
heavylog (0.0.
|
4
|
+
heavylog (0.0.27)
|
5
5
|
actionpack (>= 5)
|
6
6
|
activesupport (>= 5)
|
7
7
|
railties (>= 5)
|
@@ -38,36 +38,35 @@ GEM
|
|
38
38
|
diff-lcs (1.5.0)
|
39
39
|
docile (1.4.0)
|
40
40
|
e2mmap (0.1.0)
|
41
|
-
erubi (1.
|
41
|
+
erubi (1.12.0)
|
42
42
|
i18n (1.12.0)
|
43
43
|
concurrent-ruby (~> 1.0)
|
44
44
|
jaro_winkler (1.5.4)
|
45
|
-
json (2.6.2)
|
46
45
|
kramdown (2.4.0)
|
47
46
|
rexml
|
48
47
|
kramdown-parser-gfm (1.1.0)
|
49
48
|
kramdown (~> 2.0)
|
50
|
-
loofah (2.19.
|
49
|
+
loofah (2.19.1)
|
51
50
|
crass (~> 1.0.2)
|
52
51
|
nokogiri (>= 1.5.9)
|
53
52
|
method_source (1.0.0)
|
54
53
|
mini_portile2 (2.8.0)
|
55
|
-
minitest (5.
|
56
|
-
nokogiri (1.13.
|
54
|
+
minitest (5.17.0)
|
55
|
+
nokogiri (1.13.10)
|
57
56
|
mini_portile2 (~> 2.8.0)
|
58
57
|
racc (~> 1.4)
|
59
58
|
parallel (1.22.1)
|
60
59
|
parser (3.1.2.0)
|
61
60
|
ast (~> 2.4.1)
|
62
|
-
racc (1.6.
|
61
|
+
racc (1.6.1)
|
63
62
|
rack (2.2.4)
|
64
63
|
rack-test (2.0.2)
|
65
64
|
rack (>= 1.3)
|
66
65
|
rails-dom-testing (2.0.3)
|
67
66
|
activesupport (>= 4.2.0)
|
68
67
|
nokogiri (>= 1.6)
|
69
|
-
rails-html-sanitizer (1.4.
|
70
|
-
loofah (~> 2.
|
68
|
+
rails-html-sanitizer (1.4.4)
|
69
|
+
loofah (~> 2.19, >= 2.19.1)
|
71
70
|
railties (7.0.4)
|
72
71
|
actionpack (= 7.0.4)
|
73
72
|
activesupport (= 7.0.4)
|
@@ -115,11 +114,15 @@ GEM
|
|
115
114
|
connection_pool (>= 2.2.2)
|
116
115
|
rack (~> 2.0)
|
117
116
|
redis (>= 4.2.0)
|
118
|
-
simplecov (0.
|
117
|
+
simplecov (0.21.2)
|
119
118
|
docile (~> 1.1)
|
120
|
-
|
121
|
-
|
122
|
-
simplecov-
|
119
|
+
simplecov-html (~> 0.11)
|
120
|
+
simplecov_json_formatter (~> 0.1)
|
121
|
+
simplecov-cobertura (2.1.0)
|
122
|
+
rexml
|
123
|
+
simplecov (~> 0.19)
|
124
|
+
simplecov-html (0.12.3)
|
125
|
+
simplecov_json_formatter (0.1.4)
|
123
126
|
solargraph (0.45.0)
|
124
127
|
backport (~> 1.2)
|
125
128
|
benchmark
|
@@ -143,7 +146,7 @@ GEM
|
|
143
146
|
webrick (1.7.0)
|
144
147
|
yard (0.9.28)
|
145
148
|
webrick (~> 1.7.0)
|
146
|
-
zeitwerk (2.6.
|
149
|
+
zeitwerk (2.6.6)
|
147
150
|
|
148
151
|
PLATFORMS
|
149
152
|
ruby
|
@@ -156,7 +159,8 @@ DEPENDENCIES
|
|
156
159
|
rubocop (~> 0.71)
|
157
160
|
rubocop-performance (~> 1.5.2)
|
158
161
|
sidekiq (>= 6.0)
|
159
|
-
simplecov (~> 0.
|
162
|
+
simplecov (~> 0.21.2)
|
163
|
+
simplecov-cobertura (~> 2.1.0)
|
160
164
|
solargraph
|
161
165
|
|
162
166
|
BUNDLED WITH
|
data/heavylog.gemspec
CHANGED
@@ -27,7 +27,8 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.add_development_dependency "rspec", "~> 3.0"
|
28
28
|
spec.add_development_dependency "rubocop", "~> 0.71"
|
29
29
|
spec.add_development_dependency "rubocop-performance", "~> 1.5.2"
|
30
|
-
spec.add_development_dependency "simplecov", "~> 0.
|
30
|
+
spec.add_development_dependency "simplecov", "~> 0.21.2"
|
31
|
+
spec.add_development_dependency "simplecov-cobertura", "~> 2.1.0"
|
31
32
|
spec.add_development_dependency "sidekiq", ">= 6.0"
|
32
33
|
spec.add_development_dependency "solargraph"
|
33
34
|
|
data/lib/heavylog/middleware.rb
CHANGED
@@ -18,7 +18,7 @@ module Heavylog
|
|
18
18
|
request = ActionDispatch::Request.new(env)
|
19
19
|
RequestStore.store[:heavylog_request_id] = request.uuid
|
20
20
|
RequestStore.store[:heavylog_request_start] = Time.now.iso8601
|
21
|
-
RequestStore.store[:heavylog_request_ip] = request.
|
21
|
+
RequestStore.store[:heavylog_request_ip] = request.remote_ip
|
22
22
|
end
|
23
23
|
|
24
24
|
@app.call(env)
|
data/lib/heavylog/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.27
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kristjan Rang
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-01-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -86,14 +86,28 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: 0.21.2
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
96
|
+
version: 0.21.2
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: simplecov-cobertura
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 2.1.0
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 2.1.0
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: sidekiq
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -190,6 +204,7 @@ files:
|
|
190
204
|
- ".gitignore"
|
191
205
|
- ".rspec"
|
192
206
|
- ".rubocop.yml"
|
207
|
+
- ".ruby-version"
|
193
208
|
- Gemfile
|
194
209
|
- Gemfile.lock
|
195
210
|
- LICENSE.txt
|