lamian 1.6.0 → 1.7.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: 3c89ac71145ec9af5b58ff7838d164aacb7b475b927e6c2aa18d082475259490
4
- data.tar.gz: 8bd8d8463613bb9930e8d23b36a5a964b35ac101eaead9cfb0061a14636eb29c
3
+ metadata.gz: 073a542c16dc4ed9aa1d8f218fc3badd5ff6ef2f9d9a6486a7d5d0fc4150a62d
4
+ data.tar.gz: 0f92fcf09eb8b8dd29e7a3b1954df65d79d7c6649b42ca0102031dfaa4c18ef0
5
5
  SHA512:
6
- metadata.gz: 6a8f70c8575eea0c877d403f3c4201befc03e5e8e4cf45d52da7bcfd09ea4a43e583c212089aefa6d686f200579129c0ff30128401f68dd5c1e1abeef49b8c85
7
- data.tar.gz: 4668462108c871ded252b6fc90d3dde9ac6178c29bf5d067076527ea11cd1c6004f9eacf9518c305330ce3ef46f99fdb297b50812469373829d88f560aafc215
6
+ metadata.gz: 26a67981a6f64c1da4291fa10f1f0571b4d6ce897e1dafec972b97a418b3102642814bdb14dc5bff953a542f563855f0365e47e86bb1d5579191b960d0532c11
7
+ data.tar.gz: 34864d1fb78aab01d1912125fd34e3a9dbd37b240fd29d894ebc6a25ee4b28dff64042176938103c624ab8793475d4b7571df322e1a82a0d5b31320774242b89
@@ -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: [2.6, 2.7]
47
+ ruby: ["2.7", "3.0"]
48
48
 
49
49
  steps:
50
50
  - uses: actions/checkout@v2
data/.rubocop.yml CHANGED
@@ -3,7 +3,8 @@ inherit_gem:
3
3
 
4
4
  AllCops:
5
5
  DisplayCopNames: true
6
- TargetRubyVersion: 2.5
6
+ TargetRubyVersion: 2.7
7
+ SuggestExtensions: false
7
8
 
8
9
  RSpec/EmptyLineAfterHook:
9
10
  Enabled: false
data/Gemfile.lock CHANGED
@@ -1,116 +1,108 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lamian (1.6.0)
4
+ lamian (1.7.0)
5
5
  rails (>= 4.2)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (6.1.4.1)
11
- actionpack (= 6.1.4.1)
12
- activesupport (= 6.1.4.1)
10
+ actioncable (7.0.4)
11
+ actionpack (= 7.0.4)
12
+ activesupport (= 7.0.4)
13
13
  nio4r (~> 2.0)
14
14
  websocket-driver (>= 0.6.1)
15
- actionmailbox (6.1.4.1)
16
- actionpack (= 6.1.4.1)
17
- activejob (= 6.1.4.1)
18
- activerecord (= 6.1.4.1)
19
- activestorage (= 6.1.4.1)
20
- activesupport (= 6.1.4.1)
15
+ actionmailbox (7.0.4)
16
+ actionpack (= 7.0.4)
17
+ activejob (= 7.0.4)
18
+ activerecord (= 7.0.4)
19
+ activestorage (= 7.0.4)
20
+ activesupport (= 7.0.4)
21
21
  mail (>= 2.7.1)
22
- actionmailer (6.1.4.1)
23
- actionpack (= 6.1.4.1)
24
- actionview (= 6.1.4.1)
25
- activejob (= 6.1.4.1)
26
- activesupport (= 6.1.4.1)
22
+ net-imap
23
+ net-pop
24
+ net-smtp
25
+ actionmailer (7.0.4)
26
+ actionpack (= 7.0.4)
27
+ actionview (= 7.0.4)
28
+ activejob (= 7.0.4)
29
+ activesupport (= 7.0.4)
27
30
  mail (~> 2.5, >= 2.5.4)
31
+ net-imap
32
+ net-pop
33
+ net-smtp
28
34
  rails-dom-testing (~> 2.0)
29
- actionpack (6.1.4.1)
30
- actionview (= 6.1.4.1)
31
- activesupport (= 6.1.4.1)
32
- rack (~> 2.0, >= 2.0.9)
35
+ actionpack (7.0.4)
36
+ actionview (= 7.0.4)
37
+ activesupport (= 7.0.4)
38
+ rack (~> 2.0, >= 2.2.0)
33
39
  rack-test (>= 0.6.3)
34
40
  rails-dom-testing (~> 2.0)
35
41
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
36
- actiontext (6.1.4.1)
37
- actionpack (= 6.1.4.1)
38
- activerecord (= 6.1.4.1)
39
- activestorage (= 6.1.4.1)
40
- activesupport (= 6.1.4.1)
42
+ actiontext (7.0.4)
43
+ actionpack (= 7.0.4)
44
+ activerecord (= 7.0.4)
45
+ activestorage (= 7.0.4)
46
+ activesupport (= 7.0.4)
47
+ globalid (>= 0.6.0)
41
48
  nokogiri (>= 1.8.5)
42
- actionview (6.1.4.1)
43
- activesupport (= 6.1.4.1)
49
+ actionview (7.0.4)
50
+ activesupport (= 7.0.4)
44
51
  builder (~> 3.1)
45
52
  erubi (~> 1.4)
46
53
  rails-dom-testing (~> 2.0)
47
54
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
48
- activejob (6.1.4.1)
49
- activesupport (= 6.1.4.1)
55
+ activejob (7.0.4)
56
+ activesupport (= 7.0.4)
50
57
  globalid (>= 0.3.6)
51
- activemodel (6.1.4.1)
52
- activesupport (= 6.1.4.1)
53
- activerecord (6.1.4.1)
54
- activemodel (= 6.1.4.1)
55
- activesupport (= 6.1.4.1)
56
- activestorage (6.1.4.1)
57
- actionpack (= 6.1.4.1)
58
- activejob (= 6.1.4.1)
59
- activerecord (= 6.1.4.1)
60
- activesupport (= 6.1.4.1)
61
- marcel (~> 1.0.0)
58
+ activemodel (7.0.4)
59
+ activesupport (= 7.0.4)
60
+ activerecord (7.0.4)
61
+ activemodel (= 7.0.4)
62
+ activesupport (= 7.0.4)
63
+ activestorage (7.0.4)
64
+ actionpack (= 7.0.4)
65
+ activejob (= 7.0.4)
66
+ activerecord (= 7.0.4)
67
+ activesupport (= 7.0.4)
68
+ marcel (~> 1.0)
62
69
  mini_mime (>= 1.1.0)
63
- activesupport (6.1.4.1)
70
+ activesupport (7.0.4)
64
71
  concurrent-ruby (~> 1.0, >= 1.0.2)
65
72
  i18n (>= 1.6, < 2)
66
73
  minitest (>= 5.1)
67
74
  tzinfo (~> 2.0)
68
- zeitwerk (~> 2.3)
69
- addressable (2.8.0)
70
- public_suffix (>= 2.0.2, < 5.0)
75
+ addressable (2.8.1)
76
+ public_suffix (>= 2.0.2, < 6.0)
71
77
  ast (2.4.2)
72
78
  builder (3.2.4)
73
- bundler-audit (0.9.0.1)
79
+ bundler-audit (0.9.1)
74
80
  bundler (>= 1.2.0, < 3)
75
81
  thor (~> 1.0)
76
- ci-helper (0.4.2)
82
+ ci-helper (0.5.0)
77
83
  colorize (~> 0.8)
78
84
  dry-inflector (~> 0.2)
79
85
  umbrellio-sequel-plugins (~> 0.4)
80
86
  coderay (1.1.3)
81
87
  colorize (0.8.1)
82
- concurrent-ruby (1.1.9)
88
+ concurrent-ruby (1.1.10)
83
89
  crass (1.0.6)
84
- diff-lcs (1.4.4)
90
+ diff-lcs (1.5.0)
85
91
  docile (1.4.0)
86
- dry-inflector (0.2.1)
87
- erubi (1.10.0)
88
- faraday (1.8.0)
89
- faraday-em_http (~> 1.0)
90
- faraday-em_synchrony (~> 1.0)
91
- faraday-excon (~> 1.1)
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)
92
+ dry-inflector (0.3.0)
93
+ erubi (1.11.0)
94
+ faraday (2.6.0)
95
+ faraday-net_http (>= 2.0, < 3.1)
98
96
  ruby2_keywords (>= 0.0.4)
99
- faraday-em_http (1.0.0)
100
- faraday-em_synchrony (1.0.0)
101
- faraday-excon (1.1.0)
102
- faraday-httpclient (1.0.1)
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)
97
+ faraday-net_http (3.0.1)
98
+ globalid (1.0.0)
108
99
  activesupport (>= 5.0)
109
- i18n (1.8.11)
100
+ i18n (1.12.0)
110
101
  concurrent-ruby (~> 1.0)
102
+ json (2.6.2)
111
103
  launchy (2.5.0)
112
104
  addressable (~> 2.7)
113
- loofah (2.12.0)
105
+ loofah (2.19.0)
114
106
  crass (~> 1.0.2)
115
107
  nokogiri (>= 1.5.9)
116
108
  mail (2.7.1)
@@ -118,142 +110,145 @@ GEM
118
110
  marcel (1.0.2)
119
111
  method_source (1.0.0)
120
112
  mini_mime (1.1.2)
121
- minitest (5.14.4)
122
- multipart-post (2.1.1)
113
+ mini_portile2 (2.8.0)
114
+ minitest (5.16.3)
115
+ net-imap (0.3.1)
116
+ net-protocol
117
+ net-pop (0.1.2)
118
+ net-protocol
119
+ net-protocol (0.1.3)
120
+ timeout
121
+ net-smtp (0.3.2)
122
+ net-protocol
123
123
  nio4r (2.5.8)
124
- nokogiri (1.12.5-x86_64-darwin)
124
+ nokogiri (1.13.9)
125
+ mini_portile2 (~> 2.8.0)
125
126
  racc (~> 1.4)
126
- nokogiri (1.12.5-x86_64-linux)
127
+ nokogiri (1.13.9-x86_64-darwin)
127
128
  racc (~> 1.4)
128
- parallel (1.21.0)
129
- parser (3.0.2.0)
129
+ nokogiri (1.13.9-x86_64-linux)
130
+ racc (~> 1.4)
131
+ parallel (1.22.1)
132
+ parser (3.1.2.1)
130
133
  ast (~> 2.4.1)
131
134
  pry (0.14.1)
132
135
  coderay (~> 1.1)
133
136
  method_source (~> 1.0)
134
- public_suffix (4.0.6)
137
+ public_suffix (5.0.0)
135
138
  racc (1.6.0)
136
- rack (2.2.3)
137
- rack-test (1.1.0)
138
- rack (>= 1.0, < 3)
139
- rails (6.1.4.1)
140
- actioncable (= 6.1.4.1)
141
- actionmailbox (= 6.1.4.1)
142
- actionmailer (= 6.1.4.1)
143
- actionpack (= 6.1.4.1)
144
- actiontext (= 6.1.4.1)
145
- actionview (= 6.1.4.1)
146
- activejob (= 6.1.4.1)
147
- activemodel (= 6.1.4.1)
148
- activerecord (= 6.1.4.1)
149
- activestorage (= 6.1.4.1)
150
- activesupport (= 6.1.4.1)
139
+ rack (2.2.4)
140
+ rack-test (2.0.2)
141
+ rack (>= 1.3)
142
+ rails (7.0.4)
143
+ actioncable (= 7.0.4)
144
+ actionmailbox (= 7.0.4)
145
+ actionmailer (= 7.0.4)
146
+ actionpack (= 7.0.4)
147
+ actiontext (= 7.0.4)
148
+ actionview (= 7.0.4)
149
+ activejob (= 7.0.4)
150
+ activemodel (= 7.0.4)
151
+ activerecord (= 7.0.4)
152
+ activestorage (= 7.0.4)
153
+ activesupport (= 7.0.4)
151
154
  bundler (>= 1.15.0)
152
- railties (= 6.1.4.1)
153
- sprockets-rails (>= 2.0.0)
155
+ railties (= 7.0.4)
154
156
  rails-dom-testing (2.0.3)
155
157
  activesupport (>= 4.2.0)
156
158
  nokogiri (>= 1.6)
157
- rails-html-sanitizer (1.4.2)
159
+ rails-html-sanitizer (1.4.3)
158
160
  loofah (~> 2.3)
159
- railties (6.1.4.1)
160
- actionpack (= 6.1.4.1)
161
- activesupport (= 6.1.4.1)
161
+ railties (7.0.4)
162
+ actionpack (= 7.0.4)
163
+ activesupport (= 7.0.4)
162
164
  method_source
163
- rake (>= 0.13)
165
+ rake (>= 12.2)
164
166
  thor (~> 1.0)
165
- rainbow (3.0.0)
167
+ zeitwerk (~> 2.5)
168
+ rainbow (3.1.1)
166
169
  rake (13.0.6)
167
- regexp_parser (2.1.1)
170
+ regexp_parser (2.6.0)
168
171
  rexml (3.2.5)
169
- rspec (3.10.0)
170
- rspec-core (~> 3.10.0)
171
- rspec-expectations (~> 3.10.0)
172
- rspec-mocks (~> 3.10.0)
173
- rspec-core (3.10.1)
174
- rspec-support (~> 3.10.0)
175
- rspec-expectations (3.10.1)
172
+ rspec (3.11.0)
173
+ rspec-core (~> 3.11.0)
174
+ rspec-expectations (~> 3.11.0)
175
+ rspec-mocks (~> 3.11.0)
176
+ rspec-core (3.11.0)
177
+ rspec-support (~> 3.11.0)
178
+ rspec-expectations (3.11.1)
176
179
  diff-lcs (>= 1.2.0, < 2.0)
177
- rspec-support (~> 3.10.0)
178
- rspec-mocks (3.10.2)
180
+ rspec-support (~> 3.11.0)
181
+ rspec-mocks (3.11.2)
179
182
  diff-lcs (>= 1.2.0, < 2.0)
180
- rspec-support (~> 3.10.0)
181
- rspec-support (3.10.2)
182
- rubocop (1.17.0)
183
+ rspec-support (~> 3.11.0)
184
+ rspec-support (3.11.1)
185
+ rubocop (1.35.1)
186
+ json (~> 2.3)
183
187
  parallel (~> 1.10)
184
- parser (>= 3.0.0.0)
188
+ parser (>= 3.1.2.1)
185
189
  rainbow (>= 2.2.2, < 4.0)
186
190
  regexp_parser (>= 1.8, < 3.0)
187
- rexml
188
- rubocop-ast (>= 1.7.0, < 2.0)
191
+ rexml (>= 3.2.5, < 4.0)
192
+ rubocop-ast (>= 1.20.1, < 2.0)
189
193
  ruby-progressbar (~> 1.7)
190
194
  unicode-display_width (>= 1.4.0, < 3.0)
191
- rubocop-ast (1.12.0)
192
- parser (>= 3.0.1.1)
193
- rubocop-config-umbrellio (1.17.0.53)
194
- rubocop (= 1.17.0)
195
- rubocop-performance (= 1.10.0)
196
- rubocop-rails (= 2.9.1)
197
- rubocop-rake (= 0.5.1)
198
- rubocop-rspec (= 2.2.0)
199
- rubocop-sequel (= 0.2.0)
200
- rubocop-performance (1.10.0)
201
- rubocop (>= 0.90.0, < 2.0)
195
+ rubocop-ast (1.23.0)
196
+ parser (>= 3.1.1.0)
197
+ rubocop-config-umbrellio (1.35.0.69)
198
+ rubocop (~> 1.35.0)
199
+ rubocop-performance (~> 1.14.0)
200
+ rubocop-rails (~> 2.15.0)
201
+ rubocop-rake (~> 0.6.0)
202
+ rubocop-rspec (~> 2.12.0)
203
+ rubocop-sequel (~> 0.3.3)
204
+ rubocop-performance (1.14.3)
205
+ rubocop (>= 1.7.0, < 2.0)
202
206
  rubocop-ast (>= 0.4.0)
203
- rubocop-rails (2.9.1)
207
+ rubocop-rails (2.15.2)
204
208
  activesupport (>= 4.2.0)
205
209
  rack (>= 1.1)
206
- rubocop (>= 0.90.0, < 2.0)
207
- rubocop-rake (0.5.1)
208
- rubocop
209
- rubocop-rspec (2.2.0)
210
+ rubocop (>= 1.7.0, < 2.0)
211
+ rubocop-rake (0.6.0)
210
212
  rubocop (~> 1.0)
211
- rubocop-ast (>= 1.1.0)
212
- rubocop-sequel (0.2.0)
213
+ rubocop-rspec (2.12.1)
214
+ rubocop (~> 1.31)
215
+ rubocop-sequel (0.3.4)
213
216
  rubocop (~> 1.0)
214
217
  ruby-progressbar (1.11.0)
215
218
  ruby2_keywords (0.0.5)
216
- semantic_logger (4.8.2)
219
+ semantic_logger (4.11.0)
217
220
  concurrent-ruby (~> 1.0)
218
221
  sentry-raven (3.1.2)
219
222
  faraday (>= 1.0)
220
- sentry-ruby (4.7.3)
223
+ sentry-ruby (5.5.0)
221
224
  concurrent-ruby (~> 1.0, >= 1.0.2)
222
- faraday (>= 1.0)
223
- sentry-ruby-core (= 4.7.3)
224
- sentry-ruby-core (4.7.3)
225
- concurrent-ruby
226
- faraday
227
- sequel (5.50.0)
225
+ sequel (5.61.0)
228
226
  simplecov (0.21.2)
229
227
  docile (~> 1.1)
230
228
  simplecov-html (~> 0.11)
231
229
  simplecov_json_formatter (~> 0.1)
232
230
  simplecov-html (0.12.3)
233
231
  simplecov-lcov (0.8.0)
234
- simplecov_json_formatter (0.1.3)
235
- sprockets (4.0.2)
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)
232
+ simplecov_json_formatter (0.1.4)
242
233
  symbiont-ruby (0.7.0)
243
- thor (1.1.0)
244
- tzinfo (2.0.4)
234
+ thor (1.2.1)
235
+ timeout (0.3.0)
236
+ tzinfo (2.0.5)
245
237
  concurrent-ruby (~> 1.0)
246
- umbrellio-sequel-plugins (0.5.1.27)
238
+ umbrellio-sequel-plugins (0.10.0.86)
247
239
  sequel
248
240
  symbiont-ruby
249
- unicode-display_width (2.1.0)
241
+ unicode-display_width (2.3.0)
242
+ webrick (1.7.0)
250
243
  websocket-driver (0.7.5)
251
244
  websocket-extensions (>= 0.1.0)
252
245
  websocket-extensions (0.1.5)
253
- yard (0.9.26)
254
- zeitwerk (2.5.1)
246
+ yard (0.9.28)
247
+ webrick (~> 1.7.0)
248
+ zeitwerk (2.6.1)
255
249
 
256
250
  PLATFORMS
251
+ ruby
257
252
  x86_64-darwin-19
258
253
  x86_64-darwin-20
259
254
  x86_64-linux
@@ -275,4 +270,4 @@ DEPENDENCIES
275
270
  yard
276
271
 
277
272
  BUNDLED WITH
278
- 2.2.30
273
+ 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(*args, &block)
9
- Logger.current.add(*args, &block)
8
+ def add(...)
9
+ Logger.current.add(...)
10
10
  super
11
11
  end
12
12
 
13
13
  # @api stdlib
14
14
  # log is an alis for add and should also be prepended
15
- def log(*args, &block)
16
- Logger.current.add(*args, &block)
15
+ def log(...)
16
+ Logger.current.add(...)
17
17
  super
18
18
  end
19
19
  end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Lamian
4
- # Current lamian vewrsion
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 enought to specify '~> a.b'
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.6.0"
16
+ VERSION = "1.7.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.6.0
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - JelF
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-26 00:00:00.000000000 Z
11
+ date: 2022-10-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -253,7 +253,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
253
253
  requirements:
254
254
  - - ">="
255
255
  - !ruby/object:Gem::Version
256
- version: 2.5.0
256
+ version: 2.7.0
257
257
  required_rubygems_version: !ruby/object:Gem::Requirement
258
258
  requirements:
259
259
  - - ">="