loga 2.8.1 → 2.9.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 +4 -4
- data/.github/workflows/build-and-test.yml +4 -4
- data/.github/workflows/publish-gem.yml +1 -1
- data/.rubocop.yml +6 -11
- data/.rubocop_todo.yml +67 -8
- data/Appraisals +73 -24
- data/CHANGELOG.md +8 -0
- data/Gemfile +10 -8
- data/README.md +1 -1
- data/gemfiles/rails60.gemfile +10 -8
- data/gemfiles/rails61.gemfile +10 -8
- data/gemfiles/rails70.gemfile +11 -8
- data/gemfiles/rails71.gemfile +11 -8
- data/gemfiles/rails72.gemfile +38 -0
- data/gemfiles/rails80.gemfile +38 -0
- data/gemfiles/sidekiq51.gemfile +11 -8
- data/gemfiles/sidekiq60.gemfile +11 -8
- data/gemfiles/sidekiq61.gemfile +11 -8
- data/gemfiles/sidekiq62.gemfile +11 -8
- data/gemfiles/sidekiq63.gemfile +11 -8
- data/gemfiles/sidekiq64.gemfile +11 -8
- data/gemfiles/sidekiq65.gemfile +11 -8
- data/gemfiles/sidekiq70.gemfile +11 -8
- data/gemfiles/sidekiq71.gemfile +11 -8
- data/gemfiles/{sidekiq7.gemfile → sidekiq72.gemfile} +12 -9
- data/gemfiles/sidekiq73.gemfile +36 -0
- data/gemfiles/sidekiq80.gemfile +36 -0
- data/gemfiles/sinatra14.gemfile +11 -8
- data/gemfiles/sinatra2.gemfile +11 -8
- data/gemfiles/sinatra3.gemfile +11 -8
- data/gemfiles/sinatra4.gemfile +11 -8
- data/gemfiles/unit.gemfile +10 -8
- data/lib/loga/parameter_filter.rb +0 -2
- data/lib/loga/rack/request.rb +2 -2
- data/lib/loga/rack/request_id.rb +2 -2
- data/lib/loga/railtie.rb +1 -1
- data/lib/loga/sidekiq.rb +11 -0
- data/lib/loga/sidekiq8/job_logger.rb +13 -0
- data/lib/loga/tagged_logging.rb +2 -2
- data/lib/loga/version.rb +1 -1
- data/spec/fixtures/rails71.rb +1 -1
- data/spec/fixtures/rails72.rb +80 -0
- data/spec/fixtures/rails80.rb +80 -0
- data/spec/integration/sidekiq8_spec.rb +193 -0
- data/spec/integration/sinatra_spec.rb +10 -3
- data/spec/loga/sidekiq_latest/job_logger_spec.rb +138 -0
- data/spec/loga/sidekiq_spec.rb +15 -3
- data/spec/spec_helper.rb +8 -2
- data/spec/support/helpers.rb +8 -0
- data/spec/support/request_spec.rb +8 -1
- data/spec/unit/loga/formatters/gelf_formatter_spec.rb +7 -1
- data/spec/unit/loga/formatters/simple_formatter_spec.rb +20 -5
- metadata +17 -9
- data/spec/loga/sidekiq7/job_logger_spec.rb +0 -127
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e11fa37ae99b22da0660ae302429dd471c8100da3dddfe389ca6967f8e2ad00
|
4
|
+
data.tar.gz: bdb01a105b34001856b13142277ed132437e815a20c944951f5739d60a05634b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30b3faaa2bc499958f2d229a12e91e730b5917865546f0b4e2ac1c326d2ff0e854ee2bceef550ea20482fba418cb07888f9cee81a2518a7d56b73d5c43cb094d
|
7
|
+
data.tar.gz: dd5b678b54742064b8fe5e10c3ca03030db25a3daaf5d8699c6472211e7ee7d979fb6cf064be28f1be9c334e38a5142104b779bc80dc536fa800bf8136b8443e
|
@@ -3,8 +3,8 @@ run-name: Build & Test - ${{ github.ref_name }}
|
|
3
3
|
|
4
4
|
on:
|
5
5
|
push:
|
6
|
-
branches:
|
7
|
-
|
6
|
+
branches: [ master ]
|
7
|
+
pull_request:
|
8
8
|
|
9
9
|
jobs:
|
10
10
|
version-check:
|
@@ -31,7 +31,7 @@ jobs:
|
|
31
31
|
- name: Set up Ruby
|
32
32
|
uses: ruby/setup-ruby@v1
|
33
33
|
with:
|
34
|
-
ruby-version: '3.
|
34
|
+
ruby-version: '3.4'
|
35
35
|
bundler-cache: true
|
36
36
|
|
37
37
|
- name: Run RuboCop
|
@@ -51,7 +51,7 @@ jobs:
|
|
51
51
|
- 6379:6379
|
52
52
|
strategy:
|
53
53
|
matrix:
|
54
|
-
ruby-version: ['2.7', '3.0', '3.1', '3.2', '3.3', 'head']
|
54
|
+
ruby-version: ['2.7', '3.0', '3.1', '3.2', '3.3', '3.4', 'head']
|
55
55
|
steps:
|
56
56
|
- name: Check out repository code
|
57
57
|
uses: actions/checkout@v4
|
data/.rubocop.yml
CHANGED
@@ -10,9 +10,9 @@ AllCops:
|
|
10
10
|
- 'vendor/bundle/**/*'
|
11
11
|
- 'gemfiles/vendor/bundle/**/*'
|
12
12
|
|
13
|
-
|
13
|
+
plugins: rubocop-rspec
|
14
14
|
|
15
|
-
Documentation:
|
15
|
+
Style/Documentation:
|
16
16
|
Enabled: false
|
17
17
|
|
18
18
|
Layout/ExtraSpacing:
|
@@ -21,6 +21,10 @@ Layout/ExtraSpacing:
|
|
21
21
|
Layout/SpaceAroundOperators:
|
22
22
|
Enabled: false
|
23
23
|
|
24
|
+
Layout/LineLength:
|
25
|
+
Enabled: true
|
26
|
+
Max: 90
|
27
|
+
|
24
28
|
Metrics/AbcSize:
|
25
29
|
Enabled: false
|
26
30
|
|
@@ -28,10 +32,6 @@ Metrics/BlockLength:
|
|
28
32
|
Exclude:
|
29
33
|
- spec/**/*_spec.rb
|
30
34
|
|
31
|
-
Metrics/LineLength:
|
32
|
-
Enabled: true
|
33
|
-
Max: 90
|
34
|
-
|
35
35
|
Metrics/MethodLength:
|
36
36
|
Enabled: true
|
37
37
|
Max: 15
|
@@ -42,11 +42,6 @@ RSpec/DescribeClass:
|
|
42
42
|
RSpec/ExampleLength:
|
43
43
|
Enabled: false
|
44
44
|
|
45
|
-
RSpec/FilePath:
|
46
|
-
Exclude:
|
47
|
-
- spec/integration/rails/action_mailer_spec.rb
|
48
|
-
- spec/integration/rails/railtie_spec.rb
|
49
|
-
|
50
45
|
RSpec/MultipleExpectations:
|
51
46
|
Enabled: false
|
52
47
|
|
data/.rubocop_todo.yml
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
# This configuration was generated by
|
2
2
|
# `rubocop --auto-gen-config --exclude-limit 10000000`
|
3
|
-
# on
|
3
|
+
# on 2025-08-29 07:24:21 UTC using RuboCop version 1.80.1.
|
4
4
|
# The point is for the user to remove these configuration records
|
5
5
|
# one by one as the offenses are removed from the code base.
|
6
6
|
# Note that changes in the inspected code, or installation of new
|
7
7
|
# versions of RuboCop, may require this file to be generated again.
|
8
8
|
|
9
|
-
# Offense count:
|
9
|
+
# Offense count: 2
|
10
10
|
# This cop supports safe autocorrection (--autocorrect).
|
11
|
-
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation
|
12
|
-
# Include: **/*.gemfile, **/Gemfile, **/gems.rb
|
11
|
+
# Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation.
|
13
12
|
Bundler/OrderedGems:
|
14
13
|
Exclude:
|
15
14
|
- 'Gemfile'
|
@@ -36,11 +35,24 @@ Layout/HashAlignment:
|
|
36
35
|
|
37
36
|
# Offense count: 1
|
38
37
|
# This cop supports safe autocorrection (--autocorrect).
|
39
|
-
# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment.
|
38
|
+
# Configuration parameters: AllowDoxygenCommentStyle, AllowGemfileRubyComment, AllowRBSInlineAnnotation, AllowSteepAnnotation.
|
40
39
|
Layout/LeadingCommentSpace:
|
41
40
|
Exclude:
|
42
41
|
- 'lib/loga/railtie.rb'
|
43
42
|
|
43
|
+
# Offense count: 1
|
44
|
+
# This cop supports safe autocorrection (--autocorrect).
|
45
|
+
# Configuration parameters: Max, AllowHeredoc, AllowURI, AllowQualifiedName, URISchemes, IgnoreCopDirectives, AllowedPatterns, SplitStrings.
|
46
|
+
# URISchemes: http, https
|
47
|
+
Layout/LineLength:
|
48
|
+
Exclude:
|
49
|
+
- 'spec/loga/sidekiq_latest/job_logger_spec.rb'
|
50
|
+
|
51
|
+
# Offense count: 2
|
52
|
+
Lint/CopDirectiveSyntax:
|
53
|
+
Exclude:
|
54
|
+
- 'spec/unit/loga/rack/logger_spec.rb'
|
55
|
+
|
44
56
|
# Offense count: 2
|
45
57
|
# Configuration parameters: AllowComments, AllowEmptyLambdas.
|
46
58
|
Lint/EmptyBlock:
|
@@ -66,6 +78,18 @@ Lint/SendWithMixinArgument:
|
|
66
78
|
Exclude:
|
67
79
|
- 'lib/loga/railtie.rb'
|
68
80
|
|
81
|
+
# Offense count: 2
|
82
|
+
Lint/UselessConstantScoping:
|
83
|
+
Exclude:
|
84
|
+
- 'lib/loga/rack/request.rb'
|
85
|
+
|
86
|
+
# Offense count: 2
|
87
|
+
# This cop supports safe autocorrection (--autocorrect).
|
88
|
+
# Configuration parameters: CheckForMethodsWithNoSideEffects.
|
89
|
+
Lint/Void:
|
90
|
+
Exclude:
|
91
|
+
- 'lib/loga/railtie.rb'
|
92
|
+
|
69
93
|
# Offense count: 1
|
70
94
|
# Configuration parameters: AllowedMethods, AllowedPatterns.
|
71
95
|
Metrics/CyclomaticComplexity:
|
@@ -98,12 +122,27 @@ RSpec/ContextWording:
|
|
98
122
|
- 'spec/support/timecop_shared.rb'
|
99
123
|
- 'spec/unit/loga/configuration_spec.rb'
|
100
124
|
|
125
|
+
# Offense count: 1
|
126
|
+
RSpec/DescribeMethod:
|
127
|
+
Exclude:
|
128
|
+
- 'spec/loga/sidekiq_latest/job_logger_spec.rb'
|
129
|
+
|
130
|
+
# Offense count: 22
|
131
|
+
# This cop supports safe autocorrection (--autocorrect).
|
132
|
+
RSpec/IncludeExamples:
|
133
|
+
Exclude:
|
134
|
+
- 'spec/integration/rails/request_spec.rb'
|
135
|
+
- 'spec/integration/sinatra_spec.rb'
|
136
|
+
- 'spec/unit/loga/formatters/gelf_formatter_spec.rb'
|
137
|
+
- 'spec/unit/loga/parameter_filter_spec.rb'
|
138
|
+
- 'spec/unit/loga/rack/logger_spec.rb'
|
139
|
+
|
101
140
|
# Offense count: 41
|
102
141
|
# Configuration parameters: AllowSubject.
|
103
142
|
RSpec/MultipleMemoizedHelpers:
|
104
143
|
Max: 12
|
105
144
|
|
106
|
-
# Offense count:
|
145
|
+
# Offense count: 9
|
107
146
|
# Configuration parameters: AllowedPatterns.
|
108
147
|
# AllowedPatterns: ^expect_, ^assert_
|
109
148
|
RSpec/NoExpectationExample:
|
@@ -112,10 +151,10 @@ RSpec/NoExpectationExample:
|
|
112
151
|
- 'spec/integration/sidekiq61_spec.rb'
|
113
152
|
- 'spec/integration/sidekiq65_spec.rb'
|
114
153
|
- 'spec/integration/sidekiq7_spec.rb'
|
154
|
+
- 'spec/integration/sidekiq8_spec.rb'
|
115
155
|
|
116
156
|
# Offense count: 2
|
117
|
-
# Configuration parameters:
|
118
|
-
# Include: **/*_spec.rb
|
157
|
+
# Configuration parameters: CustomTransform, IgnoreMethods, IgnoreMetadata.
|
119
158
|
RSpec/SpecFilePathFormat:
|
120
159
|
Exclude:
|
121
160
|
- '**/spec/routing/**/*'
|
@@ -142,12 +181,20 @@ Style/CommentAnnotation:
|
|
142
181
|
Exclude:
|
143
182
|
- 'lib/loga/configuration.rb'
|
144
183
|
|
184
|
+
# Offense count: 2
|
185
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
186
|
+
Style/FileNull:
|
187
|
+
Exclude:
|
188
|
+
- 'lib/loga/ext/rails/rack/logger.rb'
|
189
|
+
- 'spec/unit/loga/rack/logger_spec.rb'
|
190
|
+
|
145
191
|
# Offense count: 25
|
146
192
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
147
193
|
# Configuration parameters: EnforcedStyle.
|
148
194
|
# SupportedStyles: always, always_true, never
|
149
195
|
Style/FrozenStringLiteralComment:
|
150
196
|
Exclude:
|
197
|
+
- '**/*.arb'
|
151
198
|
- 'Appraisals'
|
152
199
|
- 'Gemfile'
|
153
200
|
- 'Guardfile'
|
@@ -180,6 +227,12 @@ Style/GlobalStdStream:
|
|
180
227
|
Exclude:
|
181
228
|
- 'lib/loga/configuration.rb'
|
182
229
|
|
230
|
+
# Offense count: 1
|
231
|
+
# This cop supports unsafe autocorrection (--autocorrect-all).
|
232
|
+
Style/HashSlice:
|
233
|
+
Exclude:
|
234
|
+
- 'lib/loga/sidekiq7/job_logger.rb'
|
235
|
+
|
183
236
|
# Offense count: 1
|
184
237
|
# This cop supports unsafe autocorrection (--autocorrect-all).
|
185
238
|
# Configuration parameters: EnforcedStyle.
|
@@ -204,3 +257,9 @@ Style/RedundantFileExtensionInRequire:
|
|
204
257
|
Style/RedundantFreeze:
|
205
258
|
Exclude:
|
206
259
|
- 'lib/loga/sidekiq7/job_logger.rb'
|
260
|
+
|
261
|
+
# Offense count: 1
|
262
|
+
# This cop supports safe autocorrection (--autocorrect).
|
263
|
+
Style/RedundantRegexpEscape:
|
264
|
+
Exclude:
|
265
|
+
- 'lib/loga/rack/request_id.rb'
|
data/Appraisals
CHANGED
@@ -1,88 +1,137 @@
|
|
1
1
|
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('3.0.0')
|
2
2
|
appraise 'rails52' do
|
3
|
+
gem 'concurrent-ruby', '1.3.4'
|
3
4
|
gem 'rails', '~> 5.2.0'
|
4
5
|
end
|
5
6
|
end
|
6
7
|
|
7
8
|
appraise 'sinatra14' do
|
9
|
+
gem 'concurrent-ruby', '1.3.4'
|
8
10
|
gem 'sinatra', '~> 1.4.0'
|
9
11
|
end
|
10
12
|
|
11
13
|
appraise 'sinatra2' do
|
14
|
+
gem 'concurrent-ruby', '1.3.4'
|
12
15
|
gem 'sinatra', '~> 2.2.4'
|
13
16
|
end
|
14
17
|
|
15
18
|
appraise 'sinatra3' do
|
19
|
+
gem 'concurrent-ruby', '1.3.4'
|
16
20
|
gem 'sinatra', '~> 3.2.0'
|
17
21
|
end
|
18
22
|
|
19
23
|
appraise 'sinatra4' do
|
24
|
+
gem 'concurrent-ruby', '1.3.4'
|
20
25
|
gem 'sinatra', '~> 4.0.0'
|
21
26
|
end
|
22
27
|
|
23
|
-
|
24
|
-
|
25
|
-
|
28
|
+
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('3.5.0')
|
29
|
+
appraise 'sidekiq51' do
|
30
|
+
gem 'concurrent-ruby', '1.3.4'
|
31
|
+
gem 'sidekiq', '~> 5.1.0'
|
32
|
+
end
|
26
33
|
|
27
|
-
appraise 'sidekiq60' do
|
28
|
-
|
29
|
-
|
34
|
+
appraise 'sidekiq60' do
|
35
|
+
gem 'concurrent-ruby', '1.3.4'
|
36
|
+
gem 'sidekiq', '~> 6.0.0'
|
37
|
+
end
|
30
38
|
|
31
|
-
appraise 'sidekiq61' do
|
32
|
-
|
33
|
-
|
39
|
+
appraise 'sidekiq61' do
|
40
|
+
gem 'concurrent-ruby', '1.3.4'
|
41
|
+
gem 'sidekiq', '~> 6.1.0'
|
42
|
+
end
|
34
43
|
|
35
|
-
appraise 'sidekiq62' do
|
36
|
-
|
37
|
-
|
44
|
+
appraise 'sidekiq62' do
|
45
|
+
gem 'concurrent-ruby', '1.3.4'
|
46
|
+
gem 'sidekiq', '~> 6.2.0'
|
47
|
+
end
|
38
48
|
|
39
|
-
appraise 'sidekiq63' do
|
40
|
-
|
41
|
-
|
49
|
+
appraise 'sidekiq63' do
|
50
|
+
gem 'concurrent-ruby', '1.3.4'
|
51
|
+
gem 'sidekiq', '~> 6.3.0'
|
52
|
+
end
|
42
53
|
|
43
|
-
appraise 'sidekiq64' do
|
44
|
-
|
45
|
-
|
54
|
+
appraise 'sidekiq64' do
|
55
|
+
gem 'concurrent-ruby', '1.3.4'
|
56
|
+
gem 'sidekiq', '~> 6.4.0'
|
57
|
+
end
|
46
58
|
|
47
|
-
appraise 'sidekiq65' do
|
48
|
-
|
59
|
+
appraise 'sidekiq65' do
|
60
|
+
gem 'concurrent-ruby', '1.3.4'
|
61
|
+
gem 'sidekiq', '~> 6.5.0'
|
62
|
+
end
|
49
63
|
end
|
50
64
|
|
51
65
|
appraise 'sidekiq70' do
|
66
|
+
gem 'concurrent-ruby', '1.3.4'
|
52
67
|
gem 'sidekiq', '~> 7.0.0'
|
53
68
|
end
|
54
69
|
|
55
70
|
appraise 'sidekiq71' do
|
71
|
+
gem 'concurrent-ruby', '1.3.4'
|
56
72
|
gem 'sidekiq', '~> 7.1.0'
|
57
73
|
end
|
58
74
|
|
59
|
-
appraise 'sidekiq7' do
|
60
|
-
gem 'sidekiq', '~> 7.0'
|
61
|
-
end
|
62
|
-
|
63
75
|
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('3.2.0')
|
64
76
|
appraise 'rails60' do
|
77
|
+
gem 'concurrent-ruby', '1.3.4'
|
65
78
|
gem 'rails', '~> 6.0.0'
|
66
79
|
end
|
67
80
|
|
68
81
|
appraise 'rails61' do
|
82
|
+
gem 'concurrent-ruby', '1.3.4'
|
69
83
|
gem 'rails', '~> 6.1.4.4'
|
70
84
|
end
|
71
85
|
end
|
72
86
|
|
73
87
|
if Gem::Version.new(RUBY_VERSION) > Gem::Version.new('3.0.0')
|
74
88
|
appraise 'rails70' do
|
89
|
+
gem 'concurrent-ruby', '1.3.4'
|
75
90
|
gem 'rails', '~> 7.0.0'
|
76
91
|
gem 'base64'
|
77
92
|
gem 'mutex_m'
|
78
93
|
end
|
79
94
|
|
80
95
|
appraise 'rails71' do
|
96
|
+
gem 'concurrent-ruby', '~> 1.3'
|
81
97
|
gem 'rails', '~> 7.1.0'
|
82
98
|
gem 'base64'
|
83
99
|
gem 'mutex_m'
|
84
100
|
end
|
85
101
|
end
|
86
102
|
|
103
|
+
if Gem::Version.new(RUBY_VERSION) > Gem::Version.new('3.1.0')
|
104
|
+
appraise 'rails72' do
|
105
|
+
gem 'concurrent-ruby', '~> 1.3'
|
106
|
+
gem 'rails', '~> 7.2.0'
|
107
|
+
gem 'base64'
|
108
|
+
gem 'mutex_m'
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
if Gem::Version.new(RUBY_VERSION) > Gem::Version.new('3.2.0')
|
113
|
+
appraise 'rails80' do
|
114
|
+
gem 'concurrent-ruby', '~> 1.3'
|
115
|
+
gem 'rails', '~> 8.0.0'
|
116
|
+
gem 'base64'
|
117
|
+
gem 'mutex_m'
|
118
|
+
end
|
119
|
+
|
120
|
+
appraise 'sidekiq72' do
|
121
|
+
gem 'concurrent-ruby', '1.3.4'
|
122
|
+
gem 'sidekiq', '~> 7.2.0'
|
123
|
+
end
|
124
|
+
|
125
|
+
appraise 'sidekiq73' do
|
126
|
+
gem 'concurrent-ruby', '1.3.4'
|
127
|
+
gem 'sidekiq', '~> 7.3.0'
|
128
|
+
end
|
129
|
+
|
130
|
+
appraise 'sidekiq80' do
|
131
|
+
gem 'concurrent-ruby', '1.3.4'
|
132
|
+
gem 'sidekiq', '~> 8.0.0'
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
87
136
|
appraise 'unit' do
|
88
137
|
end
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
6
6
|
|
7
|
+
## [2.9.0] - 2025-08-29
|
8
|
+
### Added
|
9
|
+
- Test against rails 7.2
|
10
|
+
- Support for rails 8.0
|
11
|
+
- Support for sidekiq 8
|
12
|
+
### Fixed
|
13
|
+
- Fix tests for ruby 3.4 and head
|
14
|
+
|
7
15
|
## [2.8.1] - 2023-02-12
|
8
16
|
### Added
|
9
17
|
- Improve CI pipeline
|
data/Gemfile
CHANGED
@@ -5,24 +5,26 @@ gemspec
|
|
5
5
|
|
6
6
|
group :development do
|
7
7
|
gem 'appraisal'
|
8
|
+
gem 'benchmark'
|
9
|
+
gem 'bigdecimal'
|
8
10
|
gem 'bundler', '>= 1.6'
|
9
11
|
gem 'byebug'
|
10
|
-
gem '
|
12
|
+
gem 'fakeredis'
|
11
13
|
gem 'guard-rspec'
|
12
14
|
gem 'guard-rubocop'
|
15
|
+
gem 'guard'
|
16
|
+
gem 'net-imap'
|
17
|
+
gem 'net-pop'
|
18
|
+
gem 'net-smtp'
|
19
|
+
gem 'ostruct'
|
13
20
|
gem 'pry'
|
21
|
+
gem 'psych'
|
14
22
|
gem 'rack-test'
|
15
23
|
gem 'rake'
|
16
|
-
gem 'fakeredis'
|
17
24
|
gem 'rspec', '~> 3.7'
|
18
|
-
gem 'rubocop'
|
19
25
|
gem 'rubocop-rspec'
|
26
|
+
gem 'rubocop'
|
20
27
|
gem 'timecop'
|
21
|
-
gem 'psych'
|
22
|
-
gem 'net-smtp'
|
23
|
-
gem 'net-pop'
|
24
|
-
gem 'net-imap'
|
25
|
-
gem 'bigdecimal'
|
26
28
|
end
|
27
29
|
|
28
30
|
group :test do
|
data/README.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Loga
|
2
2
|
|
3
3
|
[](https://badge.fury.io/rb/loga)
|
4
|
-
|
4
|
+

|
5
5
|
[](https://codeclimate.com/repos/5563694f6956805723005d2f/feed)
|
6
6
|
[](https://codeclimate.com/repos/5563694f6956805723005d2f/coverage)
|
7
7
|
[](https://libraries.io/rubygems/loga)
|
data/gemfiles/rails60.gemfile
CHANGED
@@ -2,28 +2,30 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
+
gem "concurrent-ruby", "1.3.4"
|
5
6
|
gem "rails", "~> 6.0.0"
|
6
7
|
|
7
8
|
group :development do
|
8
9
|
gem "appraisal"
|
10
|
+
gem "bigdecimal"
|
9
11
|
gem "bundler", ">= 1.6"
|
10
12
|
gem "byebug"
|
11
|
-
gem "
|
13
|
+
gem "fakeredis"
|
12
14
|
gem "guard-rspec"
|
13
15
|
gem "guard-rubocop"
|
16
|
+
gem "guard"
|
17
|
+
gem "net-imap"
|
18
|
+
gem "net-pop"
|
19
|
+
gem "net-smtp"
|
20
|
+
gem "ostruct"
|
14
21
|
gem "pry"
|
22
|
+
gem "psych"
|
15
23
|
gem "rack-test"
|
16
24
|
gem "rake"
|
17
|
-
gem "fakeredis"
|
18
25
|
gem "rspec", "~> 3.7"
|
19
|
-
gem "rubocop"
|
20
26
|
gem "rubocop-rspec"
|
27
|
+
gem "rubocop"
|
21
28
|
gem "timecop"
|
22
|
-
gem "psych"
|
23
|
-
gem "net-smtp"
|
24
|
-
gem "net-pop"
|
25
|
-
gem "net-imap"
|
26
|
-
gem "bigdecimal"
|
27
29
|
end
|
28
30
|
|
29
31
|
group :test do
|
data/gemfiles/rails61.gemfile
CHANGED
@@ -2,28 +2,30 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
+
gem "concurrent-ruby", "1.3.4"
|
5
6
|
gem "rails", "~> 6.1.4.4"
|
6
7
|
|
7
8
|
group :development do
|
8
9
|
gem "appraisal"
|
10
|
+
gem "bigdecimal"
|
9
11
|
gem "bundler", ">= 1.6"
|
10
12
|
gem "byebug"
|
11
|
-
gem "
|
13
|
+
gem "fakeredis"
|
12
14
|
gem "guard-rspec"
|
13
15
|
gem "guard-rubocop"
|
16
|
+
gem "guard"
|
17
|
+
gem "net-imap"
|
18
|
+
gem "net-pop"
|
19
|
+
gem "net-smtp"
|
20
|
+
gem "ostruct"
|
14
21
|
gem "pry"
|
22
|
+
gem "psych"
|
15
23
|
gem "rack-test"
|
16
24
|
gem "rake"
|
17
|
-
gem "fakeredis"
|
18
25
|
gem "rspec", "~> 3.7"
|
19
|
-
gem "rubocop"
|
20
26
|
gem "rubocop-rspec"
|
27
|
+
gem "rubocop"
|
21
28
|
gem "timecop"
|
22
|
-
gem "psych"
|
23
|
-
gem "net-smtp"
|
24
|
-
gem "net-pop"
|
25
|
-
gem "net-imap"
|
26
|
-
gem "bigdecimal"
|
27
29
|
end
|
28
30
|
|
29
31
|
group :test do
|
data/gemfiles/rails70.gemfile
CHANGED
@@ -2,30 +2,33 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
+
gem "concurrent-ruby", "1.3.4"
|
5
6
|
gem "rails", "~> 7.0.0"
|
6
7
|
gem "base64"
|
7
8
|
gem "mutex_m"
|
8
9
|
|
9
10
|
group :development do
|
10
11
|
gem "appraisal"
|
12
|
+
gem "benchmark"
|
13
|
+
gem "bigdecimal"
|
11
14
|
gem "bundler", ">= 1.6"
|
12
15
|
gem "byebug"
|
13
|
-
gem "
|
16
|
+
gem "fakeredis"
|
14
17
|
gem "guard-rspec"
|
15
18
|
gem "guard-rubocop"
|
19
|
+
gem "guard"
|
20
|
+
gem "net-imap"
|
21
|
+
gem "net-pop"
|
22
|
+
gem "net-smtp"
|
23
|
+
gem "ostruct"
|
16
24
|
gem "pry"
|
25
|
+
gem "psych"
|
17
26
|
gem "rack-test"
|
18
27
|
gem "rake"
|
19
|
-
gem "fakeredis"
|
20
28
|
gem "rspec", "~> 3.7"
|
21
|
-
gem "rubocop"
|
22
29
|
gem "rubocop-rspec"
|
30
|
+
gem "rubocop"
|
23
31
|
gem "timecop"
|
24
|
-
gem "psych"
|
25
|
-
gem "net-smtp"
|
26
|
-
gem "net-pop"
|
27
|
-
gem "net-imap"
|
28
|
-
gem "bigdecimal"
|
29
32
|
end
|
30
33
|
|
31
34
|
group :test do
|
data/gemfiles/rails71.gemfile
CHANGED
@@ -2,30 +2,33 @@
|
|
2
2
|
|
3
3
|
source "https://rubygems.org"
|
4
4
|
|
5
|
+
gem "concurrent-ruby", "~> 1.3"
|
5
6
|
gem "rails", "~> 7.1.0"
|
6
7
|
gem "base64"
|
7
8
|
gem "mutex_m"
|
8
9
|
|
9
10
|
group :development do
|
10
11
|
gem "appraisal"
|
12
|
+
gem "benchmark"
|
13
|
+
gem "bigdecimal"
|
11
14
|
gem "bundler", ">= 1.6"
|
12
15
|
gem "byebug"
|
13
|
-
gem "
|
16
|
+
gem "fakeredis"
|
14
17
|
gem "guard-rspec"
|
15
18
|
gem "guard-rubocop"
|
19
|
+
gem "guard"
|
20
|
+
gem "net-imap"
|
21
|
+
gem "net-pop"
|
22
|
+
gem "net-smtp"
|
23
|
+
gem "ostruct"
|
16
24
|
gem "pry"
|
25
|
+
gem "psych"
|
17
26
|
gem "rack-test"
|
18
27
|
gem "rake"
|
19
|
-
gem "fakeredis"
|
20
28
|
gem "rspec", "~> 3.7"
|
21
|
-
gem "rubocop"
|
22
29
|
gem "rubocop-rspec"
|
30
|
+
gem "rubocop"
|
23
31
|
gem "timecop"
|
24
|
-
gem "psych"
|
25
|
-
gem "net-smtp"
|
26
|
-
gem "net-pop"
|
27
|
-
gem "net-imap"
|
28
|
-
gem "bigdecimal"
|
29
32
|
end
|
30
33
|
|
31
34
|
group :test do
|
@@ -0,0 +1,38 @@
|
|
1
|
+
# This file was generated by Appraisal
|
2
|
+
|
3
|
+
source "https://rubygems.org"
|
4
|
+
|
5
|
+
gem "concurrent-ruby", "~> 1.3"
|
6
|
+
gem "rails", "~> 7.2.0"
|
7
|
+
gem "base64"
|
8
|
+
gem "mutex_m"
|
9
|
+
|
10
|
+
group :development do
|
11
|
+
gem "appraisal"
|
12
|
+
gem "benchmark"
|
13
|
+
gem "bigdecimal"
|
14
|
+
gem "bundler", ">= 1.6"
|
15
|
+
gem "byebug"
|
16
|
+
gem "fakeredis"
|
17
|
+
gem "guard-rspec"
|
18
|
+
gem "guard-rubocop"
|
19
|
+
gem "guard"
|
20
|
+
gem "net-imap"
|
21
|
+
gem "net-pop"
|
22
|
+
gem "net-smtp"
|
23
|
+
gem "ostruct"
|
24
|
+
gem "pry"
|
25
|
+
gem "psych"
|
26
|
+
gem "rack-test"
|
27
|
+
gem "rake"
|
28
|
+
gem "rspec", "~> 3.7"
|
29
|
+
gem "rubocop-rspec"
|
30
|
+
gem "rubocop"
|
31
|
+
gem "timecop"
|
32
|
+
end
|
33
|
+
|
34
|
+
group :test do
|
35
|
+
gem "simplecov", "~> 0.17.0"
|
36
|
+
end
|
37
|
+
|
38
|
+
gemspec path: "../"
|