memolog 0.4.7 → 0.4.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dacfdda27d39db0f979bf0a0452e3ba65163a06054a183c166e735e2423581f9
4
- data.tar.gz: 5cf9636571861fb35768632fdfb4b555d5cc4f08fa440c42e15f19f3b324ec02
3
+ metadata.gz: 527f467d6c1d058e7d5f9a25cf3945baf968692fc087d78c0509ae46c74adc49
4
+ data.tar.gz: 3f7bf2e8f0617e23c6ceccc20a99a2ad9891395cf88e4db02c782a122dd15df6
5
5
  SHA512:
6
- metadata.gz: c0f35989480bac9d0255d3dc8d7002b62dd5e2ce6b4003b622b7d7a423072788eb0a641943a147b0bd5f1ddd5a64700bd76e1bc2e5da2340a723c63e24cefd74
7
- data.tar.gz: 8c9e46987335a4423847e561eae8132b8df41791aa658e55952825998d80d9c768269d612129c853616ae7f377b967165a359bbb440ba0c99274c95773010a7a
6
+ metadata.gz: cdb78ed56cdabc19bd6075a593dd2dc29c222e0d6a7e8c5cdc233cf16996e87782e633a01d08ed540d00fa1ec884b80699c459767c00cddf0c6ee37328177401
7
+ data.tar.gz: 1c309ce73a0a5502e3bcf4da561655921814a02f2c13f871f77fd82d88bbaeaa0b4903918b15943984eeec5d10cf485d8b2a7fa3c9bdfaa67867f7e1569df50f
@@ -24,7 +24,7 @@ jobs:
24
24
 
25
25
  strategy:
26
26
  matrix:
27
- ruby: [2.7, 3.0, 3.1]
27
+ ruby: [2.7, 3.0, 3.1, 3.2]
28
28
 
29
29
  steps:
30
30
  - uses: actions/checkout@v2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,28 @@
1
+ ## 0.4.9
2
+ - Ruby 3.2 support
3
+ - Various gem updates
4
+ - Version bump due to vulnerabilities
5
+
6
+ ## 0.4.8
7
+ - Update CHANGELOG
8
+ - Various gem updates
9
+ - Version bump due to vulnerabilities
10
+
11
+ ## 0.4.7
12
+ - Move Sentry to common init method
13
+ - bundle update
14
+ - Version bump
15
+
16
+ ## 0.4.6
17
+ - Various gem updates
18
+ - Version bump due to vulnerabilities
19
+
20
+ ## 0.4.0
21
+ - Remove Memolog.uuid.
22
+ - Deprecate formatter inheritance let user deside.
23
+ - Add parse_json option to parse JSON dump.
24
+ - Version bump
25
+
1
26
  ## 0.3.0
2
27
 
3
28
  - Apply a prepend patch with `Sentry::Scope#apply_to_event` method.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- memolog (0.4.7)
4
+ memolog (0.4.9)
5
5
  json (~> 2)
6
6
  logger (~> 1.4.3)
7
7
  securerandom (~> 0.1.0)
@@ -9,67 +9,67 @@ PATH
9
9
  GEM
10
10
  remote: https://rubygems.org/
11
11
  specs:
12
- actioncable (7.0.4)
13
- actionpack (= 7.0.4)
14
- activesupport (= 7.0.4)
12
+ actioncable (7.0.4.1)
13
+ actionpack (= 7.0.4.1)
14
+ activesupport (= 7.0.4.1)
15
15
  nio4r (~> 2.0)
16
16
  websocket-driver (>= 0.6.1)
17
- actionmailbox (7.0.4)
18
- actionpack (= 7.0.4)
19
- activejob (= 7.0.4)
20
- activerecord (= 7.0.4)
21
- activestorage (= 7.0.4)
22
- activesupport (= 7.0.4)
17
+ actionmailbox (7.0.4.1)
18
+ actionpack (= 7.0.4.1)
19
+ activejob (= 7.0.4.1)
20
+ activerecord (= 7.0.4.1)
21
+ activestorage (= 7.0.4.1)
22
+ activesupport (= 7.0.4.1)
23
23
  mail (>= 2.7.1)
24
24
  net-imap
25
25
  net-pop
26
26
  net-smtp
27
- actionmailer (7.0.4)
28
- actionpack (= 7.0.4)
29
- actionview (= 7.0.4)
30
- activejob (= 7.0.4)
31
- activesupport (= 7.0.4)
27
+ actionmailer (7.0.4.1)
28
+ actionpack (= 7.0.4.1)
29
+ actionview (= 7.0.4.1)
30
+ activejob (= 7.0.4.1)
31
+ activesupport (= 7.0.4.1)
32
32
  mail (~> 2.5, >= 2.5.4)
33
33
  net-imap
34
34
  net-pop
35
35
  net-smtp
36
36
  rails-dom-testing (~> 2.0)
37
- actionpack (7.0.4)
38
- actionview (= 7.0.4)
39
- activesupport (= 7.0.4)
37
+ actionpack (7.0.4.1)
38
+ actionview (= 7.0.4.1)
39
+ activesupport (= 7.0.4.1)
40
40
  rack (~> 2.0, >= 2.2.0)
41
41
  rack-test (>= 0.6.3)
42
42
  rails-dom-testing (~> 2.0)
43
43
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
44
- actiontext (7.0.4)
45
- actionpack (= 7.0.4)
46
- activerecord (= 7.0.4)
47
- activestorage (= 7.0.4)
48
- activesupport (= 7.0.4)
44
+ actiontext (7.0.4.1)
45
+ actionpack (= 7.0.4.1)
46
+ activerecord (= 7.0.4.1)
47
+ activestorage (= 7.0.4.1)
48
+ activesupport (= 7.0.4.1)
49
49
  globalid (>= 0.6.0)
50
50
  nokogiri (>= 1.8.5)
51
- actionview (7.0.4)
52
- activesupport (= 7.0.4)
51
+ actionview (7.0.4.1)
52
+ activesupport (= 7.0.4.1)
53
53
  builder (~> 3.1)
54
54
  erubi (~> 1.4)
55
55
  rails-dom-testing (~> 2.0)
56
56
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
57
- activejob (7.0.4)
58
- activesupport (= 7.0.4)
57
+ activejob (7.0.4.1)
58
+ activesupport (= 7.0.4.1)
59
59
  globalid (>= 0.3.6)
60
- activemodel (7.0.4)
61
- activesupport (= 7.0.4)
62
- activerecord (7.0.4)
63
- activemodel (= 7.0.4)
64
- activesupport (= 7.0.4)
65
- activestorage (7.0.4)
66
- actionpack (= 7.0.4)
67
- activejob (= 7.0.4)
68
- activerecord (= 7.0.4)
69
- activesupport (= 7.0.4)
60
+ activemodel (7.0.4.1)
61
+ activesupport (= 7.0.4.1)
62
+ activerecord (7.0.4.1)
63
+ activemodel (= 7.0.4.1)
64
+ activesupport (= 7.0.4.1)
65
+ activestorage (7.0.4.1)
66
+ actionpack (= 7.0.4.1)
67
+ activejob (= 7.0.4.1)
68
+ activerecord (= 7.0.4.1)
69
+ activesupport (= 7.0.4.1)
70
70
  marcel (~> 1.0)
71
71
  mini_mime (>= 1.1.0)
72
- activesupport (7.0.4)
72
+ activesupport (7.0.4.1)
73
73
  concurrent-ruby (~> 1.0, >= 1.0.2)
74
74
  i18n (>= 1.6, < 2)
75
75
  minitest (>= 5.1)
@@ -80,139 +80,149 @@ GEM
80
80
  concurrent-ruby (1.1.10)
81
81
  connection_pool (2.3.0)
82
82
  crass (1.0.6)
83
+ date (3.3.3)
83
84
  diff-lcs (1.5.0)
84
- erubi (1.11.0)
85
- globalid (1.0.0)
85
+ erubi (1.12.0)
86
+ globalid (1.0.1)
86
87
  activesupport (>= 5.0)
87
88
  i18n (1.12.0)
88
89
  concurrent-ruby (~> 1.0)
89
- json (2.6.2)
90
+ json (2.6.3)
90
91
  logger (1.4.4)
91
- loofah (2.19.0)
92
+ loofah (2.19.1)
92
93
  crass (~> 1.0.2)
93
94
  nokogiri (>= 1.5.9)
94
- mail (2.7.1)
95
+ mail (2.8.0.1)
95
96
  mini_mime (>= 0.1.1)
97
+ net-imap
98
+ net-pop
99
+ net-smtp
96
100
  marcel (1.0.2)
97
101
  method_source (1.0.0)
98
102
  mini_mime (1.1.2)
99
- minitest (5.16.3)
100
- net-imap (0.3.1)
103
+ minitest (5.17.0)
104
+ net-imap (0.3.4)
105
+ date
101
106
  net-protocol
102
107
  net-pop (0.1.2)
103
108
  net-protocol
104
- net-protocol (0.1.3)
109
+ net-protocol (0.2.1)
105
110
  timeout
106
- net-smtp (0.3.2)
111
+ net-smtp (0.3.3)
107
112
  net-protocol
108
113
  nio4r (2.5.8)
109
- nokogiri (1.13.9-x86_64-darwin)
114
+ nokogiri (1.14.0-arm64-darwin)
110
115
  racc (~> 1.4)
111
- nokogiri (1.13.9-x86_64-linux)
116
+ nokogiri (1.14.0-x86_64-darwin)
117
+ racc (~> 1.4)
118
+ nokogiri (1.14.0-x86_64-linux)
112
119
  racc (~> 1.4)
113
120
  parallel (1.22.1)
114
- parser (3.1.2.1)
121
+ parser (3.2.0.0)
115
122
  ast (~> 2.4.1)
116
- pry (0.14.1)
123
+ pry (0.14.2)
117
124
  coderay (~> 1.1)
118
125
  method_source (~> 1.0)
119
- racc (1.6.0)
120
- rack (2.2.4)
126
+ racc (1.6.2)
127
+ rack (2.2.6.2)
121
128
  rack-test (2.0.2)
122
129
  rack (>= 1.3)
123
- rails (7.0.4)
124
- actioncable (= 7.0.4)
125
- actionmailbox (= 7.0.4)
126
- actionmailer (= 7.0.4)
127
- actionpack (= 7.0.4)
128
- actiontext (= 7.0.4)
129
- actionview (= 7.0.4)
130
- activejob (= 7.0.4)
131
- activemodel (= 7.0.4)
132
- activerecord (= 7.0.4)
133
- activestorage (= 7.0.4)
134
- activesupport (= 7.0.4)
130
+ rails (7.0.4.1)
131
+ actioncable (= 7.0.4.1)
132
+ actionmailbox (= 7.0.4.1)
133
+ actionmailer (= 7.0.4.1)
134
+ actionpack (= 7.0.4.1)
135
+ actiontext (= 7.0.4.1)
136
+ actionview (= 7.0.4.1)
137
+ activejob (= 7.0.4.1)
138
+ activemodel (= 7.0.4.1)
139
+ activerecord (= 7.0.4.1)
140
+ activestorage (= 7.0.4.1)
141
+ activesupport (= 7.0.4.1)
135
142
  bundler (>= 1.15.0)
136
- railties (= 7.0.4)
143
+ railties (= 7.0.4.1)
137
144
  rails-dom-testing (2.0.3)
138
145
  activesupport (>= 4.2.0)
139
146
  nokogiri (>= 1.6)
140
- rails-html-sanitizer (1.4.3)
141
- loofah (~> 2.3)
142
- railties (7.0.4)
143
- actionpack (= 7.0.4)
144
- activesupport (= 7.0.4)
147
+ rails-html-sanitizer (1.4.4)
148
+ loofah (~> 2.19, >= 2.19.1)
149
+ railties (7.0.4.1)
150
+ actionpack (= 7.0.4.1)
151
+ activesupport (= 7.0.4.1)
145
152
  method_source
146
153
  rake (>= 12.2)
147
154
  thor (~> 1.0)
148
155
  zeitwerk (~> 2.5)
149
156
  rainbow (3.1.1)
150
157
  rake (13.0.6)
151
- redis (4.8.0)
152
- regexp_parser (2.6.0)
158
+ redis-client (0.12.1)
159
+ connection_pool
160
+ regexp_parser (2.6.1)
153
161
  rexml (3.2.5)
154
- rspec (3.11.0)
155
- rspec-core (~> 3.11.0)
156
- rspec-expectations (~> 3.11.0)
157
- rspec-mocks (~> 3.11.0)
158
- rspec-core (3.11.0)
159
- rspec-support (~> 3.11.0)
160
- rspec-expectations (3.11.1)
162
+ rspec (3.12.0)
163
+ rspec-core (~> 3.12.0)
164
+ rspec-expectations (~> 3.12.0)
165
+ rspec-mocks (~> 3.12.0)
166
+ rspec-core (3.12.0)
167
+ rspec-support (~> 3.12.0)
168
+ rspec-expectations (3.12.2)
161
169
  diff-lcs (>= 1.2.0, < 2.0)
162
- rspec-support (~> 3.11.0)
163
- rspec-mocks (3.11.1)
170
+ rspec-support (~> 3.12.0)
171
+ rspec-mocks (3.12.3)
164
172
  diff-lcs (>= 1.2.0, < 2.0)
165
- rspec-support (~> 3.11.0)
166
- rspec-support (3.11.1)
167
- rubocop (1.35.1)
173
+ rspec-support (~> 3.12.0)
174
+ rspec-support (3.12.0)
175
+ rubocop (1.43.0)
168
176
  json (~> 2.3)
169
177
  parallel (~> 1.10)
170
- parser (>= 3.1.2.1)
178
+ parser (>= 3.2.0.0)
171
179
  rainbow (>= 2.2.2, < 4.0)
172
180
  regexp_parser (>= 1.8, < 3.0)
173
181
  rexml (>= 3.2.5, < 4.0)
174
- rubocop-ast (>= 1.20.1, < 2.0)
182
+ rubocop-ast (>= 1.24.1, < 2.0)
175
183
  ruby-progressbar (~> 1.7)
176
- unicode-display_width (>= 1.4.0, < 3.0)
177
- rubocop-ast (1.22.0)
184
+ unicode-display_width (>= 2.4.0, < 3.0)
185
+ rubocop-ast (1.24.1)
178
186
  parser (>= 3.1.1.0)
179
- rubocop-config-umbrellio (1.35.0.69)
180
- rubocop (~> 1.35.0)
181
- rubocop-performance (~> 1.14.0)
182
- rubocop-rails (~> 2.15.0)
187
+ rubocop-config-umbrellio (1.43.0.81)
188
+ rubocop (~> 1.43.0)
189
+ rubocop-performance (~> 1.15.0)
190
+ rubocop-rails (~> 2.17.0)
183
191
  rubocop-rake (~> 0.6.0)
184
- rubocop-rspec (~> 2.12.0)
192
+ rubocop-rspec (~> 2.16.0)
185
193
  rubocop-sequel (~> 0.3.3)
186
- rubocop-performance (1.14.3)
194
+ rubocop-performance (1.15.2)
187
195
  rubocop (>= 1.7.0, < 2.0)
188
196
  rubocop-ast (>= 0.4.0)
189
- rubocop-rails (2.15.2)
197
+ rubocop-rails (2.17.4)
190
198
  activesupport (>= 4.2.0)
191
199
  rack (>= 1.1)
192
- rubocop (>= 1.7.0, < 2.0)
200
+ rubocop (>= 1.33.0, < 2.0)
193
201
  rubocop-rake (0.6.0)
194
202
  rubocop (~> 1.0)
195
- rubocop-rspec (2.12.1)
196
- rubocop (~> 1.31)
203
+ rubocop-rspec (2.16.0)
204
+ rubocop (~> 1.33)
197
205
  rubocop-sequel (0.3.4)
198
206
  rubocop (~> 1.0)
199
207
  ruby-progressbar (1.11.0)
200
208
  securerandom (0.1.1)
201
- sidekiq (6.5.7)
202
- connection_pool (>= 2.2.5)
203
- rack (~> 2.0)
204
- redis (>= 4.5.0, < 5)
209
+ sidekiq (7.0.3)
210
+ concurrent-ruby (< 2)
211
+ connection_pool (>= 2.3.0)
212
+ rack (>= 2.2.4)
213
+ redis-client (>= 0.11.0)
205
214
  thor (1.2.1)
206
- timeout (0.3.0)
215
+ timeout (0.3.1)
207
216
  tzinfo (2.0.5)
208
217
  concurrent-ruby (~> 1.0)
209
- unicode-display_width (2.3.0)
218
+ unicode-display_width (2.4.2)
210
219
  websocket-driver (0.7.5)
211
220
  websocket-extensions (>= 0.1.0)
212
221
  websocket-extensions (0.1.5)
213
- zeitwerk (2.6.1)
222
+ zeitwerk (2.6.6)
214
223
 
215
224
  PLATFORMS
225
+ arm64-darwin-22
216
226
  x86_64-darwin-20
217
227
  x86_64-darwin-21
218
228
  x86_64-linux
@@ -227,4 +237,4 @@ DEPENDENCIES
227
237
  sidekiq
228
238
 
229
239
  BUNDLED WITH
230
- 2.3.7
240
+ 2.4.3
data/README.md CHANGED
@@ -26,7 +26,7 @@ Use this example during application initialization process (this example impleme
26
26
  ```ruby
27
27
  Memolog.configure do |config|
28
28
  config.debug = false
29
- config.formatter = ::Logger::Formatter.new
29
+ config.formatter = Logger::Formatter.new
30
30
  config.middlewares = %i[rails sidekiq]
31
31
  config.log_json = false
32
32
  config.log_size_limit = 50_000
@@ -9,7 +9,7 @@ Memolog::Config = Struct.new(
9
9
  ) do
10
10
  def initialize
11
11
  self.debug = false
12
- self.formatter = ::Logger::Formatter.new
12
+ self.formatter = Logger::Formatter.new
13
13
  self.middlewares = %i[rails sidekiq]
14
14
  self.parse_json = false
15
15
  self.log_size_limit = 50_000
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Memolog
4
- VERSION = "0.4.7"
4
+ VERSION = "0.4.9"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: memolog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stepan Kirushkin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-21 00:00:00.000000000 Z
11
+ date: 2023-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -187,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
187
187
  - !ruby/object:Gem::Version
188
188
  version: '0'
189
189
  requirements: []
190
- rubygems_version: 3.3.12
190
+ rubygems_version: 3.4.1
191
191
  signing_key:
192
192
  specification_version: 4
193
193
  summary: In-memory logger for exceptions.