lamian 1.10.0 → 1.11.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '0483ed83892dd5d119ff70c1175ef0a17b659983abc2340368c7a7e84aa2834c'
4
- data.tar.gz: 0edef13afd8a59684ca378ddd0fd9b7b8e247ac84077c0a24e059054c3c62437
3
+ metadata.gz: 8cbf9f277d6cc58672d1b5485e487706f3012248baf8b1fb4b2d5a41a2aad9a8
4
+ data.tar.gz: 24e5b5983e7b12b2f1a5c735a49a30df3d0498b59ef666f4da4c527f1a0fcf65
5
5
  SHA512:
6
- metadata.gz: 79391e1eea5168c7f168c8c650eeb07dec90e1a791b276896ee29eb5cb8dbc4088670eed74f959dc075064efa79620492e28f0c3c14005d76a7bc747b1959098
7
- data.tar.gz: 38f701100c15dc866255e710b6803ce1ae2a3cebdeaf6c9f12e9826a0d62aab3c97af933e24b7420d522a5a8403d316274e7ec53d415d02121e83441e82e1c52
6
+ metadata.gz: 93ef8987fe9b89fff2af5d165821f8d2b1b86196be58c7a5bb399af76a82c478e2e6c48bd2fc7aadd348f8c38bba07d7b504658365475cb4503b70f49b68466c
7
+ data.tar.gz: 19d94ade4699a4a2d762ebb6d09a05b9d5cd081b3d8f23a88af6f9823bb7f94508d137737edd9ebb13f8be02d6b148b3b2a47a815c8e4e3f6b42270e5a5ae856
@@ -24,8 +24,6 @@ jobs:
24
24
  run: bundle exec ci-helper CheckSpecSuffixes --extra-paths spec/*.rb --ignored-paths spec/*_helper.rb
25
25
  - name: Run specs
26
26
  run: bundle exec ci-helper RunSpecs
27
- - name: Audit
28
- run: bundle exec ci-helper BundlerAudit
29
27
  - name: Documentation coverage
30
28
  run: bundle exec rake doc:coverage
31
29
  - name: Coveralls
data/Gemfile CHANGED
@@ -5,7 +5,6 @@ source "https://rubygems.org"
5
5
  # Specify your gem's dependencies in lamian.gemspec
6
6
  gemspec
7
7
 
8
- gem "bundler-audit"
9
8
  gem "ci-helper"
10
9
  gem "launchy"
11
10
  gem "pry"
data/Gemfile.lock CHANGED
@@ -1,35 +1,35 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lamian (1.9.0)
4
+ lamian (1.11.0)
5
5
  rails (>= 4.2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (7.2.0)
11
- actionpack (= 7.2.0)
12
- activesupport (= 7.2.0)
10
+ actioncable (7.2.2.1)
11
+ actionpack (= 7.2.2.1)
12
+ activesupport (= 7.2.2.1)
13
13
  nio4r (~> 2.0)
14
14
  websocket-driver (>= 0.6.1)
15
15
  zeitwerk (~> 2.6)
16
- actionmailbox (7.2.0)
17
- actionpack (= 7.2.0)
18
- activejob (= 7.2.0)
19
- activerecord (= 7.2.0)
20
- activestorage (= 7.2.0)
21
- activesupport (= 7.2.0)
16
+ actionmailbox (7.2.2.1)
17
+ actionpack (= 7.2.2.1)
18
+ activejob (= 7.2.2.1)
19
+ activerecord (= 7.2.2.1)
20
+ activestorage (= 7.2.2.1)
21
+ activesupport (= 7.2.2.1)
22
22
  mail (>= 2.8.0)
23
- actionmailer (7.2.0)
24
- actionpack (= 7.2.0)
25
- actionview (= 7.2.0)
26
- activejob (= 7.2.0)
27
- activesupport (= 7.2.0)
23
+ actionmailer (7.2.2.1)
24
+ actionpack (= 7.2.2.1)
25
+ actionview (= 7.2.2.1)
26
+ activejob (= 7.2.2.1)
27
+ activesupport (= 7.2.2.1)
28
28
  mail (>= 2.8.0)
29
29
  rails-dom-testing (~> 2.2)
30
- actionpack (7.2.0)
31
- actionview (= 7.2.0)
32
- activesupport (= 7.2.0)
30
+ actionpack (7.2.2.1)
31
+ actionview (= 7.2.2.1)
32
+ activesupport (= 7.2.2.1)
33
33
  nokogiri (>= 1.8.5)
34
34
  racc
35
35
  rack (>= 2.2.4, < 3.2)
@@ -38,36 +38,37 @@ GEM
38
38
  rails-dom-testing (~> 2.2)
39
39
  rails-html-sanitizer (~> 1.6)
40
40
  useragent (~> 0.16)
41
- actiontext (7.2.0)
42
- actionpack (= 7.2.0)
43
- activerecord (= 7.2.0)
44
- activestorage (= 7.2.0)
45
- activesupport (= 7.2.0)
41
+ actiontext (7.2.2.1)
42
+ actionpack (= 7.2.2.1)
43
+ activerecord (= 7.2.2.1)
44
+ activestorage (= 7.2.2.1)
45
+ activesupport (= 7.2.2.1)
46
46
  globalid (>= 0.6.0)
47
47
  nokogiri (>= 1.8.5)
48
- actionview (7.2.0)
49
- activesupport (= 7.2.0)
48
+ actionview (7.2.2.1)
49
+ activesupport (= 7.2.2.1)
50
50
  builder (~> 3.1)
51
51
  erubi (~> 1.11)
52
52
  rails-dom-testing (~> 2.2)
53
53
  rails-html-sanitizer (~> 1.6)
54
- activejob (7.2.0)
55
- activesupport (= 7.2.0)
54
+ activejob (7.2.2.1)
55
+ activesupport (= 7.2.2.1)
56
56
  globalid (>= 0.3.6)
57
- activemodel (7.2.0)
58
- activesupport (= 7.2.0)
59
- activerecord (7.2.0)
60
- activemodel (= 7.2.0)
61
- activesupport (= 7.2.0)
57
+ activemodel (7.2.2.1)
58
+ activesupport (= 7.2.2.1)
59
+ activerecord (7.2.2.1)
60
+ activemodel (= 7.2.2.1)
61
+ activesupport (= 7.2.2.1)
62
62
  timeout (>= 0.4.0)
63
- activestorage (7.2.0)
64
- actionpack (= 7.2.0)
65
- activejob (= 7.2.0)
66
- activerecord (= 7.2.0)
67
- activesupport (= 7.2.0)
63
+ activestorage (7.2.2.1)
64
+ actionpack (= 7.2.2.1)
65
+ activejob (= 7.2.2.1)
66
+ activerecord (= 7.2.2.1)
67
+ activesupport (= 7.2.2.1)
68
68
  marcel (~> 1.0)
69
- activesupport (7.2.0)
69
+ activesupport (7.2.2.1)
70
70
  base64
71
+ benchmark (>= 0.3)
71
72
  bigdecimal
72
73
  concurrent-ruby (~> 1.0, >= 1.3.1)
73
74
  connection_pool (>= 2.2.5)
@@ -81,14 +82,12 @@ GEM
81
82
  public_suffix (>= 2.0.2, < 7.0)
82
83
  ast (2.4.2)
83
84
  base64 (0.2.0)
85
+ benchmark (0.4.0)
84
86
  bigdecimal (3.1.8)
85
87
  builder (3.3.0)
86
- bundler-audit (0.9.1)
87
- bundler (>= 1.2.0, < 3)
88
- thor (~> 1.0)
89
88
  childprocess (5.1.0)
90
89
  logger (~> 1.5)
91
- ci-helper (0.6.0)
90
+ ci-helper (0.7.0)
92
91
  colorize (~> 1.1)
93
92
  dry-inflector (~> 1.0)
94
93
  umbrellio-sequel-plugins (~> 0.14)
@@ -97,32 +96,33 @@ GEM
97
96
  concurrent-ruby (1.3.4)
98
97
  connection_pool (2.4.1)
99
98
  crass (1.0.6)
100
- date (3.3.4)
99
+ date (3.4.1)
101
100
  diff-lcs (1.5.1)
102
101
  docile (1.4.1)
103
102
  drb (2.2.1)
104
103
  dry-inflector (1.1.0)
105
104
  erubi (1.13.0)
106
- faraday (2.10.1)
107
- faraday-net_http (>= 2.0, < 3.2)
105
+ faraday (2.12.2)
106
+ faraday-net_http (>= 2.0, < 3.5)
107
+ json
108
108
  logger
109
- faraday-net_http (3.1.1)
110
- net-http
109
+ faraday-net_http (3.4.0)
110
+ net-http (>= 0.5.0)
111
111
  globalid (1.2.1)
112
112
  activesupport (>= 6.1)
113
- i18n (1.14.5)
113
+ i18n (1.14.6)
114
114
  concurrent-ruby (~> 1.0)
115
- io-console (0.7.2)
116
- irb (1.14.0)
115
+ io-console (0.8.0)
116
+ irb (1.14.1)
117
117
  rdoc (>= 4.0.0)
118
118
  reline (>= 0.4.2)
119
- json (2.7.2)
119
+ json (2.9.0)
120
120
  language_server-protocol (3.17.0.3)
121
121
  launchy (3.0.1)
122
122
  addressable (~> 2.8)
123
123
  childprocess (~> 5.0)
124
- logger (1.6.0)
125
- loofah (2.22.0)
124
+ logger (1.6.2)
125
+ loofah (2.23.1)
126
126
  crass (~> 1.0.2)
127
127
  nokogiri (>= 1.12.0)
128
128
  mail (2.8.1)
@@ -133,11 +133,11 @@ GEM
133
133
  marcel (1.0.4)
134
134
  method_source (1.1.0)
135
135
  mini_mime (1.1.5)
136
- mini_portile2 (2.8.7)
137
- minitest (5.25.0)
138
- net-http (0.4.1)
136
+ mini_portile2 (2.8.8)
137
+ minitest (5.25.4)
138
+ net-http (0.6.0)
139
139
  uri
140
- net-imap (0.4.14)
140
+ net-imap (0.5.1)
141
141
  date
142
142
  net-protocol
143
143
  net-pop (0.1.2)
@@ -146,57 +146,57 @@ GEM
146
146
  timeout
147
147
  net-smtp (0.5.0)
148
148
  net-protocol
149
- nio4r (2.7.3)
150
- nokogiri (1.16.7)
149
+ nio4r (2.7.4)
150
+ nokogiri (1.17.1)
151
151
  mini_portile2 (~> 2.8.2)
152
152
  racc (~> 1.4)
153
- nokogiri (1.16.7-x86_64-darwin)
153
+ nokogiri (1.17.1-x86_64-darwin)
154
154
  racc (~> 1.4)
155
- nokogiri (1.16.7-x86_64-linux)
155
+ nokogiri (1.17.1-x86_64-linux)
156
156
  racc (~> 1.4)
157
- parallel (1.26.2)
158
- parser (3.3.4.2)
157
+ parallel (1.26.3)
158
+ parser (3.3.6.0)
159
159
  ast (~> 2.4.1)
160
160
  racc
161
- pry (0.14.2)
161
+ pry (0.15.0)
162
162
  coderay (~> 1.1)
163
163
  method_source (~> 1.0)
164
- psych (5.1.2)
164
+ psych (5.2.1)
165
+ date
165
166
  stringio
166
167
  public_suffix (6.0.1)
167
168
  racc (1.8.1)
168
- rack (3.1.7)
169
+ rack (3.1.8)
169
170
  rack-session (2.0.0)
170
171
  rack (>= 3.0.0)
171
172
  rack-test (2.1.0)
172
173
  rack (>= 1.3)
173
- rackup (2.1.0)
174
+ rackup (2.2.1)
174
175
  rack (>= 3)
175
- webrick (~> 1.8)
176
- rails (7.2.0)
177
- actioncable (= 7.2.0)
178
- actionmailbox (= 7.2.0)
179
- actionmailer (= 7.2.0)
180
- actionpack (= 7.2.0)
181
- actiontext (= 7.2.0)
182
- actionview (= 7.2.0)
183
- activejob (= 7.2.0)
184
- activemodel (= 7.2.0)
185
- activerecord (= 7.2.0)
186
- activestorage (= 7.2.0)
187
- activesupport (= 7.2.0)
176
+ rails (7.2.2.1)
177
+ actioncable (= 7.2.2.1)
178
+ actionmailbox (= 7.2.2.1)
179
+ actionmailer (= 7.2.2.1)
180
+ actionpack (= 7.2.2.1)
181
+ actiontext (= 7.2.2.1)
182
+ actionview (= 7.2.2.1)
183
+ activejob (= 7.2.2.1)
184
+ activemodel (= 7.2.2.1)
185
+ activerecord (= 7.2.2.1)
186
+ activestorage (= 7.2.2.1)
187
+ activesupport (= 7.2.2.1)
188
188
  bundler (>= 1.15.0)
189
- railties (= 7.2.0)
189
+ railties (= 7.2.2.1)
190
190
  rails-dom-testing (2.2.0)
191
191
  activesupport (>= 5.0.0)
192
192
  minitest
193
193
  nokogiri (>= 1.6)
194
- rails-html-sanitizer (1.6.0)
194
+ rails-html-sanitizer (1.6.1)
195
195
  loofah (~> 2.21)
196
- nokogiri (~> 1.14)
197
- railties (7.2.0)
198
- actionpack (= 7.2.0)
199
- activesupport (= 7.2.0)
196
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
197
+ railties (7.2.2.1)
198
+ actionpack (= 7.2.2.1)
199
+ activesupport (= 7.2.2.1)
200
200
  irb (~> 1.13)
201
201
  rackup (>= 1.0.0)
202
202
  rake (>= 12.2)
@@ -204,106 +204,93 @@ GEM
204
204
  zeitwerk (~> 2.6)
205
205
  rainbow (3.1.1)
206
206
  rake (13.2.1)
207
- rdoc (6.7.0)
207
+ rdoc (6.8.1)
208
208
  psych (>= 4.0.0)
209
- regexp_parser (2.9.2)
210
- reline (0.5.9)
209
+ regexp_parser (2.9.3)
210
+ reline (0.5.12)
211
211
  io-console (~> 0.5)
212
- rexml (3.3.5)
213
- strscan
214
212
  rspec (3.13.0)
215
213
  rspec-core (~> 3.13.0)
216
214
  rspec-expectations (~> 3.13.0)
217
215
  rspec-mocks (~> 3.13.0)
218
- rspec-core (3.13.0)
216
+ rspec-core (3.13.2)
219
217
  rspec-support (~> 3.13.0)
220
- rspec-expectations (3.13.1)
218
+ rspec-expectations (3.13.3)
221
219
  diff-lcs (>= 1.2.0, < 2.0)
222
220
  rspec-support (~> 3.13.0)
223
- rspec-mocks (3.13.1)
221
+ rspec-mocks (3.13.2)
224
222
  diff-lcs (>= 1.2.0, < 2.0)
225
223
  rspec-support (~> 3.13.0)
226
- rspec-support (3.13.1)
227
- rubocop (1.63.5)
224
+ rspec-support (3.13.2)
225
+ rubocop (1.66.1)
228
226
  json (~> 2.3)
229
227
  language_server-protocol (>= 3.17.0)
230
228
  parallel (~> 1.10)
231
229
  parser (>= 3.3.0.2)
232
230
  rainbow (>= 2.2.2, < 4.0)
233
- regexp_parser (>= 1.8, < 3.0)
234
- rexml (>= 3.2.5, < 4.0)
235
- rubocop-ast (>= 1.31.1, < 2.0)
231
+ regexp_parser (>= 2.4, < 3.0)
232
+ rubocop-ast (>= 1.32.2, < 2.0)
236
233
  ruby-progressbar (~> 1.7)
237
234
  unicode-display_width (>= 2.4.0, < 3.0)
238
- rubocop-ast (1.32.0)
235
+ rubocop-ast (1.36.2)
239
236
  parser (>= 3.3.1.0)
240
- rubocop-capybara (2.21.0)
241
- rubocop (~> 1.41)
242
- rubocop-config-umbrellio (1.63.0.93)
243
- rubocop (~> 1.63.0)
244
- rubocop-performance (~> 1.21.0)
245
- rubocop-rails (~> 2.24.0)
237
+ rubocop-config-umbrellio (1.66.0.99)
238
+ rubocop (~> 1.66.0)
239
+ rubocop-factory_bot (~> 2.26.0)
240
+ rubocop-performance (~> 1.22.0)
241
+ rubocop-rails (~> 2.26.0)
246
242
  rubocop-rake (~> 0.6.0)
247
- rubocop-rspec (~> 2.29.0)
243
+ rubocop-rspec (~> 3.0.0)
248
244
  rubocop-sequel (~> 0.3.3)
249
245
  rubocop-factory_bot (2.26.1)
250
246
  rubocop (~> 1.61)
251
- rubocop-performance (1.21.1)
247
+ rubocop-performance (1.22.1)
252
248
  rubocop (>= 1.48.1, < 2.0)
253
249
  rubocop-ast (>= 1.31.1, < 2.0)
254
- rubocop-rails (2.24.1)
250
+ rubocop-rails (2.26.2)
255
251
  activesupport (>= 4.2.0)
256
252
  rack (>= 1.1)
257
- rubocop (>= 1.33.0, < 2.0)
253
+ rubocop (>= 1.52.0, < 2.0)
258
254
  rubocop-ast (>= 1.31.1, < 2.0)
259
255
  rubocop-rake (0.6.0)
260
256
  rubocop (~> 1.0)
261
- rubocop-rspec (2.29.2)
262
- rubocop (~> 1.40)
263
- rubocop-capybara (~> 2.17)
264
- rubocop-factory_bot (~> 2.22)
265
- rubocop-rspec_rails (~> 2.28)
266
- rubocop-rspec_rails (2.29.1)
257
+ rubocop-rspec (3.0.5)
267
258
  rubocop (~> 1.61)
268
- rubocop-sequel (0.3.4)
259
+ rubocop-sequel (0.3.7)
269
260
  rubocop (~> 1.0)
270
261
  ruby-progressbar (1.13.0)
271
- securerandom (0.3.1)
272
- semantic_logger (4.16.0)
262
+ securerandom (0.4.0)
263
+ semantic_logger (4.16.1)
273
264
  concurrent-ruby (~> 1.0)
274
265
  sentry-raven (3.1.2)
275
266
  faraday (>= 1.0)
276
- sentry-ruby (5.19.0)
267
+ sentry-ruby (5.22.0)
277
268
  bigdecimal
278
269
  concurrent-ruby (~> 1.0, >= 1.0.2)
279
- sequel (5.83.1)
270
+ sequel (5.87.0)
280
271
  bigdecimal
281
272
  simplecov (0.22.0)
282
273
  docile (~> 1.1)
283
274
  simplecov-html (~> 0.11)
284
275
  simplecov_json_formatter (~> 0.1)
285
- simplecov-html (0.12.3)
276
+ simplecov-html (0.13.1)
286
277
  simplecov-lcov (0.8.0)
287
278
  simplecov_json_formatter (0.1.4)
288
- stringio (3.1.1)
289
- strscan (3.1.0)
290
- symbiont-ruby (0.7.0)
291
- thor (1.3.1)
292
- timeout (0.4.1)
279
+ stringio (3.1.2)
280
+ thor (1.3.2)
281
+ timeout (0.4.2)
293
282
  tzinfo (2.0.6)
294
283
  concurrent-ruby (~> 1.0)
295
- umbrellio-sequel-plugins (0.15.0.198)
284
+ umbrellio-sequel-plugins (0.17.0)
296
285
  sequel
297
- symbiont-ruby
298
- unicode-display_width (2.5.0)
299
- uri (0.13.0)
300
- useragent (0.16.10)
301
- webrick (1.8.1)
286
+ unicode-display_width (2.6.0)
287
+ uri (1.0.2)
288
+ useragent (0.16.11)
302
289
  websocket-driver (0.7.6)
303
290
  websocket-extensions (>= 0.1.0)
304
291
  websocket-extensions (0.1.5)
305
- yard (0.9.36)
306
- zeitwerk (2.6.17)
292
+ yard (0.9.37)
293
+ zeitwerk (2.6.18)
307
294
 
308
295
  PLATFORMS
309
296
  ruby
@@ -312,7 +299,6 @@ PLATFORMS
312
299
  x86_64-linux
313
300
 
314
301
  DEPENDENCIES
315
- bundler-audit
316
302
  ci-helper
317
303
  lamian!
318
304
  launchy
data/lib/lamian/config.rb CHANGED
@@ -13,12 +13,14 @@ module Lamian
13
13
  Config = Struct.new(
14
14
  :formatter,
15
15
  :max_log_lines,
16
+ :max_log_length,
16
17
  :raven_log_size_limit,
17
18
  :middleware_autoset,
18
19
  ) do
19
20
  def initialize
20
21
  self.formatter = ::Logger::Formatter.new
21
22
  self.max_log_lines = 5000
23
+ self.max_log_length = 10_000
22
24
  self.raven_log_size_limit = 500_000
23
25
  self.middleware_autoset = true
24
26
  end
@@ -2,14 +2,16 @@
2
2
 
3
3
  module Lamian
4
4
  class LogDevice # :nodoc:
5
- def initialize(size = Lamian.config.max_log_lines)
6
- self.size = size
5
+ def initialize(max_log_lines: Lamian.config.max_log_lines,
6
+ max_log_length: Lamian.config.max_log_length)
7
+ self.max_log_lines = max_log_lines
8
+ self.max_log_length = max_log_length
7
9
  self.lines = []
8
10
  end
9
11
 
10
- def write(string) # :nodoc:
11
- lines << string
12
- lines.shift if lines.size > size
12
+ def write(msg) # :nodoc:
13
+ lines << truncate(msg)
14
+ lines.shift if lines.size > max_log_lines
13
15
  true
14
16
  end
15
17
 
@@ -19,6 +21,16 @@ module Lamian
19
21
 
20
22
  private
21
23
 
22
- attr_accessor :size, :lines
24
+ attr_accessor :lines, :max_log_lines, :max_log_length
25
+
26
+ def truncate(msg) # :nodoc:
27
+ return msg unless msg.size > max_log_length
28
+
29
+ suffix = +"..."
30
+ suffix << "\n" if msg.end_with?("\n")
31
+ msg = msg[0, max_log_length - suffix.size]
32
+
33
+ "#{msg}#{suffix}"
34
+ end
23
35
  end
24
36
  end
@@ -13,5 +13,5 @@ module Lamian
13
13
  # According to this, it is enough to specify '~> a.b'
14
14
  # if private API was not used and to specify '~> a.b.c' if it was
15
15
 
16
- VERSION = "1.10.0"
16
+ VERSION = "1.11.0"
17
17
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lamian
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - JelF
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-15 00:00:00.000000000 Z
11
+ date: 2024-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -35,7 +35,6 @@ files:
35
35
  - ".github/workflows/test.yml"
36
36
  - ".gitignore"
37
37
  - ".rubocop.yml"
38
- - Changelog.md
39
38
  - Gemfile
40
39
  - Gemfile.lock
41
40
  - LICENSE.txt
@@ -79,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
78
  - !ruby/object:Gem::Version
80
79
  version: '0'
81
80
  requirements: []
82
- rubygems_version: 3.5.3
81
+ rubygems_version: 3.5.23
83
82
  signing_key:
84
83
  specification_version: 4
85
84
  summary: Add logs to your error messages
data/Changelog.md DELETED
@@ -1,64 +0,0 @@
1
- ## 1.10.0
2
-
3
- * Add an ability to insert Lamian's middleware inside the rails initialization process manually (`Lamian.config.middleware_autoset = true/false`)
4
- * Drop EOL rubies from CI;
5
- * Minimal Ruby version: 3.1;
6
-
7
- ## 1.9.0
8
-
9
- * Add `max_log_lines` config option to limit number of most recent log lines stored in the log device
10
-
11
- ## 1.8.0
12
-
13
- * Minor dependency updates;
14
-
15
- ## 1.3.0
16
-
17
- * Add support for the (new sentry gem)[https://github.com/getsentry/sentry-ruby].
18
-
19
- ## 1.2.0
20
-
21
- * Add `raven_log_size_limit` config option for limiting amount of data sent to sentry (defaults to `500_000`)
22
-
23
- ## 1.1.0
24
-
25
- * Add support for sentry and sidekiq
26
-
27
- ## 1.0.0
28
-
29
- * `6d8fee8` fixed a bug when ::Logger#log was not prepended. `::Logger#log` is an alias for `::Logger#add`,
30
- which ruins concept of single entry point :(. Also tied it to lamian instance
31
-
32
- ## 0.3.3
33
-
34
- * `8136689` fixed crashes when dump used outside lamian context
35
-
36
-
37
- ## 0.3.2
38
-
39
- * `e57e6cec` Changed rails dependency from `~> 4.2` to `>= 4.2`
40
-
41
- ## 0.3.1
42
-
43
- * 34ca83b5 Fixed formatting
44
-
45
- Stabilized formatting api, which removes control sequences from loggers data.
46
- E.g. `"[23mNice, lol[0m\n"` becomes `"Nice, lol\n"`
47
-
48
- ## 0.3.0
49
-
50
- * `d24f895b` API update
51
-
52
- Updated API, so lamian is now forced to be used with block.
53
- It also simplified usage outside a middleware
54
-
55
- ## 0.2.0
56
-
57
- * `3166517e` Added integrtation with rails
58
-
59
- Injected middleware before `ExceptionNotification`, so `ExceptionNotification`
60
- can use current log without any configuration. Also added some views
61
-
62
- ## 0.1.0
63
-
64
- * `62eb8685` Made test version to check it's integration with rails application