renuocop 0.6.0 → 0.7.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
  SHA256:
3
- metadata.gz: 3fdea08ec2b5afe9a9e70bae81ce412abc359e54b47c2ed7d65fd4e200956c36
4
- data.tar.gz: ab9e932b48eacd2c5fcf541933439fb78e1f92b812d840f2eee9bbebc29ef460
3
+ metadata.gz: 4a5bd37f8c3e243e5a6905cc586e244407a37728a0ffee5573354f659b33836d
4
+ data.tar.gz: 580d3dce3b971b449c6591e90225ea476d8266cb53ad7c37d8807a0410fd3874
5
5
  SHA512:
6
- metadata.gz: ffb8babe4293b526eb1ec08b7144e1d91dae2f4d8bc496c4787738885f8e0f60ab4b1ea41b43740c9ad7abea232f2ab175c99cbb52d6700a40d5da467163d724
7
- data.tar.gz: 7b7d49d0c1a714af8bf13fdd824695cca5cd4ade43b54b34041513ad9069b0998ade134d7c854b18fa6b167b15ed84de6aa99927359f7760bce81412b92f825e
6
+ metadata.gz: 952f9962a101d1d1c7ea6ad8674bae90c954f6d201be79443f945ddd7c1906dc474915fe57ac3807373f9828f0bee30c207b4ae17b72ac6d88a0329cc2f1cee9
7
+ data.tar.gz: 686f5fd87de87810cda1791413f16a897c7fd1f6f2c5178c67f40689dabc9fdc0ecbee994854cd133fa2f2d2f083ed07eefde9d8d1eae3912f2b4ad37dc9c879
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.7.0]
2
+
3
+ - Increase minimum standardrb version to 1.35.2
4
+
1
5
  ## [0.6.0]
2
6
 
3
7
  - Enable rubocop-capybara and rubocop-factory_bot by default
data/config/base.yml CHANGED
@@ -9,24 +9,9 @@ require:
9
9
  inherit_gem:
10
10
  standard: config/base.yml
11
11
 
12
- Bundler/DuplicatedGem:
13
- Enabled: true
14
-
15
12
  Bundler/GemFilename:
16
13
  Enabled: true
17
14
 
18
- Bundler/InsecureProtocolSource:
19
- Enabled: true
20
-
21
- Gemspec/DeprecatedAttributeAssignment:
22
- Enabled: true
23
-
24
- Gemspec/DuplicatedAssignment:
25
- Enabled: true
26
-
27
- Gemspec/OrderedDependencies:
28
- Enabled: false
29
-
30
15
  Gemspec/RequireMFA:
31
16
  Enabled: true
32
17
 
@@ -76,9 +61,6 @@ Layout/FirstParameterIndentation:
76
61
  Layout/LineContinuationLeadingSpace:
77
62
  Enabled: true
78
63
 
79
- Layout/LineContinuationSpacing:
80
- Enabled: true
81
-
82
64
  Layout/LineEndStringConcatenationIndentation:
83
65
  Enabled: true
84
66
 
@@ -104,9 +86,6 @@ Layout/SpaceInsideHashLiteralBraces:
104
86
  Layout/TrailingWhitespace:
105
87
  AllowInHeredoc: false
106
88
 
107
- Lint/AmbiguousAssignment:
108
- Enabled: true
109
-
110
89
  Lint/AmbiguousBlockAssociation:
111
90
  Enabled: true
112
91
 
@@ -116,24 +95,12 @@ Lint/AmbiguousOperatorPrecedence:
116
95
  Lint/AmbiguousRange:
117
96
  Enabled: true
118
97
 
119
- Lint/ConstantOverwrittenInRescue:
120
- Enabled: true
121
-
122
- Lint/DeprecatedConstants:
123
- Enabled: true
124
-
125
98
  Lint/DisjunctiveAssignmentInConstructor:
126
99
  Enabled: true
127
100
 
128
101
  Lint/DuplicateBranch:
129
102
  Enabled: true
130
103
 
131
- Lint/DuplicateMagicComment:
132
- Enabled: true
133
-
134
- Lint/DuplicateRegexpCharacterClassElement:
135
- Enabled: true
136
-
137
104
  Lint/EmptyBlock:
138
105
  Enabled: true
139
106
 
@@ -170,12 +137,6 @@ Lint/NoReturnInBeginEndBlocks:
170
137
  Lint/NonAtomicFileOperation:
171
138
  Enabled: true
172
139
 
173
- Lint/NumberedParameterAssignment:
174
- Enabled: true
175
-
176
- Lint/OrAssignmentToConstant:
177
- Enabled: true
178
-
179
140
  Lint/PercentStringArray:
180
141
  Enabled: true
181
142
 
@@ -191,15 +152,6 @@ Lint/RedundantDirGlobSort:
191
152
  Lint/RedundantSafeNavigation:
192
153
  Enabled: true
193
154
 
194
- Lint/RefinementImportMethods:
195
- Enabled: true
196
-
197
- Lint/RequireRangeParentheses:
198
- Enabled: true
199
-
200
- Lint/RequireRelativeSelfPath:
201
- Enabled: true
202
-
203
155
  Lint/SafeNavigationChain:
204
156
  AllowedMethods:
205
157
  - present?
@@ -224,27 +176,18 @@ Lint/StructNewOverride:
224
176
  Lint/SuppressedException:
225
177
  Enabled: true
226
178
 
227
- Lint/SymbolConversion:
228
- Enabled: true
229
-
230
179
  Lint/ToEnumArguments:
231
180
  Enabled: true
232
181
 
233
182
  Lint/ToJSON:
234
183
  Enabled: true
235
184
 
236
- Lint/TripleQuotes:
237
- Enabled: true
238
-
239
185
  Lint/UnexpectedBlockArity:
240
186
  Enabled: true
241
187
 
242
188
  Lint/UnmodifiedReduceAccumulator:
243
189
  Enabled: true
244
190
 
245
- Lint/UnreachableLoop:
246
- Enabled: true
247
-
248
191
  Lint/UnusedBlockArgument:
249
192
  Enabled: true
250
193
 
@@ -260,9 +203,6 @@ Lint/UselessElseWithoutRescue:
260
203
  Lint/UselessMethodDefinition:
261
204
  Enabled: true
262
205
 
263
- Lint/UselessRuby2Keywords:
264
- Enabled: true
265
-
266
206
  Metrics/AbcSize:
267
207
  Enabled: true
268
208
  Exclude:
@@ -486,9 +426,7 @@ Rails/WhereExists:
486
426
  Rails/SkipsModelValidations:
487
427
  Exclude:
488
428
  - 'spec/**/*.rb'
489
-
490
- Security/CompoundHash:
491
- Enabled: true
429
+ - 'db/migrate/*.rb'
492
430
 
493
431
  Security/IoMethods:
494
432
  Enabled: true
@@ -505,9 +443,6 @@ Style/AccessorGrouping:
505
443
  Style/Alias:
506
444
  EnforcedStyle: prefer_alias
507
445
 
508
- Style/ArgumentsForwarding:
509
- Enabled: true
510
-
511
446
  Style/ArrayIntersect:
512
447
  Enabled: true
513
448
 
@@ -583,12 +518,6 @@ Style/ExponentialNotation:
583
518
  Style/FetchEnvVar:
584
519
  Enabled: true
585
520
 
586
- Style/FileRead:
587
- Enabled: true
588
-
589
- Style/FileWrite:
590
- Enabled: true
591
-
592
521
  Style/FloatDivision:
593
522
  Enabled: true
594
523
 
@@ -604,15 +533,9 @@ Style/FrozenStringLiteralComment:
604
533
  Style/GuardClause:
605
534
  Enabled: true
606
535
 
607
- Style/HashConversion:
608
- Enabled: true
609
-
610
536
  Style/HashEachMethods:
611
537
  Enabled: true
612
538
 
613
- Style/HashExcept:
614
- Enabled: true
615
-
616
539
  Style/HashLikeCase:
617
540
  Enabled: true
618
541
 
@@ -626,9 +549,6 @@ Style/HashTransformKeys:
626
549
  Style/HashTransformValues:
627
550
  Enabled: true
628
551
 
629
- Style/IfWithBooleanLiteralBranches:
630
- Enabled: true
631
-
632
552
  Style/InPatternThen:
633
553
  Enabled: true
634
554
 
@@ -641,9 +561,6 @@ Style/Lambda:
641
561
  Style/MagicCommentFormat:
642
562
  Enabled: true
643
563
 
644
- Style/MapCompactWithConditionalBlock:
645
- Enabled: true
646
-
647
564
  Style/MapToHash:
648
565
  Enabled: true
649
566
 
@@ -691,15 +608,9 @@ Style/NegatedIfElseCondition:
691
608
  Style/NegatedUnless:
692
609
  Enabled: true
693
610
 
694
- Style/NestedFileDirname:
695
- Enabled: true
696
-
697
611
  Style/Next:
698
612
  Enabled: true
699
613
 
700
- Style/NilLambda:
701
- Enabled: true
702
-
703
614
  Style/NonNilCheck:
704
615
  IncludeSemanticChanges: true
705
616
 
@@ -739,9 +650,6 @@ Style/PerlBackrefs:
739
650
  Style/PreferredHashMethods:
740
651
  Enabled: true
741
652
 
742
- Style/QuotedSymbols:
743
- Enabled: true
744
-
745
653
  Style/RaiseArgs:
746
654
  Enabled: true
747
655
 
@@ -754,9 +662,6 @@ Style/RedundantCapitalW:
754
662
  Style/RedundantConstantBase:
755
663
  Enabled: true
756
664
 
757
- Style/RedundantDoubleSplatHashBraces:
758
- Enabled: true
759
-
760
665
  Style/RedundantEach:
761
666
  Enabled: true
762
667
 
@@ -769,9 +674,6 @@ Style/RedundantSelfAssignment:
769
674
  Style/RedundantSelfAssignmentBranch:
770
675
  Enabled: true
771
676
 
772
- Style/RedundantStringEscape:
773
- Enabled: true
774
-
775
677
  Style/RegexpLiteral:
776
678
  Enabled: true
777
679
 
@@ -796,9 +698,6 @@ Style/SoleNestedConditional:
796
698
  Style/SpecialGlobalVars:
797
699
  Enabled: true
798
700
 
799
- Style/StringChars:
800
- Enabled: true
801
-
802
701
  Style/StringConcatenation:
803
702
  Enabled: true
804
703
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Renuocop
4
- VERSION = "0.6.0"
4
+ VERSION = "0.7.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: renuocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alessandro Rodi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-02-07 00:00:00.000000000 Z
11
+ date: 2024-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop-capybara
@@ -90,16 +90,16 @@ dependencies:
90
90
  name: standard
91
91
  requirement: !ruby/object:Gem::Requirement
92
92
  requirements:
93
- - - ">"
93
+ - - ">="
94
94
  - !ruby/object:Gem::Version
95
- version: '1'
95
+ version: 1.35.1
96
96
  type: :runtime
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
- - - ">"
100
+ - - ">="
101
101
  - !ruby/object:Gem::Version
102
- version: '1'
102
+ version: 1.35.1
103
103
  description: Renuo default style guide, linter, and formatter.
104
104
  email:
105
105
  - alessandro.rodi@renuo.ch