checker_jobs 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +50 -36
- data/.gitignore +1 -0
- data/.rubocop.yml +5 -5
- data/.ruby-version +1 -0
- data/Gemfile.lock +155 -131
- data/README.md +1 -1
- data/checker_jobs.gemspec +6 -5
- data/lib/checker_jobs/notifiers/bugsnag.rb +2 -2
- data/lib/checker_jobs/notifiers/email_default_formatter.rb +1 -1
- data/lib/checker_jobs/notifiers/formatter_helpers.rb +1 -1
- data/lib/checker_jobs/notifiers/logger.rb +1 -1
- data/lib/checker_jobs/version.rb +1 -1
- metadata +34 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e2702b00cc3f7fa8a5b68ff40faf5edffe09c7ddc15bfd4c08ab627ade6bc6d4
|
4
|
+
data.tar.gz: 2ecf0e6f78a41ae17532e0ed57c4bbca00af5222fb999fb4b71dda19085e88d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1968fd1504a6b4b4bc056a0a67ae4e501658a95defc4b874bd16e24acf7567edc7f57058d412afee865ab5af2e00590422c05c6a66852009757f86da41cdf58
|
7
|
+
data.tar.gz: 7b61bfb6e7ecdfd9095058fb6bc9d4bf26edd6bf8c1798bfad79d9df6ba82c798db45f4178e2c5020b6c79508c12a5b50e5fc61b7706d14df8526500197db321
|
data/.circleci/config.yml
CHANGED
@@ -1,48 +1,62 @@
|
|
1
1
|
version: 2
|
2
2
|
jobs:
|
3
|
-
|
3
|
+
test-ruby:
|
4
4
|
docker:
|
5
|
-
- image:
|
5
|
+
- image: cimg/ruby:2.6.6
|
6
6
|
steps:
|
7
7
|
- checkout
|
8
|
-
|
9
|
-
- run: git fetch origin --depth=1000
|
10
|
-
|
11
|
-
# Install CodeClimate test reporter binary, rebuild without cache to update the binary
|
12
|
-
- restore_cache:
|
13
|
-
key: cc_test_reporter
|
14
8
|
- run:
|
15
|
-
name: Install
|
9
|
+
name: Install CMake, pkg-config and system dependencies
|
10
|
+
command: sudo apt update && sudo apt install cmake pkg-config libsqlite3-dev
|
11
|
+
- run:
|
12
|
+
name: Install Bundler
|
16
13
|
command: |
|
17
|
-
|
18
|
-
|
19
|
-
- restore_cache:
|
20
|
-
key: cc_test_reporter
|
21
|
-
paths:
|
22
|
-
- bin/cc-test-reporter
|
23
|
-
|
14
|
+
sudo gem update --system
|
15
|
+
gem install bundler --no-document
|
24
16
|
- run:
|
25
|
-
name:
|
26
|
-
command:
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
key: checker_jobs-{{ checksum "Gemfile.lock.no-version"}}
|
31
|
-
- run:
|
32
|
-
name: Install Ruby dependencies
|
33
|
-
command: bundle install --path vendor/bundle --jobs=`nproc`
|
34
|
-
- save_cache:
|
35
|
-
key: checker_jobs-{{ checksum "Gemfile.lock.no-version"}}
|
36
|
-
paths:
|
37
|
-
- vendor/bundle
|
38
|
-
|
17
|
+
name: Install dependencies (bundler)
|
18
|
+
command: |
|
19
|
+
bundle config set frozen 'true'
|
20
|
+
bundle config set path 'vendor/bundle'
|
21
|
+
bundle install --jobs=4
|
39
22
|
- run:
|
40
|
-
name:
|
23
|
+
name: Install linting dependencies (Bundler)
|
41
24
|
command: |
|
42
|
-
|
43
|
-
bundle
|
44
|
-
|
25
|
+
bundle config set frozen 'true'
|
26
|
+
bundle config set path 'vendor/bundle'
|
27
|
+
bundle install --jobs=4
|
28
|
+
- run:
|
29
|
+
name: Lint Ruby sources (RSpec)
|
30
|
+
command: bundle exec rspec
|
45
31
|
|
32
|
+
lint-ruby:
|
33
|
+
docker:
|
34
|
+
- image: cimg/ruby:2.6.6
|
35
|
+
steps:
|
36
|
+
- checkout
|
37
|
+
- run:
|
38
|
+
name: Install CMake, pkg-config and system dependencies
|
39
|
+
command: sudo apt update && sudo apt install cmake pkg-config libsqlite3-dev
|
40
|
+
- run:
|
41
|
+
name: Install Bundler
|
42
|
+
command: |
|
43
|
+
sudo gem update --system
|
44
|
+
gem install bundler --no-document
|
45
|
+
- run:
|
46
|
+
name: Install dependencies (bundler)
|
47
|
+
command: |
|
48
|
+
bundle config set frozen 'true'
|
49
|
+
bundle config set path 'vendor/bundle'
|
50
|
+
bundle install --jobs=4
|
46
51
|
- run:
|
47
|
-
name:
|
48
|
-
command:
|
52
|
+
name: Lint Ruby sources (Rubocop)
|
53
|
+
command: bundle exec rubocop
|
54
|
+
|
55
|
+
workflows:
|
56
|
+
version: 2
|
57
|
+
test-and-deploy:
|
58
|
+
jobs:
|
59
|
+
- test-ruby:
|
60
|
+
context: default
|
61
|
+
- lint-ruby:
|
62
|
+
context: default
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
require: rubocop-rspec
|
2
2
|
|
3
3
|
AllCops:
|
4
|
-
TargetRubyVersion: 2.3
|
5
4
|
Exclude:
|
6
5
|
- "examples/*.rb"
|
6
|
+
- vendor/**/*
|
7
7
|
|
8
8
|
#
|
9
9
|
# Opinionated cops
|
@@ -12,7 +12,7 @@ AllCops:
|
|
12
12
|
Layout/DotPosition:
|
13
13
|
EnforcedStyle: trailing
|
14
14
|
|
15
|
-
Layout/
|
15
|
+
Layout/FirstHashElementIndentation:
|
16
16
|
EnforcedStyle: consistent
|
17
17
|
|
18
18
|
Metrics/AbcSize:
|
@@ -43,9 +43,6 @@ Style/TrailingCommaInArguments:
|
|
43
43
|
Style/FrozenStringLiteralComment:
|
44
44
|
Enabled: false
|
45
45
|
|
46
|
-
Style/BracesAroundHashParameters:
|
47
|
-
Enabled: false
|
48
|
-
|
49
46
|
Style/FormatString:
|
50
47
|
Enabled: false
|
51
48
|
|
@@ -62,3 +59,6 @@ Metrics/BlockLength:
|
|
62
59
|
|
63
60
|
Style/Proc:
|
64
61
|
Enabled: false
|
62
|
+
|
63
|
+
RSpec/MultipleMemoizedHelpers:
|
64
|
+
Enabled: false
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.6.6
|
data/Gemfile.lock
CHANGED
@@ -1,73 +1,83 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
checker_jobs (1.2.
|
4
|
+
checker_jobs (1.2.1)
|
5
5
|
|
6
6
|
GEM
|
7
7
|
remote: https://rubygems.org/
|
8
8
|
specs:
|
9
|
-
actionmailer (
|
10
|
-
actionpack (=
|
11
|
-
actionview (=
|
12
|
-
activejob (=
|
9
|
+
actionmailer (6.1.3.1)
|
10
|
+
actionpack (= 6.1.3.1)
|
11
|
+
actionview (= 6.1.3.1)
|
12
|
+
activejob (= 6.1.3.1)
|
13
|
+
activesupport (= 6.1.3.1)
|
13
14
|
mail (~> 2.5, >= 2.5.4)
|
14
15
|
rails-dom-testing (~> 2.0)
|
15
|
-
actionpack (
|
16
|
-
actionview (=
|
17
|
-
activesupport (=
|
18
|
-
rack (~> 2.0)
|
16
|
+
actionpack (6.1.3.1)
|
17
|
+
actionview (= 6.1.3.1)
|
18
|
+
activesupport (= 6.1.3.1)
|
19
|
+
rack (~> 2.0, >= 2.0.9)
|
19
20
|
rack-test (>= 0.6.3)
|
20
21
|
rails-dom-testing (~> 2.0)
|
21
|
-
rails-html-sanitizer (~> 1.0, >= 1.0
|
22
|
-
actionview (
|
23
|
-
activesupport (=
|
22
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
23
|
+
actionview (6.1.3.1)
|
24
|
+
activesupport (= 6.1.3.1)
|
24
25
|
builder (~> 3.1)
|
25
26
|
erubi (~> 1.4)
|
26
27
|
rails-dom-testing (~> 2.0)
|
27
|
-
rails-html-sanitizer (~> 1.
|
28
|
-
activejob (
|
29
|
-
activesupport (=
|
28
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
29
|
+
activejob (6.1.3.1)
|
30
|
+
activesupport (= 6.1.3.1)
|
30
31
|
globalid (>= 0.3.6)
|
31
|
-
activesupport (
|
32
|
+
activesupport (6.1.3.1)
|
32
33
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
33
|
-
i18n (>=
|
34
|
-
minitest (
|
35
|
-
tzinfo (~>
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
34
|
+
i18n (>= 1.6, < 2)
|
35
|
+
minitest (>= 5.1)
|
36
|
+
tzinfo (~> 2.0)
|
37
|
+
zeitwerk (~> 2.3)
|
38
|
+
addressable (2.7.0)
|
39
|
+
public_suffix (>= 2.0.2, < 5.0)
|
40
|
+
ast (2.4.2)
|
41
|
+
bugsnag (6.20.0)
|
42
|
+
concurrent-ruby (~> 1.0)
|
43
|
+
builder (3.2.4)
|
44
|
+
byebug (11.1.3)
|
45
|
+
coderay (1.1.3)
|
46
|
+
concurrent-ruby (1.1.8)
|
47
|
+
connection_pool (2.2.5)
|
48
|
+
crass (1.0.6)
|
49
|
+
daemons (1.3.1)
|
50
|
+
diff-lcs (1.4.4)
|
51
|
+
docile (1.3.5)
|
52
|
+
erubi (1.10.0)
|
53
|
+
eventmachine (1.2.7)
|
54
|
+
faraday (1.4.1)
|
55
|
+
faraday-excon (~> 1.1)
|
56
|
+
faraday-net_http (~> 1.0)
|
57
|
+
faraday-net_http_persistent (~> 1.1)
|
52
58
|
multipart-post (>= 1.2, < 3)
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
59
|
+
ruby2_keywords (>= 0.0.4)
|
60
|
+
faraday-excon (1.1.0)
|
61
|
+
faraday-net_http (1.0.1)
|
62
|
+
faraday-net_http_persistent (1.1.0)
|
63
|
+
gitlab (4.17.0)
|
64
|
+
httparty (~> 0.18)
|
65
|
+
terminal-table (~> 1.5, >= 1.5.1)
|
66
|
+
globalid (0.4.2)
|
57
67
|
activesupport (>= 4.2.0)
|
58
|
-
haml (5.
|
68
|
+
haml (5.2.1)
|
59
69
|
temple (>= 0.8.0)
|
60
70
|
tilt
|
61
|
-
httparty (0.
|
71
|
+
httparty (0.18.1)
|
72
|
+
mime-types (~> 3.0)
|
62
73
|
multi_xml (>= 0.5.2)
|
63
|
-
i18n (1.
|
74
|
+
i18n (1.8.10)
|
64
75
|
concurrent-ruby (~> 1.0)
|
65
|
-
|
66
|
-
|
67
|
-
loofah (2.2.3)
|
76
|
+
json (2.5.1)
|
77
|
+
loofah (2.9.1)
|
68
78
|
crass (~> 1.0.2)
|
69
79
|
nokogiri (>= 1.5.9)
|
70
|
-
mail (2.7.
|
80
|
+
mail (2.7.1)
|
71
81
|
mini_mime (>= 0.1.1)
|
72
82
|
mailcatcher (0.2.4)
|
73
83
|
eventmachine
|
@@ -79,132 +89,146 @@ GEM
|
|
79
89
|
skinny (>= 0.1.2)
|
80
90
|
sqlite3-ruby
|
81
91
|
thin
|
82
|
-
method_source (0.
|
83
|
-
|
84
|
-
|
85
|
-
|
92
|
+
method_source (1.0.0)
|
93
|
+
mime-types (3.3.1)
|
94
|
+
mime-types-data (~> 3.2015)
|
95
|
+
mime-types-data (3.2021.0225)
|
96
|
+
mini_mime (1.1.0)
|
97
|
+
mini_portile2 (2.5.1)
|
98
|
+
minitest (5.14.4)
|
86
99
|
multi_xml (0.6.0)
|
87
|
-
multipart-post (2.
|
88
|
-
mustermann (1.
|
89
|
-
|
90
|
-
|
91
|
-
|
100
|
+
multipart-post (2.1.1)
|
101
|
+
mustermann (1.1.1)
|
102
|
+
ruby2_keywords (~> 0.0.1)
|
103
|
+
nokogiri (1.11.3)
|
104
|
+
mini_portile2 (~> 2.5.0)
|
105
|
+
racc (~> 1.4)
|
106
|
+
octokit (4.21.0)
|
107
|
+
faraday (>= 0.9)
|
92
108
|
sawyer (~> 0.8.0, >= 0.5.3)
|
93
|
-
parallel (1.
|
94
|
-
parser (
|
95
|
-
ast (~> 2.4.
|
96
|
-
|
97
|
-
|
98
|
-
gitlab (~> 4.0, >= 4.0.0)
|
109
|
+
parallel (1.20.1)
|
110
|
+
parser (3.0.1.0)
|
111
|
+
ast (~> 2.4.1)
|
112
|
+
pronto (0.11.0)
|
113
|
+
gitlab (~> 4.4, >= 4.4.0)
|
99
114
|
httparty (>= 0.13.7)
|
100
115
|
octokit (~> 4.7, >= 4.7.0)
|
101
|
-
rainbow (
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
+
rainbow (>= 2.2, < 4.0)
|
117
|
+
rexml (~> 3.2)
|
118
|
+
rugged (>= 0.23.0, < 1.1.0)
|
119
|
+
thor (>= 0.20.3, < 2.0)
|
120
|
+
pronto-rubocop (0.11.1)
|
121
|
+
pronto (~> 0.11.0)
|
122
|
+
rubocop (>= 0.63.1, < 2.0)
|
123
|
+
pry (0.13.1)
|
124
|
+
coderay (~> 1.1)
|
125
|
+
method_source (~> 1.0)
|
126
|
+
pry-byebug (3.9.0)
|
127
|
+
byebug (~> 11.0)
|
128
|
+
pry (~> 0.13.0)
|
129
|
+
public_suffix (4.0.6)
|
130
|
+
racc (1.5.2)
|
131
|
+
rack (2.2.3)
|
132
|
+
rack-protection (2.1.0)
|
116
133
|
rack
|
117
134
|
rack-test (1.1.0)
|
118
135
|
rack (>= 1.0, < 3)
|
119
136
|
rails-dom-testing (2.0.3)
|
120
137
|
activesupport (>= 4.2.0)
|
121
138
|
nokogiri (>= 1.6)
|
122
|
-
rails-html-sanitizer (1.0
|
123
|
-
loofah (~> 2.
|
124
|
-
rainbow (
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
rspec-
|
131
|
-
rspec-
|
132
|
-
|
133
|
-
|
134
|
-
|
139
|
+
rails-html-sanitizer (1.3.0)
|
140
|
+
loofah (~> 2.3)
|
141
|
+
rainbow (3.0.0)
|
142
|
+
rake (13.0.3)
|
143
|
+
redis (4.2.5)
|
144
|
+
regexp_parser (2.1.1)
|
145
|
+
rexml (3.2.5)
|
146
|
+
rspec (3.10.0)
|
147
|
+
rspec-core (~> 3.10.0)
|
148
|
+
rspec-expectations (~> 3.10.0)
|
149
|
+
rspec-mocks (~> 3.10.0)
|
150
|
+
rspec-core (3.10.1)
|
151
|
+
rspec-support (~> 3.10.0)
|
152
|
+
rspec-expectations (3.10.1)
|
135
153
|
diff-lcs (>= 1.2.0, < 2.0)
|
136
|
-
rspec-support (~> 3.
|
137
|
-
rspec-mocks (3.
|
154
|
+
rspec-support (~> 3.10.0)
|
155
|
+
rspec-mocks (3.10.2)
|
138
156
|
diff-lcs (>= 1.2.0, < 2.0)
|
139
|
-
rspec-support (~> 3.
|
140
|
-
rspec-support (3.
|
141
|
-
rubocop (
|
142
|
-
jaro_winkler (~> 1.5.1)
|
157
|
+
rspec-support (~> 3.10.0)
|
158
|
+
rspec-support (3.10.2)
|
159
|
+
rubocop (1.13.0)
|
143
160
|
parallel (~> 1.10)
|
144
|
-
parser (>=
|
145
|
-
powerpack (~> 0.1)
|
161
|
+
parser (>= 3.0.0.0)
|
146
162
|
rainbow (>= 2.2.2, < 4.0)
|
163
|
+
regexp_parser (>= 1.8, < 3.0)
|
164
|
+
rexml
|
165
|
+
rubocop-ast (>= 1.2.0, < 2.0)
|
147
166
|
ruby-progressbar (~> 1.7)
|
148
|
-
unicode-display_width (
|
149
|
-
rubocop-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
167
|
+
unicode-display_width (>= 1.4.0, < 3.0)
|
168
|
+
rubocop-ast (1.4.1)
|
169
|
+
parser (>= 2.7.1.5)
|
170
|
+
rubocop-rspec (2.3.0)
|
171
|
+
rubocop (~> 1.0)
|
172
|
+
rubocop-ast (>= 1.1.0)
|
173
|
+
ruby-progressbar (1.11.0)
|
174
|
+
ruby2_keywords (0.0.4)
|
175
|
+
rugged (1.0.1)
|
176
|
+
sawyer (0.8.2)
|
177
|
+
addressable (>= 2.3.5)
|
178
|
+
faraday (> 0.8, < 2.0)
|
179
|
+
sidekiq (6.2.1)
|
180
|
+
connection_pool (>= 2.2.2)
|
181
|
+
rack (~> 2.0)
|
182
|
+
redis (>= 4.2.0)
|
183
|
+
simplecov (0.21.2)
|
161
184
|
docile (~> 1.1)
|
162
|
-
|
163
|
-
|
164
|
-
simplecov-html (0.
|
165
|
-
|
185
|
+
simplecov-html (~> 0.11)
|
186
|
+
simplecov_json_formatter (~> 0.1)
|
187
|
+
simplecov-html (0.12.3)
|
188
|
+
simplecov_json_formatter (0.1.2)
|
189
|
+
sinatra (2.1.0)
|
166
190
|
mustermann (~> 1.0)
|
167
|
-
rack (~> 2.
|
168
|
-
rack-protection (= 2.0
|
191
|
+
rack (~> 2.2)
|
192
|
+
rack-protection (= 2.1.0)
|
169
193
|
tilt (~> 2.0)
|
170
194
|
skinny (0.2.2)
|
171
195
|
eventmachine (~> 1.0)
|
172
196
|
thin
|
173
|
-
sqlite3 (1.
|
197
|
+
sqlite3 (1.4.2)
|
174
198
|
sqlite3-ruby (1.3.3)
|
175
199
|
sqlite3 (>= 1.3.3)
|
176
|
-
temple (0.8.
|
200
|
+
temple (0.8.2)
|
177
201
|
terminal-table (1.8.0)
|
178
202
|
unicode-display_width (~> 1.1, >= 1.1.1)
|
179
|
-
thin (1.
|
203
|
+
thin (1.8.0)
|
180
204
|
daemons (~> 1.0, >= 1.0.9)
|
181
205
|
eventmachine (~> 1.0, >= 1.0.4)
|
182
206
|
rack (>= 1, < 3)
|
183
|
-
thor (
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
207
|
+
thor (1.1.0)
|
208
|
+
tilt (2.0.10)
|
209
|
+
tzinfo (2.0.4)
|
210
|
+
concurrent-ruby (~> 1.0)
|
211
|
+
unicode-display_width (1.7.0)
|
212
|
+
zeitwerk (2.4.2)
|
189
213
|
|
190
214
|
PLATFORMS
|
191
215
|
ruby
|
192
216
|
|
193
217
|
DEPENDENCIES
|
194
|
-
actionmailer (
|
218
|
+
actionmailer (>= 5.0, < 7.0)
|
195
219
|
bugsnag
|
196
|
-
bundler
|
220
|
+
bundler
|
197
221
|
checker_jobs!
|
198
222
|
mailcatcher
|
199
223
|
pronto
|
200
224
|
pronto-rubocop
|
201
225
|
pry-byebug
|
202
|
-
rake (~>
|
203
|
-
rspec (~> 3.
|
226
|
+
rake (~> 13.0)
|
227
|
+
rspec (~> 3.10)
|
204
228
|
rubocop
|
205
229
|
rubocop-rspec
|
206
|
-
sidekiq (
|
230
|
+
sidekiq (>= 6.0, < 7.0)
|
207
231
|
simplecov
|
208
232
|
|
209
233
|
BUNDLED WITH
|
210
|
-
1.
|
234
|
+
2.1.4
|
data/README.md
CHANGED
@@ -23,7 +23,7 @@ you like and then those checks are run by your application, in background jobs.
|
|
23
23
|
|
24
24
|
A small DSL is provided to helps you express your predicates:
|
25
25
|
|
26
|
-
- `ensure_no` will check that the result of a given block is `zero?` or `
|
26
|
+
- `ensure_no` will check that the result of a given block is `zero?`, `empty?` or `false`
|
27
27
|
- `ensure_more` will check that the result of a given block is `>=` than a given number
|
28
28
|
- `ensure_fewer` will check that the result of a given block is `<=` than a given number
|
29
29
|
|
data/checker_jobs.gemspec
CHANGED
@@ -19,18 +19,19 @@ Gem::Specification.new do |spec| # rubocop:disable Metrics/BlockLength
|
|
19
19
|
spec.bindir = "exe"
|
20
20
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
21
|
spec.require_paths = ["lib"]
|
22
|
+
spec.required_ruby_version = ">= 2.6.0"
|
22
23
|
|
23
|
-
spec.add_development_dependency "actionmailer", "
|
24
|
+
spec.add_development_dependency "actionmailer", ">= 5.0", "< 7.0"
|
24
25
|
spec.add_development_dependency "bugsnag"
|
25
|
-
spec.add_development_dependency "bundler"
|
26
|
+
spec.add_development_dependency "bundler"
|
26
27
|
spec.add_development_dependency "mailcatcher"
|
27
28
|
spec.add_development_dependency "pronto"
|
28
29
|
spec.add_development_dependency "pronto-rubocop"
|
29
30
|
spec.add_development_dependency "pry-byebug"
|
30
|
-
spec.add_development_dependency "rake", "~>
|
31
|
-
spec.add_development_dependency "rspec", "~> 3.
|
31
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
32
|
+
spec.add_development_dependency "rspec", "~> 3.10"
|
32
33
|
spec.add_development_dependency "rubocop"
|
33
34
|
spec.add_development_dependency "rubocop-rspec"
|
34
|
-
spec.add_development_dependency "sidekiq", "
|
35
|
+
spec.add_development_dependency "sidekiq", ">= 6.0", "< 7.0"
|
35
36
|
spec.add_development_dependency "simplecov"
|
36
37
|
end
|
@@ -9,8 +9,8 @@ class CheckerJobs::Notifiers::Bugsnag < CheckerJobs::Notifiers::Base
|
|
9
9
|
|
10
10
|
def notify
|
11
11
|
raise @formatter.base_error
|
12
|
-
rescue Error =>
|
13
|
-
::Bugsnag.notify(
|
12
|
+
rescue Error => e
|
13
|
+
::Bugsnag.notify(e) do |notification|
|
14
14
|
notification.severity = @formatter.severity
|
15
15
|
notification.context = @formatter.context
|
16
16
|
notification.grouping_hash = @formatter.grouping_hash
|
@@ -25,7 +25,7 @@ module CheckerJobs::Notifiers::FormatterHelpers
|
|
25
25
|
|
26
26
|
def github_url
|
27
27
|
filepath, line_number = @check.block.source_location
|
28
|
-
filepath = filepath.sub(Dir.pwd
|
28
|
+
filepath = filepath.sub("#{Dir.pwd}/", "")
|
29
29
|
GITHUB_URL_FORMAT % {
|
30
30
|
repository: repository_configuration[:github],
|
31
31
|
path: filepath,
|
data/lib/checker_jobs/version.rb
CHANGED
metadata
CHANGED
@@ -1,30 +1,36 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: checker_jobs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Drivy
|
8
8
|
- Nicolas Zermati
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-05-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: actionmailer
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '5.0'
|
21
|
+
- - "<"
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: '7.0'
|
21
24
|
type: :development
|
22
25
|
prerelease: false
|
23
26
|
version_requirements: !ruby/object:Gem::Requirement
|
24
27
|
requirements:
|
25
|
-
- - "
|
28
|
+
- - ">="
|
26
29
|
- !ruby/object:Gem::Version
|
27
30
|
version: '5.0'
|
31
|
+
- - "<"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '7.0'
|
28
34
|
- !ruby/object:Gem::Dependency
|
29
35
|
name: bugsnag
|
30
36
|
requirement: !ruby/object:Gem::Requirement
|
@@ -43,16 +49,16 @@ dependencies:
|
|
43
49
|
name: bundler
|
44
50
|
requirement: !ruby/object:Gem::Requirement
|
45
51
|
requirements:
|
46
|
-
- - "
|
52
|
+
- - ">="
|
47
53
|
- !ruby/object:Gem::Version
|
48
|
-
version: '
|
54
|
+
version: '0'
|
49
55
|
type: :development
|
50
56
|
prerelease: false
|
51
57
|
version_requirements: !ruby/object:Gem::Requirement
|
52
58
|
requirements:
|
53
|
-
- - "
|
59
|
+
- - ">="
|
54
60
|
- !ruby/object:Gem::Version
|
55
|
-
version: '
|
61
|
+
version: '0'
|
56
62
|
- !ruby/object:Gem::Dependency
|
57
63
|
name: mailcatcher
|
58
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -115,28 +121,28 @@ dependencies:
|
|
115
121
|
requirements:
|
116
122
|
- - "~>"
|
117
123
|
- !ruby/object:Gem::Version
|
118
|
-
version: '
|
124
|
+
version: '13.0'
|
119
125
|
type: :development
|
120
126
|
prerelease: false
|
121
127
|
version_requirements: !ruby/object:Gem::Requirement
|
122
128
|
requirements:
|
123
129
|
- - "~>"
|
124
130
|
- !ruby/object:Gem::Version
|
125
|
-
version: '
|
131
|
+
version: '13.0'
|
126
132
|
- !ruby/object:Gem::Dependency
|
127
133
|
name: rspec
|
128
134
|
requirement: !ruby/object:Gem::Requirement
|
129
135
|
requirements:
|
130
136
|
- - "~>"
|
131
137
|
- !ruby/object:Gem::Version
|
132
|
-
version: '3.
|
138
|
+
version: '3.10'
|
133
139
|
type: :development
|
134
140
|
prerelease: false
|
135
141
|
version_requirements: !ruby/object:Gem::Requirement
|
136
142
|
requirements:
|
137
143
|
- - "~>"
|
138
144
|
- !ruby/object:Gem::Version
|
139
|
-
version: '3.
|
145
|
+
version: '3.10'
|
140
146
|
- !ruby/object:Gem::Dependency
|
141
147
|
name: rubocop
|
142
148
|
requirement: !ruby/object:Gem::Requirement
|
@@ -169,16 +175,22 @@ dependencies:
|
|
169
175
|
name: sidekiq
|
170
176
|
requirement: !ruby/object:Gem::Requirement
|
171
177
|
requirements:
|
172
|
-
- - "
|
178
|
+
- - ">="
|
173
179
|
- !ruby/object:Gem::Version
|
174
|
-
version: '
|
180
|
+
version: '6.0'
|
181
|
+
- - "<"
|
182
|
+
- !ruby/object:Gem::Version
|
183
|
+
version: '7.0'
|
175
184
|
type: :development
|
176
185
|
prerelease: false
|
177
186
|
version_requirements: !ruby/object:Gem::Requirement
|
178
187
|
requirements:
|
179
|
-
- - "
|
188
|
+
- - ">="
|
180
189
|
- !ruby/object:Gem::Version
|
181
|
-
version: '
|
190
|
+
version: '6.0'
|
191
|
+
- - "<"
|
192
|
+
- !ruby/object:Gem::Version
|
193
|
+
version: '7.0'
|
182
194
|
- !ruby/object:Gem::Dependency
|
183
195
|
name: simplecov
|
184
196
|
requirement: !ruby/object:Gem::Requirement
|
@@ -204,6 +216,7 @@ files:
|
|
204
216
|
- ".gitignore"
|
205
217
|
- ".rspec"
|
206
218
|
- ".rubocop.yml"
|
219
|
+
- ".ruby-version"
|
207
220
|
- Gemfile
|
208
221
|
- Gemfile.lock
|
209
222
|
- LICENSE.txt
|
@@ -239,7 +252,7 @@ homepage: https://github.com/drivy/checker_jobs
|
|
239
252
|
licenses:
|
240
253
|
- MIT
|
241
254
|
metadata: {}
|
242
|
-
post_install_message:
|
255
|
+
post_install_message:
|
243
256
|
rdoc_options: []
|
244
257
|
require_paths:
|
245
258
|
- lib
|
@@ -247,16 +260,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
247
260
|
requirements:
|
248
261
|
- - ">="
|
249
262
|
- !ruby/object:Gem::Version
|
250
|
-
version:
|
263
|
+
version: 2.6.0
|
251
264
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
252
265
|
requirements:
|
253
266
|
- - ">="
|
254
267
|
- !ruby/object:Gem::Version
|
255
268
|
version: '0'
|
256
269
|
requirements: []
|
257
|
-
|
258
|
-
|
259
|
-
signing_key:
|
270
|
+
rubygems_version: 3.2.33
|
271
|
+
signing_key:
|
260
272
|
specification_version: 4
|
261
273
|
summary: Regression tests for data
|
262
274
|
test_files: []
|