bellman 0.2.0 → 0.2.2
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 +4 -4
- data/.rubocop.yml +5 -5
- data/.ruby-version +1 -1
- data/Gemfile +3 -3
- data/Gemfile.lock +198 -160
- data/lib/bellman/bellman.rb +32 -18
- data/lib/bellman/version.rb +1 -1
- metadata +4 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fa2ba3b14e20fbbcfce64402c4ed554a9d5daffb05654da26c81c05d9f8aeedb
|
|
4
|
+
data.tar.gz: 105d8df28697df3c4f0524c1dd73abb0b3b68edcaa017f945abf598c368ec1ca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 55ee9b7b9d637cb9fe1b1aefbada788f8d8a8c0fce2634c52e8fa440567bb1e2c488bdeeda3fa04e47b153e4bf635915ffe760bd6b5c898664f7054a67c2a4a8
|
|
7
|
+
data.tar.gz: 66a2e4a9ccb71dc441674dd5875a79d793c932204e870b73104f3fd1779ef4629b2d5699edbc60f72a83a4a2e99137cb4c2e2e34ce9bac96406bbf52002fb124
|
data/.rubocop.yml
CHANGED
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
ruby-3.
|
|
1
|
+
ruby-3.4.8
|
data/Gemfile
CHANGED
|
@@ -7,7 +7,7 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
|
|
7
7
|
# Specify your gem's dependencies in bellman.gemspec
|
|
8
8
|
gemspec
|
|
9
9
|
|
|
10
|
-
gem 'bundler', '~> 2.
|
|
10
|
+
gem 'bundler', '~> 2.6'
|
|
11
11
|
gem 'bundler-audit', '>= 0'
|
|
12
12
|
gem 'minitest', '~> 5.0'
|
|
13
13
|
gem 'rake', '~> 13.0'
|
|
@@ -23,7 +23,7 @@ gem 'ruby_audit', '>= 0'
|
|
|
23
23
|
##
|
|
24
24
|
|
|
25
25
|
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
|
|
26
|
-
gem 'rails', '~> 8.
|
|
26
|
+
gem 'rails', '~> 8.1.2'
|
|
27
27
|
|
|
28
28
|
# The modern asset pipeline for Rails
|
|
29
29
|
# https://github.com/rails/propshaft
|
|
@@ -31,7 +31,7 @@ gem 'propshaft'
|
|
|
31
31
|
|
|
32
32
|
# Use the Puma web server
|
|
33
33
|
# [https://github.com/puma/puma]
|
|
34
|
-
gem 'puma', '~>
|
|
34
|
+
gem 'puma', '~> 7.2'
|
|
35
35
|
|
|
36
36
|
# Build JSON APIs with ease
|
|
37
37
|
# [https://github.com/rails/jbuilder]
|
data/Gemfile.lock
CHANGED
|
@@ -1,36 +1,38 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
bellman (0.2.
|
|
4
|
+
bellman (0.2.2)
|
|
5
5
|
activerecord (> 4.2.0)
|
|
6
6
|
activesupport (> 4.2.0)
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
action_text-trix (2.1.16)
|
|
12
|
+
railties
|
|
13
|
+
actioncable (8.1.2)
|
|
14
|
+
actionpack (= 8.1.2)
|
|
15
|
+
activesupport (= 8.1.2)
|
|
14
16
|
nio4r (~> 2.0)
|
|
15
17
|
websocket-driver (>= 0.6.1)
|
|
16
18
|
zeitwerk (~> 2.6)
|
|
17
|
-
actionmailbox (8.
|
|
18
|
-
actionpack (= 8.
|
|
19
|
-
activejob (= 8.
|
|
20
|
-
activerecord (= 8.
|
|
21
|
-
activestorage (= 8.
|
|
22
|
-
activesupport (= 8.
|
|
19
|
+
actionmailbox (8.1.2)
|
|
20
|
+
actionpack (= 8.1.2)
|
|
21
|
+
activejob (= 8.1.2)
|
|
22
|
+
activerecord (= 8.1.2)
|
|
23
|
+
activestorage (= 8.1.2)
|
|
24
|
+
activesupport (= 8.1.2)
|
|
23
25
|
mail (>= 2.8.0)
|
|
24
|
-
actionmailer (8.
|
|
25
|
-
actionpack (= 8.
|
|
26
|
-
actionview (= 8.
|
|
27
|
-
activejob (= 8.
|
|
28
|
-
activesupport (= 8.
|
|
26
|
+
actionmailer (8.1.2)
|
|
27
|
+
actionpack (= 8.1.2)
|
|
28
|
+
actionview (= 8.1.2)
|
|
29
|
+
activejob (= 8.1.2)
|
|
30
|
+
activesupport (= 8.1.2)
|
|
29
31
|
mail (>= 2.8.0)
|
|
30
32
|
rails-dom-testing (~> 2.2)
|
|
31
|
-
actionpack (8.
|
|
32
|
-
actionview (= 8.
|
|
33
|
-
activesupport (= 8.
|
|
33
|
+
actionpack (8.1.2)
|
|
34
|
+
actionview (= 8.1.2)
|
|
35
|
+
activesupport (= 8.1.2)
|
|
34
36
|
nokogiri (>= 1.8.5)
|
|
35
37
|
rack (>= 2.2.4)
|
|
36
38
|
rack-session (>= 1.0.1)
|
|
@@ -38,58 +40,58 @@ GEM
|
|
|
38
40
|
rails-dom-testing (~> 2.2)
|
|
39
41
|
rails-html-sanitizer (~> 1.6)
|
|
40
42
|
useragent (~> 0.16)
|
|
41
|
-
actiontext (8.
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
actiontext (8.1.2)
|
|
44
|
+
action_text-trix (~> 2.1.15)
|
|
45
|
+
actionpack (= 8.1.2)
|
|
46
|
+
activerecord (= 8.1.2)
|
|
47
|
+
activestorage (= 8.1.2)
|
|
48
|
+
activesupport (= 8.1.2)
|
|
46
49
|
globalid (>= 0.6.0)
|
|
47
50
|
nokogiri (>= 1.8.5)
|
|
48
|
-
actionview (8.
|
|
49
|
-
activesupport (= 8.
|
|
51
|
+
actionview (8.1.2)
|
|
52
|
+
activesupport (= 8.1.2)
|
|
50
53
|
builder (~> 3.1)
|
|
51
54
|
erubi (~> 1.11)
|
|
52
55
|
rails-dom-testing (~> 2.2)
|
|
53
56
|
rails-html-sanitizer (~> 1.6)
|
|
54
|
-
activejob (8.
|
|
55
|
-
activesupport (= 8.
|
|
57
|
+
activejob (8.1.2)
|
|
58
|
+
activesupport (= 8.1.2)
|
|
56
59
|
globalid (>= 0.3.6)
|
|
57
|
-
activemodel (8.
|
|
58
|
-
activesupport (= 8.
|
|
59
|
-
activerecord (8.
|
|
60
|
-
activemodel (= 8.
|
|
61
|
-
activesupport (= 8.
|
|
60
|
+
activemodel (8.1.2)
|
|
61
|
+
activesupport (= 8.1.2)
|
|
62
|
+
activerecord (8.1.2)
|
|
63
|
+
activemodel (= 8.1.2)
|
|
64
|
+
activesupport (= 8.1.2)
|
|
62
65
|
timeout (>= 0.4.0)
|
|
63
|
-
activestorage (8.
|
|
64
|
-
actionpack (= 8.
|
|
65
|
-
activejob (= 8.
|
|
66
|
-
activerecord (= 8.
|
|
67
|
-
activesupport (= 8.
|
|
66
|
+
activestorage (8.1.2)
|
|
67
|
+
actionpack (= 8.1.2)
|
|
68
|
+
activejob (= 8.1.2)
|
|
69
|
+
activerecord (= 8.1.2)
|
|
70
|
+
activesupport (= 8.1.2)
|
|
68
71
|
marcel (~> 1.0)
|
|
69
|
-
activesupport (8.
|
|
72
|
+
activesupport (8.1.2)
|
|
70
73
|
base64
|
|
71
|
-
benchmark (>= 0.3)
|
|
72
74
|
bigdecimal
|
|
73
75
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
74
76
|
connection_pool (>= 2.2.5)
|
|
75
77
|
drb
|
|
76
78
|
i18n (>= 1.6, < 2)
|
|
79
|
+
json
|
|
77
80
|
logger (>= 1.4.2)
|
|
78
81
|
minitest (>= 5.1)
|
|
79
82
|
securerandom (>= 0.3)
|
|
80
83
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
81
84
|
uri (>= 0.13.1)
|
|
82
|
-
addressable (2.8.
|
|
83
|
-
public_suffix (>= 2.0.2, <
|
|
84
|
-
ast (2.4.
|
|
85
|
-
base64 (0.
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
bootsnap (1.18.4)
|
|
85
|
+
addressable (2.8.8)
|
|
86
|
+
public_suffix (>= 2.0.2, < 8.0)
|
|
87
|
+
ast (2.4.3)
|
|
88
|
+
base64 (0.3.0)
|
|
89
|
+
bigdecimal (4.0.1)
|
|
90
|
+
bootsnap (1.21.1)
|
|
89
91
|
msgpack (~> 1.2)
|
|
90
92
|
builder (3.3.0)
|
|
91
|
-
bundler-audit (0.9.
|
|
92
|
-
bundler (>= 1.2.0
|
|
93
|
+
bundler-audit (0.9.3)
|
|
94
|
+
bundler (>= 1.2.0)
|
|
93
95
|
thor (~> 1.0)
|
|
94
96
|
capybara (3.40.0)
|
|
95
97
|
addressable
|
|
@@ -100,205 +102,241 @@ GEM
|
|
|
100
102
|
rack-test (>= 0.6.3)
|
|
101
103
|
regexp_parser (>= 1.5, < 3.0)
|
|
102
104
|
xpath (~> 3.2)
|
|
103
|
-
|
|
104
|
-
|
|
105
|
+
childprocess (4.1.0)
|
|
106
|
+
concurrent-ruby (1.3.6)
|
|
107
|
+
connection_pool (3.0.2)
|
|
105
108
|
crass (1.0.6)
|
|
106
|
-
cssbundling-rails (1.4.
|
|
109
|
+
cssbundling-rails (1.4.3)
|
|
107
110
|
railties (>= 6.0.0)
|
|
108
|
-
date (3.
|
|
109
|
-
debug (1.
|
|
111
|
+
date (3.5.1)
|
|
112
|
+
debug (1.11.1)
|
|
110
113
|
irb (~> 1.10)
|
|
111
114
|
reline (>= 0.3.8)
|
|
112
|
-
drb (2.2.
|
|
113
|
-
|
|
114
|
-
|
|
115
|
+
drb (2.2.3)
|
|
116
|
+
erb (6.0.1)
|
|
117
|
+
erubi (1.13.1)
|
|
118
|
+
globalid (1.3.0)
|
|
115
119
|
activesupport (>= 6.1)
|
|
116
|
-
i18n (1.14.
|
|
120
|
+
i18n (1.14.8)
|
|
117
121
|
concurrent-ruby (~> 1.0)
|
|
118
|
-
io-console (0.8.
|
|
119
|
-
irb (1.
|
|
122
|
+
io-console (0.8.2)
|
|
123
|
+
irb (1.16.0)
|
|
124
|
+
pp (>= 0.6.0)
|
|
120
125
|
rdoc (>= 4.0.0)
|
|
121
126
|
reline (>= 0.4.2)
|
|
122
|
-
json (2.
|
|
123
|
-
language_server-protocol (3.17.0.
|
|
124
|
-
|
|
125
|
-
|
|
127
|
+
json (2.18.0)
|
|
128
|
+
language_server-protocol (3.17.0.5)
|
|
129
|
+
lint_roller (1.1.0)
|
|
130
|
+
logger (1.7.0)
|
|
131
|
+
loofah (2.25.0)
|
|
126
132
|
crass (~> 1.0.2)
|
|
127
133
|
nokogiri (>= 1.12.0)
|
|
128
|
-
mail (2.
|
|
134
|
+
mail (2.9.0)
|
|
135
|
+
logger
|
|
129
136
|
mini_mime (>= 0.1.1)
|
|
130
137
|
net-imap
|
|
131
138
|
net-pop
|
|
132
139
|
net-smtp
|
|
133
|
-
marcel (1.0
|
|
134
|
-
matrix (0.4.
|
|
140
|
+
marcel (1.1.0)
|
|
141
|
+
matrix (0.4.3)
|
|
135
142
|
mini_mime (1.1.5)
|
|
136
|
-
minitest (5.
|
|
137
|
-
msgpack (1.
|
|
138
|
-
net-imap (0.
|
|
143
|
+
minitest (5.27.0)
|
|
144
|
+
msgpack (1.8.0)
|
|
145
|
+
net-imap (0.6.2)
|
|
139
146
|
date
|
|
140
147
|
net-protocol
|
|
141
148
|
net-pop (0.1.2)
|
|
142
149
|
net-protocol
|
|
143
150
|
net-protocol (0.2.2)
|
|
144
151
|
timeout
|
|
145
|
-
net-smtp (0.5.
|
|
152
|
+
net-smtp (0.5.1)
|
|
146
153
|
net-protocol
|
|
147
|
-
nio4r (2.7.
|
|
148
|
-
nokogiri (1.
|
|
154
|
+
nio4r (2.7.5)
|
|
155
|
+
nokogiri (1.19.0-aarch64-linux-gnu)
|
|
156
|
+
racc (~> 1.4)
|
|
157
|
+
nokogiri (1.19.0-aarch64-linux-musl)
|
|
158
|
+
racc (~> 1.4)
|
|
159
|
+
nokogiri (1.19.0-arm-linux-gnu)
|
|
160
|
+
racc (~> 1.4)
|
|
161
|
+
nokogiri (1.19.0-arm-linux-musl)
|
|
162
|
+
racc (~> 1.4)
|
|
163
|
+
nokogiri (1.19.0-arm64-darwin)
|
|
149
164
|
racc (~> 1.4)
|
|
150
|
-
nokogiri (1.
|
|
165
|
+
nokogiri (1.19.0-x86_64-darwin)
|
|
151
166
|
racc (~> 1.4)
|
|
152
|
-
|
|
153
|
-
|
|
167
|
+
nokogiri (1.19.0-x86_64-linux-gnu)
|
|
168
|
+
racc (~> 1.4)
|
|
169
|
+
nokogiri (1.19.0-x86_64-linux-musl)
|
|
170
|
+
racc (~> 1.4)
|
|
171
|
+
parallel (1.27.0)
|
|
172
|
+
parser (3.3.10.1)
|
|
154
173
|
ast (~> 2.4.1)
|
|
155
174
|
racc
|
|
156
|
-
|
|
175
|
+
pp (0.6.3)
|
|
176
|
+
prettyprint
|
|
177
|
+
prettyprint (0.2.0)
|
|
178
|
+
prism (1.8.0)
|
|
179
|
+
propshaft (1.3.1)
|
|
157
180
|
actionpack (>= 7.0.0)
|
|
158
181
|
activesupport (>= 7.0.0)
|
|
159
182
|
rack
|
|
160
|
-
|
|
161
|
-
psych (5.2.1)
|
|
183
|
+
psych (5.3.1)
|
|
162
184
|
date
|
|
163
185
|
stringio
|
|
164
|
-
public_suffix (
|
|
165
|
-
puma (
|
|
186
|
+
public_suffix (7.0.2)
|
|
187
|
+
puma (7.2.0)
|
|
166
188
|
nio4r (~> 2.0)
|
|
167
189
|
racc (1.8.1)
|
|
168
|
-
rack (3.
|
|
169
|
-
rack-session (2.
|
|
190
|
+
rack (3.2.4)
|
|
191
|
+
rack-session (2.1.1)
|
|
192
|
+
base64 (>= 0.1.0)
|
|
170
193
|
rack (>= 3.0.0)
|
|
171
|
-
rack-test (2.
|
|
194
|
+
rack-test (2.2.0)
|
|
172
195
|
rack (>= 1.3)
|
|
173
|
-
rackup (2.
|
|
196
|
+
rackup (2.3.1)
|
|
174
197
|
rack (>= 3)
|
|
175
|
-
rails (8.
|
|
176
|
-
actioncable (= 8.
|
|
177
|
-
actionmailbox (= 8.
|
|
178
|
-
actionmailer (= 8.
|
|
179
|
-
actionpack (= 8.
|
|
180
|
-
actiontext (= 8.
|
|
181
|
-
actionview (= 8.
|
|
182
|
-
activejob (= 8.
|
|
183
|
-
activemodel (= 8.
|
|
184
|
-
activerecord (= 8.
|
|
185
|
-
activestorage (= 8.
|
|
186
|
-
activesupport (= 8.
|
|
198
|
+
rails (8.1.2)
|
|
199
|
+
actioncable (= 8.1.2)
|
|
200
|
+
actionmailbox (= 8.1.2)
|
|
201
|
+
actionmailer (= 8.1.2)
|
|
202
|
+
actionpack (= 8.1.2)
|
|
203
|
+
actiontext (= 8.1.2)
|
|
204
|
+
actionview (= 8.1.2)
|
|
205
|
+
activejob (= 8.1.2)
|
|
206
|
+
activemodel (= 8.1.2)
|
|
207
|
+
activerecord (= 8.1.2)
|
|
208
|
+
activestorage (= 8.1.2)
|
|
209
|
+
activesupport (= 8.1.2)
|
|
187
210
|
bundler (>= 1.15.0)
|
|
188
|
-
railties (= 8.
|
|
189
|
-
rails-dom-testing (2.
|
|
211
|
+
railties (= 8.1.2)
|
|
212
|
+
rails-dom-testing (2.3.0)
|
|
190
213
|
activesupport (>= 5.0.0)
|
|
191
214
|
minitest
|
|
192
215
|
nokogiri (>= 1.6)
|
|
193
|
-
rails-html-sanitizer (1.6.
|
|
216
|
+
rails-html-sanitizer (1.6.2)
|
|
194
217
|
loofah (~> 2.21)
|
|
195
218
|
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)
|
|
196
|
-
railties (8.
|
|
197
|
-
actionpack (= 8.
|
|
198
|
-
activesupport (= 8.
|
|
219
|
+
railties (8.1.2)
|
|
220
|
+
actionpack (= 8.1.2)
|
|
221
|
+
activesupport (= 8.1.2)
|
|
199
222
|
irb (~> 1.13)
|
|
200
223
|
rackup (>= 1.0.0)
|
|
201
224
|
rake (>= 12.2)
|
|
202
225
|
thor (~> 1.0, >= 1.2.2)
|
|
226
|
+
tsort (>= 0.2)
|
|
203
227
|
zeitwerk (~> 2.6)
|
|
204
228
|
rainbow (3.1.1)
|
|
205
|
-
rake (13.
|
|
206
|
-
rdoc (
|
|
229
|
+
rake (13.3.1)
|
|
230
|
+
rdoc (7.1.0)
|
|
231
|
+
erb
|
|
207
232
|
psych (>= 4.0.0)
|
|
208
|
-
|
|
233
|
+
tsort
|
|
234
|
+
redis-client (0.26.3)
|
|
209
235
|
connection_pool
|
|
210
|
-
regexp_parser (2.
|
|
211
|
-
reline (0.
|
|
236
|
+
regexp_parser (2.11.3)
|
|
237
|
+
reline (0.6.3)
|
|
212
238
|
io-console (~> 0.5)
|
|
213
|
-
rexml (3.
|
|
214
|
-
rubocop (1.
|
|
239
|
+
rexml (3.4.4)
|
|
240
|
+
rubocop (1.82.1)
|
|
215
241
|
json (~> 2.3)
|
|
216
|
-
language_server-protocol (
|
|
242
|
+
language_server-protocol (~> 3.17.0.2)
|
|
243
|
+
lint_roller (~> 1.1.0)
|
|
217
244
|
parallel (~> 1.10)
|
|
218
245
|
parser (>= 3.3.0.2)
|
|
219
246
|
rainbow (>= 2.2.2, < 4.0)
|
|
220
247
|
regexp_parser (>= 2.9.3, < 3.0)
|
|
221
|
-
rubocop-ast (>= 1.
|
|
248
|
+
rubocop-ast (>= 1.48.0, < 2.0)
|
|
222
249
|
ruby-progressbar (~> 1.7)
|
|
223
250
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
224
|
-
rubocop-ast (1.
|
|
225
|
-
parser (>= 3.3.
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
rubocop (>= 1.
|
|
231
|
-
|
|
232
|
-
|
|
251
|
+
rubocop-ast (1.49.0)
|
|
252
|
+
parser (>= 3.3.7.2)
|
|
253
|
+
prism (~> 1.7)
|
|
254
|
+
rubocop-minitest (0.38.2)
|
|
255
|
+
lint_roller (~> 1.1)
|
|
256
|
+
rubocop (>= 1.75.0, < 2.0)
|
|
257
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
|
258
|
+
rubocop-performance (1.26.1)
|
|
259
|
+
lint_roller (~> 1.1)
|
|
260
|
+
rubocop (>= 1.75.0, < 2.0)
|
|
261
|
+
rubocop-ast (>= 1.47.1, < 2.0)
|
|
262
|
+
rubocop-rails (2.34.3)
|
|
233
263
|
activesupport (>= 4.2.0)
|
|
264
|
+
lint_roller (~> 1.1)
|
|
234
265
|
rack (>= 1.1)
|
|
235
|
-
rubocop (>= 1.
|
|
236
|
-
rubocop-ast (>= 1.
|
|
237
|
-
rubocop-rake (0.
|
|
238
|
-
|
|
266
|
+
rubocop (>= 1.75.0, < 2.0)
|
|
267
|
+
rubocop-ast (>= 1.44.0, < 2.0)
|
|
268
|
+
rubocop-rake (0.7.1)
|
|
269
|
+
lint_roller (~> 1.1)
|
|
270
|
+
rubocop (>= 1.72.1)
|
|
239
271
|
ruby-progressbar (1.13.0)
|
|
240
|
-
ruby_audit (
|
|
272
|
+
ruby_audit (3.1.0)
|
|
241
273
|
bundler-audit (~> 0.9.0)
|
|
242
|
-
rubyzip (
|
|
243
|
-
securerandom (0.4.
|
|
244
|
-
selenium-webdriver (4.
|
|
274
|
+
rubyzip (3.2.2)
|
|
275
|
+
securerandom (0.4.1)
|
|
276
|
+
selenium-webdriver (4.1.0)
|
|
277
|
+
childprocess (>= 0.5, < 5.0)
|
|
245
278
|
rexml (~> 3.2, >= 3.2.5)
|
|
246
|
-
rubyzip (>= 1.2.2
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
sentry-ruby (5.22.0)
|
|
279
|
+
rubyzip (>= 1.2.2)
|
|
280
|
+
sentry-rails (6.3.0)
|
|
281
|
+
railties (>= 5.2.0)
|
|
282
|
+
sentry-ruby (~> 6.3.0)
|
|
283
|
+
sentry-ruby (6.3.0)
|
|
252
284
|
bigdecimal
|
|
253
285
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
254
|
-
sentry-sidekiq (
|
|
255
|
-
sentry-ruby (~>
|
|
256
|
-
sidekiq (>=
|
|
257
|
-
sidekiq (
|
|
258
|
-
connection_pool (>=
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
286
|
+
sentry-sidekiq (6.3.0)
|
|
287
|
+
sentry-ruby (~> 6.3.0)
|
|
288
|
+
sidekiq (>= 5.0)
|
|
289
|
+
sidekiq (8.1.0)
|
|
290
|
+
connection_pool (>= 3.0.0)
|
|
291
|
+
json (>= 2.16.0)
|
|
292
|
+
logger (>= 1.7.0)
|
|
293
|
+
rack (>= 3.2.0)
|
|
294
|
+
redis-client (>= 0.26.0)
|
|
295
|
+
stringio (3.2.0)
|
|
296
|
+
thor (1.5.0)
|
|
297
|
+
timeout (0.6.0)
|
|
298
|
+
tsort (0.2.0)
|
|
265
299
|
tzinfo (2.0.6)
|
|
266
300
|
concurrent-ruby (~> 1.0)
|
|
267
|
-
unicode-display_width (3.
|
|
268
|
-
unicode-emoji (~> 4.
|
|
269
|
-
unicode-emoji (4.0
|
|
270
|
-
uri (1.
|
|
301
|
+
unicode-display_width (3.2.0)
|
|
302
|
+
unicode-emoji (~> 4.1)
|
|
303
|
+
unicode-emoji (4.2.0)
|
|
304
|
+
uri (1.1.1)
|
|
271
305
|
useragent (0.16.11)
|
|
272
306
|
webdrivers (5.3.1)
|
|
273
307
|
nokogiri (~> 1.6)
|
|
274
308
|
rubyzip (>= 1.3.0)
|
|
275
309
|
selenium-webdriver (~> 4.0, < 4.11)
|
|
276
|
-
websocket (
|
|
277
|
-
|
|
310
|
+
websocket-driver (0.8.0)
|
|
311
|
+
base64
|
|
278
312
|
websocket-extensions (>= 0.1.0)
|
|
279
313
|
websocket-extensions (0.1.5)
|
|
280
314
|
xpath (3.2.0)
|
|
281
315
|
nokogiri (~> 1.8)
|
|
282
|
-
zeitwerk (2.7.
|
|
316
|
+
zeitwerk (2.7.4)
|
|
283
317
|
|
|
284
318
|
PLATFORMS
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
319
|
+
aarch64-linux-gnu
|
|
320
|
+
aarch64-linux-musl
|
|
321
|
+
arm-linux-gnu
|
|
322
|
+
arm-linux-musl
|
|
323
|
+
arm64-darwin
|
|
324
|
+
x86_64-darwin
|
|
325
|
+
x86_64-linux-gnu
|
|
326
|
+
x86_64-linux-musl
|
|
289
327
|
|
|
290
328
|
DEPENDENCIES
|
|
291
329
|
bellman!
|
|
292
330
|
bootsnap
|
|
293
|
-
bundler (~> 2.
|
|
331
|
+
bundler (~> 2.6)
|
|
294
332
|
bundler-audit
|
|
295
333
|
capybara
|
|
296
334
|
cssbundling-rails
|
|
297
335
|
debug
|
|
298
336
|
minitest (~> 5.0)
|
|
299
337
|
propshaft
|
|
300
|
-
puma (~>
|
|
301
|
-
rails (~> 8.
|
|
338
|
+
puma (~> 7.2)
|
|
339
|
+
rails (~> 8.1.2)
|
|
302
340
|
rake (~> 13.0)
|
|
303
341
|
rubocop (~> 1.21)
|
|
304
342
|
rubocop-minitest
|
|
@@ -315,4 +353,4 @@ DEPENDENCIES
|
|
|
315
353
|
webdrivers
|
|
316
354
|
|
|
317
355
|
BUNDLED WITH
|
|
318
|
-
2.
|
|
356
|
+
2.6.9
|
data/lib/bellman/bellman.rb
CHANGED
|
@@ -13,27 +13,41 @@
|
|
|
13
13
|
# For historical details on a bellman/town crier see:
|
|
14
14
|
# https://en.wikipedia.org/wiki/Town_crier
|
|
15
15
|
module Bellman
|
|
16
|
-
|
|
16
|
+
# Config object to emulate ActiveSupport::Configurable behavior that is
|
|
17
|
+
# deprecated in Rails 8.2
|
|
18
|
+
class Config
|
|
19
|
+
attr_accessor :severities, :default_severity, :on_unknown_severity,
|
|
20
|
+
:handlers
|
|
21
|
+
|
|
22
|
+
def initialize
|
|
23
|
+
@severities = %i[debug info warn error fatal].freeze
|
|
24
|
+
@default_severity = :error
|
|
25
|
+
@on_unknown_severity = :raise
|
|
26
|
+
@handlers = [
|
|
27
|
+
{
|
|
28
|
+
id: :log,
|
|
29
|
+
class: Bellman::Handlers::RailsLogger,
|
|
30
|
+
severities: %i[debug info warn error fatal]
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
id: :sentry,
|
|
34
|
+
class: Bellman::Handlers::Sentry,
|
|
35
|
+
severities: %i[error fatal]
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
|
|
41
|
+
def self.config
|
|
42
|
+
@config ||= Config.new
|
|
43
|
+
end
|
|
17
44
|
|
|
18
45
|
def self.configure
|
|
19
46
|
# Set the defaults
|
|
20
|
-
config
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
config
|
|
24
|
-
{
|
|
25
|
-
id: :log,
|
|
26
|
-
class: Bellman::Handlers::RailsLogger,
|
|
27
|
-
severities: %i[debug info warn error fatal]
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
id: :sentry,
|
|
31
|
-
class: Bellman::Handlers::Sentry,
|
|
32
|
-
severities: %i[error fatal]
|
|
33
|
-
}
|
|
34
|
-
]
|
|
35
|
-
|
|
36
|
-
super
|
|
47
|
+
@config = Config.new
|
|
48
|
+
|
|
49
|
+
# Yield to block if given
|
|
50
|
+
yield(config) if block_given?
|
|
37
51
|
|
|
38
52
|
# Create an instance of the handler that can be used
|
|
39
53
|
@handler = Handlers::Handler.new
|
data/lib/bellman/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bellman
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Patrick R. Schmid
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: activerecord
|
|
@@ -69,7 +68,6 @@ metadata:
|
|
|
69
68
|
source_code_uri: https://github.com/prschmid/bellman
|
|
70
69
|
changelog_uri: https://github.com/prschmid/bellman
|
|
71
70
|
rubygems_mfa_required: 'true'
|
|
72
|
-
post_install_message:
|
|
73
71
|
rdoc_options: []
|
|
74
72
|
require_paths:
|
|
75
73
|
- lib
|
|
@@ -77,15 +75,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
77
75
|
requirements:
|
|
78
76
|
- - ">="
|
|
79
77
|
- !ruby/object:Gem::Version
|
|
80
|
-
version: '3.
|
|
78
|
+
version: '3.4'
|
|
81
79
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
80
|
requirements:
|
|
83
81
|
- - ">="
|
|
84
82
|
- !ruby/object:Gem::Version
|
|
85
83
|
version: '0'
|
|
86
84
|
requirements: []
|
|
87
|
-
rubygems_version: 3.
|
|
88
|
-
signing_key:
|
|
85
|
+
rubygems_version: 3.6.9
|
|
89
86
|
specification_version: 4
|
|
90
87
|
summary: Unified way to take all of the log messages and direct them to the right
|
|
91
88
|
place.
|