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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 236a8f3c0a678260e534434028169a3dab6dd6fec8cbb5a827d5554afbea4378
4
- data.tar.gz: 84db3e326ced8bcab0e1f1178de9fbc5cad325f92286089c72dde1ae7c05f68c
3
+ metadata.gz: 58b2541fe38a594b5bd231b7c38ee9f5228a06e1659f4261d18871d073d641e7
4
+ data.tar.gz: 14fb4af4400e246433af3a3c65f67c251f40f90a3ef80fffc36f308ce3031efa
5
5
  SHA512:
6
- metadata.gz: e3f02cae1c723b8d25288734842eb8d7e48309f2dcda7584cdb723e05eae29aa5eb2a7c6e87c1e18f07b6c881ab61a536db1b642e071b0ef54d9ba30143d8f89
7
- data.tar.gz: 26a2bdc5733d615593766c1bec4bdf3a736a7840fa3c30a4af8315518e1a885b6283b94c9b7409b8f669c8bd700c61b5ec022308fc83ce0f81e1ee9c3f3a049c
6
+ metadata.gz: 879da51b9aa219f6836357544dfde89f84224719fe34aa7e9e0eda3359c6b50d7e6e12eef0e440583e23d97a4418d840b28e0a102c611deb7d9c88f03cbd8470
7
+ data.tar.gz: 50d5b572eede80737c577f575b8cec5b2fbde76c17b54acd73e0772bb4ae2b1f8f707a52d16e2187c01580637118ce814247043089957f291cc4ae8f88a9f273
@@ -31,3 +31,6 @@ jobs:
31
31
  env:
32
32
  CI: true
33
33
  run: bundle exec rspec
34
+
35
+ - name: Upload coverage to Codecov
36
+ uses: codecov/codecov-action@v3
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.25)
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.11.0)
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.0)
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.16.3)
56
- nokogiri (1.13.7)
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.0)
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.3)
70
- loofah (~> 2.3)
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.17.1)
117
+ simplecov (0.21.2)
119
118
  docile (~> 1.1)
120
- json (>= 1.8, < 3)
121
- simplecov-html (~> 0.10.0)
122
- simplecov-html (0.10.2)
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.5)
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.17.1)
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.17.1"
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
 
@@ -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.ip
21
+ RequestStore.store[:heavylog_request_ip] = request.remote_ip
22
22
  end
23
23
 
24
24
  @app.call(env)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Heavylog
4
- VERSION = "0.0.26"
4
+ VERSION = "0.0.27"
5
5
  end
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.26
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: 2022-11-06 00:00:00.000000000 Z
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.17.1
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.17.1
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