standard 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d6dd8158c1cb3bfff07808e589d130847b1bb77b269fb073c56c47749f91da8
4
- data.tar.gz: e862ed515e515abf1251bf12a58004164729eef15672c777c9696fb26be15e44
3
+ metadata.gz: c97e8a61db62f9ae587975b556c3bf120fbee6aaf22faa27c4357c3a4d71f30e
4
+ data.tar.gz: 92700dc4f8c98a025345ee58461aace38177381425116c7120c5f97bf82b2dca
5
5
  SHA512:
6
- metadata.gz: 4938e1634d68904cd112fb10b2b16a3b688747780bd7b8eea87d7d056d5afb75b03b745e75230d79461050962928e9b93057f48b754b942360c26479514b1013
7
- data.tar.gz: 7cb40b3627eb04e1441bb6d06fe95d37814ae2351633f62676834556d47b489ddce9bc697aedd755aefde9b8866e0619a244bac0ad0465a24015ba48ea08e0a5
6
+ metadata.gz: a897c00df1b95eb10d347b8fe7a979542cec1fc2117a1901b36824336b3e738237ca40d3e4b66c055f6c0a33df5deb027eb1d56eff868a357e11503b1eb72c01
7
+ data.tar.gz: 1c73e1964b8723acdecfe0a78ee501b2209bf586e7a5396dc623c495449848bd0a6ce0e4936565a0b86bbb304f0d8011075a6a9a6505aabbee9799e47bb3b751
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (0.1.6)
5
- rubocop (~> 0.75.0)
6
- rubocop-performance (~> 1.5.0)
4
+ standard (0.1.7)
5
+ rubocop (~> 0.77.0)
6
+ rubocop-performance (~> 1.5.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
@@ -16,7 +16,7 @@ GEM
16
16
  json (2.1.0)
17
17
  method_source (0.9.2)
18
18
  minitest (5.11.3)
19
- parallel (1.18.0)
19
+ parallel (1.19.1)
20
20
  parser (2.6.5.0)
21
21
  ast (~> 2.4.0)
22
22
  pry (0.12.2)
@@ -24,14 +24,14 @@ GEM
24
24
  method_source (~> 0.9.0)
25
25
  rainbow (3.0.0)
26
26
  rake (12.3.2)
27
- rubocop (0.75.1)
27
+ rubocop (0.77.0)
28
28
  jaro_winkler (~> 1.5.1)
29
29
  parallel (~> 1.10)
30
30
  parser (>= 2.6)
31
31
  rainbow (>= 2.2.2, < 4.0)
32
32
  ruby-progressbar (~> 1.7)
33
33
  unicode-display_width (>= 1.4.0, < 1.7)
34
- rubocop-performance (1.5.0)
34
+ rubocop-performance (1.5.1)
35
35
  rubocop (>= 0.71.0)
36
36
  ruby-progressbar (1.10.1)
37
37
  simplecov (0.16.1)
data/README.md CHANGED
@@ -188,6 +188,8 @@ if you've used StandardJS.)
188
188
  * [Evil Martians](https://evilmartians.com)
189
189
  * [Rebase Interactive](https://www.rebaseinteractive.com/)
190
190
  * [Hashrocket](https://hashrocket.com)
191
+ * [Brand New Box](https://brandnewbox.com)
192
+ * [Monterail](https://www.monterail.com)
191
193
  * And that's about it so far!
192
194
 
193
195
  If your team starts using Standard, [send a pull
@@ -341,7 +343,18 @@ It can be very handy to know about failures while editing to shorten the
341
343
  feedback loop. Some editors support asynchronously running linters.
342
344
 
343
345
  - [Atom](https://github.com/testdouble/standard/wiki/IDE:-Atom)
344
- - [vim](https://github.com/testdouble/standard/wiki/IDE:-vim)
346
+ - [emacs (via flycheck)](https://github.com/julianrubisch/flycheck-standardrb)
347
+ - [RubyMine](https://www.jetbrains.com/help/ruby/rubocop.html#disable_rubocop)
348
+ - [vim (via ALE)](https://github.com/testdouble/standard/wiki/IDE:-vim)
349
+ - [VS Code](https://github.com/testdouble/standard/wiki/IDE:-vscode)
350
+
351
+ ## Does Standard work with [Insert other tool name here]?
352
+
353
+ Maybe! Start by searching the repository to see if there's an existing issue open for
354
+ the tool you're interested in. That aside, here are other known integrations aside
355
+ from editor plugins:
356
+
357
+ * [Pronto](https://github.com/julianrubisch/pronto-standardrb)
345
358
 
346
359
  ## Contributing
347
360
 
@@ -24,20 +24,20 @@ Layout/AccessModifierIndentation:
24
24
  EnforcedStyle: indent
25
25
  IndentationWidth: ~
26
26
 
27
- Layout/AlignArguments:
27
+ Layout/ArgumentAlignment:
28
28
  Enabled: true
29
29
  EnforcedStyle: with_fixed_indentation
30
30
 
31
- Layout/AlignArray:
31
+ Layout/ArrayAlignment:
32
32
  Enabled: true
33
33
 
34
- Layout/AlignHash:
34
+ Layout/HashAlignment:
35
35
  Enabled: true
36
36
  EnforcedHashRocketStyle: key
37
37
  EnforcedColonStyle: key
38
38
  EnforcedLastArgumentHashStyle: always_inspect
39
39
 
40
- Layout/AlignParameters:
40
+ Layout/ParameterAlignment:
41
41
  Enabled: true
42
42
  EnforcedStyle: with_fixed_indentation
43
43
  IndentationWidth: ~
@@ -138,26 +138,26 @@ Layout/ExtraSpacing:
138
138
  AllowBeforeTrailingComments: false
139
139
  ForceEqualSignAlignment: false
140
140
 
141
- Layout/IndentFirstArgument:
141
+ Layout/FirstArgumentIndentation:
142
142
  Enabled: true
143
143
  EnforcedStyle: consistent
144
144
  IndentationWidth: ~
145
145
 
146
- Layout/IndentFirstArrayElement:
146
+ Layout/FirstArrayElementIndentation:
147
147
  Enabled: true
148
148
  EnforcedStyle: consistent
149
149
  IndentationWidth: ~
150
150
 
151
- Layout/IndentAssignment:
151
+ Layout/AssignmentIndentation:
152
152
  Enabled: true
153
153
  IndentationWidth: ~
154
154
 
155
- Layout/IndentFirstHashElement:
155
+ Layout/FirstHashElementIndentation:
156
156
  Enabled: true
157
157
  EnforcedStyle: consistent
158
158
  IndentationWidth: ~
159
159
 
160
- Layout/IndentHeredoc:
160
+ Layout/HeredocIndentation:
161
161
  Enabled: true
162
162
  EnforcedStyle: squiggly
163
163
 
@@ -173,7 +173,7 @@ Layout/IndentationWidth:
173
173
  Layout/InitialIndentation:
174
174
  Enabled: true
175
175
 
176
- Layout/LeadingBlankLines:
176
+ Layout/LeadingEmptyLines:
177
177
  Enabled: true
178
178
 
179
179
  Layout/LeadingCommentSpace:
@@ -305,7 +305,7 @@ Layout/Tab:
305
305
  Enabled: true
306
306
  IndentationWidth: ~
307
307
 
308
- Layout/TrailingBlankLines:
308
+ Layout/TrailingEmptyLines:
309
309
  Enabled: true
310
310
  EnforcedStyle: final_newline
311
311
 
@@ -344,7 +344,7 @@ Lint/DuplicateCaseCondition:
344
344
  Lint/DuplicateMethods:
345
345
  Enabled: true
346
346
 
347
- Lint/DuplicatedKey:
347
+ Lint/DuplicateHashKey:
348
348
  Enabled: true
349
349
 
350
350
  Lint/EachWithObjectArgument:
@@ -410,7 +410,7 @@ Lint/MissingCopEnableDirective:
410
410
  Enabled: true
411
411
  MaximumRangeSize: .inf
412
412
 
413
- Lint/MultipleCompare:
413
+ Lint/MultipleComparison:
414
414
  Enabled: true
415
415
 
416
416
  Lint/NestedMethodDefinition:
@@ -460,7 +460,7 @@ Lint/ReturnInVoidContext:
460
460
 
461
461
  Lint/SafeNavigationChain:
462
462
  Enabled: true
463
- Whitelist:
463
+ AllowedMethods:
464
464
  - present?
465
465
  - blank?
466
466
  - presence
@@ -469,7 +469,7 @@ Lint/SafeNavigationChain:
469
469
 
470
470
  Lint/SafeNavigationConsistency:
471
471
  Enabled: true
472
- Whitelist:
472
+ AllowedMethods:
473
473
  - present?
474
474
  - blank?
475
475
  - presence
@@ -483,7 +483,7 @@ Lint/ShadowedArgument:
483
483
  Lint/ShadowedException:
484
484
  Enabled: true
485
485
 
486
- Lint/StringConversionInInterpolation:
486
+ Lint/RedundantStringCoercion:
487
487
  Enabled: true
488
488
 
489
489
  Lint/Syntax:
@@ -495,10 +495,10 @@ Lint/UnderscorePrefixedVariableName:
495
495
  Lint/UnifiedInteger:
496
496
  Enabled: true
497
497
 
498
- Lint/UnneededRequireStatement:
498
+ Lint/RedundantRequireStatement:
499
499
  Enabled: true
500
500
 
501
- Lint/UnneededSplatExpansion:
501
+ Lint/RedundantSplatExpansion:
502
502
  Enabled: true
503
503
 
504
504
  Lint/UnreachableCode:
@@ -546,7 +546,7 @@ Naming/MethodName:
546
546
  Enabled: true
547
547
  EnforcedStyle: snake_case
548
548
 
549
- Naming/UncommunicativeBlockParamName:
549
+ Naming/BlockParameterName:
550
550
  Enabled: true
551
551
  MinNameLength: 1
552
552
  AllowNamesEndingInNumbers: true
@@ -842,7 +842,7 @@ Style/NestedModifier:
842
842
 
843
843
  Style/NestedParenthesizedCalls:
844
844
  Enabled: true
845
- Whitelist:
845
+ AllowedMethods:
846
846
  - be
847
847
  - be_a
848
848
  - be_an
@@ -952,7 +952,7 @@ Style/RescueStandardError:
952
952
  Style/SafeNavigation:
953
953
  Enabled: true
954
954
  ConvertCodeThatCanStartToReturnNil: false
955
- Whitelist:
955
+ AllowedMethods:
956
956
  - present?
957
957
  - blank?
958
958
  - presence
@@ -1026,7 +1026,7 @@ Style/TrivialAccessors:
1026
1026
  AllowPredicates: true
1027
1027
  AllowDSLWriters: false
1028
1028
  IgnoreClassMethods: false
1029
- Whitelist:
1029
+ AllowedMethod:
1030
1030
  - to_ary
1031
1031
  - to_a
1032
1032
  - to_c
@@ -1048,19 +1048,19 @@ Style/TrivialAccessors:
1048
1048
  Style/UnlessElse:
1049
1049
  Enabled: true
1050
1050
 
1051
- Style/UnneededCapitalW:
1051
+ Style/RedundantCapitalW:
1052
1052
  Enabled: true
1053
1053
 
1054
- Style/UnneededCondition:
1054
+ Style/RedundantCondition:
1055
1055
  Enabled: true
1056
1056
 
1057
- Style/UnneededInterpolation:
1057
+ Style/RedundantInterpolation:
1058
1058
  Enabled: true
1059
1059
 
1060
- Style/UnneededPercentQ:
1060
+ Style/RedundantPercentQ:
1061
1061
  Enabled: true
1062
1062
 
1063
- Style/UnneededSort:
1063
+ Style/RedundantSort:
1064
1064
  Enabled: true
1065
1065
 
1066
1066
  Style/UnpackFirst:
@@ -4,5 +4,5 @@ AllCops:
4
4
  TargetRubyVersion: 2.3 # The oldest supported
5
5
 
6
6
  Layout:
7
- IndentHeredoc:
7
+ HeredocIndentation:
8
8
  Enabled: false
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("0.1.6")
2
+ VERSION = Gem::Version.new("0.1.7")
3
3
  end
@@ -18,8 +18,8 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "rubocop", "~> 0.75.0"
22
- spec.add_dependency "rubocop-performance", "~> 1.5.0"
21
+ spec.add_dependency "rubocop", "~> 0.77.0"
22
+ spec.add_dependency "rubocop-performance", "~> 1.5.1"
23
23
 
24
24
  spec.add_development_dependency "bundler", "~> 1.17"
25
25
  spec.add_development_dependency "minitest", "~> 5.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standard
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-11-13 00:00:00.000000000 Z
11
+ date: 2019-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.75.0
19
+ version: 0.77.0
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.75.0
26
+ version: 0.77.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.5.0
33
+ version: 1.5.1
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 1.5.0
40
+ version: 1.5.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement