memolog 0.3.4 → 0.3.5

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: 4c73ff6eb1b46572a24b11def4c3b3a8a19c68562cec12d3c71331c0429f449a
4
- data.tar.gz: 92a591f3707ad982c923c86392c9b3204ab8348a27a006320f91ea27ca9122aa
3
+ metadata.gz: 9dce059f72625002e6b813ad70cf427c5a3a59fb00cc614b6c9f80c8424bae8f
4
+ data.tar.gz: 9e2fb92f533500da3d192c417b63578bfaa1984e76718e501393143e786796e5
5
5
  SHA512:
6
- metadata.gz: 542f4e56cd23a025151c4b4d0f5ba4c9ffb2b002fb9e87c35170bea903c4d82f722501f5b4a6954af06638ea74795609491b5709511476a49d82ad4011d3918c
7
- data.tar.gz: 681b07990f0f8e74ebed98ea43d54bbabb228ea636c140bc56aa8f9f06c75b0340bff019a2367a44c9d971b26b01b6a9957a4dcb7d78540dd1b166d5d68bbec1
6
+ metadata.gz: 6d3dd9ff1c59a672936711f746fafb06921558108c3973ba174a8d3b08feb5ad239120d3422cf9a1fb53ff9621c6b10e82489b8da055774674821cef0e33eaaf
7
+ data.tar.gz: 60a56a7a9bd93b7fb06383230b3874a41806cf422197675a148b31410b67265733fc89673613990e7e5adc279d9f5a0ac8ac134e8e2284b07503471ec7eb1e73
@@ -24,7 +24,7 @@ jobs:
24
24
 
25
25
  strategy:
26
26
  matrix:
27
- ruby: [2.5, 2.6, 2.7, 3.0]
27
+ ruby: [2.7, 3.0]
28
28
 
29
29
  steps:
30
30
  - uses: actions/checkout@v2
data/Gemfile.lock CHANGED
@@ -1,206 +1,223 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- memolog (0.3.4)
4
+ memolog (0.3.5)
5
5
  logger (~> 1.4.3)
6
6
  securerandom (~> 0.1.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actioncable (6.1.4.1)
12
- actionpack (= 6.1.4.1)
13
- activesupport (= 6.1.4.1)
11
+ actioncable (7.0.1)
12
+ actionpack (= 7.0.1)
13
+ activesupport (= 7.0.1)
14
14
  nio4r (~> 2.0)
15
15
  websocket-driver (>= 0.6.1)
16
- actionmailbox (6.1.4.1)
17
- actionpack (= 6.1.4.1)
18
- activejob (= 6.1.4.1)
19
- activerecord (= 6.1.4.1)
20
- activestorage (= 6.1.4.1)
21
- activesupport (= 6.1.4.1)
16
+ actionmailbox (7.0.1)
17
+ actionpack (= 7.0.1)
18
+ activejob (= 7.0.1)
19
+ activerecord (= 7.0.1)
20
+ activestorage (= 7.0.1)
21
+ activesupport (= 7.0.1)
22
22
  mail (>= 2.7.1)
23
- actionmailer (6.1.4.1)
24
- actionpack (= 6.1.4.1)
25
- actionview (= 6.1.4.1)
26
- activejob (= 6.1.4.1)
27
- activesupport (= 6.1.4.1)
23
+ net-imap
24
+ net-pop
25
+ net-smtp
26
+ actionmailer (7.0.1)
27
+ actionpack (= 7.0.1)
28
+ actionview (= 7.0.1)
29
+ activejob (= 7.0.1)
30
+ activesupport (= 7.0.1)
28
31
  mail (~> 2.5, >= 2.5.4)
32
+ net-imap
33
+ net-pop
34
+ net-smtp
29
35
  rails-dom-testing (~> 2.0)
30
- actionpack (6.1.4.1)
31
- actionview (= 6.1.4.1)
32
- activesupport (= 6.1.4.1)
33
- rack (~> 2.0, >= 2.0.9)
36
+ actionpack (7.0.1)
37
+ actionview (= 7.0.1)
38
+ activesupport (= 7.0.1)
39
+ rack (~> 2.0, >= 2.2.0)
34
40
  rack-test (>= 0.6.3)
35
41
  rails-dom-testing (~> 2.0)
36
42
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
37
- actiontext (6.1.4.1)
38
- actionpack (= 6.1.4.1)
39
- activerecord (= 6.1.4.1)
40
- activestorage (= 6.1.4.1)
41
- activesupport (= 6.1.4.1)
43
+ actiontext (7.0.1)
44
+ actionpack (= 7.0.1)
45
+ activerecord (= 7.0.1)
46
+ activestorage (= 7.0.1)
47
+ activesupport (= 7.0.1)
48
+ globalid (>= 0.6.0)
42
49
  nokogiri (>= 1.8.5)
43
- actionview (6.1.4.1)
44
- activesupport (= 6.1.4.1)
50
+ actionview (7.0.1)
51
+ activesupport (= 7.0.1)
45
52
  builder (~> 3.1)
46
53
  erubi (~> 1.4)
47
54
  rails-dom-testing (~> 2.0)
48
55
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
49
- activejob (6.1.4.1)
50
- activesupport (= 6.1.4.1)
56
+ activejob (7.0.1)
57
+ activesupport (= 7.0.1)
51
58
  globalid (>= 0.3.6)
52
- activemodel (6.1.4.1)
53
- activesupport (= 6.1.4.1)
54
- activerecord (6.1.4.1)
55
- activemodel (= 6.1.4.1)
56
- activesupport (= 6.1.4.1)
57
- activestorage (6.1.4.1)
58
- actionpack (= 6.1.4.1)
59
- activejob (= 6.1.4.1)
60
- activerecord (= 6.1.4.1)
61
- activesupport (= 6.1.4.1)
62
- marcel (~> 1.0.0)
59
+ activemodel (7.0.1)
60
+ activesupport (= 7.0.1)
61
+ activerecord (7.0.1)
62
+ activemodel (= 7.0.1)
63
+ activesupport (= 7.0.1)
64
+ activestorage (7.0.1)
65
+ actionpack (= 7.0.1)
66
+ activejob (= 7.0.1)
67
+ activerecord (= 7.0.1)
68
+ activesupport (= 7.0.1)
69
+ marcel (~> 1.0)
63
70
  mini_mime (>= 1.1.0)
64
- activesupport (6.1.4.1)
71
+ activesupport (7.0.1)
65
72
  concurrent-ruby (~> 1.0, >= 1.0.2)
66
73
  i18n (>= 1.6, < 2)
67
74
  minitest (>= 5.1)
68
75
  tzinfo (~> 2.0)
69
- zeitwerk (~> 2.3)
70
76
  ast (2.4.2)
71
77
  builder (3.2.4)
72
78
  coderay (1.1.3)
73
79
  concurrent-ruby (1.1.9)
74
80
  connection_pool (2.2.5)
75
81
  crass (1.0.6)
76
- diff-lcs (1.4.4)
82
+ diff-lcs (1.5.0)
83
+ digest (3.1.0)
77
84
  erubi (1.10.0)
78
- globalid (0.5.2)
85
+ globalid (1.0.0)
79
86
  activesupport (>= 5.0)
80
- i18n (1.8.10)
87
+ i18n (1.9.1)
81
88
  concurrent-ruby (~> 1.0)
89
+ io-wait (0.2.1)
82
90
  logger (1.4.4)
83
- loofah (2.12.0)
91
+ loofah (2.13.0)
84
92
  crass (~> 1.0.2)
85
93
  nokogiri (>= 1.5.9)
86
94
  mail (2.7.1)
87
95
  mini_mime (>= 0.1.1)
88
96
  marcel (1.0.2)
89
97
  method_source (1.0.0)
90
- mini_mime (1.1.1)
91
- minitest (5.14.4)
98
+ mini_mime (1.1.2)
99
+ minitest (5.15.0)
100
+ net-imap (0.2.3)
101
+ digest
102
+ net-protocol
103
+ strscan
104
+ net-pop (0.1.1)
105
+ digest
106
+ net-protocol
107
+ timeout
108
+ net-protocol (0.1.2)
109
+ io-wait
110
+ timeout
111
+ net-smtp (0.3.1)
112
+ digest
113
+ net-protocol
114
+ timeout
92
115
  nio4r (2.5.8)
93
- nokogiri (1.12.5-x86_64-darwin)
116
+ nokogiri (1.13.1-x86_64-darwin)
94
117
  racc (~> 1.4)
95
- nokogiri (1.12.5-x86_64-linux)
118
+ nokogiri (1.13.1-x86_64-linux)
96
119
  racc (~> 1.4)
97
120
  parallel (1.21.0)
98
- parser (3.0.2.0)
121
+ parser (3.1.0.0)
99
122
  ast (~> 2.4.1)
100
123
  pry (0.14.1)
101
124
  coderay (~> 1.1)
102
125
  method_source (~> 1.0)
103
- racc (1.5.2)
126
+ racc (1.6.0)
104
127
  rack (2.2.3)
105
128
  rack-test (1.1.0)
106
129
  rack (>= 1.0, < 3)
107
- rails (6.1.4.1)
108
- actioncable (= 6.1.4.1)
109
- actionmailbox (= 6.1.4.1)
110
- actionmailer (= 6.1.4.1)
111
- actionpack (= 6.1.4.1)
112
- actiontext (= 6.1.4.1)
113
- actionview (= 6.1.4.1)
114
- activejob (= 6.1.4.1)
115
- activemodel (= 6.1.4.1)
116
- activerecord (= 6.1.4.1)
117
- activestorage (= 6.1.4.1)
118
- activesupport (= 6.1.4.1)
130
+ rails (7.0.1)
131
+ actioncable (= 7.0.1)
132
+ actionmailbox (= 7.0.1)
133
+ actionmailer (= 7.0.1)
134
+ actionpack (= 7.0.1)
135
+ actiontext (= 7.0.1)
136
+ actionview (= 7.0.1)
137
+ activejob (= 7.0.1)
138
+ activemodel (= 7.0.1)
139
+ activerecord (= 7.0.1)
140
+ activestorage (= 7.0.1)
141
+ activesupport (= 7.0.1)
119
142
  bundler (>= 1.15.0)
120
- railties (= 6.1.4.1)
121
- sprockets-rails (>= 2.0.0)
143
+ railties (= 7.0.1)
122
144
  rails-dom-testing (2.0.3)
123
145
  activesupport (>= 4.2.0)
124
146
  nokogiri (>= 1.6)
125
147
  rails-html-sanitizer (1.4.2)
126
148
  loofah (~> 2.3)
127
- railties (6.1.4.1)
128
- actionpack (= 6.1.4.1)
129
- activesupport (= 6.1.4.1)
149
+ railties (7.0.1)
150
+ actionpack (= 7.0.1)
151
+ activesupport (= 7.0.1)
130
152
  method_source
131
- rake (>= 0.13)
153
+ rake (>= 12.2)
132
154
  thor (~> 1.0)
133
- rainbow (3.0.0)
155
+ zeitwerk (~> 2.5)
156
+ rainbow (3.1.1)
134
157
  rake (13.0.6)
135
- redis (4.4.0)
136
- regexp_parser (2.1.1)
158
+ redis (4.5.1)
159
+ regexp_parser (2.2.0)
137
160
  rexml (3.2.5)
138
161
  rspec (3.10.0)
139
162
  rspec-core (~> 3.10.0)
140
163
  rspec-expectations (~> 3.10.0)
141
164
  rspec-mocks (~> 3.10.0)
142
- rspec-core (3.10.1)
165
+ rspec-core (3.10.2)
143
166
  rspec-support (~> 3.10.0)
144
- rspec-expectations (3.10.1)
167
+ rspec-expectations (3.10.2)
145
168
  diff-lcs (>= 1.2.0, < 2.0)
146
169
  rspec-support (~> 3.10.0)
147
170
  rspec-mocks (3.10.2)
148
171
  diff-lcs (>= 1.2.0, < 2.0)
149
172
  rspec-support (~> 3.10.0)
150
- rspec-support (3.10.2)
151
- rubocop (1.17.0)
173
+ rspec-support (3.10.3)
174
+ rubocop (1.25.0)
152
175
  parallel (~> 1.10)
153
- parser (>= 3.0.0.0)
176
+ parser (>= 3.1.0.0)
154
177
  rainbow (>= 2.2.2, < 4.0)
155
178
  regexp_parser (>= 1.8, < 3.0)
156
179
  rexml
157
- rubocop-ast (>= 1.7.0, < 2.0)
180
+ rubocop-ast (>= 1.15.1, < 2.0)
158
181
  ruby-progressbar (~> 1.7)
159
182
  unicode-display_width (>= 1.4.0, < 3.0)
160
- rubocop-ast (1.12.0)
183
+ rubocop-ast (1.15.1)
161
184
  parser (>= 3.0.1.1)
162
- rubocop-config-umbrellio (1.17.0.53)
163
- rubocop (= 1.17.0)
164
- rubocop-performance (= 1.10.0)
165
- rubocop-rails (= 2.9.1)
166
- rubocop-rake (= 0.5.1)
167
- rubocop-rspec (= 2.2.0)
168
- rubocop-sequel (= 0.2.0)
169
- rubocop-performance (1.10.0)
170
- rubocop (>= 0.90.0, < 2.0)
185
+ rubocop-config-umbrellio (1.25.0.61)
186
+ rubocop (~> 1.25.0)
187
+ rubocop-performance (~> 1.13.0)
188
+ rubocop-rails (~> 2.13.0)
189
+ rubocop-rake (~> 0.6.0)
190
+ rubocop-rspec (~> 2.7.0)
191
+ rubocop-sequel (~> 0.3.3)
192
+ rubocop-performance (1.13.2)
193
+ rubocop (>= 1.7.0, < 2.0)
171
194
  rubocop-ast (>= 0.4.0)
172
- rubocop-rails (2.9.1)
195
+ rubocop-rails (2.13.2)
173
196
  activesupport (>= 4.2.0)
174
197
  rack (>= 1.1)
175
- rubocop (>= 0.90.0, < 2.0)
176
- rubocop-rake (0.5.1)
177
- rubocop
178
- rubocop-rspec (2.2.0)
198
+ rubocop (>= 1.7.0, < 2.0)
199
+ rubocop-rake (0.6.0)
179
200
  rubocop (~> 1.0)
180
- rubocop-ast (>= 1.1.0)
181
- rubocop-sequel (0.2.0)
201
+ rubocop-rspec (2.7.0)
202
+ rubocop (~> 1.19)
203
+ rubocop-sequel (0.3.3)
182
204
  rubocop (~> 1.0)
183
205
  ruby-progressbar (1.11.0)
184
206
  securerandom (0.1.1)
185
- sidekiq (6.2.2)
207
+ sidekiq (6.4.0)
186
208
  connection_pool (>= 2.2.2)
187
209
  rack (~> 2.0)
188
210
  redis (>= 4.2.0)
189
- sprockets (4.0.2)
190
- concurrent-ruby (~> 1.0)
191
- rack (> 1, < 3)
192
- sprockets-rails (3.2.2)
193
- actionpack (>= 4.0)
194
- activesupport (>= 4.0)
195
- sprockets (>= 3.0.0)
196
- thor (1.1.0)
211
+ strscan (3.0.1)
212
+ thor (1.2.1)
213
+ timeout (0.2.0)
197
214
  tzinfo (2.0.4)
198
215
  concurrent-ruby (~> 1.0)
199
216
  unicode-display_width (2.1.0)
200
217
  websocket-driver (0.7.5)
201
218
  websocket-extensions (>= 0.1.0)
202
219
  websocket-extensions (0.1.5)
203
- zeitwerk (2.4.2)
220
+ zeitwerk (2.5.4)
204
221
 
205
222
  PLATFORMS
206
223
  x86_64-darwin-20
data/lib/memolog/init.rb CHANGED
@@ -10,15 +10,15 @@ module Memolog::Init
10
10
 
11
11
  def init_rails_middleware!
12
12
  return unless Memolog.config.middlewares.include?(:rails)
13
- return unless Object.const_defined?("Rails")
14
- return if Object.const_defined?("Sidekiq") && Sidekiq.server?
13
+ return unless Object.const_defined?(:Rails)
14
+ return if Object.const_defined?(:Sidekiq) && Sidekiq.server?
15
15
 
16
16
  Rails.application.middleware.insert_before(0, Memolog::RailsMiddleware)
17
17
  end
18
18
 
19
19
  def init_sidekiq_middleware!
20
20
  return unless Memolog.config.middlewares.include?(:sidekiq)
21
- return unless Object.const_defined?("Sidekiq")
21
+ return unless Object.const_defined?(:Sidekiq)
22
22
 
23
23
  Sidekiq.configure_server do |config|
24
24
  config.server_middleware do |chain|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Memolog
4
- VERSION = "0.3.4"
4
+ VERSION = "0.3.5"
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.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stepan Kirushkin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-24 00:00:00.000000000 Z
11
+ date: 2022-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logger