comma 4.2.0 → 4.5.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.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +12 -1
  3. data/.rubocop_todo.yml +3 -364
  4. data/.travis.yml +26 -57
  5. data/Appraisals +31 -1
  6. data/Gemfile +5 -1
  7. data/Gemfile.lock +54 -36
  8. data/README.md +3 -3
  9. data/Rakefile +2 -0
  10. data/comma.gemspec +13 -14
  11. data/gemfiles/active5.0.7.2.gemfile +12 -0
  12. data/gemfiles/active5.0.7.2.gemfile.lock +113 -0
  13. data/gemfiles/active5.1.7.gemfile +12 -0
  14. data/gemfiles/active5.1.7.gemfile.lock +113 -0
  15. data/gemfiles/active5.2.4.3.gemfile +12 -0
  16. data/gemfiles/{active5.2.0.gemfile.lock → active5.2.4.3.gemfile.lock} +48 -41
  17. data/gemfiles/active6.0.3.1.gemfile +12 -0
  18. data/gemfiles/active6.0.3.1.gemfile.lock +113 -0
  19. data/gemfiles/active6.1.0.gemfile +12 -0
  20. data/gemfiles/active6.1.0.gemfile.lock +112 -0
  21. data/gemfiles/{rails5.0.1.gemfile → rails5.0.7.2.gemfile} +5 -2
  22. data/gemfiles/rails5.0.7.2.gemfile.lock +204 -0
  23. data/gemfiles/{rails4.2.8.gemfile → rails5.1.7.gemfile} +5 -2
  24. data/gemfiles/{rails5.2.0.gemfile.lock → rails5.1.7.gemfile.lock} +97 -97
  25. data/gemfiles/rails5.2.4.3.gemfile +14 -0
  26. data/gemfiles/rails5.2.4.3.gemfile.lock +212 -0
  27. data/gemfiles/{rails4.1.16.gemfile → rails6.0.3.1.gemfile} +4 -2
  28. data/gemfiles/rails6.0.3.1.gemfile.lock +227 -0
  29. data/gemfiles/{rails4.0.13.gemfile → rails6.1.0.gemfile} +4 -2
  30. data/gemfiles/rails6.1.0.gemfile.lock +230 -0
  31. data/init.rb +2 -0
  32. data/lib/comma.rb +26 -35
  33. data/lib/comma/array.rb +2 -0
  34. data/lib/comma/data_extractor.rb +5 -5
  35. data/lib/comma/data_mapper_collection.rb +9 -3
  36. data/lib/comma/extractor.rb +3 -5
  37. data/lib/comma/generator.rb +11 -11
  38. data/lib/comma/header_extractor.rb +19 -14
  39. data/lib/comma/mongoid.rb +10 -7
  40. data/lib/comma/object.rb +5 -1
  41. data/lib/comma/relation.rb +16 -10
  42. data/lib/comma/version.rb +3 -1
  43. data/spec/comma/comma_spec.rb +71 -50
  44. data/spec/comma/data_extractor_spec.rb +13 -17
  45. data/spec/comma/header_extractor_spec.rb +7 -13
  46. data/spec/comma/rails/active_record_spec.rb +34 -33
  47. data/spec/comma/rails/data_mapper_collection_spec.rb +4 -3
  48. data/spec/comma/rails/mongoid_spec.rb +8 -7
  49. data/spec/controllers/users_controller_spec.rb +83 -70
  50. data/spec/non_rails_app/ruby_classes.rb +13 -6
  51. data/spec/rails_app/active_record/config.rb +3 -1
  52. data/spec/rails_app/active_record/models.rb +4 -2
  53. data/spec/rails_app/data_mapper/config.rb +2 -0
  54. data/spec/rails_app/mongoid/config.rb +4 -2
  55. data/spec/rails_app/rails_app.rb +12 -11
  56. data/spec/rails_app/tmp/.gitkeep +0 -0
  57. data/spec/spec_helper.rb +21 -4
  58. metadata +31 -48
  59. data/gemfiles/active4.0.13.gemfile +0 -10
  60. data/gemfiles/active4.0.13.gemfile.lock +0 -107
  61. data/gemfiles/active4.1.16.gemfile +0 -10
  62. data/gemfiles/active4.1.16.gemfile.lock +0 -106
  63. data/gemfiles/active4.2.8.gemfile +0 -10
  64. data/gemfiles/active4.2.8.gemfile.lock +0 -105
  65. data/gemfiles/active5.0.1.gemfile +0 -10
  66. data/gemfiles/active5.0.1.gemfile.lock +0 -104
  67. data/gemfiles/active5.1.0.gemfile +0 -10
  68. data/gemfiles/active5.1.0.gemfile.lock +0 -104
  69. data/gemfiles/active5.2.0.gemfile +0 -10
  70. data/gemfiles/rails4.0.13.gemfile.lock +0 -158
  71. data/gemfiles/rails4.1.16.gemfile.lock +0 -162
  72. data/gemfiles/rails4.2.8.gemfile.lock +0 -187
  73. data/gemfiles/rails5.0.1.gemfile.lock +0 -194
  74. data/gemfiles/rails5.1.0.gemfile +0 -11
  75. data/gemfiles/rails5.1.0.gemfile.lock +0 -194
  76. data/gemfiles/rails5.2.0.gemfile +0 -11
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b02d517f98eed136e0730795406aa4aef0a746ab7bcf17a85079615db2a61750
4
- data.tar.gz: 87a0807f59d155d6728772b5998c20383f40dd8ebeda81b31600529c002d91f4
3
+ metadata.gz: 614ba7e7248d40786a931f96b66cd7adca4f5b34596ae88b55ce135d1c7a620c
4
+ data.tar.gz: d24b87a98012112d4f31b1e33b949832783ee40f793d425381914701acf1cbd9
5
5
  SHA512:
6
- metadata.gz: 997614df5dd1f0d6c1b19507d7ad0ead2ee2132cd138389e75ce573ac0b89073d08101552e1e85fc71904ff965a22492da39de72cb6e82bc3c85ecbf02f0e5a3
7
- data.tar.gz: c97395442a447a96cb5943b6b814b7927c182d4e1a42c0b69d2fbd4ceec7833ad1160dbda4f85c7aee528fec126ee0d476dd9203776723e9e51d58b66a4b186f
6
+ metadata.gz: d44931b83e3bfd18f934691587c420f2a6aaba5eca39892992c3e4a3b4e7abad2d83d5a0c18abfb4eda0496e34e05052988eaa757c0b1b7de114335819613c5e
7
+ data.tar.gz: d883ae1246f570ea67b04529faa50be2ea02e73d8da75bca508899618a9ed25194a302ff833a217da266085c348adc5c36c307989849a69d75428a08fabe54fb
@@ -1,10 +1,21 @@
1
1
  inherit_from: .rubocop_todo.yml
2
2
 
3
+ require: rubocop-performance
4
+
3
5
  AllCops:
4
6
  DisplayCopNames: true
7
+ TargetRubyVersion: 2.3
5
8
  Exclude:
6
9
  - 'gemfiles/**/*'
7
10
 
8
- Style/FileName:
11
+ Metrics/LineLength:
12
+ IgnoreCopDirectives: true
13
+ Max: 120
14
+
15
+ Naming/FileName:
9
16
  Exclude:
10
17
  - 'Appraisals'
18
+
19
+ Naming/VariableNumber:
20
+ EnforcedStyle: snake_case
21
+
@@ -6,83 +6,15 @@
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: 1
10
- Lint/AmbiguousOperator:
11
- Exclude:
12
- - 'lib/comma/extractor.rb'
13
-
14
- # Offense count: 1
15
- # Cop supports --auto-correct.
16
- # Configuration parameters: AlignWith, SupportedStyles, AutoCorrect.
17
- # SupportedStyles: keyword, variable, start_of_line
18
- Lint/EndAlignment:
19
- Exclude:
20
- - 'lib/comma.rb'
21
-
22
- # Offense count: 3
23
- Lint/HandleExceptions:
24
- Exclude:
25
- - 'lib/comma/mongoid.rb'
26
- - 'spec/spec_helper.rb'
27
-
28
- # Offense count: 1
29
- # Cop supports --auto-correct.
30
- Lint/UnneededSplatExpansion:
31
- Exclude:
32
- - 'spec/spec_helper.rb'
33
-
34
- # Offense count: 5
35
- # Cop supports --auto-correct.
36
- # Configuration parameters: IgnoreEmptyBlocks, AllowUnusedKeywordArguments.
37
- Lint/UnusedBlockArgument:
38
- Exclude:
39
- - 'lib/comma/data_extractor.rb'
40
- - 'lib/comma/header_extractor.rb'
41
- - 'spec/comma/data_extractor_spec.rb'
42
-
43
- # Offense count: 6
44
- # Cop supports --auto-correct.
45
- # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods.
46
- Lint/UnusedMethodArgument:
47
- Exclude:
48
- - 'lib/comma/data_extractor.rb'
49
- - 'lib/comma/header_extractor.rb'
50
-
51
- # Offense count: 5
52
- Lint/UselessAssignment:
53
- Exclude:
54
- - 'lib/comma.rb'
55
- - 'spec/comma/comma_spec.rb'
56
-
57
- # Offense count: 19
58
- Lint/Void:
59
- Exclude:
60
- - 'spec/controllers/users_controller_spec.rb'
61
-
62
9
  # Offense count: 2
63
10
  Metrics/AbcSize:
64
11
  Max: 21
65
12
 
66
- # Offense count: 80
67
- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
68
- # URISchemes: http, https
69
- Metrics/LineLength:
70
- Max: 223
71
-
72
13
  # Offense count: 3
73
14
  # Configuration parameters: CountComments.
74
15
  Metrics/MethodLength:
75
16
  Max: 17
76
17
 
77
- # Offense count: 2
78
- # Cop supports --auto-correct.
79
- # Configuration parameters: EnforcedStyle, SupportedStyles.
80
- # SupportedStyles: always, conditionals
81
- Style/AndOr:
82
- Exclude:
83
- - 'lib/comma.rb'
84
- - 'lib/comma/generator.rb'
85
-
86
18
  # Offense count: 15
87
19
  # Cop supports --auto-correct.
88
20
  # Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods.
@@ -96,39 +28,6 @@ Style/BlockDelimiters:
96
28
  - 'spec/comma/data_extractor_spec.rb'
97
29
  - 'spec/comma/header_extractor_spec.rb'
98
30
 
99
- # Offense count: 1
100
- # Cop supports --auto-correct.
101
- # Configuration parameters: EnforcedStyle, SupportedStyles.
102
- # SupportedStyles: braces, no_braces, context_dependent
103
- Style/BracesAroundHashParameters:
104
- Exclude:
105
- - 'spec/comma/rails/active_record_spec.rb'
106
-
107
- # Offense count: 1
108
- # Cop supports --auto-correct.
109
- # Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep, IndentationWidth.
110
- # SupportedStyles: case, end
111
- Style/CaseIndentation:
112
- Exclude:
113
- - 'lib/comma.rb'
114
-
115
- # Offense count: 3
116
- # Configuration parameters: EnforcedStyle, SupportedStyles.
117
- # SupportedStyles: nested, compact
118
- Style/ClassAndModuleChildren:
119
- Exclude:
120
- - 'lib/comma/data_mapper_collection.rb'
121
- - 'lib/comma/mongoid.rb'
122
- - 'lib/comma/relation.rb'
123
-
124
- # Offense count: 1
125
- # Cop supports --auto-correct.
126
- # Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly.
127
- # SupportedStyles: assign_to_condition, assign_inside_condition
128
- Style/ConditionalAssignment:
129
- Exclude:
130
- - 'lib/comma.rb'
131
-
132
31
  # Offense count: 11
133
32
  Style/Documentation:
134
33
  Exclude:
@@ -144,279 +43,19 @@ Style/Documentation:
144
43
  - 'lib/comma/object.rb'
145
44
  - 'lib/comma/relation.rb'
146
45
 
147
- # Offense count: 1
148
- # Cop supports --auto-correct.
149
- Style/EmptyLines:
150
- Exclude:
151
- - 'spec/comma/comma_spec.rb'
152
-
153
- # Offense count: 45
154
- # Cop supports --auto-correct.
155
- # Configuration parameters: EnforcedStyle, SupportedStyles.
156
- # SupportedStyles: empty_lines, no_empty_lines
157
- Style/EmptyLinesAroundBlockBody:
158
- Exclude:
159
- - 'spec/comma/comma_spec.rb'
160
- - 'spec/comma/data_extractor_spec.rb'
161
- - 'spec/comma/header_extractor_spec.rb'
162
- - 'spec/comma/rails/active_record_spec.rb'
163
- - 'spec/comma/rails/data_mapper_collection_spec.rb'
164
- - 'spec/comma/rails/mongoid_spec.rb'
165
- - 'spec/controllers/users_controller_spec.rb'
166
-
167
- # Offense count: 7
168
- # Cop supports --auto-correct.
169
- # Configuration parameters: EnforcedStyle, SupportedStyles.
170
- # SupportedStyles: empty_lines, no_empty_lines
171
- Style/EmptyLinesAroundClassBody:
46
+ Style/MethodMissingSuper:
172
47
  Exclude:
173
48
  - 'lib/comma/data_extractor.rb'
174
- - 'lib/comma/extractor.rb'
175
- - 'lib/comma/generator.rb'
176
49
  - 'lib/comma/header_extractor.rb'
177
- - 'spec/rails_app/rails_app.rb'
178
50
 
179
- # Offense count: 4
180
- # Cop supports --auto-correct.
181
- # Configuration parameters: EnforcedStyle, SupportedStyles.
182
- # SupportedStyles: empty_lines, no_empty_lines
183
- Style/EmptyLinesAroundModuleBody:
51
+ Style/MissingRespondToMissing:
184
52
  Exclude:
185
53
  - 'lib/comma/data_extractor.rb'
186
- - 'lib/comma/extractor.rb'
187
- - 'lib/comma/generator.rb'
188
-
189
- # Offense count: 1
190
- # Cop supports --auto-correct.
191
- Style/EmptyLiteral:
192
- Exclude:
193
- - 'spec/comma/comma_spec.rb'
194
-
195
- # Offense count: 3
196
- # Cop supports --auto-correct.
197
- # Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
198
- Style/ExtraSpacing:
199
- Exclude:
200
- - 'spec/controllers/users_controller_spec.rb'
201
-
202
- # Offense count: 29
203
- # Cop supports --auto-correct.
204
- # Configuration parameters: EnforcedStyle, SupportedStyles.
205
- # SupportedStyles: when_needed, always
206
- Style/FrozenStringLiteralComment:
207
- Enabled: false
208
-
209
- # Offense count: 2
210
- # Configuration parameters: MinBodyLength.
211
- Style/GuardClause:
212
- Exclude:
213
- - 'lib/comma/generator.rb'
214
54
  - 'lib/comma/header_extractor.rb'
215
55
 
216
- # Offense count: 94
217
- # Cop supports --auto-correct.
218
- # Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
219
- # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
220
- Style/HashSyntax:
221
- Exclude:
222
- - 'lib/comma.rb'
223
- - 'spec/comma/comma_spec.rb'
224
- - 'spec/comma/rails/active_record_spec.rb'
225
- - 'spec/comma/rails/data_mapper_collection_spec.rb'
226
- - 'spec/comma/rails/mongoid_spec.rb'
227
- - 'spec/controllers/users_controller_spec.rb'
228
- - 'spec/non_rails_app/ruby_classes.rb'
229
- - 'spec/rails_app/mongoid/config.rb'
230
- - 'spec/rails_app/rails_app.rb'
231
-
232
- # Offense count: 2
233
- # Cop supports --auto-correct.
234
- # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
235
- # SupportedStyles: special_inside_parentheses, consistent, align_braces
236
- Style/IndentHash:
237
- Exclude:
238
- - 'lib/comma.rb'
239
-
240
- # Offense count: 10
241
- # Cop supports --auto-correct.
242
- # Configuration parameters: EnforcedStyle, SupportedStyles.
243
- # SupportedStyles: line_count_dependent, lambda, literal
244
- Style/Lambda:
245
- Exclude:
246
- - 'spec/comma/comma_spec.rb'
247
- - 'spec/comma/data_extractor_spec.rb'
248
- - 'spec/comma/rails/active_record_spec.rb'
249
-
250
- # Offense count: 7
251
- # Cop supports --auto-correct.
252
- Style/LeadingCommentSpace:
253
- Exclude:
254
- - 'lib/comma.rb'
255
- - 'lib/comma/mongoid.rb'
256
- - 'spec/comma/rails/active_record_spec.rb'
257
- - 'spec/controllers/users_controller_spec.rb'
258
-
259
- # Offense count: 3
260
- Style/MethodMissing:
261
- Exclude:
262
- - 'lib/comma/data_extractor.rb'
263
- - 'lib/comma/header_extractor.rb'
264
-
265
- # Offense count: 2
266
- # Cop supports --auto-correct.
267
- Style/MutableConstant:
268
- Exclude:
269
- - 'lib/comma.rb'
270
- - 'lib/comma/version.rb'
271
-
272
- # Offense count: 2
273
- # Cop supports --auto-correct.
274
- Style/ParallelAssignment:
275
- Exclude:
276
- - 'spec/non_rails_app/ruby_classes.rb'
277
-
278
- # Offense count: 4
279
- # Cop supports --auto-correct.
280
- # Configuration parameters: PreferredDelimiters.
281
- Style/PercentLiteralDelimiters:
282
- Exclude:
283
- - 'comma.gemspec'
284
- - 'spec/spec_helper.rb'
285
-
286
- # Offense count: 1
287
- # Cop supports --auto-correct.
288
- Style/PreferredHashMethods:
289
- Exclude:
290
- - 'lib/comma/generator.rb'
291
-
292
- # Offense count: 5
293
- # Cop supports --auto-correct.
294
- Style/RedundantSelf:
295
- Exclude:
296
- - 'lib/comma/header_extractor.rb'
297
- - 'spec/comma/rails/active_record_spec.rb'
298
-
299
- # Offense count: 1
300
- # Cop supports --auto-correct.
301
- Style/RescueModifier:
302
- Exclude:
303
- - 'lib/comma/header_extractor.rb'
304
-
305
- # Offense count: 1
306
- # Cop supports --auto-correct.
307
- # Configuration parameters: AllowIfMethodIsEmpty.
308
- Style/SingleLineMethods:
309
- Exclude:
310
- - 'spec/non_rails_app/ruby_classes.rb'
311
-
312
- # Offense count: 6
313
- # Cop supports --auto-correct.
314
- Style/SpaceAfterComma:
315
- Exclude:
316
- - 'spec/controllers/users_controller_spec.rb'
317
-
318
- # Offense count: 12
319
- # Cop supports --auto-correct.
320
- # Configuration parameters: AllowForAlignment.
321
- Style/SpaceAroundOperators:
322
- Exclude:
323
- - 'spec/controllers/users_controller_spec.rb'
324
-
325
- # Offense count: 3
326
- # Cop supports --auto-correct.
327
- # Configuration parameters: EnforcedStyle, SupportedStyles.
328
- # SupportedStyles: space, no_space
329
- Style/SpaceBeforeBlockBraces:
330
- Exclude:
331
- - 'lib/comma/generator.rb'
332
- - 'spec/comma/comma_spec.rb'
333
-
334
- # Offense count: 1
335
- # Cop supports --auto-correct.
336
- Style/SpaceBeforeComma:
337
- Exclude:
338
- - 'spec/spec_helper.rb'
339
-
340
- # Offense count: 1
341
- # Cop supports --auto-correct.
342
- # Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
343
- # SupportedStyles: space, no_space
344
- Style/SpaceInsideBlockBraces:
345
- Exclude:
346
- - 'spec/comma/comma_spec.rb'
347
-
348
- # Offense count: 16
349
- # Cop supports --auto-correct.
350
- # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
351
- # SupportedStyles: space, no_space, compact
352
- Style/SpaceInsideHashLiteralBraces:
353
- Exclude:
354
- - 'spec/comma/rails/active_record_spec.rb'
355
- - 'spec/controllers/users_controller_spec.rb'
356
- - 'spec/rails_app/active_record/config.rb'
357
- - 'spec/rails_app/rails_app.rb'
358
-
359
- # Offense count: 1
360
- # Cop supports --auto-correct.
361
- # Configuration parameters: EnforcedStyle, SupportedStyles.
362
- # SupportedStyles: use_perl_names, use_english_names
363
- Style/SpecialGlobalVars:
364
- Exclude:
365
- - 'comma.gemspec'
366
-
367
- # Offense count: 33
368
- # Cop supports --auto-correct.
369
- # Configuration parameters: EnforcedStyle, SupportedStyles, ConsistentQuotesInMultiline.
370
- # SupportedStyles: single_quotes, double_quotes
371
- Style/StringLiterals:
372
- Exclude:
373
- - 'comma.gemspec'
374
- - 'lib/comma.rb'
375
- - 'lib/comma/relation.rb'
376
- - 'spec/comma/comma_spec.rb'
377
- - 'spec/comma/rails/active_record_spec.rb'
378
- - 'spec/comma/rails/data_mapper_collection_spec.rb'
379
- - 'spec/comma/rails/mongoid_spec.rb'
380
- - 'spec/controllers/users_controller_spec.rb'
381
- - 'spec/rails_app/active_record/models.rb'
382
-
383
- # Offense count: 1
384
- # Cop supports --auto-correct.
385
- # Configuration parameters: IgnoredMethods.
386
- # IgnoredMethods: respond_to, define_method
387
- Style/SymbolProc:
388
- Exclude:
389
- - 'spec/comma/data_extractor_spec.rb'
390
-
391
- # Offense count: 1
392
- # Cop supports --auto-correct.
393
- # Configuration parameters: EnforcedStyle, SupportedStyles.
394
- # SupportedStyles: final_newline, final_blank_line
395
- Style/TrailingBlankLines:
396
- Exclude:
397
- - 'lib/comma/mongoid.rb'
398
-
399
- # Offense count: 2
400
- # Cop supports --auto-correct.
401
- Style/TrailingWhitespace:
402
- Exclude:
403
- - 'lib/comma/header_extractor.rb'
404
-
405
- # Offense count: 2
406
- # Cop supports --auto-correct.
407
- Style/UnneededPercentQ:
408
- Exclude:
409
- - 'comma.gemspec'
410
-
411
56
  # Offense count: 2
412
57
  # Configuration parameters: EnforcedStyle, SupportedStyles.
413
58
  # SupportedStyles: snake_case, camelCase
414
- Style/VariableName:
59
+ Naming/VariableName:
415
60
  Exclude:
416
61
  - 'spec/comma/comma_spec.rb'
417
-
418
- # Offense count: 6
419
- # Configuration parameters: SupportedStyles.
420
- # SupportedStyles: snake_case, normalcase, non_integer
421
- Style/VariableNumber:
422
- Enabled: false
@@ -5,66 +5,35 @@ services: mongodb
5
5
  language: ruby
6
6
  cache: bundler
7
7
  rvm:
8
- - 2.1.10
9
- - 2.2.10
10
- - 2.3.7
11
- - 2.4.4
12
- - 2.5.1
13
- - rbx-2
14
- - jruby
8
+ - 2.4.10
9
+ - 2.5.8
10
+ - 2.6.6
11
+ - 2.7.2
15
12
  gemfile:
16
- - gemfiles/active4.1.16.gemfile
17
- - gemfiles/active4.2.8.gemfile
18
- - gemfiles/active5.0.1.gemfile
19
- - gemfiles/active5.1.0.gemfile
20
- - gemfiles/active5.2.0.gemfile
21
- - gemfiles/rails4.1.16.gemfile
22
- - gemfiles/rails4.2.8.gemfile
23
- - gemfiles/rails5.0.1.gemfile
24
- - gemfiles/rails5.1.0.gemfile
25
- - gemfiles/rails5.2.0.gemfile
13
+ - gemfiles/active5.0.7.2.gemfile
14
+ - gemfiles/active5.1.7.gemfile
15
+ - gemfiles/active5.2.4.3.gemfile
16
+ - gemfiles/active6.0.3.1.gemfile
17
+ - gemfiles/active6.1.0.gemfile
18
+ - gemfiles/rails5.0.7.2.gemfile
19
+ - gemfiles/rails5.1.7.gemfile
20
+ - gemfiles/rails5.2.4.3.gemfile
21
+ - gemfiles/rails6.0.3.1.gemfile
22
+ - gemfiles/rails6.1.0.gemfile
26
23
  matrix:
27
24
  exclude:
28
- - rvm: 2.1.10
29
- gemfile: gemfiles/active5.0.1.gemfile
30
- - rvm: 2.1.10
31
- gemfile: gemfiles/active5.1.0.gemfile
32
- - rvm: 2.1.10
33
- gemfile: gemfiles/active5.2.0.gemfile
34
- - rvm: 2.1.10
35
- gemfile: gemfiles/rails5.0.1.gemfile
36
- - rvm: 2.1.10
37
- gemfile: gemfiles/rails5.1.0.gemfile
38
- - rvm: 2.1.10
39
- gemfile: gemfiles/rails5.2.0.gemfile
40
- - rvm: 2.2.10
41
- gemfile: gemfiles/active5.2.0.gemfile
42
- - rvm: 2.2.10
43
- gemfile: gemfiles/rails5.2.0.gemfile
44
- - rvm: 2.4.4
45
- gemfile: gemfiles/active4.1.16.gemfile
46
- - rvm: 2.4.4
47
- gemfile: gemfiles/active4.2.8.gemfile
48
- - rvm: 2.4.4
49
- gemfile: gemfiles/rails4.1.16.gemfile
50
- - rvm: 2.4.4
51
- gemfile: gemfiles/rails4.2.8.gemfile
52
- - rvm: 2.5.1
53
- gemfile: gemfiles/active4.1.16.gemfile
54
- - rvm: 2.5.1
55
- gemfile: gemfiles/active4.2.8.gemfile
56
- - rvm: 2.5.1
57
- gemfile: gemfiles/rails4.1.16.gemfile
58
- - rvm: 2.5.1
59
- gemfile: gemfiles/rails4.2.8.gemfile
60
- allow_failures:
61
- - rvm: rbx-2
62
- - rvm: jruby
25
+ - rvm: 2.4.10
26
+ gemfile: gemfiles/active6.0.3.1.gemfile
27
+ - rvm: 2.4.10
28
+ gemfile: gemfiles/active6.1.0.gemfile
29
+ - rvm: 2.4.10
30
+ gemfile: gemfiles/rails6.0.3.1.gemfile
31
+ - rvm: 2.4.10
32
+ gemfile: gemfiles/rails6.1.0.gemfile
63
33
  fast_finish: true
64
- bundler_args: ""
65
- # Need to update because there is a bug in bundler that Travis CI uses.
66
34
  before_install:
67
- - gem update bundler
35
+ - gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
36
+ - gem install bundler -v '< 2'
68
37
  script:
69
- - bundle exec rake rubocop
70
- - bundle exec rake spec
38
+ - bundle exec rubocop -P
39
+ - bundle exec rspec -f d spec