scold 0.4.2 → 0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ada4b04063e566dad5f1904f978a773b173c9708
4
- data.tar.gz: 84436b3bc0df4921722acf7654f16dc3b74ad2f7
3
+ metadata.gz: b5bb9fc0e627a948ae5c290b2ef82f35c22db24b
4
+ data.tar.gz: 9dfa23355873b4ddec4a1c75d613f3107926f9f9
5
5
  SHA512:
6
- metadata.gz: 0bd4088af46216582e36515ddd0ecd54bfe77b014080c86219aaf09c5cce6f1800f0344e632ab098e752ce752de416af7e6d447a841aae73bda95923d9b1197d
7
- data.tar.gz: 34dbf0ac59a32205e4e61af3652febee4faecce86ee46059aac42016f8a89be1d422aba803b02fd8dadfa93d64d893ccdffc77e08722b89b6b5236d77ff0fc28
6
+ metadata.gz: 793b5f9087b5f48aa4cac1a6b6243f55db3125ae85cb98031d685a3e554b0d9f492e5e065963e258cef14a9c529d8415bb0c6c61237cc03e2d6b599f5e972afb
7
+ data.tar.gz: 6d1f9f97fa7aea37ab21a2cfe8b9b2e7a20dc0155695f97114d575bb61c53cbab3158a96fb02b817d0359e49d1e08d9607ff6b8e56e06b3bf9e3720c6ce47819
data/README.md CHANGED
@@ -5,15 +5,15 @@ The `scold` command calls Rubucop using the same configuration as Hound
5
5
  merged with `.rubocop.yml` file in the current directory, if present, then
6
6
  merged with `~/.rubocop_strict.yml` if present.
7
7
 
8
- The `hound` command calls `scold` with uncommitted git files, if any;
9
- otherwise does nothing. Unlike the Hound web service, this command examines
10
- entire files, not just changed lines.
8
+ The `hound` command calls `scold` with changed git files, if any; otherwise
9
+ does nothing. Unlike the Hound web service, this command inspects entire
10
+ files, not just changed lines.
11
11
 
12
12
  # Usage
13
13
 
14
14
  Add to `Gemfile`:
15
15
  ```
16
- gem "scold", require: false, github: "apptentive/scold"
16
+ gem "scold", require: false
17
17
  ```
18
18
 
19
19
  From command line:
data/lib/scold/hound.yml CHANGED
@@ -3,102 +3,10 @@
3
3
  # then modified for compatibility with newer rubocop versions
4
4
 
5
5
  AllCops:
6
- Include:
7
- - "**/*.gemspec"
8
- - "**/*.podspec"
9
- - "**/*.jbuilder"
10
- - "**/*.rake"
11
- - "**/*.opal"
12
- - "**/Gemfile"
13
- - "**/Rakefile"
14
- - "**/Capfile"
15
- - "**/Guardfile"
16
- - "**/Podfile"
17
- - "**/Thorfile"
18
- - "**/Vagrantfile"
19
- - "**/Berksfile"
20
- - "**/Cheffile"
21
- - "**/Vagabondfile"
22
6
  Exclude:
23
- - "vendor/**/*"
24
- - "db/schema.rb"
25
- RunRailsCops: false
26
- DisplayCopNames: false
27
- StyleGuideCopsOnly: false
28
- Style/AccessModifierIndentation:
29
- Description: Check indentation of private/protected visibility modifiers.
30
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#indent-public-private-protected
31
- Enabled: true
32
- EnforcedStyle: indent
33
- SupportedStyles:
34
- - outdent
35
- - indent
36
- Style/AlignHash:
37
- Description: Align the elements of a hash literal if they span more than one line.
38
- Enabled: true
39
- EnforcedHashRocketStyle: key
40
- EnforcedColonStyle: key
41
- EnforcedLastArgumentHashStyle: always_inspect
42
- SupportedLastArgumentHashStyles:
43
- - always_inspect
44
- - always_ignore
45
- - ignore_implicit
46
- - ignore_explicit
47
- Style/AlignParameters:
48
- Description: Align the parameters of a method call if they span more than one line.
49
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-double-indent
50
- Enabled: true
51
- EnforcedStyle: with_first_parameter
52
- SupportedStyles:
53
- - with_first_parameter
54
- - with_fixed_indentation
55
- Style/AndOr:
56
- Description: Use &&/|| instead of and/or.
57
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-and-or-or
58
- Enabled: true
59
- EnforcedStyle: always
60
- SupportedStyles:
61
- - always
62
- - conditionals
63
- Style/BarePercentLiterals:
64
- Description: Checks if usage of %() or %Q() matches configuration.
65
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-q-shorthand
66
- Enabled: true
67
- EnforcedStyle: bare_percent
68
- SupportedStyles:
69
- - percent_q
70
- - bare_percent
71
- Style/BracesAroundHashParameters:
72
- Description: Enforce braces style around hash parameters.
73
- Enabled: true
74
- EnforcedStyle: no_braces
75
- SupportedStyles:
76
- - braces
77
- - no_braces
78
- - context_dependent
79
- Style/CaseIndentation:
80
- Description: Indentation of when in a case/when/[else/]end.
81
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#indent-when-to-case
82
- Enabled: true
83
- IndentWhenRelativeTo: case
84
- SupportedStyles:
85
- - case
86
- - end
87
- IndentOneStep: false
88
- Style/ClassAndModuleChildren:
89
- Description: Checks style of children classes and modules.
90
- Enabled: false
91
- EnforcedStyle: nested
92
- SupportedStyles:
93
- - nested
94
- - compact
95
- Style/ClassCheck:
96
- Description: Enforces consistent use of `Object#is_a?` or `Object#kind_of?`.
97
- Enabled: true
98
- EnforcedStyle: is_a?
99
- SupportedStyles:
100
- - is_a?
101
- - kind_of?
7
+ - "vendor/**/*"
8
+ - "db/schema.rb"
9
+ UseCache: false
102
10
  Style/CollectionMethods:
103
11
  Description: Preferred collection methods.
104
12
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#map-find-select-reduce-size
@@ -109,17 +17,6 @@ Style/CollectionMethods:
109
17
  find: detect
110
18
  find_all: select
111
19
  reduce: inject
112
- Style/CommentAnnotation:
113
- Description: Checks formatting of special comments (TODO, FIXME, OPTIMIZE, HACK,
114
- REVIEW).
115
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#annotate-keywords
116
- Enabled: false
117
- Keywords:
118
- - TODO
119
- - FIXME
120
- - OPTIMIZE
121
- - HACK
122
- - REVIEW
123
20
  Style/DotPosition:
124
21
  Description: Checks the position of the dot in multi-line method calls.
125
22
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains
@@ -128,161 +25,24 @@ Style/DotPosition:
128
25
  SupportedStyles:
129
26
  - leading
130
27
  - trailing
131
- Style/EmptyLineBetweenDefs:
132
- Description: Use empty lines between defs.
133
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#empty-lines-between-methods
134
- Enabled: true
135
- AllowAdjacentOneLineDefs: false
136
- Style/EmptyLinesAroundBlockBody:
137
- Description: Keeps track of empty lines around block bodies.
138
- Enabled: true
139
- EnforcedStyle: no_empty_lines
140
- SupportedStyles:
141
- - empty_lines
142
- - no_empty_lines
143
- Style/EmptyLinesAroundClassBody:
144
- Description: Keeps track of empty lines around class bodies.
145
- Enabled: true
146
- EnforcedStyle: no_empty_lines
147
- SupportedStyles:
148
- - empty_lines
149
- - no_empty_lines
150
- Style/EmptyLinesAroundModuleBody:
151
- Description: Keeps track of empty lines around module bodies.
152
- Enabled: true
153
- EnforcedStyle: no_empty_lines
154
- SupportedStyles:
155
- - empty_lines
156
- - no_empty_lines
157
- Style/Encoding:
158
- Description: Use UTF-8 as the source file encoding.
159
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#utf-8
160
- Enabled: false
161
- EnforcedStyle: always
162
- SupportedStyles:
163
- - when_needed
164
- - always
165
28
  Style/FileName:
166
29
  Description: Use snake_case for source file names.
167
30
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-files
168
31
  Enabled: false
169
32
  Exclude: []
170
- Style/FirstParameterIndentation:
171
- Description: Checks the indentation of the first parameter in a method call.
172
- Enabled: true
173
- EnforcedStyle: special_for_inner_method_call_in_parentheses
174
- SupportedStyles:
175
- - consistent
176
- - special_for_inner_method_call
177
- - special_for_inner_method_call_in_parentheses
178
- Style/For:
179
- Description: Checks use of for or each in multiline loops.
180
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-for-loops
181
- Enabled: true
182
- EnforcedStyle: each
183
- SupportedStyles:
184
- - for
185
- - each
186
- Style/FormatString:
187
- Description: Enforce the use of Kernel#sprintf, Kernel#format or String#%.
188
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#sprintf
189
- Enabled: false
190
- EnforcedStyle: format
191
- SupportedStyles:
192
- - format
193
- - sprintf
194
- - percent
195
- Style/GlobalVars:
196
- Description: Do not introduce global variables.
197
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#instance-vars
198
- Enabled: false
199
- AllowedVariables: []
200
33
  Style/GuardClause:
201
34
  Description: Check for conditionals that can be replaced with guard clauses
202
35
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals
203
36
  Enabled: false
204
37
  MinBodyLength: 1
205
- Style/HashSyntax:
206
- Description: 'Prefer Ruby 1.9 hash syntax { a: 1, b: 2 } over 1.8 syntax { :a =>
207
- 1, :b => 2 }.'
208
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#hash-literals
209
- Enabled: true
210
- EnforcedStyle: ruby19
211
- SupportedStyles:
212
- - ruby19
213
- - hash_rockets
214
38
  Style/IfUnlessModifier:
215
39
  Description: Favor modifier if/unless usage when you have a single-line body.
216
40
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier
217
41
  Enabled: false
218
42
  MaxLineLength: 80
219
- Style/IndentationWidth:
220
- Description: Use 2 spaces for indentation.
221
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-indentation
222
- Enabled: true
223
- Width: 2
224
- Style/IndentHash:
225
- Description: Checks the indentation of the first key in a hash literal.
226
- Enabled: true
227
- EnforcedStyle: special_inside_parentheses
228
- SupportedStyles:
229
- - special_inside_parentheses
230
- - consistent
231
- Style/LambdaCall:
232
- Description: Use lambda.call(...) instead of lambda.(...).
233
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#proc-call
234
- Enabled: false
235
- EnforcedStyle: call
236
- SupportedStyles:
237
- - call
238
- - braces
239
- Style/Next:
240
- Description: Use `next` to skip iteration instead of a condition at the end.
241
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals
242
- Enabled: false
243
- EnforcedStyle: skip_modifier_ifs
244
- MinBodyLength: 3
245
- SupportedStyles:
246
- - skip_modifier_ifs
247
- - always
248
- Style/NonNilCheck:
249
- Description: Checks for redundant nil checks.
250
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-non-nil-checks
251
- Enabled: true
252
- IncludeSemanticChanges: false
253
- Style/MethodDefParentheses:
254
- Description: Checks if the method definitions have or don't have parentheses.
255
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#method-parens
256
- Enabled: true
257
- EnforcedStyle: require_parentheses
258
- SupportedStyles:
259
- - require_parentheses
260
- - require_no_parentheses
261
- Style/MethodName:
262
- Description: Use the configured style when naming methods.
263
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-symbols-methods-vars
264
- Enabled: true
265
- EnforcedStyle: snake_case
266
- SupportedStyles:
267
- - snake_case
268
- - camelCase
269
- Style/MultilineOperationIndentation:
270
- Description: Checks indentation of binary operations that span more than one line.
271
- Enabled: true
272
- EnforcedStyle: aligned
273
- SupportedStyles:
274
- - aligned
275
- - indented
276
- Style/NumericLiterals:
277
- Description: Add underscores to large numeric literals to improve their readability.
278
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscores-in-numerics
43
+ Style/OptionHash:
44
+ Description: Don't use option hashes when you can use keyword arguments.
279
45
  Enabled: false
280
- MinDigits: 5
281
- Style/ParenthesesAroundCondition:
282
- Description: Don't use parentheses around the condition of an if/unless/while.
283
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-parens-if
284
- Enabled: true
285
- AllowSafeAssignment: true
286
46
  Style/PercentLiteralDelimiters:
287
47
  Description: Use `%`-literal delimiters consistently
288
48
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-literal-braces
@@ -297,13 +57,6 @@ Style/PercentLiteralDelimiters:
297
57
  "%w": "()"
298
58
  "%W": "()"
299
59
  "%x": "()"
300
- Style/PercentQLiterals:
301
- Description: Checks if uses of %Q/%q match the configured preference.
302
- Enabled: true
303
- EnforcedStyle: lower_case_q
304
- SupportedStyles:
305
- - lower_case_q
306
- - upper_case_q
307
60
  Style/PredicateName:
308
61
  Description: Check the names of predicate methods.
309
62
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark
@@ -324,22 +77,6 @@ Style/RaiseArgs:
324
77
  SupportedStyles:
325
78
  - compact
326
79
  - exploded
327
- Style/RedundantReturn:
328
- Description: Don't use return where it's not required.
329
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-explicit-return
330
- Enabled: true
331
- AllowMultipleReturnValues: false
332
- Style/RegexpLiteral:
333
- Description: Use %r for regular expressions matching more than `MaxSlashes` '/'
334
- characters. Use %r only for regular expressions matching more than `MaxSlashes`
335
- '/' character.
336
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-r
337
- Enabled: false
338
- Style/Semicolon:
339
- Description: Don't use semicolons to terminate expressions.
340
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-semicolon
341
- Enabled: true
342
- AllowAsExpressionSeparator: false
343
80
  Style/SignalException:
344
81
  Description: Checks for proper usage of fail and raise.
345
82
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#fail-method
@@ -381,62 +118,6 @@ Style/StringLiteralsInInterpolation:
381
118
  SupportedStyles:
382
119
  - single_quotes
383
120
  - double_quotes
384
- Style/SpaceAroundBlockParameters:
385
- Description: Checks the spacing inside and after block parameters pipes.
386
- Enabled: true
387
- EnforcedStyleInsidePipes: no_space
388
- SupportedStyles:
389
- - space
390
- - no_space
391
- Style/SpaceAroundEqualsInParameterDefault:
392
- Description: Checks that the equals signs in parameter default assignments have
393
- or don't have surrounding space depending on configuration.
394
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-around-equals
395
- Enabled: true
396
- EnforcedStyle: space
397
- SupportedStyles:
398
- - space
399
- - no_space
400
- Style/SpaceBeforeBlockBraces:
401
- Description: Checks that the left block brace has or doesn't have space before it.
402
- Enabled: true
403
- EnforcedStyle: space
404
- SupportedStyles:
405
- - space
406
- - no_space
407
- Style/SpaceInsideBlockBraces:
408
- Description: Checks that block braces have or don't have surrounding space. For
409
- blocks taking parameters, checks that the left brace has or doesn't have trailing
410
- space.
411
- Enabled: true
412
- EnforcedStyle: space
413
- SupportedStyles:
414
- - space
415
- - no_space
416
- EnforcedStyleForEmptyBraces: no_space
417
- SpaceBeforeBlockParameters: true
418
- Style/SpaceInsideHashLiteralBraces:
419
- Description: Use spaces inside hash literal braces - or don't.
420
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
421
- Enabled: true
422
- EnforcedStyle: space
423
- EnforcedStyleForEmptyBraces: no_space
424
- SupportedStyles:
425
- - space
426
- - no_space
427
- Style/SymbolProc:
428
- Description: Use symbols as procs instead of blocks when possible.
429
- Enabled: true
430
- IgnoredMethods:
431
- - respond_to
432
- Style/TrailingBlankLines:
433
- Description: Checks trailing blank lines and final newline.
434
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#newline-eof
435
- Enabled: true
436
- EnforcedStyle: final_newline
437
- SupportedStyles:
438
- - final_newline
439
- - final_blank_line
440
121
  Style/TrailingComma:
441
122
  Description: Checks for trailing comma in parameter lists and literals.
442
123
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas
@@ -445,79 +126,26 @@ Style/TrailingComma:
445
126
  SupportedStyles:
446
127
  - comma
447
128
  - no_comma
448
- Style/TrivialAccessors:
449
- Description: Prefer attr_* methods to trivial readers/writers.
450
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#attr_family
451
- Enabled: false
452
- ExactNameMatch: false
453
- AllowPredicates: false
454
- AllowDSLWriters: false
455
- Whitelist:
456
- - to_ary
457
- - to_a
458
- - to_c
459
- - to_enum
460
- - to_h
461
- - to_hash
462
- - to_i
463
- - to_int
464
- - to_io
465
- - to_open
466
- - to_path
467
- - to_proc
468
- - to_r
469
- - to_regexp
470
- - to_str
471
- - to_s
472
- - to_sym
473
- Style/VariableName:
474
- Description: Use the configured style when naming variables.
475
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-symbols-methods-vars
476
- Enabled: true
477
- EnforcedStyle: snake_case
478
- SupportedStyles:
479
- - snake_case
480
- - camelCase
481
- Style/WhileUntilModifier:
482
- Description: Favor modifier while/until usage when you have a single-line body.
483
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#while-as-a-modifier
484
- Enabled: false
485
- MaxLineLength: 80
486
- Style/WordArray:
487
- Description: Use %w or %W for arrays of words.
488
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-w
489
- Enabled: false
490
- MinSize: 0
491
- WordRegex: !ruby/regexp /\A[\p{Word}]+\z/
492
129
  Metrics/AbcSize:
493
130
  Description: A calculated magnitude based on number of assignments, branches, and
494
131
  conditions.
495
- Enabled: true
496
- Max: 15
497
- Metrics/BlockNesting:
498
- Description: Avoid excessive block nesting
499
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#three-is-the-number-thou-shalt-count
500
132
  Enabled: false
501
- Max: 3
133
+ Max: 15
502
134
  Metrics/ClassLength:
503
135
  Description: Avoid classes longer than 100 lines of code.
504
136
  Enabled: false
505
137
  CountComments: false
506
138
  Max: 100
139
+ Metrics/ModuleLength:
140
+ CountComments: false
141
+ Max: 100
142
+ Description: Avoid modules longer than 100 lines of code.
143
+ Enabled: false
507
144
  Metrics/CyclomaticComplexity:
508
145
  Description: A complexity metric that is strongly correlated to the number of test
509
146
  cases needed to validate a method.
510
147
  Enabled: false
511
148
  Max: 6
512
- Metrics/LineLength:
513
- Description: Limit lines to 80 characters.
514
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#80-character-limits
515
- Enabled: true
516
- Max: 80
517
- AllowURI: true
518
- URISchemes:
519
- - http
520
- - https
521
149
  Metrics/MethodLength:
522
150
  Description: Avoid methods longer than 10 lines of code.
523
151
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#short-methods
@@ -540,76 +168,9 @@ Lint/AssignmentInCondition:
540
168
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition
541
169
  Enabled: false
542
170
  AllowSafeAssignment: true
543
- Lint/EndAlignment:
544
- Description: Align ends correctly.
545
- Enabled: true
546
- AlignWith: keyword
547
- SupportedStyles:
548
- - keyword
549
- - variable
550
- Lint/DefEndAlignment:
551
- Description: Align ends corresponding to defs correctly.
552
- Enabled: true
553
- AlignWith: start_of_line
554
- SupportedStyles:
555
- - start_of_line
556
- - def
557
- Rails/ActionFilter:
558
- Description: Enforces consistent use of action filter methods.
559
- Enabled: false
560
- EnforcedStyle: action
561
- SupportedStyles:
562
- - action
563
- - filter
564
- Include:
565
- - app/controllers/**/*.rb
566
- Rails/DefaultScope:
567
- Description: Checks if the argument passed to default_scope is a block.
568
- Enabled: true
569
- Include:
570
- - app/models/**/*.rb
571
- Rails/HasAndBelongsToMany:
572
- Description: Prefer has_many :through to has_and_belongs_to_many.
573
- Enabled: true
574
- Include:
575
- - app/models/**/*.rb
576
- Rails/Output:
577
- Description: Checks for calls to puts, print, etc.
578
- Enabled: true
579
- Include:
580
- - app/**/*.rb
581
- - config/**/*.rb
582
- - db/**/*.rb
583
- - lib/**/*.rb
584
- Rails/ReadWriteAttribute:
585
- Description: Checks for read_attribute(:attr) and write_attribute(:attr, val).
586
- Enabled: true
587
- Include:
588
- - app/models/**/*.rb
589
- Rails/ScopeArgs:
590
- Description: Checks the arguments of ActiveRecord scopes.
591
- Enabled: true
592
- Include:
593
- - app/models/**/*.rb
594
- Rails/Validation:
595
- Description: Use validates :attribute, hash of validations.
596
- Enabled: true
597
- Include:
598
- - app/models/**/*.rb
599
171
  Style/InlineComment:
600
172
  Description: Avoid inline comments.
601
173
  Enabled: false
602
- Style/MethodCalledOnDoEndBlock:
603
- Description: Avoid chaining a method call on a do...end block.
604
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#single-line-blocks
605
- Enabled: false
606
- Style/SymbolArray:
607
- Description: Use %i or %I for arrays of symbols.
608
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-i
609
- Enabled: false
610
- Style/ExtraSpacing:
611
- Description: Do not use unnecessary spacing.
612
- Enabled: true
613
174
  Style/AccessorMethodName:
614
175
  Description: Check the naming of accessor methods for get_/set_.
615
176
  Enabled: false
@@ -617,81 +178,6 @@ Style/Alias:
617
178
  Description: Use alias_method instead of alias.
618
179
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#alias-method
619
180
  Enabled: false
620
- Style/AlignArray:
621
- Description: Align the elements of an array literal if they span more than one line.
622
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#align-multiline-arrays
623
- Enabled: true
624
- Style/ArrayJoin:
625
- Description: Use Array#join instead of Array#*.
626
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#array-join
627
- Enabled: false
628
- Style/AsciiComments:
629
- Description: Use only ascii symbols in comments.
630
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#english-comments
631
- Enabled: false
632
- Style/AsciiIdentifiers:
633
- Description: Use only ascii symbols in identifiers.
634
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#english-identifiers
635
- Enabled: false
636
- Style/Attr:
637
- Description: Checks for uses of Module#attr.
638
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#attr
639
- Enabled: false
640
- Style/BeginBlock:
641
- Description: Avoid the use of BEGIN blocks.
642
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-BEGIN-blocks
643
- Enabled: true
644
- Style/BlockComments:
645
- Description: Do not use block comments.
646
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-block-comments
647
- Enabled: true
648
- Style/BlockEndNewline:
649
- Description: Put end statement of multiline block on its own line.
650
- Enabled: true
651
- Style/BlockDelimiters:
652
- Description: Avoid using {...} for multi-line blocks (multiline chaining is always
653
- ugly). Prefer {...} over do...end for single-line blocks.
654
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#single-line-blocks
655
- Enabled: true
656
- Style/CaseEquality:
657
- Description: Avoid explicit use of the case equality operator(===).
658
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-case-equality
659
- Enabled: false
660
- Style/CharacterLiteral:
661
- Description: Checks for uses of character literals.
662
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-character-literals
663
- Enabled: false
664
- Style/ClassAndModuleCamelCase:
665
- Description: Use CamelCase for classes and modules.
666
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#camelcase-classes
667
- Enabled: true
668
- Style/ClassMethods:
669
- Description: Use self when defining module/class methods.
670
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#def-self-singletons
671
- Enabled: true
672
- Style/ClassVars:
673
- Description: Avoid the use of class variables.
674
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-class-vars
675
- Enabled: false
676
- Style/ColonMethodCall:
677
- Description: 'Do not use :: for method call.'
678
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#double-colons
679
- Enabled: false
680
- Style/CommentIndentation:
681
- Description: Indentation of comments.
682
- Enabled: true
683
- Style/ConstantName:
684
- Description: Constants should use SCREAMING_SNAKE_CASE.
685
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#screaming-snake-case
686
- Enabled: true
687
- Style/DefWithParentheses:
688
- Description: Use def with parentheses when there are arguments.
689
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#method-parens
690
- Enabled: true
691
- Style/DeprecatedHashMethods:
692
- Description: Checks for use of deprecated Hash methods.
693
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#hash-key
694
- Enabled: false
695
181
  Style/Documentation:
696
182
  Description: Document classes and non-namespace modules.
697
183
  Enabled: false
@@ -702,234 +188,31 @@ Style/DoubleNegation:
702
188
  Style/EachWithObject:
703
189
  Description: Prefer `each_with_object` over `inject` or `reduce`.
704
190
  Enabled: false
705
- Style/ElseAlignment:
706
- Description: Align elses and elsifs correctly.
707
- Enabled: true
708
- Style/EmptyElse:
709
- Description: Avoid empty else-clauses.
710
- Enabled: true
711
- Style/EmptyLines:
712
- Description: Don't use several empty lines in a row.
713
- Enabled: true
714
- Style/EmptyLinesAroundAccessModifier:
715
- Description: Keep blank lines around access modifiers.
716
- Enabled: true
717
- Style/EmptyLinesAroundMethodBody:
718
- Description: Keeps track of empty lines around method bodies.
719
- Enabled: true
720
191
  Style/EmptyLiteral:
721
192
  Description: Prefer literals to Array.new/Hash.new/String.new.
722
193
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#literal-array-hash
723
194
  Enabled: false
724
- Style/EndBlock:
725
- Description: Avoid the use of END blocks.
726
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-END-blocks
727
- Enabled: true
728
- Style/EndOfLine:
729
- Description: Use Unix-style line endings.
730
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#crlf
731
- Enabled: true
732
- Style/EvenOdd:
733
- Description: Favor the use of Fixnum#even? && Fixnum#odd?
734
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#predicate-methods
735
- Enabled: false
736
- Style/FlipFlop:
737
- Description: Checks for flip flops
738
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-flip-flops
739
- Enabled: false
740
- Style/IfWithSemicolon:
741
- Description: Do not use if x; .... Use the ternary operator instead.
742
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-semicolon-ifs
743
- Enabled: false
744
- Style/IndentationConsistency:
745
- Description: Keep indentation straight.
746
- Enabled: true
747
- Style/IndentArray:
748
- Description: Checks the indentation of the first element in an array literal.
749
- Enabled: true
750
- Style/InfiniteLoop:
751
- Description: Use Kernel#loop for infinite loops.
752
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#infinite-loop
753
- Enabled: true
754
- Style/Lambda:
755
- Description: Use the new lambda literal syntax for single-line blocks.
756
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#lambda-multi-line
757
- Enabled: false
758
- Style/LeadingCommentSpace:
759
- Description: Comments should start with a space.
760
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#hash-space
761
- Enabled: true
762
- Style/LineEndConcatenation:
763
- Description: Use \ instead of + or << to concatenate two string literals at line
764
- end.
765
- Enabled: false
766
- Style/MethodCallParentheses:
767
- Description: Do not use parentheses for method calls with no arguments.
768
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-args-no-parens
769
- Enabled: true
770
195
  Style/ModuleFunction:
771
196
  Description: Checks for usage of `extend self` in modules.
772
197
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#module-function
773
198
  Enabled: false
774
- Style/MultilineBlockChain:
775
- Description: Avoid multi-line chains of blocks.
776
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#single-line-blocks
777
- Enabled: true
778
- Style/MultilineBlockLayout:
779
- Description: Ensures newlines after multiline block do statements.
780
- Enabled: true
781
- Style/MultilineIfThen:
782
- Description: Do not use then for multi-line if/unless.
783
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-then
784
- Enabled: true
785
- Style/MultilineTernaryOperator:
786
- Description: 'Avoid multi-line ?: (the ternary operator); use if/unless instead.'
787
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-multiline-ternary
788
- Enabled: true
789
- Style/NegatedIf:
790
- Description: Favor unless over if for negative conditions (or control flow or).
791
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#unless-for-negatives
792
- Enabled: false
793
- Style/NegatedWhile:
794
- Description: Favor until over while for negative conditions.
795
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#until-for-negatives
796
- Enabled: false
797
- Style/NestedTernaryOperator:
798
- Description: Use one expression per branch in a ternary operator.
799
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-ternary
800
- Enabled: true
801
- Style/NilComparison:
802
- Description: Prefer x.nil? to x == nil.
803
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#predicate-methods
804
- Enabled: false
805
- Style/Not:
806
- Description: Use ! instead of not.
807
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#bang-not-not
808
- Enabled: false
809
199
  Style/OneLineConditional:
810
200
  Description: Favor the ternary operator(?:) over if/then/else/end constructs.
811
201
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#ternary-operator
812
202
  Enabled: false
813
- Style/OpMethod:
814
- Description: When defining binary operators, name the argument other.
815
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#other-arg
816
- Enabled: false
817
203
  Style/PerlBackrefs:
818
204
  Description: Avoid Perl-style regex back references.
819
205
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-perl-regexp-last-matchers
820
206
  Enabled: false
821
- Style/Proc:
822
- Description: Use proc instead of Proc.new.
823
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#proc
824
- Enabled: false
825
- Style/RedundantBegin:
826
- Description: Don't use begin blocks when they are not needed.
827
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#begin-implicit
828
- Enabled: true
829
- Style/RedundantException:
830
- Description: Checks for an obsolete RuntimeException argument in raise/fail.
831
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-explicit-runtimeerror
832
- Enabled: true
833
- Style/RedundantSelf:
834
- Description: Don't use self where it's not needed.
835
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-self-unless-required
836
- Enabled: true
837
- Style/RescueModifier:
838
- Description: Avoid using rescue in its modifier form.
839
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-rescue-modifiers
840
- Enabled: true
841
- Style/SelfAssignment:
842
- Description: Checks for places where self-assignment shorthand should have been
843
- used.
844
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#self-assignment
207
+ Style/Send:
208
+ Description: Prefer `Object#__send__` or `Object#public_send` to `send`, as `send`
209
+ may overlap with existing methods.
210
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#prefer-public-send
845
211
  Enabled: false
846
- Style/SingleSpaceBeforeFirstArg:
847
- Description: Checks that exactly one space is used between a method name and the
848
- first argument for method calls without parentheses.
849
- Enabled: true
850
- Style/SpaceAfterColon:
851
- Description: Use spaces after colons.
852
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
853
- Enabled: true
854
- Style/SpaceAfterComma:
855
- Description: Use spaces after commas.
856
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
857
- Enabled: true
858
- Style/SpaceAfterControlKeyword:
859
- Description: Use spaces after if/elsif/unless/while/until/case/when.
860
- Enabled: true
861
- Style/SpaceAfterMethodName:
862
- Description: Do not put a space between a method name and the opening parenthesis
863
- in a method definition.
864
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-no-spaces
865
- Enabled: true
866
- Style/SpaceAfterNot:
867
- Description: Tracks redundant space after the ! operator.
868
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-space-bang
869
- Enabled: true
870
- Style/SpaceAfterSemicolon:
871
- Description: Use spaces after semicolons.
872
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
873
- Enabled: true
874
- Style/SpaceBeforeComma:
875
- Description: No spaces before commas.
876
- Enabled: true
877
- Style/SpaceBeforeComment:
878
- Description: Checks for missing space between code and a comment on the same line.
879
- Enabled: true
880
- Style/SpaceBeforeSemicolon:
881
- Description: No spaces before semicolons.
882
- Enabled: true
883
- Style/SpaceAroundOperators:
884
- Description: Use spaces around operators.
885
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
886
- Enabled: true
887
- Style/SpaceBeforeModifierKeyword:
888
- Description: Put a space before the modifier keyword.
889
- Enabled: true
890
- Style/SpaceInsideBrackets:
891
- Description: No spaces after [ or before ].
892
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-spaces-braces
893
- Enabled: true
894
- Style/SpaceInsideParens:
895
- Description: No spaces after ( or before ).
896
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-spaces-braces
897
- Enabled: true
898
- Style/SpaceInsideRangeLiteral:
899
- Description: No spaces inside range literals.
900
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-space-inside-range-literals
901
- Enabled: true
902
212
  Style/SpecialGlobalVars:
903
213
  Description: Avoid Perl-style global variables.
904
214
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-cryptic-perlisms
905
215
  Enabled: false
906
- Style/StructInheritance:
907
- Description: Checks for inheritance from Struct.new.
908
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-extend-struct-new
909
- Enabled: true
910
- Style/Tab:
911
- Description: No hard tabs.
912
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-indentation
913
- Enabled: true
914
- Style/TrailingWhitespace:
915
- Description: Avoid trailing whitespace.
916
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-trailing-whitespace
917
- Enabled: true
918
- Style/UnlessElse:
919
- Description: Do not use unless with else. Rewrite these with the positive case first.
920
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-else-with-unless
921
- Enabled: true
922
- Style/UnneededCapitalW:
923
- Description: Checks for %W when interpolation is not needed.
924
- Enabled: true
925
- Style/UnneededPercentQ:
926
- Description: Checks for %q/%Q when single quotes or double quotes would do.
927
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-q
928
- Enabled: true
929
- Style/CommandLiteral:
930
- Description: Checks for %x when `` would do.
931
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-x
932
- Enabled: true
933
216
  Style/VariableInterpolation:
934
217
  Description: Don't interpolate global, instance and class variables directly in
935
218
  strings.
@@ -939,130 +222,16 @@ Style/WhenThen:
939
222
  Description: Use when x then ... for one-line cases.
940
223
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#one-line-cases
941
224
  Enabled: false
942
- Style/WhileUntilDo:
943
- Description: Checks for redundant do after while or until.
944
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-multiline-while-do
945
- Enabled: true
946
- Lint/AmbiguousOperator:
947
- Description: Checks for ambiguous operators in the first argument of a method invocation
948
- without parentheses.
949
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-as-args
950
- Enabled: false
951
- Lint/AmbiguousRegexpLiteral:
952
- Description: Checks for ambiguous regexp literals in the first argument of a method
953
- invocation without parenthesis.
954
- Enabled: false
955
- Lint/BlockAlignment:
956
- Description: Align block ends correctly.
957
- Enabled: true
958
- Lint/ConditionPosition:
959
- Description: Checks for condition placed in a confusing position relative to the
960
- keyword.
961
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#same-line-condition
962
- Enabled: false
963
- Lint/Debugger:
964
- Description: Check for debugger calls.
965
- Enabled: true
966
- Lint/DeprecatedClassMethods:
967
- Description: Check for deprecated class method calls.
968
- Enabled: false
969
- Lint/DuplicateMethods:
970
- Description: Check for duplicate methods calls.
971
- Enabled: true
972
- Lint/ElseLayout:
973
- Description: Check for odd code arrangement in an else block.
974
- Enabled: false
975
- Lint/EmptyEnsure:
976
- Description: Checks for empty ensure block.
977
- Enabled: true
978
- Lint/EmptyInterpolation:
979
- Description: Checks for empty string interpolation.
980
- Enabled: true
981
- Lint/EndInMethod:
982
- Description: END blocks should not be placed inside method definitions.
983
- Enabled: true
984
- Lint/EnsureReturn:
985
- Description: Do not use return in an ensure block.
986
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-return-ensure
987
- Enabled: true
988
- Lint/Eval:
989
- Description: The use of eval represents a serious security risk.
225
+ Lint/EachWithObjectArgument:
226
+ Description: Check for immutable argument given to each_with_object.
990
227
  Enabled: true
991
228
  Lint/HandleExceptions:
992
229
  Description: Don't suppress exception.
993
230
  StyleGuide: https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions
994
231
  Enabled: false
995
- Lint/InvalidCharacterLiteral:
996
- Description: Checks for invalid character literals with a non-escaped whitespace
997
- character.
998
- Enabled: false
999
232
  Lint/LiteralInCondition:
1000
233
  Description: Checks of literals used in conditions.
1001
234
  Enabled: false
1002
235
  Lint/LiteralInInterpolation:
1003
236
  Description: Checks for literals used in interpolation.
1004
237
  Enabled: false
1005
- Lint/Loop:
1006
- Description: Use Kernel#loop with break rather than begin/end/until or begin/end/while
1007
- for post-loop tests.
1008
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#loop-with-break
1009
- Enabled: false
1010
- Lint/ParenthesesAsGroupedExpression:
1011
- Description: Checks for method calls with a space before the opening parenthesis.
1012
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-no-spaces
1013
- Enabled: false
1014
- Lint/RequireParentheses:
1015
- Description: Use parentheses in the method call to avoid confusion about precedence.
1016
- Enabled: false
1017
- Lint/RescueException:
1018
- Description: Avoid rescuing the Exception class.
1019
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-blind-rescues
1020
- Enabled: true
1021
- Lint/ShadowingOuterLocalVariable:
1022
- Description: Do not use the same name as outer local variable for block arguments
1023
- or block local variables.
1024
- Enabled: true
1025
- Lint/SpaceBeforeFirstArg:
1026
- Description: Put a space between a method name and the first argument in a method
1027
- call without parentheses.
1028
- Enabled: true
1029
- Lint/StringConversionInInterpolation:
1030
- Description: Checks for Object#to_s usage in string interpolation.
1031
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-to-s
1032
- Enabled: true
1033
- Lint/UnderscorePrefixedVariableName:
1034
- Description: Do not use prefix `_` for a variable that is used.
1035
- Enabled: false
1036
- Lint/UnusedBlockArgument:
1037
- Description: Checks for unused block arguments.
1038
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars
1039
- Enabled: true
1040
- Lint/UnusedMethodArgument:
1041
- Description: Checks for unused method arguments.
1042
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars
1043
- Enabled: true
1044
- Lint/UnreachableCode:
1045
- Description: Unreachable code.
1046
- Enabled: true
1047
- Lint/UselessAccessModifier:
1048
- Description: Checks for useless access modifiers.
1049
- Enabled: true
1050
- Lint/UselessAssignment:
1051
- Description: Checks for useless assignment to a local variable.
1052
- StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars
1053
- Enabled: true
1054
- Lint/UselessComparison:
1055
- Description: Checks for comparison of something with itself.
1056
- Enabled: true
1057
- Lint/UselessElseWithoutRescue:
1058
- Description: Checks for useless `else` in `begin..end` without `rescue`.
1059
- Enabled: true
1060
- Lint/UselessSetterCall:
1061
- Description: Checks for useless setter call to a local variable.
1062
- Enabled: true
1063
- Lint/Void:
1064
- Description: Possible use of operator/literal/variable in void context.
1065
- Enabled: false
1066
- Rails/Delegate:
1067
- Description: Prefer delegate method for delegations.
1068
- Enabled: false
@@ -0,0 +1,5 @@
1
+ AllCops:
2
+ Exclude:
3
+ - "*.yml"
4
+ - "Gemfile*"
5
+ - "*.md"
data/lib/scold/scolder.rb CHANGED
@@ -8,10 +8,11 @@ module Scold
8
8
  @args = args.dup
9
9
  end
10
10
 
11
- def call # rubocop:disable Metrics/AbcSize
11
+ def call
12
12
  err = Exit::FAILURE
13
13
  cfg_hound = File.expand_path("../hound.yml", __FILE__)
14
14
  cfg_current = File.expand_path(DEFAULT_CFG_NAME, Dir.pwd)
15
+ cfg_scold = File.expand_path("../scold.yml", __FILE__)
15
16
  cfg_strict =
16
17
  unless ENV["SCOLD_NO_STRICT"]
17
18
  File.expand_path(".rubocop_strict.yml", Dir.home)
@@ -23,9 +24,10 @@ module Scold
23
24
  cfg << "inherit_from:\n"
24
25
  cfg << " - #{cfg_hound}\n"
25
26
  cfg << " - #{cfg_current}\n" if file?(cfg_current)
27
+ cfg << " - #{cfg_scold}\n" if file?(cfg_scold)
26
28
  cfg << " - #{cfg_strict}\n" if file?(cfg_strict)
27
29
  cfg.close
28
- args = %W(-c #{cfg.path}).concat(@args)
30
+ args = %W(--force-exclusion -c #{cfg.path}).concat(@args)
29
31
  require "rubocop"
30
32
  err = RuboCop::CLI.new.run(args)
31
33
  ensure
data/lib/scold/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Scold
2
- VERSION = "0.4.2"
2
+ VERSION = "0.5.0"
3
3
  end
data/scold.gemspec CHANGED
@@ -24,8 +24,8 @@ Gem::Specification.new do |s|
24
24
  s.test_files = s.files.grep(%r{^(test|spec|features)/})
25
25
  s.require_paths = %w(lib)
26
26
  s.extra_rdoc_files = %w(README.md)
27
- s.rubygems_version = "2.4.8"
28
- s.add_runtime_dependency("rubocop", "~> 0.33")
27
+ s.rubygems_version = "2.5.0"
28
+ s.add_runtime_dependency("rubocop", "~> 0.35")
29
29
  s.add_development_dependency("bundler", "~> 1.10")
30
30
  s.add_development_dependency("rspec", "~> 3.3")
31
31
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scold
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - John Fearnside
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-26 00:00:00.000000000 Z
11
+ date: 2015-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.33'
19
+ version: '0.35'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.33'
26
+ version: '0.35'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -70,6 +70,7 @@ files:
70
70
  - lib/scold/exit.rb
71
71
  - lib/scold/hound.yml
72
72
  - lib/scold/hounder.rb
73
+ - lib/scold/scold.yml
73
74
  - lib/scold/scolder.rb
74
75
  - lib/scold/version.rb
75
76
  - scold.gemspec
@@ -100,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
101
  version: '0'
101
102
  requirements: []
102
103
  rubyforge_project:
103
- rubygems_version: 2.4.5.1
104
+ rubygems_version: 2.5.0
104
105
  signing_key:
105
106
  specification_version: 4
106
107
  summary: Hound-like Rubocop utility