traxor 0.1.19 → 0.1.20

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: 351b5aa13db42137c948cfb5b917b2ba74362cd6963c00f53670050c9c062ca9
4
- data.tar.gz: 5a8c4de34ba013e1d18332c9deaa3bfa064297ea98eec68783fbab8de3fbd8c3
3
+ metadata.gz: dea761fab3589a04486586d79af18c4b8842bd244604e8d615991e5448440c3f
4
+ data.tar.gz: 776766f8e25224a68067ab89474fd6e65be172ad116f1f6dae5138b5de7363d6
5
5
  SHA512:
6
- metadata.gz: d95fdaf39f628c8d4a4fc0247589e92a971d0a70d8f0d406a800997a51ca5f6612d263a5904dd33197e8a6bfca6af40a8a059823ad1ff7e38a57ce28939c2219
7
- data.tar.gz: 350f0c8ecdea1bf76449e6f3c51b2c43f9447f619e8e4c16653eb3201dbd3fa9fda5853624e3ec80ec39b31508efa72688bc881582f867a2bf8ee8fe15ee3a51
6
+ metadata.gz: 7312eacdd60f37e8c1b901ba96f172e7846695af03168f35811d0615c2eacf6cb162465065b8f43e4f6d0d3c7cb696ba4de094ce515af21fa280ecc16ef8ee4f
7
+ data.tar.gz: 98d4259851f7126615e7dacdb6c2273234a9171d5260745edaddbac06a46fb42b1696e17cf820e8836d5ca3d3aabfdfa6fe4dbc2e0f954ab37f9890bfa128a8a
data/.reek.yml ADDED
@@ -0,0 +1,10 @@
1
+ ---
2
+ exclude_paths:
3
+ - vendor/bundle
4
+
5
+ detectors:
6
+ DuplicateMethodCall:
7
+ enabled: false
8
+
9
+ IrresponsibleModule:
10
+ enabled: false
data/Gemfile.lock CHANGED
@@ -1,49 +1,49 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- traxor (0.1.19)
4
+ traxor (0.1.20)
5
5
  activesupport (>= 5.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (5.2.0)
11
- actionpack (= 5.2.0)
10
+ actioncable (5.2.1)
11
+ actionpack (= 5.2.1)
12
12
  nio4r (~> 2.0)
13
13
  websocket-driver (>= 0.6.1)
14
- actionmailer (5.2.0)
15
- actionpack (= 5.2.0)
16
- actionview (= 5.2.0)
17
- activejob (= 5.2.0)
14
+ actionmailer (5.2.1)
15
+ actionpack (= 5.2.1)
16
+ actionview (= 5.2.1)
17
+ activejob (= 5.2.1)
18
18
  mail (~> 2.5, >= 2.5.4)
19
19
  rails-dom-testing (~> 2.0)
20
- actionpack (5.2.0)
21
- actionview (= 5.2.0)
22
- activesupport (= 5.2.0)
20
+ actionpack (5.2.1)
21
+ actionview (= 5.2.1)
22
+ activesupport (= 5.2.1)
23
23
  rack (~> 2.0)
24
24
  rack-test (>= 0.6.3)
25
25
  rails-dom-testing (~> 2.0)
26
26
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
- actionview (5.2.0)
28
- activesupport (= 5.2.0)
27
+ actionview (5.2.1)
28
+ activesupport (= 5.2.1)
29
29
  builder (~> 3.1)
30
30
  erubi (~> 1.4)
31
31
  rails-dom-testing (~> 2.0)
32
32
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
- activejob (5.2.0)
34
- activesupport (= 5.2.0)
33
+ activejob (5.2.1)
34
+ activesupport (= 5.2.1)
35
35
  globalid (>= 0.3.6)
36
- activemodel (5.2.0)
37
- activesupport (= 5.2.0)
38
- activerecord (5.2.0)
39
- activemodel (= 5.2.0)
40
- activesupport (= 5.2.0)
36
+ activemodel (5.2.1)
37
+ activesupport (= 5.2.1)
38
+ activerecord (5.2.1)
39
+ activemodel (= 5.2.1)
40
+ activesupport (= 5.2.1)
41
41
  arel (>= 9.0)
42
- activestorage (5.2.0)
43
- actionpack (= 5.2.0)
44
- activerecord (= 5.2.0)
42
+ activestorage (5.2.1)
43
+ actionpack (= 5.2.1)
44
+ activerecord (= 5.2.1)
45
45
  marcel (~> 0.3.1)
46
- activesupport (5.2.0)
46
+ activesupport (5.2.1)
47
47
  concurrent-ruby (~> 1.0, >= 1.0.2)
48
48
  i18n (>= 0.7, < 2)
49
49
  minitest (~> 5.1)
@@ -66,17 +66,17 @@ GEM
66
66
  coercible (1.0.0)
67
67
  descendants_tracker (~> 0.0.1)
68
68
  concurrent-ruby (1.0.5)
69
- connection_pool (2.2.1)
69
+ connection_pool (2.2.2)
70
70
  crass (1.0.4)
71
71
  descendants_tracker (0.0.4)
72
72
  thread_safe (~> 0.3, >= 0.3.1)
73
73
  diff-lcs (1.3)
74
- docile (1.3.0)
74
+ docile (1.3.1)
75
75
  equalizer (0.0.11)
76
76
  erubi (1.7.1)
77
- faraday (0.15.0)
77
+ faraday (0.15.2)
78
78
  multipart-post (>= 1.2, < 3)
79
- ffi (1.9.23)
79
+ ffi (1.9.25)
80
80
  formatador (0.2.5)
81
81
  globalid (0.4.1)
82
82
  activesupport (>= 4.2.0)
@@ -94,10 +94,12 @@ GEM
94
94
  guard (~> 2.1)
95
95
  guard-compat (~> 1.1)
96
96
  rspec (>= 2.99.0, < 4.0)
97
- i18n (1.0.1)
97
+ i18n (1.1.0)
98
98
  concurrent-ruby (~> 1.0)
99
99
  ice_nine (0.11.2)
100
+ jaro_winkler (1.5.1)
100
101
  json (2.1.0)
102
+ kwalify (0.7.2)
101
103
  listen (3.1.5)
102
104
  rb-fsevent (~> 0.9, >= 0.9.4)
103
105
  rb-inotify (~> 0.9, >= 0.9.7)
@@ -112,21 +114,21 @@ GEM
112
114
  mimemagic (~> 0.3.2)
113
115
  method_source (0.9.0)
114
116
  mimemagic (0.3.2)
115
- mini_mime (1.0.0)
117
+ mini_mime (1.0.1)
116
118
  mini_portile2 (2.3.0)
117
119
  minitest (5.11.3)
118
120
  multipart-post (2.0.0)
119
121
  nenv (0.3.0)
120
122
  nio4r (2.3.1)
121
- nokogiri (1.8.2)
123
+ nokogiri (1.8.4)
122
124
  mini_portile2 (~> 2.3.0)
123
125
  notiffany (0.1.1)
124
126
  nenv (~> 0.1)
125
127
  shellany (~> 0.0)
126
128
  parallel (1.12.1)
127
- parser (2.5.1.0)
129
+ parser (2.5.1.2)
128
130
  ast (~> 2.4.0)
129
- powerpack (0.1.1)
131
+ powerpack (0.1.2)
130
132
  pry (0.11.3)
131
133
  coderay (~> 1.1.0)
132
134
  method_source (~> 0.9.0)
@@ -134,72 +136,73 @@ GEM
134
136
  byebug (~> 10.0)
135
137
  pry (~> 0.10)
136
138
  rack (2.0.5)
137
- rack-protection (2.0.1)
139
+ rack-protection (2.0.3)
138
140
  rack
139
- rack-test (1.0.0)
141
+ rack-test (1.1.0)
140
142
  rack (>= 1.0, < 3)
141
- rails (5.2.0)
142
- actioncable (= 5.2.0)
143
- actionmailer (= 5.2.0)
144
- actionpack (= 5.2.0)
145
- actionview (= 5.2.0)
146
- activejob (= 5.2.0)
147
- activemodel (= 5.2.0)
148
- activerecord (= 5.2.0)
149
- activestorage (= 5.2.0)
150
- activesupport (= 5.2.0)
143
+ rails (5.2.1)
144
+ actioncable (= 5.2.1)
145
+ actionmailer (= 5.2.1)
146
+ actionpack (= 5.2.1)
147
+ actionview (= 5.2.1)
148
+ activejob (= 5.2.1)
149
+ activemodel (= 5.2.1)
150
+ activerecord (= 5.2.1)
151
+ activestorage (= 5.2.1)
152
+ activesupport (= 5.2.1)
151
153
  bundler (>= 1.3.0)
152
- railties (= 5.2.0)
154
+ railties (= 5.2.1)
153
155
  sprockets-rails (>= 2.0.0)
154
156
  rails-dom-testing (2.0.3)
155
157
  activesupport (>= 4.2.0)
156
158
  nokogiri (>= 1.6)
157
159
  rails-html-sanitizer (1.0.4)
158
160
  loofah (~> 2.2, >= 2.2.2)
159
- railties (5.2.0)
160
- actionpack (= 5.2.0)
161
- activesupport (= 5.2.0)
161
+ railties (5.2.1)
162
+ actionpack (= 5.2.1)
163
+ activesupport (= 5.2.1)
162
164
  method_source
163
165
  rake (>= 0.8.7)
164
- thor (>= 0.18.1, < 2.0)
166
+ thor (>= 0.19.0, < 2.0)
165
167
  rainbow (3.0.0)
166
168
  rake (12.3.1)
167
169
  rb-fsevent (0.10.3)
168
170
  rb-inotify (0.9.10)
169
171
  ffi (>= 0.5.0, < 2)
170
- redis (4.0.1)
171
- reek (4.8.1)
172
+ redis (4.0.2)
173
+ reek (5.0.2)
172
174
  codeclimate-engine-rb (~> 0.4.0)
173
- parser (>= 2.5.0.0, < 2.6)
175
+ kwalify (~> 0.7.0)
176
+ parser (>= 2.5.0.0, < 2.6, != 2.5.1.1)
174
177
  rainbow (>= 2.0, < 4.0)
175
- rspec (3.7.0)
176
- rspec-core (~> 3.7.0)
177
- rspec-expectations (~> 3.7.0)
178
- rspec-mocks (~> 3.7.0)
179
- rspec-core (3.7.1)
180
- rspec-support (~> 3.7.0)
181
- rspec-expectations (3.7.0)
178
+ rspec (3.8.0)
179
+ rspec-core (~> 3.8.0)
180
+ rspec-expectations (~> 3.8.0)
181
+ rspec-mocks (~> 3.8.0)
182
+ rspec-core (3.8.0)
183
+ rspec-support (~> 3.8.0)
184
+ rspec-expectations (3.8.1)
182
185
  diff-lcs (>= 1.2.0, < 2.0)
183
- rspec-support (~> 3.7.0)
184
- rspec-mocks (3.7.0)
186
+ rspec-support (~> 3.8.0)
187
+ rspec-mocks (3.8.0)
185
188
  diff-lcs (>= 1.2.0, < 2.0)
186
- rspec-support (~> 3.7.0)
187
- rspec-support (3.7.1)
188
- rspec_junit_formatter (0.3.0)
189
+ rspec-support (~> 3.8.0)
190
+ rspec-support (3.8.0)
191
+ rspec_junit_formatter (0.4.1)
189
192
  rspec-core (>= 2, < 4, != 2.12.0)
190
- rubocop (0.55.0)
193
+ rubocop (0.58.2)
194
+ jaro_winkler (~> 1.5.1)
191
195
  parallel (~> 1.10)
192
- parser (>= 2.5)
196
+ parser (>= 2.5, != 2.5.1.1)
193
197
  powerpack (~> 0.1)
194
198
  rainbow (>= 2.2.2, < 4.0)
195
199
  ruby-progressbar (~> 1.7)
196
200
  unicode-display_width (~> 1.0, >= 1.0.1)
197
- ruby-progressbar (1.9.0)
201
+ ruby-progressbar (1.10.0)
198
202
  ruby_dep (1.5.0)
199
203
  shellany (0.0.1)
200
- sidekiq (5.1.3)
201
- concurrent-ruby (~> 1.0)
202
- connection_pool (~> 2.2, >= 2.2.0)
204
+ sidekiq (5.2.1)
205
+ connection_pool (~> 2.2, >= 2.2.2)
203
206
  rack-protection (>= 1.5.0)
204
207
  redis (>= 3.3.5, < 5)
205
208
  simplecov (0.16.1)
@@ -207,7 +210,7 @@ GEM
207
210
  json (>= 1.8, < 3)
208
211
  simplecov-html (~> 0.10.0)
209
212
  simplecov-html (0.10.2)
210
- sprockets (3.7.1)
213
+ sprockets (3.7.2)
211
214
  concurrent-ruby (~> 1.0)
212
215
  rack (> 1, < 3)
213
216
  sprockets-rails (3.2.1)
@@ -218,7 +221,7 @@ GEM
218
221
  thread_safe (0.3.6)
219
222
  tzinfo (1.2.5)
220
223
  thread_safe (~> 0.1)
221
- unicode-display_width (1.3.2)
224
+ unicode-display_width (1.4.0)
222
225
  virtus (1.0.5)
223
226
  axiom-types (~> 0.1)
224
227
  coercible (~> 1.0)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file was generated by Appraisal
2
4
 
3
5
  source "https://rubygems.org"
@@ -1,49 +1,49 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- traxor (0.1.19)
4
+ traxor (0.1.20)
5
5
  activesupport (>= 5.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (5.2.0)
11
- actionpack (= 5.2.0)
10
+ actioncable (5.2.1)
11
+ actionpack (= 5.2.1)
12
12
  nio4r (~> 2.0)
13
13
  websocket-driver (>= 0.6.1)
14
- actionmailer (5.2.0)
15
- actionpack (= 5.2.0)
16
- actionview (= 5.2.0)
17
- activejob (= 5.2.0)
14
+ actionmailer (5.2.1)
15
+ actionpack (= 5.2.1)
16
+ actionview (= 5.2.1)
17
+ activejob (= 5.2.1)
18
18
  mail (~> 2.5, >= 2.5.4)
19
19
  rails-dom-testing (~> 2.0)
20
- actionpack (5.2.0)
21
- actionview (= 5.2.0)
22
- activesupport (= 5.2.0)
20
+ actionpack (5.2.1)
21
+ actionview (= 5.2.1)
22
+ activesupport (= 5.2.1)
23
23
  rack (~> 2.0)
24
24
  rack-test (>= 0.6.3)
25
25
  rails-dom-testing (~> 2.0)
26
26
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
- actionview (5.2.0)
28
- activesupport (= 5.2.0)
27
+ actionview (5.2.1)
28
+ activesupport (= 5.2.1)
29
29
  builder (~> 3.1)
30
30
  erubi (~> 1.4)
31
31
  rails-dom-testing (~> 2.0)
32
32
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
- activejob (5.2.0)
34
- activesupport (= 5.2.0)
33
+ activejob (5.2.1)
34
+ activesupport (= 5.2.1)
35
35
  globalid (>= 0.3.6)
36
- activemodel (5.2.0)
37
- activesupport (= 5.2.0)
38
- activerecord (5.2.0)
39
- activemodel (= 5.2.0)
40
- activesupport (= 5.2.0)
36
+ activemodel (5.2.1)
37
+ activesupport (= 5.2.1)
38
+ activerecord (5.2.1)
39
+ activemodel (= 5.2.1)
40
+ activesupport (= 5.2.1)
41
41
  arel (>= 9.0)
42
- activestorage (5.2.0)
43
- actionpack (= 5.2.0)
44
- activerecord (= 5.2.0)
42
+ activestorage (5.2.1)
43
+ actionpack (= 5.2.1)
44
+ activerecord (= 5.2.1)
45
45
  marcel (~> 0.3.1)
46
- activesupport (5.2.0)
46
+ activesupport (5.2.1)
47
47
  concurrent-ruby (~> 1.0, >= 1.0.2)
48
48
  i18n (>= 0.7, < 2)
49
49
  minitest (~> 5.1)
@@ -66,17 +66,17 @@ GEM
66
66
  coercible (1.0.0)
67
67
  descendants_tracker (~> 0.0.1)
68
68
  concurrent-ruby (1.0.5)
69
- connection_pool (2.2.1)
69
+ connection_pool (2.2.2)
70
70
  crass (1.0.4)
71
71
  descendants_tracker (0.0.4)
72
72
  thread_safe (~> 0.3, >= 0.3.1)
73
73
  diff-lcs (1.3)
74
- docile (1.3.0)
74
+ docile (1.3.1)
75
75
  equalizer (0.0.11)
76
76
  erubi (1.7.1)
77
- faraday (0.15.0)
77
+ faraday (0.15.2)
78
78
  multipart-post (>= 1.2, < 3)
79
- ffi (1.9.23)
79
+ ffi (1.9.25)
80
80
  formatador (0.2.5)
81
81
  globalid (0.4.1)
82
82
  activesupport (>= 4.2.0)
@@ -94,10 +94,12 @@ GEM
94
94
  guard (~> 2.1)
95
95
  guard-compat (~> 1.1)
96
96
  rspec (>= 2.99.0, < 4.0)
97
- i18n (1.0.1)
97
+ i18n (1.1.0)
98
98
  concurrent-ruby (~> 1.0)
99
99
  ice_nine (0.11.2)
100
+ jaro_winkler (1.5.1)
100
101
  json (2.1.0)
102
+ kwalify (0.7.2)
101
103
  listen (3.1.5)
102
104
  rb-fsevent (~> 0.9, >= 0.9.4)
103
105
  rb-inotify (~> 0.9, >= 0.9.7)
@@ -112,21 +114,21 @@ GEM
112
114
  mimemagic (~> 0.3.2)
113
115
  method_source (0.9.0)
114
116
  mimemagic (0.3.2)
115
- mini_mime (1.0.0)
117
+ mini_mime (1.0.1)
116
118
  mini_portile2 (2.3.0)
117
119
  minitest (5.11.3)
118
120
  multipart-post (2.0.0)
119
121
  nenv (0.3.0)
120
122
  nio4r (2.3.1)
121
- nokogiri (1.8.2)
123
+ nokogiri (1.8.4)
122
124
  mini_portile2 (~> 2.3.0)
123
125
  notiffany (0.1.1)
124
126
  nenv (~> 0.1)
125
127
  shellany (~> 0.0)
126
128
  parallel (1.12.1)
127
- parser (2.5.1.0)
129
+ parser (2.5.1.2)
128
130
  ast (~> 2.4.0)
129
- powerpack (0.1.1)
131
+ powerpack (0.1.2)
130
132
  pry (0.11.3)
131
133
  coderay (~> 1.1.0)
132
134
  method_source (~> 0.9.0)
@@ -134,72 +136,73 @@ GEM
134
136
  byebug (~> 10.0)
135
137
  pry (~> 0.10)
136
138
  rack (2.0.5)
137
- rack-protection (2.0.1)
139
+ rack-protection (2.0.3)
138
140
  rack
139
- rack-test (1.0.0)
141
+ rack-test (1.1.0)
140
142
  rack (>= 1.0, < 3)
141
- rails (5.2.0)
142
- actioncable (= 5.2.0)
143
- actionmailer (= 5.2.0)
144
- actionpack (= 5.2.0)
145
- actionview (= 5.2.0)
146
- activejob (= 5.2.0)
147
- activemodel (= 5.2.0)
148
- activerecord (= 5.2.0)
149
- activestorage (= 5.2.0)
150
- activesupport (= 5.2.0)
143
+ rails (5.2.1)
144
+ actioncable (= 5.2.1)
145
+ actionmailer (= 5.2.1)
146
+ actionpack (= 5.2.1)
147
+ actionview (= 5.2.1)
148
+ activejob (= 5.2.1)
149
+ activemodel (= 5.2.1)
150
+ activerecord (= 5.2.1)
151
+ activestorage (= 5.2.1)
152
+ activesupport (= 5.2.1)
151
153
  bundler (>= 1.3.0)
152
- railties (= 5.2.0)
154
+ railties (= 5.2.1)
153
155
  sprockets-rails (>= 2.0.0)
154
156
  rails-dom-testing (2.0.3)
155
157
  activesupport (>= 4.2.0)
156
158
  nokogiri (>= 1.6)
157
159
  rails-html-sanitizer (1.0.4)
158
160
  loofah (~> 2.2, >= 2.2.2)
159
- railties (5.2.0)
160
- actionpack (= 5.2.0)
161
- activesupport (= 5.2.0)
161
+ railties (5.2.1)
162
+ actionpack (= 5.2.1)
163
+ activesupport (= 5.2.1)
162
164
  method_source
163
165
  rake (>= 0.8.7)
164
- thor (>= 0.18.1, < 2.0)
166
+ thor (>= 0.19.0, < 2.0)
165
167
  rainbow (3.0.0)
166
168
  rake (12.3.1)
167
169
  rb-fsevent (0.10.3)
168
170
  rb-inotify (0.9.10)
169
171
  ffi (>= 0.5.0, < 2)
170
- redis (4.0.1)
171
- reek (4.8.1)
172
+ redis (4.0.2)
173
+ reek (5.0.2)
172
174
  codeclimate-engine-rb (~> 0.4.0)
173
- parser (>= 2.5.0.0, < 2.6)
175
+ kwalify (~> 0.7.0)
176
+ parser (>= 2.5.0.0, < 2.6, != 2.5.1.1)
174
177
  rainbow (>= 2.0, < 4.0)
175
- rspec (3.7.0)
176
- rspec-core (~> 3.7.0)
177
- rspec-expectations (~> 3.7.0)
178
- rspec-mocks (~> 3.7.0)
179
- rspec-core (3.7.1)
180
- rspec-support (~> 3.7.0)
181
- rspec-expectations (3.7.0)
178
+ rspec (3.8.0)
179
+ rspec-core (~> 3.8.0)
180
+ rspec-expectations (~> 3.8.0)
181
+ rspec-mocks (~> 3.8.0)
182
+ rspec-core (3.8.0)
183
+ rspec-support (~> 3.8.0)
184
+ rspec-expectations (3.8.1)
182
185
  diff-lcs (>= 1.2.0, < 2.0)
183
- rspec-support (~> 3.7.0)
184
- rspec-mocks (3.7.0)
186
+ rspec-support (~> 3.8.0)
187
+ rspec-mocks (3.8.0)
185
188
  diff-lcs (>= 1.2.0, < 2.0)
186
- rspec-support (~> 3.7.0)
187
- rspec-support (3.7.1)
188
- rspec_junit_formatter (0.3.0)
189
+ rspec-support (~> 3.8.0)
190
+ rspec-support (3.8.0)
191
+ rspec_junit_formatter (0.4.1)
189
192
  rspec-core (>= 2, < 4, != 2.12.0)
190
- rubocop (0.55.0)
193
+ rubocop (0.58.2)
194
+ jaro_winkler (~> 1.5.1)
191
195
  parallel (~> 1.10)
192
- parser (>= 2.5)
196
+ parser (>= 2.5, != 2.5.1.1)
193
197
  powerpack (~> 0.1)
194
198
  rainbow (>= 2.2.2, < 4.0)
195
199
  ruby-progressbar (~> 1.7)
196
200
  unicode-display_width (~> 1.0, >= 1.0.1)
197
- ruby-progressbar (1.9.0)
201
+ ruby-progressbar (1.10.0)
198
202
  ruby_dep (1.5.0)
199
203
  shellany (0.0.1)
200
- sidekiq (5.1.3)
201
- concurrent-ruby (~> 1.0)
202
- connection_pool (~> 2.2, >= 2.2.0)
204
+ sidekiq (5.2.1)
205
+ connection_pool (~> 2.2, >= 2.2.2)
203
206
  rack-protection (>= 1.5.0)
204
207
  redis (>= 3.3.5, < 5)
205
208
  simplecov (0.16.1)
@@ -207,7 +210,7 @@ GEM
207
210
  json (>= 1.8, < 3)
208
211
  simplecov-html (~> 0.10.0)
209
212
  simplecov-html (0.10.2)
210
- sprockets (3.7.1)
213
+ sprockets (3.7.2)
211
214
  concurrent-ruby (~> 1.0)
212
215
  rack (> 1, < 3)
213
216
  sprockets-rails (3.2.1)
@@ -218,7 +221,7 @@ GEM
218
221
  thread_safe (0.3.6)
219
222
  tzinfo (1.2.5)
220
223
  thread_safe (~> 0.1)
221
- unicode-display_width (1.3.2)
224
+ unicode-display_width (1.4.0)
222
225
  virtus (1.0.5)
223
226
  axiom-types (~> 0.1)
224
227
  coercible (~> 1.0)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file was generated by Appraisal
2
4
 
3
5
  source "https://rubygems.org"
@@ -1,49 +1,49 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- traxor (0.1.19)
4
+ traxor (0.1.20)
5
5
  activesupport (>= 5.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (5.2.0)
11
- actionpack (= 5.2.0)
10
+ actioncable (5.2.1)
11
+ actionpack (= 5.2.1)
12
12
  nio4r (~> 2.0)
13
13
  websocket-driver (>= 0.6.1)
14
- actionmailer (5.2.0)
15
- actionpack (= 5.2.0)
16
- actionview (= 5.2.0)
17
- activejob (= 5.2.0)
14
+ actionmailer (5.2.1)
15
+ actionpack (= 5.2.1)
16
+ actionview (= 5.2.1)
17
+ activejob (= 5.2.1)
18
18
  mail (~> 2.5, >= 2.5.4)
19
19
  rails-dom-testing (~> 2.0)
20
- actionpack (5.2.0)
21
- actionview (= 5.2.0)
22
- activesupport (= 5.2.0)
20
+ actionpack (5.2.1)
21
+ actionview (= 5.2.1)
22
+ activesupport (= 5.2.1)
23
23
  rack (~> 2.0)
24
24
  rack-test (>= 0.6.3)
25
25
  rails-dom-testing (~> 2.0)
26
26
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
- actionview (5.2.0)
28
- activesupport (= 5.2.0)
27
+ actionview (5.2.1)
28
+ activesupport (= 5.2.1)
29
29
  builder (~> 3.1)
30
30
  erubi (~> 1.4)
31
31
  rails-dom-testing (~> 2.0)
32
32
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
- activejob (5.2.0)
34
- activesupport (= 5.2.0)
33
+ activejob (5.2.1)
34
+ activesupport (= 5.2.1)
35
35
  globalid (>= 0.3.6)
36
- activemodel (5.2.0)
37
- activesupport (= 5.2.0)
38
- activerecord (5.2.0)
39
- activemodel (= 5.2.0)
40
- activesupport (= 5.2.0)
36
+ activemodel (5.2.1)
37
+ activesupport (= 5.2.1)
38
+ activerecord (5.2.1)
39
+ activemodel (= 5.2.1)
40
+ activesupport (= 5.2.1)
41
41
  arel (>= 9.0)
42
- activestorage (5.2.0)
43
- actionpack (= 5.2.0)
44
- activerecord (= 5.2.0)
42
+ activestorage (5.2.1)
43
+ actionpack (= 5.2.1)
44
+ activerecord (= 5.2.1)
45
45
  marcel (~> 0.3.1)
46
- activesupport (5.2.0)
46
+ activesupport (5.2.1)
47
47
  concurrent-ruby (~> 1.0, >= 1.0.2)
48
48
  i18n (>= 0.7, < 2)
49
49
  minitest (~> 5.1)
@@ -66,17 +66,17 @@ GEM
66
66
  coercible (1.0.0)
67
67
  descendants_tracker (~> 0.0.1)
68
68
  concurrent-ruby (1.0.5)
69
- connection_pool (2.2.1)
69
+ connection_pool (2.2.2)
70
70
  crass (1.0.4)
71
71
  descendants_tracker (0.0.4)
72
72
  thread_safe (~> 0.3, >= 0.3.1)
73
73
  diff-lcs (1.3)
74
- docile (1.3.0)
74
+ docile (1.3.1)
75
75
  equalizer (0.0.11)
76
76
  erubi (1.7.1)
77
- faraday (0.15.0)
77
+ faraday (0.15.2)
78
78
  multipart-post (>= 1.2, < 3)
79
- ffi (1.9.23)
79
+ ffi (1.9.25)
80
80
  formatador (0.2.5)
81
81
  globalid (0.4.1)
82
82
  activesupport (>= 4.2.0)
@@ -94,10 +94,12 @@ GEM
94
94
  guard (~> 2.1)
95
95
  guard-compat (~> 1.1)
96
96
  rspec (>= 2.99.0, < 4.0)
97
- i18n (1.0.1)
97
+ i18n (1.1.0)
98
98
  concurrent-ruby (~> 1.0)
99
99
  ice_nine (0.11.2)
100
+ jaro_winkler (1.5.1)
100
101
  json (2.1.0)
102
+ kwalify (0.7.2)
101
103
  listen (3.1.5)
102
104
  rb-fsevent (~> 0.9, >= 0.9.4)
103
105
  rb-inotify (~> 0.9, >= 0.9.7)
@@ -112,21 +114,21 @@ GEM
112
114
  mimemagic (~> 0.3.2)
113
115
  method_source (0.9.0)
114
116
  mimemagic (0.3.2)
115
- mini_mime (1.0.0)
117
+ mini_mime (1.0.1)
116
118
  mini_portile2 (2.3.0)
117
119
  minitest (5.11.3)
118
120
  multipart-post (2.0.0)
119
121
  nenv (0.3.0)
120
122
  nio4r (2.3.1)
121
- nokogiri (1.8.2)
123
+ nokogiri (1.8.4)
122
124
  mini_portile2 (~> 2.3.0)
123
125
  notiffany (0.1.1)
124
126
  nenv (~> 0.1)
125
127
  shellany (~> 0.0)
126
128
  parallel (1.12.1)
127
- parser (2.5.1.0)
129
+ parser (2.5.1.2)
128
130
  ast (~> 2.4.0)
129
- powerpack (0.1.1)
131
+ powerpack (0.1.2)
130
132
  pry (0.11.3)
131
133
  coderay (~> 1.1.0)
132
134
  method_source (~> 0.9.0)
@@ -134,72 +136,73 @@ GEM
134
136
  byebug (~> 10.0)
135
137
  pry (~> 0.10)
136
138
  rack (2.0.5)
137
- rack-protection (2.0.1)
139
+ rack-protection (2.0.3)
138
140
  rack
139
- rack-test (1.0.0)
141
+ rack-test (1.1.0)
140
142
  rack (>= 1.0, < 3)
141
- rails (5.2.0)
142
- actioncable (= 5.2.0)
143
- actionmailer (= 5.2.0)
144
- actionpack (= 5.2.0)
145
- actionview (= 5.2.0)
146
- activejob (= 5.2.0)
147
- activemodel (= 5.2.0)
148
- activerecord (= 5.2.0)
149
- activestorage (= 5.2.0)
150
- activesupport (= 5.2.0)
143
+ rails (5.2.1)
144
+ actioncable (= 5.2.1)
145
+ actionmailer (= 5.2.1)
146
+ actionpack (= 5.2.1)
147
+ actionview (= 5.2.1)
148
+ activejob (= 5.2.1)
149
+ activemodel (= 5.2.1)
150
+ activerecord (= 5.2.1)
151
+ activestorage (= 5.2.1)
152
+ activesupport (= 5.2.1)
151
153
  bundler (>= 1.3.0)
152
- railties (= 5.2.0)
154
+ railties (= 5.2.1)
153
155
  sprockets-rails (>= 2.0.0)
154
156
  rails-dom-testing (2.0.3)
155
157
  activesupport (>= 4.2.0)
156
158
  nokogiri (>= 1.6)
157
159
  rails-html-sanitizer (1.0.4)
158
160
  loofah (~> 2.2, >= 2.2.2)
159
- railties (5.2.0)
160
- actionpack (= 5.2.0)
161
- activesupport (= 5.2.0)
161
+ railties (5.2.1)
162
+ actionpack (= 5.2.1)
163
+ activesupport (= 5.2.1)
162
164
  method_source
163
165
  rake (>= 0.8.7)
164
- thor (>= 0.18.1, < 2.0)
166
+ thor (>= 0.19.0, < 2.0)
165
167
  rainbow (3.0.0)
166
168
  rake (12.3.1)
167
169
  rb-fsevent (0.10.3)
168
170
  rb-inotify (0.9.10)
169
171
  ffi (>= 0.5.0, < 2)
170
- redis (4.0.1)
171
- reek (4.8.1)
172
+ redis (4.0.2)
173
+ reek (5.0.2)
172
174
  codeclimate-engine-rb (~> 0.4.0)
173
- parser (>= 2.5.0.0, < 2.6)
175
+ kwalify (~> 0.7.0)
176
+ parser (>= 2.5.0.0, < 2.6, != 2.5.1.1)
174
177
  rainbow (>= 2.0, < 4.0)
175
- rspec (3.7.0)
176
- rspec-core (~> 3.7.0)
177
- rspec-expectations (~> 3.7.0)
178
- rspec-mocks (~> 3.7.0)
179
- rspec-core (3.7.1)
180
- rspec-support (~> 3.7.0)
181
- rspec-expectations (3.7.0)
178
+ rspec (3.8.0)
179
+ rspec-core (~> 3.8.0)
180
+ rspec-expectations (~> 3.8.0)
181
+ rspec-mocks (~> 3.8.0)
182
+ rspec-core (3.8.0)
183
+ rspec-support (~> 3.8.0)
184
+ rspec-expectations (3.8.1)
182
185
  diff-lcs (>= 1.2.0, < 2.0)
183
- rspec-support (~> 3.7.0)
184
- rspec-mocks (3.7.0)
186
+ rspec-support (~> 3.8.0)
187
+ rspec-mocks (3.8.0)
185
188
  diff-lcs (>= 1.2.0, < 2.0)
186
- rspec-support (~> 3.7.0)
187
- rspec-support (3.7.1)
188
- rspec_junit_formatter (0.3.0)
189
+ rspec-support (~> 3.8.0)
190
+ rspec-support (3.8.0)
191
+ rspec_junit_formatter (0.4.1)
189
192
  rspec-core (>= 2, < 4, != 2.12.0)
190
- rubocop (0.55.0)
193
+ rubocop (0.58.2)
194
+ jaro_winkler (~> 1.5.1)
191
195
  parallel (~> 1.10)
192
- parser (>= 2.5)
196
+ parser (>= 2.5, != 2.5.1.1)
193
197
  powerpack (~> 0.1)
194
198
  rainbow (>= 2.2.2, < 4.0)
195
199
  ruby-progressbar (~> 1.7)
196
200
  unicode-display_width (~> 1.0, >= 1.0.1)
197
- ruby-progressbar (1.9.0)
201
+ ruby-progressbar (1.10.0)
198
202
  ruby_dep (1.5.0)
199
203
  shellany (0.0.1)
200
- sidekiq (5.1.3)
201
- concurrent-ruby (~> 1.0)
202
- connection_pool (~> 2.2, >= 2.2.0)
204
+ sidekiq (5.2.1)
205
+ connection_pool (~> 2.2, >= 2.2.2)
203
206
  rack-protection (>= 1.5.0)
204
207
  redis (>= 3.3.5, < 5)
205
208
  simplecov (0.16.1)
@@ -207,7 +210,7 @@ GEM
207
210
  json (>= 1.8, < 3)
208
211
  simplecov-html (~> 0.10.0)
209
212
  simplecov-html (0.10.2)
210
- sprockets (3.7.1)
213
+ sprockets (3.7.2)
211
214
  concurrent-ruby (~> 1.0)
212
215
  rack (> 1, < 3)
213
216
  sprockets-rails (3.2.1)
@@ -218,7 +221,7 @@ GEM
218
221
  thread_safe (0.3.6)
219
222
  tzinfo (1.2.5)
220
223
  thread_safe (~> 0.1)
221
- unicode-display_width (1.3.2)
224
+ unicode-display_width (1.4.0)
222
225
  virtus (1.0.5)
223
226
  axiom-types (~> 0.1)
224
227
  coercible (~> 1.0)
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # This file was generated by Appraisal
2
4
 
3
5
  source "https://rubygems.org"
@@ -1,49 +1,49 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- traxor (0.1.19)
4
+ traxor (0.1.20)
5
5
  activesupport (>= 5.0)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- actioncable (5.2.0)
11
- actionpack (= 5.2.0)
10
+ actioncable (5.2.1)
11
+ actionpack (= 5.2.1)
12
12
  nio4r (~> 2.0)
13
13
  websocket-driver (>= 0.6.1)
14
- actionmailer (5.2.0)
15
- actionpack (= 5.2.0)
16
- actionview (= 5.2.0)
17
- activejob (= 5.2.0)
14
+ actionmailer (5.2.1)
15
+ actionpack (= 5.2.1)
16
+ actionview (= 5.2.1)
17
+ activejob (= 5.2.1)
18
18
  mail (~> 2.5, >= 2.5.4)
19
19
  rails-dom-testing (~> 2.0)
20
- actionpack (5.2.0)
21
- actionview (= 5.2.0)
22
- activesupport (= 5.2.0)
20
+ actionpack (5.2.1)
21
+ actionview (= 5.2.1)
22
+ activesupport (= 5.2.1)
23
23
  rack (~> 2.0)
24
24
  rack-test (>= 0.6.3)
25
25
  rails-dom-testing (~> 2.0)
26
26
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
- actionview (5.2.0)
28
- activesupport (= 5.2.0)
27
+ actionview (5.2.1)
28
+ activesupport (= 5.2.1)
29
29
  builder (~> 3.1)
30
30
  erubi (~> 1.4)
31
31
  rails-dom-testing (~> 2.0)
32
32
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
- activejob (5.2.0)
34
- activesupport (= 5.2.0)
33
+ activejob (5.2.1)
34
+ activesupport (= 5.2.1)
35
35
  globalid (>= 0.3.6)
36
- activemodel (5.2.0)
37
- activesupport (= 5.2.0)
38
- activerecord (5.2.0)
39
- activemodel (= 5.2.0)
40
- activesupport (= 5.2.0)
36
+ activemodel (5.2.1)
37
+ activesupport (= 5.2.1)
38
+ activerecord (5.2.1)
39
+ activemodel (= 5.2.1)
40
+ activesupport (= 5.2.1)
41
41
  arel (>= 9.0)
42
- activestorage (5.2.0)
43
- actionpack (= 5.2.0)
44
- activerecord (= 5.2.0)
42
+ activestorage (5.2.1)
43
+ actionpack (= 5.2.1)
44
+ activerecord (= 5.2.1)
45
45
  marcel (~> 0.3.1)
46
- activesupport (5.2.0)
46
+ activesupport (5.2.1)
47
47
  concurrent-ruby (~> 1.0, >= 1.0.2)
48
48
  i18n (>= 0.7, < 2)
49
49
  minitest (~> 5.1)
@@ -66,17 +66,17 @@ GEM
66
66
  coercible (1.0.0)
67
67
  descendants_tracker (~> 0.0.1)
68
68
  concurrent-ruby (1.0.5)
69
- connection_pool (2.2.1)
69
+ connection_pool (2.2.2)
70
70
  crass (1.0.4)
71
71
  descendants_tracker (0.0.4)
72
72
  thread_safe (~> 0.3, >= 0.3.1)
73
73
  diff-lcs (1.3)
74
- docile (1.3.0)
74
+ docile (1.3.1)
75
75
  equalizer (0.0.11)
76
76
  erubi (1.7.1)
77
- faraday (0.15.0)
77
+ faraday (0.15.2)
78
78
  multipart-post (>= 1.2, < 3)
79
- ffi (1.9.23)
79
+ ffi (1.9.25)
80
80
  formatador (0.2.5)
81
81
  globalid (0.4.1)
82
82
  activesupport (>= 4.2.0)
@@ -94,10 +94,12 @@ GEM
94
94
  guard (~> 2.1)
95
95
  guard-compat (~> 1.1)
96
96
  rspec (>= 2.99.0, < 4.0)
97
- i18n (1.0.1)
97
+ i18n (1.1.0)
98
98
  concurrent-ruby (~> 1.0)
99
99
  ice_nine (0.11.2)
100
+ jaro_winkler (1.5.1)
100
101
  json (2.1.0)
102
+ kwalify (0.7.2)
101
103
  listen (3.1.5)
102
104
  rb-fsevent (~> 0.9, >= 0.9.4)
103
105
  rb-inotify (~> 0.9, >= 0.9.7)
@@ -112,21 +114,21 @@ GEM
112
114
  mimemagic (~> 0.3.2)
113
115
  method_source (0.9.0)
114
116
  mimemagic (0.3.2)
115
- mini_mime (1.0.0)
117
+ mini_mime (1.0.1)
116
118
  mini_portile2 (2.3.0)
117
119
  minitest (5.11.3)
118
120
  multipart-post (2.0.0)
119
121
  nenv (0.3.0)
120
122
  nio4r (2.3.1)
121
- nokogiri (1.8.2)
123
+ nokogiri (1.8.4)
122
124
  mini_portile2 (~> 2.3.0)
123
125
  notiffany (0.1.1)
124
126
  nenv (~> 0.1)
125
127
  shellany (~> 0.0)
126
128
  parallel (1.12.1)
127
- parser (2.5.1.0)
129
+ parser (2.5.1.2)
128
130
  ast (~> 2.4.0)
129
- powerpack (0.1.1)
131
+ powerpack (0.1.2)
130
132
  pry (0.11.3)
131
133
  coderay (~> 1.1.0)
132
134
  method_source (~> 0.9.0)
@@ -134,72 +136,73 @@ GEM
134
136
  byebug (~> 10.0)
135
137
  pry (~> 0.10)
136
138
  rack (2.0.5)
137
- rack-protection (2.0.1)
139
+ rack-protection (2.0.3)
138
140
  rack
139
- rack-test (1.0.0)
141
+ rack-test (1.1.0)
140
142
  rack (>= 1.0, < 3)
141
- rails (5.2.0)
142
- actioncable (= 5.2.0)
143
- actionmailer (= 5.2.0)
144
- actionpack (= 5.2.0)
145
- actionview (= 5.2.0)
146
- activejob (= 5.2.0)
147
- activemodel (= 5.2.0)
148
- activerecord (= 5.2.0)
149
- activestorage (= 5.2.0)
150
- activesupport (= 5.2.0)
143
+ rails (5.2.1)
144
+ actioncable (= 5.2.1)
145
+ actionmailer (= 5.2.1)
146
+ actionpack (= 5.2.1)
147
+ actionview (= 5.2.1)
148
+ activejob (= 5.2.1)
149
+ activemodel (= 5.2.1)
150
+ activerecord (= 5.2.1)
151
+ activestorage (= 5.2.1)
152
+ activesupport (= 5.2.1)
151
153
  bundler (>= 1.3.0)
152
- railties (= 5.2.0)
154
+ railties (= 5.2.1)
153
155
  sprockets-rails (>= 2.0.0)
154
156
  rails-dom-testing (2.0.3)
155
157
  activesupport (>= 4.2.0)
156
158
  nokogiri (>= 1.6)
157
159
  rails-html-sanitizer (1.0.4)
158
160
  loofah (~> 2.2, >= 2.2.2)
159
- railties (5.2.0)
160
- actionpack (= 5.2.0)
161
- activesupport (= 5.2.0)
161
+ railties (5.2.1)
162
+ actionpack (= 5.2.1)
163
+ activesupport (= 5.2.1)
162
164
  method_source
163
165
  rake (>= 0.8.7)
164
- thor (>= 0.18.1, < 2.0)
166
+ thor (>= 0.19.0, < 2.0)
165
167
  rainbow (3.0.0)
166
168
  rake (12.3.1)
167
169
  rb-fsevent (0.10.3)
168
170
  rb-inotify (0.9.10)
169
171
  ffi (>= 0.5.0, < 2)
170
- redis (4.0.1)
171
- reek (4.8.1)
172
+ redis (4.0.2)
173
+ reek (5.0.2)
172
174
  codeclimate-engine-rb (~> 0.4.0)
173
- parser (>= 2.5.0.0, < 2.6)
175
+ kwalify (~> 0.7.0)
176
+ parser (>= 2.5.0.0, < 2.6, != 2.5.1.1)
174
177
  rainbow (>= 2.0, < 4.0)
175
- rspec (3.7.0)
176
- rspec-core (~> 3.7.0)
177
- rspec-expectations (~> 3.7.0)
178
- rspec-mocks (~> 3.7.0)
179
- rspec-core (3.7.1)
180
- rspec-support (~> 3.7.0)
181
- rspec-expectations (3.7.0)
178
+ rspec (3.8.0)
179
+ rspec-core (~> 3.8.0)
180
+ rspec-expectations (~> 3.8.0)
181
+ rspec-mocks (~> 3.8.0)
182
+ rspec-core (3.8.0)
183
+ rspec-support (~> 3.8.0)
184
+ rspec-expectations (3.8.1)
182
185
  diff-lcs (>= 1.2.0, < 2.0)
183
- rspec-support (~> 3.7.0)
184
- rspec-mocks (3.7.0)
186
+ rspec-support (~> 3.8.0)
187
+ rspec-mocks (3.8.0)
185
188
  diff-lcs (>= 1.2.0, < 2.0)
186
- rspec-support (~> 3.7.0)
187
- rspec-support (3.7.1)
188
- rspec_junit_formatter (0.3.0)
189
+ rspec-support (~> 3.8.0)
190
+ rspec-support (3.8.0)
191
+ rspec_junit_formatter (0.4.1)
189
192
  rspec-core (>= 2, < 4, != 2.12.0)
190
- rubocop (0.55.0)
193
+ rubocop (0.58.2)
194
+ jaro_winkler (~> 1.5.1)
191
195
  parallel (~> 1.10)
192
- parser (>= 2.5)
196
+ parser (>= 2.5, != 2.5.1.1)
193
197
  powerpack (~> 0.1)
194
198
  rainbow (>= 2.2.2, < 4.0)
195
199
  ruby-progressbar (~> 1.7)
196
200
  unicode-display_width (~> 1.0, >= 1.0.1)
197
- ruby-progressbar (1.9.0)
201
+ ruby-progressbar (1.10.0)
198
202
  ruby_dep (1.5.0)
199
203
  shellany (0.0.1)
200
- sidekiq (5.1.3)
201
- concurrent-ruby (~> 1.0)
202
- connection_pool (~> 2.2, >= 2.2.0)
204
+ sidekiq (5.2.1)
205
+ connection_pool (~> 2.2, >= 2.2.2)
203
206
  rack-protection (>= 1.5.0)
204
207
  redis (>= 3.3.5, < 5)
205
208
  simplecov (0.16.1)
@@ -207,7 +210,7 @@ GEM
207
210
  json (>= 1.8, < 3)
208
211
  simplecov-html (~> 0.10.0)
209
212
  simplecov-html (0.10.2)
210
- sprockets (3.7.1)
213
+ sprockets (3.7.2)
211
214
  concurrent-ruby (~> 1.0)
212
215
  rack (> 1, < 3)
213
216
  sprockets-rails (3.2.1)
@@ -218,7 +221,7 @@ GEM
218
221
  thread_safe (0.3.6)
219
222
  tzinfo (1.2.5)
220
223
  thread_safe (~> 0.1)
221
- unicode-display_width (1.3.2)
224
+ unicode-display_width (1.4.0)
222
225
  virtus (1.0.5)
223
226
  axiom-types (~> 0.1)
224
227
  coercible (~> 1.0)
@@ -36,7 +36,11 @@ module Traxor
36
36
  if defined?(Sidekiq) && Traxor.scopes.include?(:sidekiq)
37
37
  require 'traxor/sidekiq'
38
38
  ::Sidekiq.server_middleware do |chain|
39
- chain.add Traxor::Sidekiq
39
+ chain.add Traxor::Sidekiq::Middleware
40
+ end
41
+
42
+ ::Sidekiq.configure_server do |config|
43
+ config.error_handlers << Traxor::Sidekiq::ErrorHandler.new
40
44
  end
41
45
  end
42
46
  end
@@ -0,0 +1,17 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'active_support/core_ext/hash/indifferent_access'
4
+
5
+ module Traxor
6
+ module Sidekiq
7
+ class ErrorHandler
8
+ EXCEPTION_METRIC = 'sidekiq.worker.exception.count'
9
+
10
+ def call(_ex, ctx)
11
+ context = ctx.with_indifferent_access
12
+ tags = { sidekiq_worker: context[:job][:class], sidekiq_queue: context[:job][:queue] }
13
+ Metric.count EXCEPTION_METRIC, 1, tags
14
+ end
15
+ end
16
+ end
17
+ end
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'active_support/core_ext/benchmark'
4
+
5
+ module Traxor
6
+ module Sidekiq
7
+ class Middleware
8
+ DURATION_METRIC = 'sidekiq.worker.duration'
9
+ COUNT_METRIC = 'sidekiq.worker.count'
10
+
11
+ def call(worker, _job, queue)
12
+ tags = Traxor::Tags.sidekiq = { sidekiq_worker: worker.class.name, sidekiq_queue: queue }
13
+ Metric.count COUNT_METRIC, 1, tags
14
+ time = Benchmark.ms { yield }
15
+ Metric.measure DURATION_METRIC, "#{time.round(2)}ms", tags if time.positive?
16
+ end
17
+ end
18
+ end
19
+ end
@@ -1,24 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'active_support/core_ext/benchmark'
4
-
5
- module Traxor
6
- class Sidekiq
7
- DURATION_METRIC = 'sidekiq.worker.duration'
8
- COUNT_METRIC = 'sidekiq.worker.count'
9
- EXCEPTION_METRIC = 'sidekiq.worker.exception.count'
10
-
11
- def call(worker, _job, queue)
12
- tags = Traxor::Tags.sidekiq = { sidekiq_worker: worker.class.name, sidekiq_queue: queue }
13
- begin
14
- time = Benchmark.ms { yield }
15
- Metric.measure DURATION_METRIC, "#{time.round(2)}ms", tags if time.positive?
16
- rescue StandardError
17
- Metric.count EXCEPTION_METRIC, 1, tags
18
- raise
19
- ensure
20
- Metric.count COUNT_METRIC, 1, tags
21
- end
22
- end
23
- end
24
- end
3
+ require 'traxor/sidekiq/middleware'
4
+ require 'traxor/sidekiq/error_handler'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Traxor
4
- VERSION = '0.1.19'
4
+ VERSION = '0.1.20'
5
5
  end
data/traxor.gemspec CHANGED
@@ -1,4 +1,3 @@
1
-
2
1
  # frozen_string_literal: true
3
2
 
4
3
  lib = File.expand_path('lib', __dir__)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: traxor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.19
4
+ version: 0.1.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Hansen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-08-21 00:00:00.000000000 Z
11
+ date: 2018-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -215,7 +215,7 @@ extra_rdoc_files: []
215
215
  files:
216
216
  - ".circleci/config.yml"
217
217
  - ".gitignore"
218
- - ".reek"
218
+ - ".reek.yml"
219
219
  - ".rspec"
220
220
  - ".rubocop.yml"
221
221
  - ".travis.yml"
@@ -256,6 +256,8 @@ files:
256
256
  - lib/traxor/rails/active_record.rb
257
257
  - lib/traxor/rails/engine.rb
258
258
  - lib/traxor/sidekiq.rb
259
+ - lib/traxor/sidekiq/error_handler.rb
260
+ - lib/traxor/sidekiq/middleware.rb
259
261
  - lib/traxor/tags.rb
260
262
  - lib/traxor/version.rb
261
263
  - traxor.gemspec
data/.reek DELETED
@@ -1,9 +0,0 @@
1
- ---
2
- exclude_paths:
3
- - vendor/bundle
4
-
5
- DuplicateMethodCall:
6
- enabled: false
7
-
8
- IrresponsibleModule:
9
- enabled: false