lamian 1.6.0 → 1.8.0
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 +2 -2
- data/.rubocop.yml +2 -1
- data/Changelog.md +3 -0
- data/Gemfile.lock +211 -177
- data/lib/lamian/logger_extension.rb +5 -5
- data/lib/lamian/version.rb +3 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b57232a152bc551ab708c63da1fc32bd77c38ba58b58ced8f9ea4cfa1f79f17
|
4
|
+
data.tar.gz: 861029591ca765ab01f01243ea31f86af612dc8837c93e66c5c05e18730586fb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a886b93c920d46c84a6be2ef880b2abf3fd33e6971e81c1564d51c47530d38e6e9ddc91fe21704f46dc238776b775bf9001174f043e485095eb3e471d25b1e4
|
7
|
+
data.tar.gz: 71bc11a5b32cdcd1fc69b1a4994073043c9bedd498d5db063806cb1fb70dc978b414a4583dea0517967fec1a1fec97ecc81a8dd3aafcd0ca68db2ba4f0a73114
|
data/.github/workflows/test.yml
CHANGED
@@ -16,7 +16,7 @@ jobs:
|
|
16
16
|
- uses: actions/checkout@v2
|
17
17
|
- uses: ruby/setup-ruby@v1
|
18
18
|
with:
|
19
|
-
ruby-version: 3
|
19
|
+
ruby-version: "3.1"
|
20
20
|
bundler-cache: true
|
21
21
|
- name: Run Linter
|
22
22
|
run: bundle exec ci-helper RubocopLint
|
@@ -44,7 +44,7 @@ jobs:
|
|
44
44
|
strategy:
|
45
45
|
fail-fast: false
|
46
46
|
matrix:
|
47
|
-
ruby: [
|
47
|
+
ruby: ["3.0", "3.1", "3.2"]
|
48
48
|
|
49
49
|
steps:
|
50
50
|
- uses: actions/checkout@v2
|
data/.rubocop.yml
CHANGED
data/Changelog.md
CHANGED
@@ -4,6 +4,9 @@ Update this on a pull request, under `Lamian::VERSION`
|
|
4
4
|
(also known as next version). If this constant would be changed without release,
|
5
5
|
I'll update it here too
|
6
6
|
|
7
|
+
## 1.8.0
|
8
|
+
* Minor dependency updates;
|
9
|
+
|
7
10
|
## 1.3.0
|
8
11
|
* Add support for the (new sentry gem)[https://github.com/getsentry/sentry-ruby].
|
9
12
|
|
data/Gemfile.lock
CHANGED
@@ -1,259 +1,293 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
lamian (1.
|
4
|
+
lamian (1.8.0)
|
5
5
|
rails (>= 4.2)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
|
-
actioncable (
|
11
|
-
actionpack (=
|
12
|
-
activesupport (=
|
10
|
+
actioncable (7.1.3)
|
11
|
+
actionpack (= 7.1.3)
|
12
|
+
activesupport (= 7.1.3)
|
13
13
|
nio4r (~> 2.0)
|
14
14
|
websocket-driver (>= 0.6.1)
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
15
|
+
zeitwerk (~> 2.6)
|
16
|
+
actionmailbox (7.1.3)
|
17
|
+
actionpack (= 7.1.3)
|
18
|
+
activejob (= 7.1.3)
|
19
|
+
activerecord (= 7.1.3)
|
20
|
+
activestorage (= 7.1.3)
|
21
|
+
activesupport (= 7.1.3)
|
21
22
|
mail (>= 2.7.1)
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
23
|
+
net-imap
|
24
|
+
net-pop
|
25
|
+
net-smtp
|
26
|
+
actionmailer (7.1.3)
|
27
|
+
actionpack (= 7.1.3)
|
28
|
+
actionview (= 7.1.3)
|
29
|
+
activejob (= 7.1.3)
|
30
|
+
activesupport (= 7.1.3)
|
27
31
|
mail (~> 2.5, >= 2.5.4)
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
32
|
+
net-imap
|
33
|
+
net-pop
|
34
|
+
net-smtp
|
35
|
+
rails-dom-testing (~> 2.2)
|
36
|
+
actionpack (7.1.3)
|
37
|
+
actionview (= 7.1.3)
|
38
|
+
activesupport (= 7.1.3)
|
39
|
+
nokogiri (>= 1.8.5)
|
40
|
+
racc
|
41
|
+
rack (>= 2.2.4)
|
42
|
+
rack-session (>= 1.0.1)
|
33
43
|
rack-test (>= 0.6.3)
|
34
|
-
rails-dom-testing (~> 2.
|
35
|
-
rails-html-sanitizer (~> 1.
|
36
|
-
actiontext (
|
37
|
-
actionpack (=
|
38
|
-
activerecord (=
|
39
|
-
activestorage (=
|
40
|
-
activesupport (=
|
44
|
+
rails-dom-testing (~> 2.2)
|
45
|
+
rails-html-sanitizer (~> 1.6)
|
46
|
+
actiontext (7.1.3)
|
47
|
+
actionpack (= 7.1.3)
|
48
|
+
activerecord (= 7.1.3)
|
49
|
+
activestorage (= 7.1.3)
|
50
|
+
activesupport (= 7.1.3)
|
51
|
+
globalid (>= 0.6.0)
|
41
52
|
nokogiri (>= 1.8.5)
|
42
|
-
actionview (
|
43
|
-
activesupport (=
|
53
|
+
actionview (7.1.3)
|
54
|
+
activesupport (= 7.1.3)
|
44
55
|
builder (~> 3.1)
|
45
|
-
erubi (~> 1.
|
46
|
-
rails-dom-testing (~> 2.
|
47
|
-
rails-html-sanitizer (~> 1.
|
48
|
-
activejob (
|
49
|
-
activesupport (=
|
56
|
+
erubi (~> 1.11)
|
57
|
+
rails-dom-testing (~> 2.2)
|
58
|
+
rails-html-sanitizer (~> 1.6)
|
59
|
+
activejob (7.1.3)
|
60
|
+
activesupport (= 7.1.3)
|
50
61
|
globalid (>= 0.3.6)
|
51
|
-
activemodel (
|
52
|
-
activesupport (=
|
53
|
-
activerecord (
|
54
|
-
activemodel (=
|
55
|
-
activesupport (=
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
activesupport (
|
62
|
+
activemodel (7.1.3)
|
63
|
+
activesupport (= 7.1.3)
|
64
|
+
activerecord (7.1.3)
|
65
|
+
activemodel (= 7.1.3)
|
66
|
+
activesupport (= 7.1.3)
|
67
|
+
timeout (>= 0.4.0)
|
68
|
+
activestorage (7.1.3)
|
69
|
+
actionpack (= 7.1.3)
|
70
|
+
activejob (= 7.1.3)
|
71
|
+
activerecord (= 7.1.3)
|
72
|
+
activesupport (= 7.1.3)
|
73
|
+
marcel (~> 1.0)
|
74
|
+
activesupport (7.1.3)
|
75
|
+
base64
|
76
|
+
bigdecimal
|
64
77
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
78
|
+
connection_pool (>= 2.2.5)
|
79
|
+
drb
|
65
80
|
i18n (>= 1.6, < 2)
|
66
81
|
minitest (>= 5.1)
|
82
|
+
mutex_m
|
67
83
|
tzinfo (~> 2.0)
|
68
|
-
|
69
|
-
|
70
|
-
public_suffix (>= 2.0.2, < 5.0)
|
84
|
+
addressable (2.8.1)
|
85
|
+
public_suffix (>= 2.0.2, < 6.0)
|
71
86
|
ast (2.4.2)
|
87
|
+
base64 (0.2.0)
|
88
|
+
bigdecimal (3.1.6)
|
72
89
|
builder (3.2.4)
|
73
|
-
bundler-audit (0.9.
|
90
|
+
bundler-audit (0.9.1)
|
74
91
|
bundler (>= 1.2.0, < 3)
|
75
92
|
thor (~> 1.0)
|
76
|
-
ci-helper (0.
|
93
|
+
ci-helper (0.5.0)
|
77
94
|
colorize (~> 0.8)
|
78
95
|
dry-inflector (~> 0.2)
|
79
96
|
umbrellio-sequel-plugins (~> 0.4)
|
80
97
|
coderay (1.1.3)
|
81
98
|
colorize (0.8.1)
|
82
|
-
concurrent-ruby (1.
|
99
|
+
concurrent-ruby (1.2.3)
|
100
|
+
connection_pool (2.4.1)
|
83
101
|
crass (1.0.6)
|
84
|
-
|
102
|
+
date (3.3.4)
|
103
|
+
diff-lcs (1.5.0)
|
85
104
|
docile (1.4.0)
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
faraday-
|
92
|
-
faraday-httpclient (~> 1.0.1)
|
93
|
-
faraday-net_http (~> 1.0)
|
94
|
-
faraday-net_http_persistent (~> 1.1)
|
95
|
-
faraday-patron (~> 1.0)
|
96
|
-
faraday-rack (~> 1.0)
|
97
|
-
multipart-post (>= 1.2, < 3)
|
105
|
+
drb (2.2.0)
|
106
|
+
ruby2_keywords
|
107
|
+
dry-inflector (0.3.0)
|
108
|
+
erubi (1.12.0)
|
109
|
+
faraday (2.6.0)
|
110
|
+
faraday-net_http (>= 2.0, < 3.1)
|
98
111
|
ruby2_keywords (>= 0.0.4)
|
99
|
-
faraday-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
faraday-net_http (1.0.1)
|
104
|
-
faraday-net_http_persistent (1.2.0)
|
105
|
-
faraday-patron (1.0.0)
|
106
|
-
faraday-rack (1.0.0)
|
107
|
-
globalid (0.5.2)
|
108
|
-
activesupport (>= 5.0)
|
109
|
-
i18n (1.8.11)
|
112
|
+
faraday-net_http (3.0.1)
|
113
|
+
globalid (1.2.1)
|
114
|
+
activesupport (>= 6.1)
|
115
|
+
i18n (1.14.1)
|
110
116
|
concurrent-ruby (~> 1.0)
|
117
|
+
io-console (0.7.2)
|
118
|
+
irb (1.11.1)
|
119
|
+
rdoc
|
120
|
+
reline (>= 0.4.2)
|
121
|
+
json (2.6.2)
|
111
122
|
launchy (2.5.0)
|
112
123
|
addressable (~> 2.7)
|
113
|
-
loofah (2.
|
124
|
+
loofah (2.22.0)
|
114
125
|
crass (~> 1.0.2)
|
115
|
-
nokogiri (>= 1.
|
116
|
-
mail (2.
|
126
|
+
nokogiri (>= 1.12.0)
|
127
|
+
mail (2.8.1)
|
117
128
|
mini_mime (>= 0.1.1)
|
129
|
+
net-imap
|
130
|
+
net-pop
|
131
|
+
net-smtp
|
118
132
|
marcel (1.0.2)
|
119
133
|
method_source (1.0.0)
|
120
|
-
mini_mime (1.1.
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
134
|
+
mini_mime (1.1.5)
|
135
|
+
mini_portile2 (2.8.5)
|
136
|
+
minitest (5.21.2)
|
137
|
+
mutex_m (0.2.0)
|
138
|
+
net-imap (0.4.9.1)
|
139
|
+
date
|
140
|
+
net-protocol
|
141
|
+
net-pop (0.1.2)
|
142
|
+
net-protocol
|
143
|
+
net-protocol (0.2.2)
|
144
|
+
timeout
|
145
|
+
net-smtp (0.4.0.1)
|
146
|
+
net-protocol
|
147
|
+
nio4r (2.7.0)
|
148
|
+
nokogiri (1.16.0)
|
149
|
+
mini_portile2 (~> 2.8.2)
|
150
|
+
racc (~> 1.4)
|
151
|
+
nokogiri (1.16.0-x86_64-darwin)
|
125
152
|
racc (~> 1.4)
|
126
|
-
nokogiri (1.
|
153
|
+
nokogiri (1.16.0-x86_64-linux)
|
127
154
|
racc (~> 1.4)
|
128
|
-
parallel (1.
|
129
|
-
parser (3.
|
155
|
+
parallel (1.22.1)
|
156
|
+
parser (3.1.2.1)
|
130
157
|
ast (~> 2.4.1)
|
131
158
|
pry (0.14.1)
|
132
159
|
coderay (~> 1.1)
|
133
160
|
method_source (~> 1.0)
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
161
|
+
psych (5.1.2)
|
162
|
+
stringio
|
163
|
+
public_suffix (5.0.0)
|
164
|
+
racc (1.7.3)
|
165
|
+
rack (3.0.8)
|
166
|
+
rack-session (2.0.0)
|
167
|
+
rack (>= 3.0.0)
|
168
|
+
rack-test (2.1.0)
|
169
|
+
rack (>= 1.3)
|
170
|
+
rackup (2.0.0)
|
171
|
+
rack (>= 3)
|
172
|
+
webrick
|
173
|
+
rails (7.1.3)
|
174
|
+
actioncable (= 7.1.3)
|
175
|
+
actionmailbox (= 7.1.3)
|
176
|
+
actionmailer (= 7.1.3)
|
177
|
+
actionpack (= 7.1.3)
|
178
|
+
actiontext (= 7.1.3)
|
179
|
+
actionview (= 7.1.3)
|
180
|
+
activejob (= 7.1.3)
|
181
|
+
activemodel (= 7.1.3)
|
182
|
+
activerecord (= 7.1.3)
|
183
|
+
activestorage (= 7.1.3)
|
184
|
+
activesupport (= 7.1.3)
|
151
185
|
bundler (>= 1.15.0)
|
152
|
-
railties (=
|
153
|
-
|
154
|
-
|
155
|
-
|
186
|
+
railties (= 7.1.3)
|
187
|
+
rails-dom-testing (2.2.0)
|
188
|
+
activesupport (>= 5.0.0)
|
189
|
+
minitest
|
156
190
|
nokogiri (>= 1.6)
|
157
|
-
rails-html-sanitizer (1.
|
158
|
-
loofah (~> 2.
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
191
|
+
rails-html-sanitizer (1.6.0)
|
192
|
+
loofah (~> 2.21)
|
193
|
+
nokogiri (~> 1.14)
|
194
|
+
railties (7.1.3)
|
195
|
+
actionpack (= 7.1.3)
|
196
|
+
activesupport (= 7.1.3)
|
197
|
+
irb
|
198
|
+
rackup (>= 1.0.0)
|
199
|
+
rake (>= 12.2)
|
200
|
+
thor (~> 1.0, >= 1.2.2)
|
201
|
+
zeitwerk (~> 2.6)
|
202
|
+
rainbow (3.1.1)
|
203
|
+
rake (13.1.0)
|
204
|
+
rdoc (6.6.2)
|
205
|
+
psych (>= 4.0.0)
|
206
|
+
regexp_parser (2.6.0)
|
207
|
+
reline (0.4.2)
|
208
|
+
io-console (~> 0.5)
|
168
209
|
rexml (3.2.5)
|
169
|
-
rspec (3.
|
170
|
-
rspec-core (~> 3.
|
171
|
-
rspec-expectations (~> 3.
|
172
|
-
rspec-mocks (~> 3.
|
173
|
-
rspec-core (3.
|
174
|
-
rspec-support (~> 3.
|
175
|
-
rspec-expectations (3.
|
210
|
+
rspec (3.12.0)
|
211
|
+
rspec-core (~> 3.12.0)
|
212
|
+
rspec-expectations (~> 3.12.0)
|
213
|
+
rspec-mocks (~> 3.12.0)
|
214
|
+
rspec-core (3.12.2)
|
215
|
+
rspec-support (~> 3.12.0)
|
216
|
+
rspec-expectations (3.12.3)
|
176
217
|
diff-lcs (>= 1.2.0, < 2.0)
|
177
|
-
rspec-support (~> 3.
|
178
|
-
rspec-mocks (3.
|
218
|
+
rspec-support (~> 3.12.0)
|
219
|
+
rspec-mocks (3.12.6)
|
179
220
|
diff-lcs (>= 1.2.0, < 2.0)
|
180
|
-
rspec-support (~> 3.
|
181
|
-
rspec-support (3.
|
182
|
-
rubocop (1.
|
221
|
+
rspec-support (~> 3.12.0)
|
222
|
+
rspec-support (3.12.1)
|
223
|
+
rubocop (1.35.1)
|
224
|
+
json (~> 2.3)
|
183
225
|
parallel (~> 1.10)
|
184
|
-
parser (>= 3.
|
226
|
+
parser (>= 3.1.2.1)
|
185
227
|
rainbow (>= 2.2.2, < 4.0)
|
186
228
|
regexp_parser (>= 1.8, < 3.0)
|
187
|
-
rexml
|
188
|
-
rubocop-ast (>= 1.
|
229
|
+
rexml (>= 3.2.5, < 4.0)
|
230
|
+
rubocop-ast (>= 1.20.1, < 2.0)
|
189
231
|
ruby-progressbar (~> 1.7)
|
190
232
|
unicode-display_width (>= 1.4.0, < 3.0)
|
191
|
-
rubocop-ast (1.
|
192
|
-
parser (>= 3.
|
193
|
-
rubocop-config-umbrellio (1.
|
194
|
-
rubocop (
|
195
|
-
rubocop-performance (
|
196
|
-
rubocop-rails (
|
197
|
-
rubocop-rake (
|
198
|
-
rubocop-rspec (
|
199
|
-
rubocop-sequel (
|
200
|
-
rubocop-performance (1.
|
201
|
-
rubocop (>=
|
233
|
+
rubocop-ast (1.23.0)
|
234
|
+
parser (>= 3.1.1.0)
|
235
|
+
rubocop-config-umbrellio (1.35.0.69)
|
236
|
+
rubocop (~> 1.35.0)
|
237
|
+
rubocop-performance (~> 1.14.0)
|
238
|
+
rubocop-rails (~> 2.15.0)
|
239
|
+
rubocop-rake (~> 0.6.0)
|
240
|
+
rubocop-rspec (~> 2.12.0)
|
241
|
+
rubocop-sequel (~> 0.3.3)
|
242
|
+
rubocop-performance (1.14.3)
|
243
|
+
rubocop (>= 1.7.0, < 2.0)
|
202
244
|
rubocop-ast (>= 0.4.0)
|
203
|
-
rubocop-rails (2.
|
245
|
+
rubocop-rails (2.15.2)
|
204
246
|
activesupport (>= 4.2.0)
|
205
247
|
rack (>= 1.1)
|
206
|
-
rubocop (>=
|
207
|
-
rubocop-rake (0.
|
208
|
-
rubocop
|
209
|
-
rubocop-rspec (2.2.0)
|
248
|
+
rubocop (>= 1.7.0, < 2.0)
|
249
|
+
rubocop-rake (0.6.0)
|
210
250
|
rubocop (~> 1.0)
|
211
|
-
|
212
|
-
|
251
|
+
rubocop-rspec (2.12.1)
|
252
|
+
rubocop (~> 1.31)
|
253
|
+
rubocop-sequel (0.3.4)
|
213
254
|
rubocop (~> 1.0)
|
214
255
|
ruby-progressbar (1.11.0)
|
215
256
|
ruby2_keywords (0.0.5)
|
216
|
-
semantic_logger (4.
|
257
|
+
semantic_logger (4.11.0)
|
217
258
|
concurrent-ruby (~> 1.0)
|
218
259
|
sentry-raven (3.1.2)
|
219
260
|
faraday (>= 1.0)
|
220
|
-
sentry-ruby (
|
261
|
+
sentry-ruby (5.5.0)
|
221
262
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
222
|
-
|
223
|
-
sentry-ruby-core (= 4.7.3)
|
224
|
-
sentry-ruby-core (4.7.3)
|
225
|
-
concurrent-ruby
|
226
|
-
faraday
|
227
|
-
sequel (5.50.0)
|
263
|
+
sequel (5.61.0)
|
228
264
|
simplecov (0.21.2)
|
229
265
|
docile (~> 1.1)
|
230
266
|
simplecov-html (~> 0.11)
|
231
267
|
simplecov_json_formatter (~> 0.1)
|
232
268
|
simplecov-html (0.12.3)
|
233
269
|
simplecov-lcov (0.8.0)
|
234
|
-
simplecov_json_formatter (0.1.
|
235
|
-
|
236
|
-
concurrent-ruby (~> 1.0)
|
237
|
-
rack (> 1, < 3)
|
238
|
-
sprockets-rails (3.4.0)
|
239
|
-
actionpack (>= 5.2)
|
240
|
-
activesupport (>= 5.2)
|
241
|
-
sprockets (>= 3.0.0)
|
270
|
+
simplecov_json_formatter (0.1.4)
|
271
|
+
stringio (3.1.0)
|
242
272
|
symbiont-ruby (0.7.0)
|
243
|
-
thor (1.
|
244
|
-
|
273
|
+
thor (1.3.0)
|
274
|
+
timeout (0.4.1)
|
275
|
+
tzinfo (2.0.6)
|
245
276
|
concurrent-ruby (~> 1.0)
|
246
|
-
umbrellio-sequel-plugins (0.
|
277
|
+
umbrellio-sequel-plugins (0.10.0.86)
|
247
278
|
sequel
|
248
279
|
symbiont-ruby
|
249
|
-
unicode-display_width (2.
|
250
|
-
|
280
|
+
unicode-display_width (2.3.0)
|
281
|
+
webrick (1.7.0)
|
282
|
+
websocket-driver (0.7.6)
|
251
283
|
websocket-extensions (>= 0.1.0)
|
252
284
|
websocket-extensions (0.1.5)
|
253
|
-
yard (0.9.
|
254
|
-
|
285
|
+
yard (0.9.28)
|
286
|
+
webrick (~> 1.7.0)
|
287
|
+
zeitwerk (2.6.12)
|
255
288
|
|
256
289
|
PLATFORMS
|
290
|
+
ruby
|
257
291
|
x86_64-darwin-19
|
258
292
|
x86_64-darwin-20
|
259
293
|
x86_64-linux
|
@@ -275,4 +309,4 @@ DEPENDENCIES
|
|
275
309
|
yard
|
276
310
|
|
277
311
|
BUNDLED WITH
|
278
|
-
2.
|
312
|
+
2.3.24
|
@@ -5,15 +5,15 @@ module Lamian
|
|
5
5
|
module LoggerExtension
|
6
6
|
# @api stdlib
|
7
7
|
# Add is a single entry point for ::Logger.{debug,info,..}
|
8
|
-
def add(
|
9
|
-
Logger.current.add(
|
8
|
+
def add(...)
|
9
|
+
Logger.current.add(...)
|
10
10
|
super
|
11
11
|
end
|
12
12
|
|
13
13
|
# @api stdlib
|
14
|
-
# log is an
|
15
|
-
def log(
|
16
|
-
Logger.current.add(
|
14
|
+
# log is an alias for add and should also be prepended
|
15
|
+
def log(...)
|
16
|
+
Logger.current.add(...)
|
17
17
|
super
|
18
18
|
end
|
19
19
|
end
|
data/lib/lamian/version.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module Lamian
|
4
|
-
# Current lamian
|
4
|
+
# Current lamian version
|
5
5
|
#
|
6
6
|
# format: 'a.b.c' with possible suffixes such as alpha
|
7
7
|
# * a is for major version, it is guaranteed to be changed
|
@@ -10,8 +10,8 @@ module Lamian
|
|
10
10
|
# on public API changes and also if private API
|
11
11
|
# back-compatibility is broken
|
12
12
|
# * c is for incremental version, it is updated in other cases
|
13
|
-
# According to this, it is
|
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.
|
16
|
+
VERSION = "1.8.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.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- JelF
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -253,14 +253,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
253
253
|
requirements:
|
254
254
|
- - ">="
|
255
255
|
- !ruby/object:Gem::Version
|
256
|
-
version: 2.
|
256
|
+
version: 2.7.0
|
257
257
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
258
258
|
requirements:
|
259
259
|
- - ">="
|
260
260
|
- !ruby/object:Gem::Version
|
261
261
|
version: '0'
|
262
262
|
requirements: []
|
263
|
-
rubygems_version: 3.3
|
263
|
+
rubygems_version: 3.5.3
|
264
264
|
signing_key:
|
265
265
|
specification_version: 4
|
266
266
|
summary: Add logs to your error messages
|