hound-cli 0.2.2 → 0.3.0

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
  SHA1:
3
- metadata.gz: 7eebe942c7543376496f10fd4d4a9fd3a71607a8
4
- data.tar.gz: c70676072ad46a0e19795877729d3d7d5dd9836f
3
+ metadata.gz: 10f14da46fe0a40dceaad663aad612f90dfd614b
4
+ data.tar.gz: e1d11eb8f9bdd4579586db32f2c4ab58ce870587
5
5
  SHA512:
6
- metadata.gz: e9bb39af7fc841d0017451f5947ae94302f60a35930a8c42019b59462bbdcaf7d616be95b94b1ee3c1ea3ecb182f20742c92870ed6c83d67bc86d61afc2ffbb3
7
- data.tar.gz: 661a48624f13362f12ba9c0fbbfb6bb393fa5d26288d8b6e42efaf501944c2bb57194c390ea11805518a11c90f860dd323ae878a94dd6c254a973641036a42a0
6
+ metadata.gz: 800b649e052f6b6b61d562be4dbec6c9ef48d7dfa0e7d45b5b4a11c742ccaae3bbf284c107ef775fc8f469911002aebcf7a7c2c7c2a246bddef7d4206041b9d1
7
+ data.tar.gz: ccaf40c0be012277132e22e7e1643272756d2c1b72dd8aafadae756fd2c2112590dc68137a22bf46d3a73e67f007c037f784b2f143574aba7fb8eba6dc227967
data/.coveralls.yml ADDED
@@ -0,0 +1 @@
1
+ service_name: travis-ci
data/.hound.yml ADDED
@@ -0,0 +1,4 @@
1
+ ---
2
+ ruby:
3
+ enabled: true
4
+ config_file: ".rubocop.yml"
data/.rubocop.yml ADDED
@@ -0,0 +1,1038 @@
1
+ AllCops:
2
+ Include:
3
+ - "**/*.rake"
4
+ - "**/Gemfile"
5
+ - "**/Rakefile"
6
+ Exclude:
7
+ - "vendor/**/*"
8
+ - "db/**/*"
9
+ - "bin/**/*"
10
+ DisplayCopNames: false
11
+ StyleGuideCopsOnly: false
12
+ TargetRubyVersion: 2.3
13
+ Style/AccessModifierIndentation:
14
+ Description: Check indentation of private/protected visibility modifiers.
15
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#indent-public-private-protected
16
+ Enabled: true
17
+ EnforcedStyle: indent
18
+ SupportedStyles:
19
+ - outdent
20
+ - indent
21
+ Style/AlignHash:
22
+ Description: Align the elements of a hash literal if they span more than one line.
23
+ Enabled: true
24
+ EnforcedHashRocketStyle: key
25
+ EnforcedColonStyle: key
26
+ EnforcedLastArgumentHashStyle: always_inspect
27
+ SupportedLastArgumentHashStyles:
28
+ - always_inspect
29
+ - always_ignore
30
+ - ignore_implicit
31
+ - ignore_explicit
32
+ Style/AlignParameters:
33
+ Description: Align the parameters of a method call if they span more than one line.
34
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-double-indent
35
+ Enabled: true
36
+ EnforcedStyle: with_fixed_indentation
37
+ SupportedStyles:
38
+ - with_first_parameter
39
+ - with_fixed_indentation
40
+ Style/AndOr:
41
+ Description: Use &&/|| instead of and/or.
42
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-and-or-or
43
+ Enabled: true
44
+ EnforcedStyle: always
45
+ SupportedStyles:
46
+ - always
47
+ - conditionals
48
+ Style/BarePercentLiterals:
49
+ Description: Checks if usage of %() or %Q() matches configuration.
50
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-q-shorthand
51
+ Enabled: true
52
+ EnforcedStyle: bare_percent
53
+ SupportedStyles:
54
+ - percent_q
55
+ - bare_percent
56
+ Metrics/BlockLength:
57
+ Enabled: false
58
+ Style/BracesAroundHashParameters:
59
+ Description: Enforce braces style around hash parameters.
60
+ Enabled: true
61
+ EnforcedStyle: no_braces
62
+ SupportedStyles:
63
+ - braces
64
+ - no_braces
65
+ - context_dependent
66
+ Style/CaseIndentation:
67
+ Description: Indentation of when in a case/when/[else/]end.
68
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#indent-when-to-case
69
+ Enabled: true
70
+ IndentWhenRelativeTo: case
71
+ SupportedStyles:
72
+ - case
73
+ - end
74
+ IndentOneStep: false
75
+ Style/ClassAndModuleChildren:
76
+ Description: Checks style of children classes and modules.
77
+ Enabled: false
78
+ EnforcedStyle: nested
79
+ SupportedStyles:
80
+ - nested
81
+ - compact
82
+ Style/ClassCheck:
83
+ Description: Enforces consistent use of `Object#is_a?` or `Object#kind_of?`.
84
+ Enabled: true
85
+ EnforcedStyle: is_a?
86
+ SupportedStyles:
87
+ - is_a?
88
+ - kind_of?
89
+ Style/CollectionMethods:
90
+ Description: Preferred collection methods.
91
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#map-find-select-reduce-size
92
+ Enabled: false
93
+ PreferredMethods:
94
+ collect: map
95
+ collect!: map!
96
+ inject: reduce
97
+ detect: find
98
+ find_all: select
99
+ find: detect
100
+ Style/CommentAnnotation:
101
+ Description: Checks formatting of special comments (TODO, FIXME, OPTIMIZE, HACK,
102
+ REVIEW).
103
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#annotate-keywords
104
+ Enabled: false
105
+ Keywords:
106
+ - TODO
107
+ - FIXME
108
+ - OPTIMIZE
109
+ - HACK
110
+ - REVIEW
111
+ Style/DotPosition:
112
+ Description: Checks the position of the dot in multi-line method calls.
113
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-multi-line-chains
114
+ Enabled: true
115
+ EnforcedStyle: leading
116
+ SupportedStyles:
117
+ - leading
118
+ - trailing
119
+ Style/EmptyLineBetweenDefs:
120
+ Description: Use empty lines between defs.
121
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#empty-lines-between-methods
122
+ Enabled: true
123
+ AllowAdjacentOneLineDefs: false
124
+ Style/EmptyLinesAroundBlockBody:
125
+ Description: Keeps track of empty lines around block bodies.
126
+ Enabled: true
127
+ EnforcedStyle: no_empty_lines
128
+ SupportedStyles:
129
+ - empty_lines
130
+ - no_empty_lines
131
+ Style/EmptyLinesAroundClassBody:
132
+ Description: Keeps track of empty lines around class bodies.
133
+ Enabled: true
134
+ EnforcedStyle: no_empty_lines
135
+ SupportedStyles:
136
+ - empty_lines
137
+ - no_empty_lines
138
+ Style/EmptyLinesAroundModuleBody:
139
+ Description: Keeps track of empty lines around module bodies.
140
+ Enabled: true
141
+ EnforcedStyle: no_empty_lines
142
+ SupportedStyles:
143
+ - empty_lines
144
+ - no_empty_lines
145
+ Style/Encoding:
146
+ Description: Use UTF-8 as the source file encoding.
147
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#utf-8
148
+ Enabled: false
149
+ EnforcedStyle: always
150
+ SupportedStyles:
151
+ - when_needed
152
+ - always
153
+ Style/FileName:
154
+ Description: Use snake_case for source file names.
155
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-files
156
+ Enabled: false
157
+ Exclude: []
158
+ Style/FirstParameterIndentation:
159
+ Description: Checks the indentation of the first parameter in a method call.
160
+ Enabled: true
161
+ EnforcedStyle: special_for_inner_method_call_in_parentheses
162
+ SupportedStyles:
163
+ - consistent
164
+ - special_for_inner_method_call
165
+ - special_for_inner_method_call_in_parentheses
166
+ Style/For:
167
+ Description: Checks use of for or each in multiline loops.
168
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-for-loops
169
+ Enabled: true
170
+ EnforcedStyle: each
171
+ SupportedStyles:
172
+ - for
173
+ - each
174
+ Style/FormatString:
175
+ Description: Enforce the use of Kernel#sprintf, Kernel#format or String#%.
176
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#sprintf
177
+ Enabled: false
178
+ EnforcedStyle: format
179
+ SupportedStyles:
180
+ - format
181
+ - sprintf
182
+ - percent
183
+ Style/FrozenStringLiteralComment:
184
+ Enabled: false
185
+ Style/GlobalVars:
186
+ Description: Do not introduce global variables.
187
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#instance-vars
188
+ Enabled: false
189
+ AllowedVariables: []
190
+ Style/GuardClause:
191
+ Description: Check for conditionals that can be replaced with guard clauses
192
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals
193
+ Enabled: false
194
+ MinBodyLength: 1
195
+ Style/HashSyntax:
196
+ Description: 'Prefer Ruby 1.9 hash syntax { a: 1, b: 2 } over 1.8 syntax { :a =>
197
+ 1, :b => 2 }.'
198
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#hash-literals
199
+ Enabled: true
200
+ EnforcedStyle: ruby19
201
+ SupportedStyles:
202
+ - ruby19
203
+ - hash_rockets
204
+ Style/IfUnlessModifier:
205
+ Description: Favor modifier if/unless usage when you have a single-line body.
206
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier
207
+ Enabled: false
208
+ MaxLineLength: 80
209
+ Style/IndentationWidth:
210
+ Description: Use 2 spaces for indentation.
211
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-indentation
212
+ Enabled: true
213
+ Width: 2
214
+ Style/IndentHash:
215
+ Description: Checks the indentation of the first key in a hash literal.
216
+ Enabled: true
217
+ EnforcedStyle: special_inside_parentheses
218
+ SupportedStyles:
219
+ - special_inside_parentheses
220
+ - consistent
221
+ Style/LambdaCall:
222
+ Description: Use lambda.call(...) instead of lambda.(...).
223
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#proc-call
224
+ Enabled: false
225
+ EnforcedStyle: call
226
+ SupportedStyles:
227
+ - call
228
+ - braces
229
+ Style/Next:
230
+ Description: Use `next` to skip iteration instead of a condition at the end.
231
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-conditionals
232
+ Enabled: false
233
+ EnforcedStyle: skip_modifier_ifs
234
+ MinBodyLength: 3
235
+ SupportedStyles:
236
+ - skip_modifier_ifs
237
+ - always
238
+ Style/NonNilCheck:
239
+ Description: Checks for redundant nil checks.
240
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-non-nil-checks
241
+ Enabled: true
242
+ IncludeSemanticChanges: false
243
+ Style/MethodDefParentheses:
244
+ Description: Checks if the method definitions have or don't have parentheses.
245
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#method-parens
246
+ Enabled: true
247
+ EnforcedStyle: require_parentheses
248
+ SupportedStyles:
249
+ - require_parentheses
250
+ - require_no_parentheses
251
+ Style/MethodName:
252
+ Description: Use the configured style when naming methods.
253
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-symbols-methods-vars
254
+ Enabled: true
255
+ EnforcedStyle: snake_case
256
+ SupportedStyles:
257
+ - snake_case
258
+ - camelCase
259
+ Style/MultilineOperationIndentation:
260
+ Description: Checks indentation of binary operations that span more than one line.
261
+ Enabled: true
262
+ EnforcedStyle: indented
263
+ SupportedStyles:
264
+ - aligned
265
+ - indented
266
+ Style/MutableConstant:
267
+ Description: Do not assign mutable objects to constants.
268
+ Enabled: false
269
+ Style/NumericLiterals:
270
+ Description: Add underscores to large numeric literals to improve their readability.
271
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscores-in-numerics
272
+ Enabled: false
273
+ MinDigits: 5
274
+ Style/ParenthesesAroundCondition:
275
+ Description: Don't use parentheses around the condition of an if/unless/while.
276
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-parens-if
277
+ Enabled: true
278
+ AllowSafeAssignment: true
279
+ Style/PercentLiteralDelimiters:
280
+ Description: Use `%`-literal delimiters consistently
281
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-literal-braces
282
+ Enabled: false
283
+ PreferredDelimiters:
284
+ "%": "()"
285
+ "%i": "()"
286
+ "%q": "()"
287
+ "%Q": "()"
288
+ "%r": "{}"
289
+ "%s": "()"
290
+ "%w": "()"
291
+ "%W": "()"
292
+ "%x": "()"
293
+ Style/PercentQLiterals:
294
+ Description: Checks if uses of %Q/%q match the configured preference.
295
+ Enabled: true
296
+ EnforcedStyle: lower_case_q
297
+ SupportedStyles:
298
+ - lower_case_q
299
+ - upper_case_q
300
+ Style/PredicateName:
301
+ Description: Check the names of predicate methods.
302
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark
303
+ Enabled: true
304
+ NamePrefix:
305
+ - is_
306
+ - has_
307
+ - have_
308
+ NamePrefixBlacklist:
309
+ - is_
310
+ Style/RaiseArgs:
311
+ Description: Checks the arguments passed to raise/fail.
312
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#exception-class-messages
313
+ Enabled: false
314
+ EnforcedStyle: exploded
315
+ SupportedStyles:
316
+ - compact
317
+ - exploded
318
+ Style/RedundantReturn:
319
+ Description: Don't use return where it's not required.
320
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-explicit-return
321
+ Enabled: true
322
+ AllowMultipleReturnValues: false
323
+ Style/Semicolon:
324
+ Description: Don't use semicolons to terminate expressions.
325
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-semicolon
326
+ Enabled: true
327
+ AllowAsExpressionSeparator: false
328
+ Style/SignalException:
329
+ Description: Checks for proper usage of fail and raise.
330
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#fail-method
331
+ Enabled: false
332
+ EnforcedStyle: semantic
333
+ SupportedStyles:
334
+ - only_raise
335
+ - only_fail
336
+ - semantic
337
+ Style/SingleLineBlockParams:
338
+ Description: Enforces the names of some block params.
339
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#reduce-blocks
340
+ Enabled: false
341
+ Methods:
342
+ - reduce:
343
+ - a
344
+ - e
345
+ - inject:
346
+ - a
347
+ - e
348
+ Style/SingleLineMethods:
349
+ Description: Avoid single-line methods.
350
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-single-line-methods
351
+ Enabled: false
352
+ AllowIfMethodIsEmpty: true
353
+ Style/StringLiterals:
354
+ Description: Checks if uses of quotes match the configured preference.
355
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#consistent-string-literals
356
+ Enabled: false
357
+ EnforcedStyle: double_quotes
358
+ SupportedStyles:
359
+ - single_quotes
360
+ - double_quotes
361
+ Style/StringLiteralsInInterpolation:
362
+ Description: Checks if uses of quotes inside expressions in interpolated strings
363
+ match the configured preference.
364
+ Enabled: true
365
+ EnforcedStyle: single_quotes
366
+ SupportedStyles:
367
+ - single_quotes
368
+ - double_quotes
369
+ Style/SpaceAroundBlockParameters:
370
+ Description: Checks the spacing inside and after block parameters pipes.
371
+ Enabled: true
372
+ EnforcedStyleInsidePipes: no_space
373
+ SupportedStyles:
374
+ - space
375
+ - no_space
376
+ Style/SpaceAroundEqualsInParameterDefault:
377
+ Description: Checks that the equals signs in parameter default assignments have
378
+ or don't have surrounding space depending on configuration.
379
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-around-equals
380
+ Enabled: true
381
+ EnforcedStyle: space
382
+ SupportedStyles:
383
+ - space
384
+ - no_space
385
+ Style/SpaceBeforeBlockBraces:
386
+ Description: Checks that the left block brace has or doesn't have space before it.
387
+ Enabled: true
388
+ EnforcedStyle: space
389
+ SupportedStyles:
390
+ - space
391
+ - no_space
392
+ Style/SpaceInsideBlockBraces:
393
+ Description: Checks that block braces have or don't have surrounding space. For
394
+ blocks taking parameters, checks that the left brace has or doesn't have trailing
395
+ space.
396
+ Enabled: true
397
+ EnforcedStyle: space
398
+ SupportedStyles:
399
+ - space
400
+ - no_space
401
+ EnforcedStyleForEmptyBraces: no_space
402
+ SpaceBeforeBlockParameters: true
403
+ Style/SpaceInsideHashLiteralBraces:
404
+ Description: Use spaces inside hash literal braces - or don't.
405
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
406
+ Enabled: true
407
+ EnforcedStyle: space
408
+ EnforcedStyleForEmptyBraces: no_space
409
+ SupportedStyles:
410
+ - space
411
+ - no_space
412
+ Style/SymbolProc:
413
+ Description: Use symbols as procs instead of blocks when possible.
414
+ Enabled: true
415
+ IgnoredMethods:
416
+ - respond_to
417
+ Style/TrailingBlankLines:
418
+ Description: Checks trailing blank lines and final newline.
419
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#newline-eof
420
+ Enabled: true
421
+ EnforcedStyle: final_newline
422
+ SupportedStyles:
423
+ - final_newline
424
+ - final_blank_line
425
+ Style/TrailingCommaInArguments:
426
+ Description: Checks for trailing comma in argument lists.
427
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas
428
+ Enabled: true
429
+ Style/TrailingCommaInLiteral:
430
+ Description: Checks for trailing comma in array and hash literals.
431
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas
432
+ Enabled: true
433
+ Style/TrivialAccessors:
434
+ Description: Prefer attr_* methods to trivial readers/writers.
435
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#attr_family
436
+ Enabled: false
437
+ ExactNameMatch: false
438
+ AllowPredicates: false
439
+ AllowDSLWriters: false
440
+ Whitelist:
441
+ - to_ary
442
+ - to_a
443
+ - to_c
444
+ - to_enum
445
+ - to_h
446
+ - to_hash
447
+ - to_i
448
+ - to_int
449
+ - to_io
450
+ - to_open
451
+ - to_path
452
+ - to_proc
453
+ - to_r
454
+ - to_regexp
455
+ - to_str
456
+ - to_s
457
+ - to_sym
458
+ Style/VariableName:
459
+ Description: Use the configured style when naming variables.
460
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-symbols-methods-vars
461
+ Enabled: true
462
+ EnforcedStyle: snake_case
463
+ SupportedStyles:
464
+ - snake_case
465
+ - camelCase
466
+ Style/WhileUntilModifier:
467
+ Description: Favor modifier while/until usage when you have a single-line body.
468
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#while-as-a-modifier
469
+ Enabled: false
470
+ MaxLineLength: 80
471
+ Style/WordArray:
472
+ Description: Use %w or %W for arrays of words.
473
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-w
474
+ Enabled: false
475
+ MinSize: 0
476
+ WordRegex: !ruby/regexp /\A[\p{Word}]+\z/
477
+ Metrics/AbcSize:
478
+ Description: A calculated magnitude based on number of assignments, branches, and
479
+ conditions.
480
+ Enabled: true
481
+ Max: 25
482
+ Metrics/BlockNesting:
483
+ Description: Avoid excessive block nesting
484
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#three-is-the-number-thou-shalt-count
485
+ Enabled: true
486
+ Max: 3
487
+ Metrics/ClassLength:
488
+ Description: Avoid classes longer than 100 lines of code.
489
+ Enabled: false
490
+ CountComments: false
491
+ Max: 100
492
+ Metrics/CyclomaticComplexity:
493
+ Description: A complexity metric that is strongly correlated to the number of test
494
+ cases needed to validate a method.
495
+ Enabled: true
496
+ Max: 6
497
+ Metrics/LineLength:
498
+ Description: Limit lines to 100 characters.
499
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#100-character-limits
500
+ Enabled: true
501
+ Max: 100
502
+ AllowURI: true
503
+ URISchemes:
504
+ - http
505
+ - https
506
+ Metrics/MethodLength:
507
+ Description: Avoid methods longer than 15 lines of code.
508
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#short-methods
509
+ Enabled: true
510
+ CountComments: true
511
+ Max: 15
512
+ Exclude:
513
+ - "spec/**/*"
514
+ Metrics/ParameterLists:
515
+ Description: Avoid long parameter lists.
516
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#too-many-params
517
+ Enabled: false
518
+ Max: 5
519
+ CountKeywordArgs: true
520
+ Metrics/PerceivedComplexity:
521
+ Description: A complexity metric geared towards measuring complexity for a human
522
+ reader.
523
+ Enabled: true
524
+ Max: 7
525
+ Lint/AssignmentInCondition:
526
+ Description: Don't use assignment in conditions.
527
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition
528
+ Enabled: false
529
+ AllowSafeAssignment: true
530
+ Lint/EndAlignment:
531
+ Description: Align ends correctly.
532
+ Enabled: true
533
+ AlignWith: keyword
534
+ SupportedStyles:
535
+ - keyword
536
+ - variable
537
+ Lint/DefEndAlignment:
538
+ Description: Align ends corresponding to defs correctly.
539
+ Enabled: true
540
+ AlignWith: start_of_line
541
+ SupportedStyles:
542
+ - start_of_line
543
+ - def
544
+ Rails/ActionFilter:
545
+ Description: Enforces consistent use of action filter methods.
546
+ Enabled: true
547
+ EnforcedStyle: action
548
+ SupportedStyles:
549
+ - action
550
+ - filter
551
+ Include:
552
+ - app/controllers/**/*.rb
553
+ Rails/HasAndBelongsToMany:
554
+ Description: Prefer has_many :through to has_and_belongs_to_many.
555
+ Enabled: true
556
+ Include:
557
+ - app/models/**/*.rb
558
+ Rails/Output:
559
+ Description: Checks for calls to puts, print, etc.
560
+ Enabled: true
561
+ Include:
562
+ - app/**/*.rb
563
+ - config/**/*.rb
564
+ - db/**/*.rb
565
+ - lib/**/*.rb
566
+ Rails/ReadWriteAttribute:
567
+ Description: Checks for read_attribute(:attr) and write_attribute(:attr, val).
568
+ Enabled: true
569
+ Include:
570
+ - app/models/**/*.rb
571
+ Rails/ScopeArgs:
572
+ Description: Checks the arguments of ActiveRecord scopes.
573
+ Enabled: true
574
+ Include:
575
+ - app/models/**/*.rb
576
+ Rails/Validation:
577
+ Description: Use validates :attribute, hash of validations.
578
+ Enabled: true
579
+ Include:
580
+ - app/models/**/*.rb
581
+ Style/InlineComment:
582
+ Description: Avoid inline comments.
583
+ Enabled: false
584
+ Style/MethodCalledOnDoEndBlock:
585
+ Description: Avoid chaining a method call on a do...end block.
586
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#single-line-blocks
587
+ Enabled: false
588
+ Style/SymbolArray:
589
+ Description: Use %i or %I for arrays of symbols.
590
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-i
591
+ Enabled: false
592
+ Style/ExtraSpacing:
593
+ Description: Do not use unnecessary spacing.
594
+ Enabled: false
595
+ Style/AccessorMethodName:
596
+ Description: Check the naming of accessor methods for get_/set_.
597
+ Enabled: false
598
+ Style/Alias:
599
+ Description: Use alias_method instead of alias.
600
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#alias-method
601
+ Enabled: false
602
+ Style/AlignArray:
603
+ Description: Align the elements of an array literal if they span more than one line.
604
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#align-multiline-arrays
605
+ Enabled: true
606
+ Style/ArrayJoin:
607
+ Description: Use Array#join instead of Array#*.
608
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#array-join
609
+ Enabled: false
610
+ Style/AsciiComments:
611
+ Description: Use only ascii symbols in comments.
612
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#english-comments
613
+ Enabled: false
614
+ Style/AsciiIdentifiers:
615
+ Description: Use only ascii symbols in identifiers.
616
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#english-identifiers
617
+ Enabled: false
618
+ Style/Attr:
619
+ Description: Checks for uses of Module#attr.
620
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#attr
621
+ Enabled: false
622
+ Style/BeginBlock:
623
+ Description: Avoid the use of BEGIN blocks.
624
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-BEGIN-blocks
625
+ Enabled: true
626
+ Style/BlockComments:
627
+ Description: Do not use block comments.
628
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-block-comments
629
+ Enabled: false
630
+ Style/BlockEndNewline:
631
+ Description: Put end statement of multiline block on its own line.
632
+ Enabled: true
633
+ Style/CaseEquality:
634
+ Description: Avoid explicit use of the case equality operator(===).
635
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-case-equality
636
+ Enabled: false
637
+ Style/CharacterLiteral:
638
+ Description: Checks for uses of character literals.
639
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-character-literals
640
+ Enabled: false
641
+ Style/ClassAndModuleCamelCase:
642
+ Description: Use CamelCase for classes and modules.
643
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#camelcase-classes
644
+ Enabled: true
645
+ Style/ClassMethods:
646
+ Description: Use self when defining module/class methods.
647
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#def-self-singletons
648
+ Enabled: true
649
+ Style/ClassVars:
650
+ Description: Avoid the use of class variables.
651
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-class-vars
652
+ Enabled: false
653
+ Style/ColonMethodCall:
654
+ Description: 'Do not use :: for method call.'
655
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#double-colons
656
+ Enabled: false
657
+ Style/CommentIndentation:
658
+ Description: Indentation of comments.
659
+ Enabled: true
660
+ Style/ConstantName:
661
+ Description: Constants should use SCREAMING_SNAKE_CASE.
662
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#screaming-snake-case
663
+ Enabled: true
664
+ Style/DefWithParentheses:
665
+ Description: Use def with parentheses when there are arguments.
666
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#method-parens
667
+ Enabled: true
668
+ Style/PreferredHashMethods:
669
+ Description: Checks for use of deprecated Hash methods.
670
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#hash-key
671
+ Enabled: false
672
+ Style/Documentation:
673
+ Description: Document classes and non-namespace modules.
674
+ Enabled: false
675
+ Style/DoubleNegation:
676
+ Description: Checks for uses of double negation (!!).
677
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-bang-bang
678
+ Enabled: false
679
+ Style/EachWithObject:
680
+ Description: Prefer `each_with_object` over `inject` or `reduce`.
681
+ Enabled: false
682
+ Style/ElseAlignment:
683
+ Description: Align elses and elsifs correctly.
684
+ Enabled: true
685
+ Style/EmptyElse:
686
+ Description: Avoid empty else-clauses.
687
+ Enabled: true
688
+ Style/EmptyLines:
689
+ Description: Don't use several empty lines in a row.
690
+ Enabled: true
691
+ Style/EmptyLinesAroundAccessModifier:
692
+ Description: Keep blank lines around access modifiers.
693
+ Enabled: true
694
+ Style/EmptyLinesAroundMethodBody:
695
+ Description: Keeps track of empty lines around method bodies.
696
+ Enabled: true
697
+ Style/EmptyLiteral:
698
+ Description: Prefer literals to Array.new/Hash.new/String.new.
699
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#literal-array-hash
700
+ Enabled: false
701
+ Style/EndBlock:
702
+ Description: Avoid the use of END blocks.
703
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-END-blocks
704
+ Enabled: true
705
+ Style/EndOfLine:
706
+ Description: Use Unix-style line endings.
707
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#crlf
708
+ Enabled: true
709
+ Style/EvenOdd:
710
+ Description: Favor the use of Fixnum#even? && Fixnum#odd?
711
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#predicate-methods
712
+ Enabled: false
713
+ Style/FlipFlop:
714
+ Description: Checks for flip flops
715
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-flip-flops
716
+ Enabled: false
717
+ Style/IfWithSemicolon:
718
+ Description: Do not use if x; .... Use the ternary operator instead.
719
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-semicolon-ifs
720
+ Enabled: false
721
+ Style/IndentationConsistency:
722
+ Description: Keep indentation straight.
723
+ Enabled: true
724
+ Style/IndentArray:
725
+ Description: Checks the indentation of the first element in an array literal.
726
+ Enabled: true
727
+ Style/InfiniteLoop:
728
+ Description: Use Kernel#loop for infinite loops.
729
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#infinite-loop
730
+ Enabled: true
731
+ Style/Lambda:
732
+ Description: Use the new lambda literal syntax for single-line blocks.
733
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#lambda-multi-line
734
+ Enabled: false
735
+ Style/LeadingCommentSpace:
736
+ Description: Comments should start with a space.
737
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#hash-space
738
+ Enabled: true
739
+ Style/LineEndConcatenation:
740
+ Description: Use \ instead of + or << to concatenate two string literals at line
741
+ end.
742
+ Enabled: false
743
+ Style/MethodCallParentheses:
744
+ Description: Do not use parentheses for method calls with no arguments.
745
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-args-no-parens
746
+ Enabled: true
747
+ Style/ModuleFunction:
748
+ Description: Checks for usage of `extend self` in modules.
749
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#module-function
750
+ Enabled: false
751
+ Style/MultilineBlockChain:
752
+ Description: Avoid multi-line chains of blocks.
753
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#single-line-blocks
754
+ Enabled: false
755
+ Style/MultilineBlockLayout:
756
+ Description: Ensures newlines after multiline block do statements.
757
+ Enabled: false
758
+ Style/MultilineIfThen:
759
+ Description: Do not use then for multi-line if/unless.
760
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-then
761
+ Enabled: true
762
+ Style/MultilineTernaryOperator:
763
+ Description: 'Avoid multi-line ?: (the ternary operator); use if/unless instead.'
764
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-multiline-ternary
765
+ Enabled: true
766
+ Style/NegatedIf:
767
+ Description: Favor unless over if for negative conditions (or control flow or).
768
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#unless-for-negatives
769
+ Enabled: false
770
+ Style/NegatedWhile:
771
+ Description: Favor until over while for negative conditions.
772
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#until-for-negatives
773
+ Enabled: false
774
+ Style/NestedTernaryOperator:
775
+ Description: Use one expression per branch in a ternary operator.
776
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-nested-ternary
777
+ Enabled: true
778
+ Style/NilComparison:
779
+ Description: Prefer x.nil? to x == nil.
780
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#predicate-methods
781
+ Enabled: false
782
+ Style/Not:
783
+ Description: Use ! instead of not.
784
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#bang-not-not
785
+ Enabled: true
786
+ Style/OneLineConditional:
787
+ Description: Favor the ternary operator(?:) over if/then/else/end constructs.
788
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#ternary-operator
789
+ Enabled: false
790
+ Style/OpMethod:
791
+ Description: When defining binary operators, name the argument other.
792
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#other-arg
793
+ Enabled: false
794
+ Style/PerlBackrefs:
795
+ Description: Avoid Perl-style regex back references.
796
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-perl-regexp-last-matchers
797
+ Enabled: false
798
+ Style/Proc:
799
+ Description: Use proc instead of Proc.new.
800
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#proc
801
+ Enabled: false
802
+ Style/RedundantBegin:
803
+ Description: Don't use begin blocks when they are not needed.
804
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#begin-implicit
805
+ Enabled: true
806
+ Style/RedundantException:
807
+ Description: Checks for an obsolete RuntimeException argument in raise/fail.
808
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-explicit-runtimeerror
809
+ Enabled: true
810
+ Style/RedundantSelf:
811
+ Description: Don't use self where it's not needed.
812
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-self-unless-required
813
+ Enabled: true
814
+ Style/RescueModifier:
815
+ Description: Avoid using rescue in its modifier form.
816
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-rescue-modifiers
817
+ Enabled: true
818
+ Style/SelfAssignment:
819
+ Description: Checks for places where self-assignment shorthand should have been
820
+ used.
821
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#self-assignment
822
+ Enabled: false
823
+ Style/SpaceAfterColon:
824
+ Description: Use spaces after colons.
825
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
826
+ Enabled: true
827
+ Style/SpaceAfterComma:
828
+ Description: Use spaces after commas.
829
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
830
+ Enabled: true
831
+ Style/SpaceAroundKeyword:
832
+ Description: Use a space around keywords if appropriate.
833
+ Enabled: true
834
+ Style/SpaceAfterMethodName:
835
+ Description: Do not put a space between a method name and the opening parenthesis
836
+ in a method definition.
837
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-no-spaces
838
+ Enabled: true
839
+ Style/SpaceAfterNot:
840
+ Description: Tracks redundant space after the ! operator.
841
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-space-bang
842
+ Enabled: true
843
+ Style/SpaceAfterSemicolon:
844
+ Description: Use spaces after semicolons.
845
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
846
+ Enabled: true
847
+ Style/SpaceBeforeComma:
848
+ Description: No spaces before commas.
849
+ Enabled: true
850
+ Style/SpaceBeforeComment:
851
+ Description: Checks for missing space between code and a comment on the same line.
852
+ Enabled: true
853
+ Style/SpaceBeforeFirstArg:
854
+ Description: Put a space between a method name and the first argument in a method
855
+ call without parentheses.
856
+ Enabled: true
857
+ Style/SpaceBeforeSemicolon:
858
+ Description: No spaces before semicolons.
859
+ Enabled: true
860
+ Style/SpaceAroundOperators:
861
+ Description: Use spaces around operators.
862
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-operators
863
+ Enabled: true
864
+ Style/SpaceInsideBrackets:
865
+ Description: No spaces after [ or before ].
866
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-spaces-braces
867
+ Enabled: true
868
+ Style/SpaceInsideParens:
869
+ Description: No spaces after ( or before ).
870
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-spaces-braces
871
+ Enabled: true
872
+ Style/SpaceInsideRangeLiteral:
873
+ Description: No spaces inside range literals.
874
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-space-inside-range-literals
875
+ Enabled: true
876
+ Style/SpecialGlobalVars:
877
+ Description: Avoid Perl-style global variables.
878
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-cryptic-perlisms
879
+ Enabled: false
880
+ Style/StructInheritance:
881
+ Description: Checks for inheritance from Struct.new.
882
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-extend-struct-new
883
+ Enabled: true
884
+ Style/Tab:
885
+ Description: No hard tabs.
886
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#spaces-indentation
887
+ Enabled: true
888
+ Style/TrailingWhitespace:
889
+ Description: Avoid trailing whitespace.
890
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-trailing-whitespace
891
+ Enabled: true
892
+ Style/UnlessElse:
893
+ Description: Do not use unless with else. Rewrite these with the positive case first.
894
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-else-with-unless
895
+ Enabled: true
896
+ Style/UnneededCapitalW:
897
+ Description: Checks for %W when interpolation is not needed.
898
+ Enabled: true
899
+ Style/UnneededPercentQ:
900
+ Description: Checks for %q/%Q when single quotes or double quotes would do.
901
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#percent-q
902
+ Enabled: true
903
+ Style/VariableInterpolation:
904
+ Description: Don't interpolate global, instance and class variables directly in
905
+ strings.
906
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#curlies-interpolate
907
+ Enabled: false
908
+ Style/WhenThen:
909
+ Description: Use when x then ... for one-line cases.
910
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#one-line-cases
911
+ Enabled: false
912
+ Style/WhileUntilDo:
913
+ Description: Checks for redundant do after while or until.
914
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-multiline-while-do
915
+ Enabled: true
916
+ Lint/AmbiguousOperator:
917
+ Description: Checks for ambiguous operators in the first argument of a method invocation
918
+ without parentheses.
919
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-as-args
920
+ Enabled: false
921
+ Lint/AmbiguousRegexpLiteral:
922
+ Description: Checks for ambiguous regexp literals in the first argument of a method
923
+ invocation without parenthesis.
924
+ Enabled: false
925
+ Lint/BlockAlignment:
926
+ Description: Align block ends correctly.
927
+ Enabled: true
928
+ Lint/ConditionPosition:
929
+ Description: Checks for condition placed in a confusing position relative to the
930
+ keyword.
931
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#same-line-condition
932
+ Enabled: false
933
+ Lint/Debugger:
934
+ Description: Check for debugger calls.
935
+ Enabled: true
936
+ Lint/DeprecatedClassMethods:
937
+ Description: Check for deprecated class method calls.
938
+ Enabled: false
939
+ Lint/DuplicateMethods:
940
+ Description: Check for duplicate methods calls.
941
+ Enabled: true
942
+ Lint/ElseLayout:
943
+ Description: Check for odd code arrangement in an else block.
944
+ Enabled: false
945
+ Lint/EmptyEnsure:
946
+ Description: Checks for empty ensure block.
947
+ Enabled: true
948
+ Lint/EmptyInterpolation:
949
+ Description: Checks for empty string interpolation.
950
+ Enabled: true
951
+ Lint/EndInMethod:
952
+ Description: END blocks should not be placed inside method definitions.
953
+ Enabled: true
954
+ Lint/EnsureReturn:
955
+ Description: Do not use return in an ensure block.
956
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-return-ensure
957
+ Enabled: true
958
+ Lint/Eval:
959
+ Description: The use of eval represents a serious security risk.
960
+ Enabled: true
961
+ Lint/HandleExceptions:
962
+ Description: Don't suppress exception.
963
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#dont-hide-exceptions
964
+ Enabled: false
965
+ Lint/InvalidCharacterLiteral:
966
+ Description: Checks for invalid character literals with a non-escaped whitespace
967
+ character.
968
+ Enabled: false
969
+ Lint/LiteralInCondition:
970
+ Description: Checks of literals used in conditions.
971
+ Enabled: false
972
+ Lint/LiteralInInterpolation:
973
+ Description: Checks for literals used in interpolation.
974
+ Enabled: false
975
+ Lint/Loop:
976
+ Description: Use Kernel#loop with break rather than begin/end/until or begin/end/while
977
+ for post-loop tests.
978
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#loop-with-break
979
+ Enabled: false
980
+ Lint/ParenthesesAsGroupedExpression:
981
+ Description: Checks for method calls with a space before the opening parenthesis.
982
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#parens-no-spaces
983
+ Enabled: false
984
+ Lint/RequireParentheses:
985
+ Description: Use parentheses in the method call to avoid confusion about precedence.
986
+ Enabled: false
987
+ Lint/RescueException:
988
+ Description: Avoid rescuing the Exception class.
989
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-blind-rescues
990
+ Enabled: true
991
+ Lint/ShadowingOuterLocalVariable:
992
+ Description: Do not use the same name as outer local variable for block arguments
993
+ or block local variables.
994
+ Enabled: true
995
+ Lint/StringConversionInInterpolation:
996
+ Description: Checks for Object#to_s usage in string interpolation.
997
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#no-to-s
998
+ Enabled: true
999
+ Lint/UnderscorePrefixedVariableName:
1000
+ Description: Do not use prefix `_` for a variable that is used.
1001
+ Enabled: false
1002
+ Lint/UnusedBlockArgument:
1003
+ Description: Checks for unused block arguments.
1004
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars
1005
+ Enabled: true
1006
+ Lint/UnusedMethodArgument:
1007
+ Description: Checks for unused method arguments.
1008
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars
1009
+ Enabled: true
1010
+ Lint/UnreachableCode:
1011
+ Description: Unreachable code.
1012
+ Enabled: true
1013
+ Lint/UselessAccessModifier:
1014
+ Description: Checks for useless access modifiers.
1015
+ Enabled: true
1016
+ Lint/UselessAssignment:
1017
+ Description: Checks for useless assignment to a local variable.
1018
+ StyleGuide: https://github.com/bbatsov/ruby-style-guide#underscore-unused-vars
1019
+ Enabled: true
1020
+ Lint/UselessComparison:
1021
+ Description: Checks for comparison of something with itself.
1022
+ Enabled: true
1023
+ Lint/UselessElseWithoutRescue:
1024
+ Description: Checks for useless `else` in `begin..end` without `rescue`.
1025
+ Enabled: true
1026
+ Lint/UselessSetterCall:
1027
+ Description: Checks for useless setter call to a local variable.
1028
+ Enabled: true
1029
+ Lint/Void:
1030
+ Description: Possible use of operator/literal/variable in void context.
1031
+ Enabled: false
1032
+ Rails/Delegate:
1033
+ Description: Prefer delegate method for delegations.
1034
+ Enabled: false
1035
+ Performance/RedundantBlockCall:
1036
+ Description: Use `yield` instead of `block.call`.
1037
+ Reference: https://github.com/JuanitoFatas/fast-ruby#proccall-vs-yield-code
1038
+ Enabled: false
data/.travis.yml CHANGED
@@ -5,7 +5,7 @@ before_install: gem install bundler -v 1.12.5
5
5
  deploy:
6
6
  provider: rubygems
7
7
  api_key:
8
- secure: dHxqTlIlkQvCOMG5acKpJaD/Sh+5K7tQNYrvXjJjAByLeFRjRP9lTduVgJgMn8Dj+r71WwVWmKlAQ8NU4/syBUpBRnrXHZ3t9mt6jYDzBI+e0j6aOPLYrXlC9hEPgI/g9TrG9p45KAFgCK+1zg4wD6l9HAe4nHAJ8IyMCWJRcTtAEQcMiNBKzObA2V1ygyRkNR32wF3k025J+nMNlblZ9s5ptcU2UVcE4XT49R8kWtvXOZPX9k1TsRnJ3pSNCmyOz6mHOiTmSS587ds+gt4xSghIgKUTzVYBks5buY3fQ6eXs4QtebOE1JT3yVWJkvRaGBhiABBENidNHQCbo3METYaPy+5GkxmdZ+2TiZhF4cMfGdXJhwEnGkKfrbGdFGn0s/RcDWcUzb/J11wotj1gi8dQ2ZvlSF/gZaO9ZaYkkq67QewhgebLrTyuU8kfsqqad2tLMshPSUBNWO1zU+H2pJinP5KV/zGFcOCrKFkSPa25fmR4VyG13pCBck8A2dp9CeRTG9lkczg6e7OoIoX8lGN5uoQZ2ITFxi0/fSMUeyxxizJKg+HL7zTwioz9zp/TqQROgcpDYK9/0lFPIzG2Ru4LteMhuqsdkqvrFDpodt+F0WEhWzipEctjr7l2mt6wbibgcqfHPxw269bWZW05prOkzxfAf7WidKHeOhDfRhI=
8
+ secure: LU9DCWu870DL3chJjaWAO3F33HMHII8EqUo4oDr4jysDNPGblw0UhTSCAGqUbLhiLHIgXUkxWbn4oRBRtLxBX/M4+VX0ObE3L8SIBzxw0rpl5Yi6OnG4jNLIxVgouD8ax2tPe+AQV1Gv7DGwEg6AAZDZyH5MZU3HjtPJ7YJI9paM57pTK9oD3jzUP7wNLcNuQGfhIv+1d/o1yCqZcs5826k55zrLmVGzAwskugxcMOnwLBK+coK06aydL471MJhd8LB7SSSgRio2CPH/Ixr+a0m1YUkKTqJwj7wuKC/7pV9Vd8x6tufnBKmReI339cZCnEKmaoi6TfkiPPAuqoLvDBI9+v4Cr+EtIveO52ue5dlVBwCa0sYjhQP3kn0rRT0zow88tKp8ceaFwFGiwQggIli3zfVI8uDBw7QQ1Nz4U6v1w46HnxnGxRtz2+MQo/jYKFenyYM63QZrlHQgiQgCdFKObk95c6pqI078xD3hyl5a+s058VJHo7bHdA9mjXF3VAQlTkVp3UHHcPa/F1aXSVP+UfhPCmPO2t1oMffU0Kc00HJQTNjPPJPbwm0s+YPxZaVc7NVT1OLXEYuz35UWIHetWi6UPiIoLuQlAUsCoQaDVpH9IA+mDKv7aa5ZNO7Sf9Z2zLoLeywFlBR7P7s5nG6vLzng4xAG4u/fVk3xlQc=
9
9
  gem: hound-cli
10
10
  on:
11
11
  tags: true
data/CHANGELOG.md CHANGED
@@ -1,6 +1,15 @@
1
- # Changelog
1
+ # Change Log
2
+ All notable changes to this project will be documented in this file.
3
+ This project adheres to [Semantic Versioning](http://semver.org/).
2
4
 
3
- ## 0.2.2
5
+ ### v0.3.0
4
6
 
5
- Bugfixes:
6
- - Looking for wrong hound.yml path does not trigger local update.
7
+ * Add Hound configuration.
8
+ * Deploy with Travis CI.
9
+ * Configure coveralls.
10
+
11
+ ### v0.2.2
12
+
13
+ ##### Fixed
14
+
15
+ * Looking for wrong hound.yml path does not trigger local update.
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Hound CLI
1
+ # Hound CLI [![Gem Version](https://badge.fury.io/rb/hound-cli.svg)](https://badge.fury.io/rb/hound-cli) [![Build Status](https://travis-ci.org/platanus/hound-cli.svg?branch=master)](https://travis-ci.org/platanus/hound-cli) [![Coverage Status](https://coveralls.io/repos/github/platanus/hound-cli/badge.svg)](https://coveralls.io/github/platanus/hound-cli)
2
2
 
3
3
  Ruby CLI created to get and build style rules we use in Platanus to play with linters.
4
4
  This tool was built to recreate locally, the same behavior we have in [our forked version](https://github.com/platanus/hound) of [Hound](https://github.com/houndci/hound).
data/hound-cli.gemspec CHANGED
@@ -25,4 +25,5 @@ Gem::Specification.new do |spec|
25
25
  spec.add_development_dependency "rake", "~> 10.0"
26
26
  spec.add_development_dependency "rspec", "~> 3.4"
27
27
  spec.add_development_dependency "pry"
28
+ spec.add_development_dependency "coveralls"
28
29
  end
data/lib/hound/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Hound
2
- VERSION = "0.2.2"
2
+ VERSION = "0.3.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hound-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Platanus
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-27 00:00:00.000000000 Z
11
+ date: 2017-03-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colorize
@@ -126,6 +126,20 @@ dependencies:
126
126
  - - ">="
127
127
  - !ruby/object:Gem::Version
128
128
  version: '0'
129
+ - !ruby/object:Gem::Dependency
130
+ name: coveralls
131
+ requirement: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ">="
134
+ - !ruby/object:Gem::Version
135
+ version: '0'
136
+ type: :development
137
+ prerelease: false
138
+ version_requirements: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - ">="
141
+ - !ruby/object:Gem::Version
142
+ version: '0'
129
143
  description: Ruby CLI to generate style rules for several linters
130
144
  email:
131
145
  - rubygems@platan.us
@@ -134,8 +148,11 @@ executables:
134
148
  extensions: []
135
149
  extra_rdoc_files: []
136
150
  files:
151
+ - ".coveralls.yml"
137
152
  - ".gitignore"
153
+ - ".hound.yml"
138
154
  - ".rspec"
155
+ - ".rubocop.yml"
139
156
  - ".ruby-version"
140
157
  - ".travis.yml"
141
158
  - CHANGELOG.md