standard 0.4.5 → 0.5.2

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: 66a00109a56907165a97df2ceba38b8575b697890232bc295311dcb9d2adae39
4
- data.tar.gz: 398c841fad077613fe1ddfadb000ccafe3bb313243846513c857303e5444d648
3
+ metadata.gz: b2fc5c4feabb2ffb3f4a2879ce84aff4d91003578d1a512e2456e6591e276cbb
4
+ data.tar.gz: dc8636c2d82e16c035720aa0a17084f038989fbaf489b8ddb42a16362aaf548c
5
5
  SHA512:
6
- metadata.gz: 1b0300c97dd07f13c0242af3e5276fc48a89abb12b16ec6e22921b5d1dcf3f3112a5adae5ddb976dbed76b3f9438d5256743b7784335d560a3543c88ff20fe00
7
- data.tar.gz: 6e851d45878a4705f480c12a4942b962de3034c1c2b8b7c96b336268ec678b3f4fea4658ace3639a03cc1ee3b0e83205da38f8bb9ffdf0f50f72e97a3e9dfb54
6
+ metadata.gz: c3926b153706b0f45bd467e24ea41cc2a5886fcbb0d1cd98657b0ce5ee767f7e69a2e6d347abf0b595e21ff69f0c9250747cbaea794c3f6bd6d4ff7c7574627e
7
+ data.tar.gz: 8624a8b222b3bebfcf9d8132bffd3220542daa45fd29a0ff4113c04422deddc8cd2efd64d2b8262e78df24f8606978ffe91bc623a1b5e5d5c2337f1b8a58d4f7
@@ -0,0 +1,23 @@
1
+ name: Tests
2
+
3
+ on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
+ branches: [ master ]
8
+
9
+ jobs:
10
+ test:
11
+
12
+ runs-on: ubuntu-latest
13
+
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ - name: Set up Ruby
17
+ uses: ruby/setup-ruby@v1
18
+ with:
19
+ ruby-version: 2.7
20
+ - name: Install dependencies
21
+ run: bundle
22
+ - name: Run tests
23
+ run: bundle exec rake
@@ -1,5 +1,76 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.2
4
+
5
+ * Turned off `Lint/MissingSuper`, because it effectively bans a common idiom in
6
+ Sorbet ([#195](https://github.com/testdouble/standard/issues/195)) and might
7
+ be a bit too heavy-handed/opinionated for cases where a class is designed
8
+ intentionally to not run its parent's initializer (like abstract superclasses
9
+ more generally)
10
+
11
+ ## 0.5.1
12
+
13
+ * Enabled `Style/MultilineWhenThen`
14
+
15
+ ## 0.5.0
16
+
17
+ * Update Rubocop from
18
+ [0.85.0](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md#0850-2020-06-01)
19
+ to
20
+ [0.89.1](https://github.com/rubocop-hq/rubocop/releases/tag/v0.89.1),
21
+ enabling:
22
+ * `Lint/BinaryOperatorWithIdenticalOperands`
23
+ * `Lint/DuplicateElsifCondition`
24
+ * `Lint/DuplicateRescueException`
25
+ * `Lint/FloatComparison`
26
+ * `Lint/MissingSuper`
27
+ * `Lint/OutOfRangeRegexpRef`
28
+ * `Lint/RedundantRequireStatement`
29
+ * `Lint/RedundantSplatExpansion`
30
+ * `Lint/SafeNavigationWithEmpty`
31
+ * `Lint/SelfAssignment`
32
+ * `Lint/TopLevelReturnWithArgument`
33
+ * `Style/GlobalStdStream`
34
+ * `Style/RedundantAssignment`
35
+ * `Style/RedundantFetchBlock`
36
+ * `Style/RedundantFileExtensionInRequire`
37
+ * Update rubocop-performance from 1.6.0 to 1.7.1, enabling:
38
+ * `Performance/BigDecimalWithNumericArgument`
39
+ * `Performance/RedundantSortBlock`
40
+ * `Performance/RedundantStringChars`
41
+ * `Performance/ReverseFirst`
42
+ * `Performance/SortReverse`
43
+ * `Performance/Squeeze`
44
+
45
+ ## 0.4.7
46
+
47
+ * Update Rubocop from
48
+ [0.83.0](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md#0830-2020-05-11)
49
+ to
50
+ [0.85.0](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md#0850-2020-06-01), notably:
51
+
52
+ * Enable
53
+ [Lint/MixedRegexpCaptureTypes](https://rubocop.readthedocs.io/en/stable/cops_lint/#lintmixedregexpcapturetypes)
54
+ * Enable
55
+ [Lint/DeprecatedOpenSSLConstant](https://rubocop.readthedocs.io/en/stable/cops_lint/#lintdeprecatedopensslconstant)
56
+ * Enable
57
+ [Style/RedundantRegexpCharacterClass](https://github.com/rubocop-hq/rubocop/pull/8055)
58
+ * Enable
59
+ [Style/RedundantRegexpEscape](https://github.com/rubocop-hq/rubocop/pull/7908)
60
+ * Update rubocop-performance to
61
+ [1.6.0](https://github.com/rubocop-hq/rubocop-performance/blob/master/CHANGELOG.md#160-2020-05-22),
62
+ enabling:
63
+ * [Performance/BindCall](https://github.com/rubocop-hq/rubocop-performance/issues/77)
64
+ * [Performance/DeletePrefix](https://github.com/rubocop-hq/rubocop-performance/pull/105)
65
+ * [Performance/DeleteSuffix](https://github.com/rubocop-hq/rubocop-performance/pull/105)
66
+
67
+
68
+ ## 0.4.6
69
+
70
+ * Disable `Naming/BinaryOperatorParameterName` because (when non-ascii method
71
+ names are used), it incorrectly identifies them as being `+()` operator
72
+ overrides (overly aggressive)
73
+
3
74
  ## 0.4.5
4
75
 
5
76
  * Disable `Naming/AsciiIdentifiers` for the same reason as mentioned below in
@@ -1,42 +1,47 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- standard (0.4.5)
5
- rubocop (~> 0.83.0)
6
- rubocop-performance (~> 1.5.2)
4
+ standard (0.5.2)
5
+ rubocop (~> 0.89.1)
6
+ rubocop-performance (~> 1.7.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- ast (2.4.0)
12
- coderay (1.1.2)
11
+ ast (2.4.1)
12
+ coderay (1.1.3)
13
13
  docile (1.3.2)
14
14
  gimme (0.5.0)
15
- method_source (0.9.2)
16
- minitest (5.14.0)
17
- parallel (1.19.1)
18
- parser (2.7.1.2)
19
- ast (~> 2.4.0)
20
- pry (0.12.2)
21
- coderay (~> 1.1.0)
22
- method_source (~> 0.9.0)
15
+ method_source (1.0.0)
16
+ minitest (5.14.1)
17
+ parallel (1.19.2)
18
+ parser (2.7.1.4)
19
+ ast (~> 2.4.1)
20
+ pry (0.13.1)
21
+ coderay (~> 1.1)
22
+ method_source (~> 1.0)
23
23
  rainbow (3.0.0)
24
24
  rake (13.0.1)
25
+ regexp_parser (1.7.1)
25
26
  rexml (3.2.4)
26
- rubocop (0.83.0)
27
+ rubocop (0.89.1)
27
28
  parallel (~> 1.10)
28
- parser (>= 2.7.0.1)
29
+ parser (>= 2.7.1.1)
29
30
  rainbow (>= 2.2.2, < 4.0)
31
+ regexp_parser (>= 1.7)
30
32
  rexml
33
+ rubocop-ast (>= 0.3.0, < 1.0)
31
34
  ruby-progressbar (~> 1.7)
32
35
  unicode-display_width (>= 1.4.0, < 2.0)
33
- rubocop-performance (1.5.2)
34
- rubocop (>= 0.71.0)
36
+ rubocop-ast (0.3.0)
37
+ parser (>= 2.7.1.4)
38
+ rubocop-performance (1.7.1)
39
+ rubocop (>= 0.82.0)
35
40
  ruby-progressbar (1.10.1)
36
- simplecov (0.18.2)
41
+ simplecov (0.18.5)
37
42
  docile (~> 1.1)
38
43
  simplecov-html (~> 0.11)
39
- simplecov-html (0.12.0)
44
+ simplecov-html (0.12.2)
40
45
  unicode-display_width (1.7.0)
41
46
 
42
47
  PLATFORMS
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  ## Standard - Ruby style guide, linter, and formatter
2
2
 
3
- [![CircleCI](https://circleci.com/gh/testdouble/standard.svg?style=svg)](https://circleci.com/gh/testdouble/standard)
3
+ [![Tests](https://github.com/testdouble/standard/workflows/Tests/badge.svg)](https://github.com/testdouble/standard/actions?query=workflow%3ATests)
4
4
  [![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/testdouble/standard)
5
5
  [![Gem Version](https://badge.fury.io/rb/standard.svg)](https://rubygems.org/gems/standard)
6
6
 
@@ -166,7 +166,7 @@ Because StandardRB is essentially a wrapper on top of
166
166
  vast majority of CLI and ENV arguments to RuboCop.
167
167
 
168
168
  You can see a list of
169
- [RuboCop](https://docs.rubocop.org/en/latest/basic_usage/#other-useful-command-line-flags)'s
169
+ [RuboCop](https://docs.rubocop.org/rubocop/usage/basic_usage.html#command-line-flags)'s
170
170
  CLI flags here.
171
171
 
172
172
  ## Why should I use Ruby Standard Style?
@@ -211,6 +211,10 @@ if you've used StandardJS.)
211
211
  * [Level UP Solutions](https://levups.com)
212
212
  * [Honeybadger](https://www.honeybadger.io)
213
213
  * [Amazon Web Services](https://aws.amazon.com/)
214
+ * [Envoy](https://www.envoy.com)
215
+ * [myRent](https://www.myrent.co.nz)
216
+ * [Renuo](https://www.renuo.ch/)
217
+ * [JetThoughts](https://www.jetthoughts.com/)
214
218
  * And that's about it so far!
215
219
 
216
220
  If your team starts using Standard, [send a pull
@@ -160,7 +160,6 @@ Layout/FirstHashElementIndentation:
160
160
 
161
161
  Layout/HeredocIndentation:
162
162
  Enabled: true
163
- EnforcedStyle: squiggly
164
163
 
165
164
  Layout/IndentationConsistency:
166
165
  Enabled: true
@@ -327,6 +326,9 @@ Lint/AssignmentInCondition:
327
326
  Lint/BigDecimalNew:
328
327
  Enabled: true
329
328
 
329
+ Lint/BinaryOperatorWithIdenticalOperands:
330
+ Enabled: true
331
+
330
332
  Lint/BooleanSymbol:
331
333
  Enabled: true
332
334
 
@@ -339,15 +341,24 @@ Lint/Debugger:
339
341
  Lint/DeprecatedClassMethods:
340
342
  Enabled: true
341
343
 
344
+ Lint/DeprecatedOpenSSLConstant:
345
+ Enabled: true
346
+
342
347
  Lint/DuplicateCaseCondition:
343
348
  Enabled: true
344
349
 
350
+ Lint/DuplicateElsifCondition:
351
+ Enabled: true
352
+
345
353
  Lint/DuplicateMethods:
346
354
  Enabled: true
347
355
 
348
356
  Lint/DuplicateHashKey:
349
357
  Enabled: true
350
358
 
359
+ Lint/DuplicateRescueException:
360
+ Enabled: true
361
+
351
362
  Lint/EachWithObjectArgument:
352
363
  Enabled: true
353
364
 
@@ -377,6 +388,9 @@ Lint/ErbNewArguments:
377
388
  Lint/FlipFlop:
378
389
  Enabled: true
379
390
 
391
+ Lint/FloatComparison:
392
+ Enabled: true
393
+
380
394
  Lint/FloatOutOfRange:
381
395
  Enabled: true
382
396
 
@@ -409,6 +423,9 @@ Lint/MissingCopEnableDirective:
409
423
  Enabled: true
410
424
  MaximumRangeSize: .inf
411
425
 
426
+ Lint/MixedRegexpCaptureTypes:
427
+ Enabled: true
428
+
412
429
  Lint/MultipleComparison:
413
430
  Enabled: true
414
431
 
@@ -430,6 +447,9 @@ Lint/NonLocalExitFromIterator:
430
447
  Lint/OrderedMagicComments:
431
448
  Enabled: true
432
449
 
450
+ Lint/OutOfRangeRegexpRef:
451
+ Enabled: true
452
+
433
453
  Lint/ParenthesesAsGroupedExpression:
434
454
  Enabled: true
435
455
 
@@ -442,6 +462,12 @@ Lint/RaiseException:
442
462
  Lint/RandOne:
443
463
  Enabled: true
444
464
 
465
+ Lint/RedundantRequireStatement:
466
+ Enabled: true
467
+
468
+ Lint/RedundantSplatExpansion:
469
+ Enabled: true
470
+
445
471
  Lint/RedundantStringCoercion:
446
472
  Enabled: true
447
473
 
@@ -484,6 +510,12 @@ Lint/SafeNavigationConsistency:
484
510
  - try
485
511
  - try!
486
512
 
513
+ Lint/SafeNavigationWithEmpty:
514
+ Enabled: true
515
+
516
+ Lint/SelfAssignment:
517
+ Enabled: true
518
+
487
519
  Lint/ShadowedArgument:
488
520
  Enabled: true
489
521
  IgnoreImplicitReferences: false
@@ -497,16 +529,13 @@ Layout/SpaceAroundMethodCallOperator:
497
529
  Lint/Syntax:
498
530
  Enabled: true
499
531
 
500
- Lint/UnderscorePrefixedVariableName:
501
- Enabled: true
502
-
503
- Lint/UnifiedInteger:
532
+ Lint/TopLevelReturnWithArgument:
504
533
  Enabled: true
505
534
 
506
- Lint/RedundantRequireStatement:
535
+ Lint/UnderscorePrefixedVariableName:
507
536
  Enabled: true
508
537
 
509
- Lint/RedundantSplatExpansion:
538
+ Lint/UnifiedInteger:
510
539
  Enabled: true
511
540
 
512
541
  Lint/UnreachableCode:
@@ -521,9 +550,6 @@ Lint/UriRegexp:
521
550
  Lint/UselessAssignment:
522
551
  Enabled: true
523
552
 
524
- Lint/UselessComparison:
525
- Enabled: true
526
-
527
553
  Lint/UselessElseWithoutRescue:
528
554
  Enabled: true
529
555
 
@@ -537,9 +563,6 @@ Lint/Void:
537
563
  Migration/DepartmentName:
538
564
  Enabled: true
539
565
 
540
- Naming/BinaryOperatorParameterName:
541
- Enabled: true
542
-
543
566
  Naming/ClassAndModuleCamelCase:
544
567
  Enabled: true
545
568
 
@@ -561,6 +584,12 @@ Naming/VariableName:
561
584
  Enabled: true
562
585
  EnforcedStyle: snake_case
563
586
 
587
+ Performance/BigDecimalWithNumericArgument:
588
+ Enabled: true
589
+
590
+ Performance/BindCall:
591
+ Enabled: true
592
+
564
593
  Performance/Caller:
565
594
  Enabled: true
566
595
 
@@ -570,6 +599,12 @@ Performance/CompareWithBlock:
570
599
  Performance/Count:
571
600
  Enabled: true
572
601
 
602
+ Performance/DeletePrefix:
603
+ Enabled: true
604
+
605
+ Performance/DeleteSuffix:
606
+ Enabled: true
607
+
573
608
  Performance/Detect:
574
609
  Enabled: true
575
610
 
@@ -579,8 +614,6 @@ Performance/DoubleStartEndWith:
579
614
 
580
615
  Performance/EndWith:
581
616
  Enabled: true
582
- SafeAutoCorrect: false
583
- AutoCorrect: false
584
617
 
585
618
  Performance/FixedSize:
586
619
  Enabled: true
@@ -604,19 +637,32 @@ Performance/RedundantMerge:
604
637
  Enabled: true
605
638
  MaxKeyValuePairs: 2
606
639
 
640
+ Performance/RedundantSortBlock:
641
+ Enabled: true
642
+
643
+ Performance/RedundantStringChars:
644
+ Enabled: true
645
+
607
646
  Performance/RegexpMatch:
608
647
  Enabled: true
609
648
 
610
649
  Performance/ReverseEach:
611
650
  Enabled: true
612
651
 
652
+ Performance/ReverseFirst:
653
+ Enabled: true
654
+
613
655
  Performance/Size:
614
656
  Enabled: true
615
657
 
658
+ Performance/SortReverse:
659
+ Enabled: true
660
+
661
+ Performance/Squeeze:
662
+ Enabled: true
663
+
616
664
  Performance/StartWith:
617
665
  Enabled: true
618
- SafeAutoCorrect: false
619
- AutoCorrect: false
620
666
 
621
667
  Performance/StringReplacement:
622
668
  Enabled: true
@@ -778,6 +824,9 @@ Style/For:
778
824
  Enabled: true
779
825
  EnforcedStyle: each
780
826
 
827
+ Style/GlobalStdStream:
828
+ Enabled: true
829
+
781
830
  Style/GlobalVars:
782
831
  Enabled: true
783
832
  AllowedVariables: []
@@ -814,9 +863,6 @@ Style/MethodCallWithoutArgsParentheses:
814
863
  Enabled: true
815
864
  IgnoredMethods: []
816
865
 
817
- Style/MethodMissingSuper:
818
- Enabled: true
819
-
820
866
  Style/MissingRespondToMissing:
821
867
  Enabled: true
822
868
 
@@ -837,6 +883,9 @@ Style/MultilineMemoization:
837
883
  Enabled: true
838
884
  EnforcedStyle: keyword
839
885
 
886
+ Style/MultilineWhenThen:
887
+ Enabled: true
888
+
840
889
  Style/NegatedIf:
841
890
  Enabled: true
842
891
  EnforcedStyle: both
@@ -916,6 +965,9 @@ Style/Proc:
916
965
  Style/RandomWithOffset:
917
966
  Enabled: true
918
967
 
968
+ Style/RedundantAssignment:
969
+ Enabled: true
970
+
919
971
  Style/RedundantBegin:
920
972
  Enabled: true
921
973
 
@@ -925,12 +977,24 @@ Style/RedundantConditional:
925
977
  Style/RedundantException:
926
978
  Enabled: true
927
979
 
980
+ Style/RedundantFetchBlock:
981
+ Enabled: true
982
+
983
+ Style/RedundantFileExtensionInRequire:
984
+ Enabled: true
985
+
928
986
  Style/RedundantFreeze:
929
987
  Enabled: true
930
988
 
931
989
  Style/RedundantParentheses:
932
990
  Enabled: true
933
991
 
992
+ Style/RedundantRegexpCharacterClass:
993
+ Enabled: true
994
+
995
+ Style/RedundantRegexpEscape:
996
+ Enabled: true
997
+
934
998
  Style/RedundantReturn:
935
999
  Enabled: true
936
1000
  AllowMultipleReturnValues: false
@@ -3,7 +3,7 @@ module Standard
3
3
  def call(offenses)
4
4
  offenses.any? { |offense|
5
5
  cop = cop_instance(offense.cop_name)
6
- cop.support_autocorrect? && safe?(cop)
6
+ cop.correctable? && cop.safe_autocorrect?
7
7
  }
8
8
  end
9
9
 
@@ -12,9 +12,5 @@ module Standard
12
12
  def cop_instance(cop_name)
13
13
  RuboCop::Cop.const_get(cop_name.gsub("/", "::")).new
14
14
  end
15
-
16
- def safe?(cop)
17
- cop.cop_config.fetch("SafeAutoCorrect", true)
18
- end
19
15
  end
20
16
  end
@@ -4,10 +4,20 @@ require_relative "detects_fixability"
4
4
 
5
5
  module Standard
6
6
  class Formatter < RuboCop::Formatter::BaseFormatter
7
- CALL_TO_ACTION_MESSAGE = <<-CALL_TO_ACTION.gsub(/^ {6}/, "")
7
+ STANDARD_GREETING = <<-MSG.gsub(/^ {6}/, "")
8
+ standard: Use Ruby Standard Style (https://github.com/testdouble/standard)
9
+ MSG
10
+
11
+ CALL_TO_ACTION_MESSAGE = <<-MSG.gsub(/^ {6}/, "")
8
12
  Notice: Disagree with these rules? While StandardRB is pre-1.0.0, feel free to submit suggestions to:
9
13
  https://github.com/testdouble/standard/issues/new
10
- CALL_TO_ACTION
14
+ MSG
15
+
16
+ def self.fixable_error_message(command)
17
+ <<-MSG.gsub(/^ {8}/, "")
18
+ standard: Run `#{command}` to automatically fix some problems.
19
+ MSG
20
+ end
11
21
 
12
22
  def initialize(*args)
13
23
  super
@@ -42,9 +52,7 @@ module Standard
42
52
  def print_header_once
43
53
  return if @header_printed_already
44
54
 
45
- output.print <<-HEADER.gsub(/^ {8}/, "")
46
- standard: Use Ruby Standard Style (https://github.com/testdouble/standard)
47
- HEADER
55
+ output.print STANDARD_GREETING
48
56
 
49
57
  @header_printed_already = true
50
58
  end
@@ -57,9 +65,7 @@ module Standard
57
65
  "standardrb --fix"
58
66
  end
59
67
 
60
- output.print <<-HEADER.gsub(/^ {10}/, "")
61
- standard: Run `#{command}` to automatically fix some problems.
62
- HEADER
68
+ output.print self.class.fixable_error_message(command)
63
69
  @fix_suggestion_printed_already = true
64
70
  end
65
71
  end
@@ -1,3 +1,3 @@
1
1
  module Standard
2
- VERSION = Gem::Version.new("0.4.5")
2
+ VERSION = Gem::Version.new("0.5.2")
3
3
  end
@@ -19,8 +19,8 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ["lib"]
21
21
 
22
- spec.add_dependency "rubocop", "~> 0.83.0"
23
- spec.add_dependency "rubocop-performance", "~> 1.5.2"
22
+ spec.add_dependency "rubocop", "~> 0.89.1"
23
+ spec.add_dependency "rubocop-performance", "~> 1.7.1"
24
24
 
25
25
  spec.add_development_dependency "bundler"
26
26
  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.4.5
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-25 00:00:00.000000000 Z
11
+ date: 2020-08-26 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.83.0
19
+ version: 0.89.1
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.83.0
26
+ version: 0.89.1
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.2
33
+ version: 1.7.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.2
40
+ version: 1.7.1
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -122,7 +122,7 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
- description:
125
+ description:
126
126
  email:
127
127
  - searls@gmail.com
128
128
  executables:
@@ -130,7 +130,7 @@ executables:
130
130
  extensions: []
131
131
  extra_rdoc_files: []
132
132
  files:
133
- - ".circleci/config.yml"
133
+ - ".github/workflows/test.yml"
134
134
  - ".gitignore"
135
135
  - ".standard.yml"
136
136
  - CHANGELOG.md
@@ -173,7 +173,7 @@ files:
173
173
  homepage: https://github.com/testdouble/standard
174
174
  licenses: []
175
175
  metadata: {}
176
- post_install_message:
176
+ post_install_message:
177
177
  rdoc_options: []
178
178
  require_paths:
179
179
  - lib
@@ -189,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
189
189
  version: '0'
190
190
  requirements: []
191
191
  rubygems_version: 3.1.2
192
- signing_key:
192
+ signing_key:
193
193
  specification_version: 4
194
194
  summary: Ruby Style Guide, with linter & automatic code fixer
195
195
  test_files: []
@@ -1,36 +0,0 @@
1
- # Ruby CircleCI 2.0 configuration file
2
- #
3
- # Check https://circleci.com/docs/2.0/language-ruby/ for more details
4
- #
5
- version: 2
6
- jobs:
7
- build:
8
- docker:
9
- - image: circleci/ruby:2.7.0-node-browsers
10
- working_directory: ~/repo
11
-
12
- steps:
13
- - checkout
14
- - restore_cache:
15
- keys:
16
- - v1-dependencies-{{ checksum "Gemfile.lock" }}
17
- - v1-dependencies-
18
-
19
- - run:
20
- name: install dependencies
21
- command: |
22
- bundle update --bundler
23
- bundle install --jobs=4 --retry=3 --path vendor/bundle
24
-
25
- - save_cache:
26
- paths:
27
- - ./vendor/bundle
28
- key: v1-dependencies-{{ checksum "Gemfile.lock" }}
29
-
30
- - run:
31
- name: test
32
- command: bundle exec rake test
33
-
34
- - run:
35
- name: lint
36
- command: bundle exec rake standard:fix