heavylog 0.0.14 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.editorconfig +14 -0
- data/.github/workflows/test.yml +36 -0
- data/.gitignore +1 -0
- data/.rubocop.yml +19 -17
- data/Gemfile.lock +115 -62
- data/heavylog.gemspec +6 -2
- data/lib/heavylog.rb +2 -0
- data/lib/heavylog/railtie.rb +3 -0
- data/lib/heavylog/sidekiq_logger.rb +13 -57
- data/lib/heavylog/version.rb +1 -1
- metadata +63 -6
- data/.travis.yml +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 817f124071c11b74c359b8ce78ec24cc8778bfab7c3d3ee79da64847e30f1f66
|
4
|
+
data.tar.gz: 80ecb337b3e34dc5a50419f31d3a9bb20fdddbe7da23ffefc52b9b2197eee757
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54e8d27f4dd9c4e69bd4e2a8103a085e246f0e9067bdd056c328efd5edf73d6c9158626bd68245bc7ace3bedfe58ef6a8c821de034d3737d0670231f2cbf47e1
|
7
|
+
data.tar.gz: ade91b07e69e29c288b5cda82b3dd00717248099bbf7da75e9f375e08732d53a506f9345f2565ea349853eff66a1c1de65219160c70949fba532e6a49323d463
|
data/.editorconfig
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
# This file is for unifying the coding style for different editors and IDEs
|
2
|
+
# editorconfig.org
|
3
|
+
|
4
|
+
root = true
|
5
|
+
|
6
|
+
[*]
|
7
|
+
charset = utf-8
|
8
|
+
trim_trailing_whitespace = false
|
9
|
+
insert_final_newline = true
|
10
|
+
indent_style = space
|
11
|
+
indent_size = 2
|
12
|
+
|
13
|
+
[*.md]
|
14
|
+
trim_trailing_whitespace = true
|
@@ -0,0 +1,36 @@
|
|
1
|
+
name: Test
|
2
|
+
|
3
|
+
on: [push, pull_request]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
test:
|
7
|
+
name: Build
|
8
|
+
runs-on: ubuntu-latest
|
9
|
+
|
10
|
+
steps:
|
11
|
+
- uses: actions/checkout@v1
|
12
|
+
- name: Set up Ruby
|
13
|
+
uses: actions/setup-ruby@v1
|
14
|
+
with:
|
15
|
+
ruby-version: 3.0.0
|
16
|
+
|
17
|
+
- uses: actions/cache@v1
|
18
|
+
with:
|
19
|
+
path: vendor/bundle
|
20
|
+
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
|
21
|
+
restore-keys: |
|
22
|
+
${{ runner.os }}-gem-
|
23
|
+
|
24
|
+
- name: Install dependencies
|
25
|
+
run: |
|
26
|
+
gem install bundler
|
27
|
+
bundle config path vendor/bundle
|
28
|
+
bundle install --jobs 4 --retry 3
|
29
|
+
|
30
|
+
- name: Run tests
|
31
|
+
uses: paambaati/codeclimate-action@v2.4.0
|
32
|
+
env:
|
33
|
+
CI: true
|
34
|
+
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
35
|
+
with:
|
36
|
+
coverageCommand: bundle exec rspec
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -2,46 +2,42 @@ require:
|
|
2
2
|
- rubocop-performance
|
3
3
|
|
4
4
|
AllCops:
|
5
|
-
TargetRubyVersion:
|
5
|
+
TargetRubyVersion: 3.0
|
6
6
|
|
7
7
|
# # Commonly used screens these days easily fit more than 80 characters.
|
8
|
-
|
8
|
+
Layout/LineLength:
|
9
9
|
Max: 120
|
10
10
|
|
11
11
|
# Too short methods lead to extraction of single-use methods, which can make
|
12
12
|
# the code easier to read (by naming things), but can also clutter the class
|
13
13
|
Metrics/MethodLength:
|
14
|
-
|
14
|
+
Enabled: false
|
15
15
|
|
16
16
|
# The guiding principle of classes is SRP, SRP can't be accurately measured by LoC
|
17
17
|
Metrics/ClassLength:
|
18
|
-
|
18
|
+
Enabled: false
|
19
19
|
|
20
20
|
Metrics/AbcSize:
|
21
|
-
|
21
|
+
Enabled: false
|
22
22
|
|
23
23
|
Metrics/CyclomaticComplexity:
|
24
|
-
|
24
|
+
Enabled: false
|
25
25
|
|
26
26
|
Metrics/PerceivedComplexity:
|
27
|
-
|
27
|
+
Enabled: false
|
28
28
|
|
29
29
|
Metrics/ParameterLists:
|
30
|
-
|
30
|
+
Enabled: false
|
31
31
|
|
32
32
|
Metrics/ModuleLength:
|
33
|
-
|
33
|
+
Enabled: false
|
34
34
|
|
35
35
|
Metrics/BlockLength:
|
36
|
-
|
37
|
-
Exclude:
|
38
|
-
- 'spec/**/*'
|
36
|
+
Enabled: false
|
39
37
|
|
40
38
|
# Mixing the styles looks just silly.
|
41
39
|
Style/HashSyntax:
|
42
40
|
EnforcedStyle: ruby19_no_mixed_keys
|
43
|
-
Exclude:
|
44
|
-
- 'config/routes.rb'
|
45
41
|
|
46
42
|
# Single quotes being faster is hardly measurable and only affects parse time.
|
47
43
|
# Enforcing double quotes reduces the times where you need to change them
|
@@ -103,8 +99,11 @@ Style/ClassAndModuleChildren:
|
|
103
99
|
Style/DoubleNegation:
|
104
100
|
Enabled: false
|
105
101
|
|
102
|
+
Style/AsciiComments:
|
103
|
+
Enabled: false
|
104
|
+
|
106
105
|
# Most readable form.
|
107
|
-
Layout/
|
106
|
+
Layout/HashAlignment:
|
108
107
|
EnforcedHashRocketStyle: table
|
109
108
|
EnforcedColonStyle: table
|
110
109
|
|
@@ -125,14 +124,14 @@ Layout/MultilineMethodCallIndentation:
|
|
125
124
|
# Suppressing exceptions can be perfectly fine, and be it to avoid to
|
126
125
|
# explicitly type nil into the rescue since that's what you want to return,
|
127
126
|
# or suppressing LoadError for optional dependencies
|
128
|
-
Lint/
|
127
|
+
Lint/SuppressedException:
|
129
128
|
Enabled: false
|
130
129
|
|
131
130
|
# This is just silly. Calling the argument `other` in all cases makes no sense.
|
132
131
|
Naming/BinaryOperatorParameterName:
|
133
132
|
Enabled: false
|
134
133
|
|
135
|
-
Naming/
|
134
|
+
Naming/MethodParameterName:
|
136
135
|
AllowedNames:
|
137
136
|
- io
|
138
137
|
- id
|
@@ -148,3 +147,6 @@ Naming/UncommunicativeMethodParamName:
|
|
148
147
|
|
149
148
|
Bundler/OrderedGems:
|
150
149
|
Enabled: false
|
150
|
+
|
151
|
+
Gemspec/OrderedDependencies:
|
152
|
+
Enabled: false
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
heavylog (0.0.
|
4
|
+
heavylog (0.0.19)
|
5
5
|
actionpack (>= 5)
|
6
6
|
activesupport (>= 5)
|
7
7
|
railties (>= 5)
|
@@ -10,88 +10,137 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
actionpack (
|
14
|
-
actionview (=
|
15
|
-
activesupport (=
|
16
|
-
rack (~> 2.0)
|
13
|
+
actionpack (6.1.3.1)
|
14
|
+
actionview (= 6.1.3.1)
|
15
|
+
activesupport (= 6.1.3.1)
|
16
|
+
rack (~> 2.0, >= 2.0.9)
|
17
17
|
rack-test (>= 0.6.3)
|
18
18
|
rails-dom-testing (~> 2.0)
|
19
|
-
rails-html-sanitizer (~> 1.0, >= 1.0
|
20
|
-
actionview (
|
21
|
-
activesupport (=
|
19
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
20
|
+
actionview (6.1.3.1)
|
21
|
+
activesupport (= 6.1.3.1)
|
22
22
|
builder (~> 3.1)
|
23
23
|
erubi (~> 1.4)
|
24
24
|
rails-dom-testing (~> 2.0)
|
25
|
-
rails-html-sanitizer (~> 1.
|
26
|
-
activesupport (
|
25
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
26
|
+
activesupport (6.1.3.1)
|
27
27
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
28
|
-
i18n (>=
|
29
|
-
minitest (
|
30
|
-
tzinfo (~>
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
28
|
+
i18n (>= 1.6, < 2)
|
29
|
+
minitest (>= 5.1)
|
30
|
+
tzinfo (~> 2.0)
|
31
|
+
zeitwerk (~> 2.3)
|
32
|
+
ast (2.4.2)
|
33
|
+
backport (1.1.2)
|
34
|
+
benchmark (0.1.1)
|
35
|
+
builder (3.2.4)
|
36
|
+
concurrent-ruby (1.1.8)
|
37
|
+
connection_pool (2.2.3)
|
38
|
+
crass (1.0.6)
|
39
|
+
diff-lcs (1.4.4)
|
40
|
+
docile (1.3.5)
|
41
|
+
e2mmap (0.1.0)
|
42
|
+
erubi (1.10.0)
|
43
|
+
i18n (1.8.10)
|
38
44
|
concurrent-ruby (~> 1.0)
|
39
|
-
jaro_winkler (1.5.
|
40
|
-
|
45
|
+
jaro_winkler (1.5.4)
|
46
|
+
json (2.5.1)
|
47
|
+
kramdown (2.3.1)
|
48
|
+
rexml
|
49
|
+
kramdown-parser-gfm (1.1.0)
|
50
|
+
kramdown (~> 2.0)
|
51
|
+
loofah (2.9.1)
|
41
52
|
crass (~> 1.0.2)
|
42
53
|
nokogiri (>= 1.5.9)
|
43
|
-
method_source (0.
|
44
|
-
mini_portile2 (2.
|
45
|
-
minitest (5.
|
46
|
-
nokogiri (1.
|
47
|
-
mini_portile2 (~> 2.
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
54
|
+
method_source (1.0.0)
|
55
|
+
mini_portile2 (2.5.0)
|
56
|
+
minitest (5.14.4)
|
57
|
+
nokogiri (1.11.2)
|
58
|
+
mini_portile2 (~> 2.5.0)
|
59
|
+
racc (~> 1.4)
|
60
|
+
parallel (1.20.1)
|
61
|
+
parser (3.0.0.0)
|
62
|
+
ast (~> 2.4.1)
|
63
|
+
racc (1.5.2)
|
64
|
+
rack (2.2.3)
|
52
65
|
rack-test (1.1.0)
|
53
66
|
rack (>= 1.0, < 3)
|
54
67
|
rails-dom-testing (2.0.3)
|
55
68
|
activesupport (>= 4.2.0)
|
56
69
|
nokogiri (>= 1.6)
|
57
|
-
rails-html-sanitizer (1.
|
58
|
-
loofah (~> 2.
|
59
|
-
railties (
|
60
|
-
actionpack (=
|
61
|
-
activesupport (=
|
70
|
+
rails-html-sanitizer (1.3.0)
|
71
|
+
loofah (~> 2.3)
|
72
|
+
railties (6.1.3.1)
|
73
|
+
actionpack (= 6.1.3.1)
|
74
|
+
activesupport (= 6.1.3.1)
|
62
75
|
method_source
|
63
76
|
rake (>= 0.8.7)
|
64
|
-
thor (
|
77
|
+
thor (~> 1.0)
|
65
78
|
rainbow (3.0.0)
|
66
|
-
rake (
|
67
|
-
|
79
|
+
rake (13.0.3)
|
80
|
+
redis (4.2.5)
|
81
|
+
regexp_parser (2.1.1)
|
82
|
+
request_store (1.5.0)
|
68
83
|
rack (>= 1.4)
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
rspec-
|
75
|
-
|
84
|
+
reverse_markdown (2.0.0)
|
85
|
+
nokogiri
|
86
|
+
rexml (3.2.4)
|
87
|
+
rspec (3.10.0)
|
88
|
+
rspec-core (~> 3.10.0)
|
89
|
+
rspec-expectations (~> 3.10.0)
|
90
|
+
rspec-mocks (~> 3.10.0)
|
91
|
+
rspec-core (3.10.1)
|
92
|
+
rspec-support (~> 3.10.0)
|
93
|
+
rspec-expectations (3.10.1)
|
76
94
|
diff-lcs (>= 1.2.0, < 2.0)
|
77
|
-
rspec-support (~> 3.
|
78
|
-
rspec-mocks (3.
|
95
|
+
rspec-support (~> 3.10.0)
|
96
|
+
rspec-mocks (3.10.2)
|
79
97
|
diff-lcs (>= 1.2.0, < 2.0)
|
80
|
-
rspec-support (~> 3.
|
81
|
-
rspec-support (3.
|
82
|
-
rubocop (0.
|
83
|
-
jaro_winkler (~> 1.5.1)
|
98
|
+
rspec-support (~> 3.10.0)
|
99
|
+
rspec-support (3.10.2)
|
100
|
+
rubocop (0.93.1)
|
84
101
|
parallel (~> 1.10)
|
85
|
-
parser (>= 2.
|
102
|
+
parser (>= 2.7.1.5)
|
86
103
|
rainbow (>= 2.2.2, < 4.0)
|
104
|
+
regexp_parser (>= 1.8)
|
105
|
+
rexml
|
106
|
+
rubocop-ast (>= 0.6.0)
|
87
107
|
ruby-progressbar (~> 1.7)
|
88
|
-
unicode-display_width (>= 1.4.0, <
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
108
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
109
|
+
rubocop-ast (1.4.1)
|
110
|
+
parser (>= 2.7.1.5)
|
111
|
+
rubocop-performance (1.5.2)
|
112
|
+
rubocop (>= 0.71.0)
|
113
|
+
ruby-progressbar (1.11.0)
|
114
|
+
sidekiq (6.2.0)
|
115
|
+
connection_pool (>= 2.2.2)
|
116
|
+
rack (~> 2.0)
|
117
|
+
redis (>= 4.2.0)
|
118
|
+
simplecov (0.17.1)
|
119
|
+
docile (~> 1.1)
|
120
|
+
json (>= 1.8, < 3)
|
121
|
+
simplecov-html (~> 0.10.0)
|
122
|
+
simplecov-html (0.10.2)
|
123
|
+
solargraph (0.40.4)
|
124
|
+
backport (~> 1.1)
|
125
|
+
benchmark
|
126
|
+
bundler (>= 1.17.2)
|
127
|
+
e2mmap
|
128
|
+
jaro_winkler (~> 1.5)
|
129
|
+
kramdown (~> 2.3)
|
130
|
+
kramdown-parser-gfm (~> 1.1)
|
131
|
+
parser (~> 3.0)
|
132
|
+
reverse_markdown (>= 1.0.5, < 3)
|
133
|
+
rubocop (>= 0.52)
|
134
|
+
thor (~> 1.0)
|
135
|
+
tilt (~> 2.0)
|
136
|
+
yard (~> 0.9, >= 0.9.24)
|
137
|
+
thor (1.1.0)
|
138
|
+
tilt (2.0.10)
|
139
|
+
tzinfo (2.0.4)
|
140
|
+
concurrent-ruby (~> 1.0)
|
141
|
+
unicode-display_width (1.7.0)
|
142
|
+
yard (0.9.26)
|
143
|
+
zeitwerk (2.4.2)
|
95
144
|
|
96
145
|
PLATFORMS
|
97
146
|
ruby
|
@@ -99,9 +148,13 @@ PLATFORMS
|
|
99
148
|
DEPENDENCIES
|
100
149
|
bundler (~> 2.0)
|
101
150
|
heavylog!
|
102
|
-
rake (~>
|
151
|
+
rake (~> 13.0)
|
103
152
|
rspec (~> 3.0)
|
104
153
|
rubocop (~> 0.71)
|
154
|
+
rubocop-performance (~> 1.5.2)
|
155
|
+
sidekiq (>= 5.0)
|
156
|
+
simplecov (~> 0.17.1)
|
157
|
+
solargraph
|
105
158
|
|
106
159
|
BUNDLED WITH
|
107
|
-
2.
|
160
|
+
2.2.15
|
data/heavylog.gemspec
CHANGED
@@ -16,16 +16,20 @@ Gem::Specification.new do |spec|
|
|
16
16
|
spec.license = "MIT"
|
17
17
|
|
18
18
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
19
|
-
f.match(%r{^(test|spec|features)/})
|
19
|
+
f.match(%r{^(test|spec|features|.vscode)/})
|
20
20
|
end
|
21
21
|
spec.bindir = "exe"
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
23
|
spec.require_paths = ["lib"]
|
24
24
|
|
25
25
|
spec.add_development_dependency "bundler", "~> 2.0"
|
26
|
-
spec.add_development_dependency "rake", "~>
|
26
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
27
27
|
spec.add_development_dependency "rspec", "~> 3.0"
|
28
28
|
spec.add_development_dependency "rubocop", "~> 0.71"
|
29
|
+
spec.add_development_dependency "rubocop-performance", "~> 1.5.2"
|
30
|
+
spec.add_development_dependency "simplecov", "~> 0.17.1"
|
31
|
+
spec.add_development_dependency "sidekiq", ">= 5.0"
|
32
|
+
spec.add_development_dependency "solargraph"
|
29
33
|
|
30
34
|
spec.add_runtime_dependency "actionpack", ">= 5"
|
31
35
|
spec.add_runtime_dependency "activesupport", ">= 5"
|
data/lib/heavylog.rb
CHANGED
data/lib/heavylog/railtie.rb
CHANGED
@@ -7,6 +7,9 @@ module Heavylog
|
|
7
7
|
config.heavylog.path = "log/heavylog.log"
|
8
8
|
config.heavylog.message_limit = 1024 * 1024 * 50 # 50MB
|
9
9
|
config.heavylog.log_sidekiq = false
|
10
|
+
config.heavylog.error_handler = lambda { |e|
|
11
|
+
Kernel.puts "HeavyLog: Error writing to log: #{e.class}: #{e.message}\n #{e.backtrace.join("\n ")}"
|
12
|
+
}
|
10
13
|
|
11
14
|
initializer "heavylog.insert_middleware" do |app|
|
12
15
|
app.config.middleware.insert_before Rails::Rack::Logger, Heavylog::Middleware
|
@@ -1,64 +1,20 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
begin
|
16
|
-
start = ::Process.clock_gettime(::Process::CLOCK_MONOTONIC)
|
17
|
-
@logger.info("start")
|
18
|
-
|
19
|
-
yield
|
20
|
-
|
21
|
-
with_elapsed_time_context(start) do
|
22
|
-
@logger.info("done")
|
23
|
-
end
|
24
|
-
|
3
|
+
begin
|
4
|
+
require "sidekiq/job_logger"
|
5
|
+
|
6
|
+
module Heavylog
|
7
|
+
class SidekiqLogger < Sidekiq::JobLogger
|
8
|
+
def call(item, _queue)
|
9
|
+
# item = {"class"=>"SuspiciousJob", "args"=>[12754545, [3858890], "invoice"], "retry"=>true, "queue"=>"default",
|
10
|
+
# "jid"=>"5ec968571e358497d70a3cf2", "created_at"=>1540484817.3950138, "enqueued_at"=>1540484817.395076}
|
11
|
+
|
12
|
+
Heavylog.log_sidekiq(item["jid"], item["class"], item["args"])
|
13
|
+
super
|
14
|
+
ensure
|
25
15
|
Heavylog.finish_sidekiq
|
26
|
-
rescue StandardError
|
27
|
-
with_elapsed_time_context(start) do
|
28
|
-
@logger.info("fail")
|
29
|
-
end
|
30
|
-
|
31
|
-
raise
|
32
16
|
end
|
33
17
|
end
|
34
|
-
|
35
|
-
def with_job_hash_context(job_hash, &block)
|
36
|
-
@logger.with_context(job_hash_context(job_hash), &block)
|
37
|
-
end
|
38
|
-
|
39
|
-
def job_hash_context(job_hash)
|
40
|
-
# If we're using a wrapper class, like ActiveJob, use the "wrapped"
|
41
|
-
# attribute to expose the underlying thing.
|
42
|
-
h = {
|
43
|
-
class: job_hash["wrapped"] || job_hash["class"],
|
44
|
-
jid: job_hash["jid"],
|
45
|
-
}
|
46
|
-
h[:bid] = job_hash["bid"] if job_hash["bid"]
|
47
|
-
h
|
48
|
-
end
|
49
|
-
|
50
|
-
def with_elapsed_time_context(start, &block)
|
51
|
-
@logger.with_context(elapsed_time_context(start), &block)
|
52
|
-
end
|
53
|
-
|
54
|
-
def elapsed_time_context(start)
|
55
|
-
{ elapsed: elapsed(start).to_s }
|
56
|
-
end
|
57
|
-
|
58
|
-
private
|
59
|
-
|
60
|
-
def elapsed(start)
|
61
|
-
(::Process.clock_gettime(::Process::CLOCK_MONOTONIC) - start).round(3)
|
62
|
-
end
|
63
18
|
end
|
19
|
+
rescue LoadError
|
64
20
|
end
|
data/lib/heavylog/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heavylog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kristjan Rang
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '13.0'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '13.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -66,6 +66,62 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0.71'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rubocop-performance
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 1.5.2
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.5.2
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: simplecov
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: 0.17.1
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.17.1
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: sidekiq
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '5.0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '5.0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: solargraph
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
69
125
|
- !ruby/object:Gem::Dependency
|
70
126
|
name: actionpack
|
71
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -129,10 +185,11 @@ executables: []
|
|
129
185
|
extensions: []
|
130
186
|
extra_rdoc_files: []
|
131
187
|
files:
|
188
|
+
- ".editorconfig"
|
189
|
+
- ".github/workflows/test.yml"
|
132
190
|
- ".gitignore"
|
133
191
|
- ".rspec"
|
134
192
|
- ".rubocop.yml"
|
135
|
-
- ".travis.yml"
|
136
193
|
- Gemfile
|
137
194
|
- Gemfile.lock
|
138
195
|
- LICENSE.txt
|
@@ -171,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
171
228
|
- !ruby/object:Gem::Version
|
172
229
|
version: '0'
|
173
230
|
requirements: []
|
174
|
-
rubygems_version: 3.
|
231
|
+
rubygems_version: 3.2.15
|
175
232
|
signing_key:
|
176
233
|
specification_version: 4
|
177
234
|
summary: Format all Rails logging per request
|