spicerack-styleguide 0.15.1 → 0.15.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: 2cb38451854cd4a4cffeb89a84a934d3229d043886b547490f3217bda778f09b
4
- data.tar.gz: 909f1a9adb100b9ae8082a27988905a253b760ab69664aea14ad11ed548a6a83
3
+ metadata.gz: 7b611801c095d6b6a221fddb64746ef5c6a8da5b4c2cb2986d5166c5935f1c4e
4
+ data.tar.gz: 22acc77ab49bc3ec2e34edf92f69bcdac17c3401faf404e6a04fe4e064338352
5
5
  SHA512:
6
- metadata.gz: d10e436d5fd56d9db9b5dcf1501e3a34da87c18c2b546d54fe1f7dcea8edfb6fcd9ac7769f694a8cbc227d664b4fac53169e0591c2e8875c9cd64ee63645f4f4
7
- data.tar.gz: d08248cf2a062b951e0fd79f28b7543fecab910fe38741af9745646d16000a45f6689c5b204185af747c8b8ab79393187ce9529387b66b954cbd04745970450f
6
+ metadata.gz: eb9c508607983574f0e0dfa2f8d750feea682ae6552e333dd2ed4ed7f58dfd244beca671d2905652ba0f3d232680cf121d5ac1660a97358e1df235b6b747e0d0
7
+ data.tar.gz: 43356d437729cdac5ef1e4e2c6abfb92b9544a78206a1808c4972bf69ff95f8329256f84c591905ddb70db4abcff30083d2c2dffc94aa7001733ba8d585cad13
@@ -3,6 +3,6 @@
3
3
  module Spicerack
4
4
  module Styleguide
5
5
  # This constant is managed by spicerack
6
- VERSION = "0.15.1"
6
+ VERSION = "0.15.2"
7
7
  end
8
8
  end
data/rubocop.yml CHANGED
@@ -1,6 +1,7 @@
1
1
  require:
2
- - rubocop-rspec
3
- - rubocop-performance
2
+ - rubocop-rspec
3
+ - rubocop-performance
4
+ - rubocop-rails
4
5
 
5
6
  AllCops:
6
7
  TargetRubyVersion: 2.6
@@ -72,6 +73,7 @@ Layout/EmptyLines:
72
73
  Enabled: false
73
74
  Layout/EmptyLinesAroundAccessModifier:
74
75
  Enabled: true
76
+ EnforcedStyle: around
75
77
  Layout/EmptyLinesAroundArguments:
76
78
  Enabled: true
77
79
  Layout/EmptyLinesAroundBeginBody:
@@ -127,7 +129,7 @@ Layout/IndentFirstParameter:
127
129
  Enabled: true
128
130
  Layout/IndentHeredoc:
129
131
  Enabled: true
130
- EnforcedStyle: auto_detection
132
+ EnforcedStyle: squiggly
131
133
  Layout/IndentationConsistency:
132
134
  Enabled: true
133
135
  EnforcedStyle: normal
@@ -570,6 +572,8 @@ Rails/DelegateAllowBlank:
570
572
  Enabled: true
571
573
  Rails/DynamicFindBy:
572
574
  Enabled: true
575
+ Rails/EnumHash:
576
+ Enabled: true
573
577
  Rails/EnumUniqueness:
574
578
  Enabled: true
575
579
  Rails/EnvironmentComparison:
@@ -592,6 +596,8 @@ Rails/HasAndBelongsToMany:
592
596
  - app/models/**/*.rb
593
597
  Rails/HasManyOrHasOneDependent:
594
598
  Enabled: false
599
+ Rails/HelperInstanceVariable:
600
+ Enabled: true
595
601
  Rails/HttpPositionalArguments:
596
602
  Enabled: true
597
603
  Include:
@@ -812,6 +818,8 @@ Style/EvenOdd:
812
818
  Enabled: true
813
819
  Style/ExpandPathArguments:
814
820
  Enabled: true
821
+ Style/FloatDivision:
822
+ Enabled: true
815
823
  Style/For:
816
824
  Enabled: true
817
825
  EnforcedStyle: each
@@ -896,6 +904,8 @@ Style/MultilineMemoization:
896
904
  EnforcedStyle: keyword
897
905
  Style/MultilineTernaryOperator:
898
906
  Enabled: true
907
+ Style/MultilineWhenThen:
908
+ Enabled: true
899
909
  Style/MultipleComparison:
900
910
  Enabled: true
901
911
  Style/MutableConstant:
@@ -903,6 +913,9 @@ Style/MutableConstant:
903
913
  Style/NegatedIf:
904
914
  Enabled: true
905
915
  EnforcedStyle: both
916
+ Style/NegatedUnless:
917
+ Enabled: true
918
+ EnforcedStyle: both
906
919
  Style/NegatedWhile:
907
920
  Enabled: true
908
921
  Style/NestedModifier:
@@ -1156,8 +1169,14 @@ Bundler/OrderedGems:
1156
1169
  Enabled: false
1157
1170
  TreatCommentsAsGroupSeparators: false
1158
1171
 
1172
+ Gemspec/DuplicatedAssignment:
1173
+ Enabled: true
1159
1174
  Gemspec/OrderedDependencies:
1160
1175
  Enabled: false
1176
+ Gemspec/RequiredRubyVersion:
1177
+ Enabled: true
1178
+ Gemspec/RubyVersionGlobalsUsage:
1179
+ Enabled: true
1161
1180
 
1162
1181
  RSpec/AlignRightLetBrace:
1163
1182
  Enabled: false
@@ -1183,6 +1202,8 @@ RSpec/DescribedClass:
1183
1202
  Enabled: true
1184
1203
  SkipBlocks: false
1185
1204
  EnforcedStyle: described_class
1205
+ RSpec/Dialect:
1206
+ Enabled: false
1186
1207
  RSpec/EmptyExampleGroup:
1187
1208
  Enabled: true
1188
1209
  RSpec/EmptyLineAfterFinalLet:
@@ -1216,6 +1237,10 @@ RSpec/Focus:
1216
1237
  RSpec/HookArgument:
1217
1238
  Enabled: true
1218
1239
  EnforcedStyle: implicit
1240
+ RSpec/HooksBeforeExamples:
1241
+ Enabled: true
1242
+ RSpec/ImplicitBlockExpectation:
1243
+ Enabled: true
1219
1244
  RSpec/ImplicitExpect:
1220
1245
  Enabled: true
1221
1246
  EnforcedStyle: is_expected
@@ -1233,6 +1258,8 @@ RSpec/IteratedExpectation:
1233
1258
  Enabled: true
1234
1259
  RSpec/LeadingSubject:
1235
1260
  Enabled: false
1261
+ RSpec/LeakyConstantDeclaration:
1262
+ Enabled: true
1236
1263
  RSpec/LetBeforeExamples:
1237
1264
  Enabled: true
1238
1265
  RSpec/LetSetup:
@@ -1290,6 +1317,8 @@ RSpec/VerifiedDoubles:
1290
1317
  IgnoreSymbolicNames: false
1291
1318
  RSpec/VoidExpect:
1292
1319
  Enabled: true
1320
+ RSpec/Yield:
1321
+ Enabled: true
1293
1322
 
1294
1323
  FactoryBot/CreateList:
1295
1324
  Enabled: true
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spicerack-styleguide
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.1
4
+ version: 0.15.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Allen Rettberg
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-08 00:00:00.000000000 Z
11
+ date: 2019-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,42 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.68.1
19
+ version: '0.74'
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.68.1
26
+ version: '0.74'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 1.32.0
33
+ version: 1.35.0
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.32.0
40
+ version: 1.35.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-performance
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 1.1.0
47
+ version: 1.4.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 1.1.0
54
+ version: 1.4.1
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop-rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - '='
60
+ - !ruby/object:Gem::Version
61
+ version: 2.3.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - '='
67
+ - !ruby/object:Gem::Version
68
+ version: 2.3.0
55
69
  description: Wanna write code the Freshly way? Inherit this gem in your rubocop.yml
56
70
  and keep your code fresh
57
71
  email:
@@ -87,8 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
101
  - !ruby/object:Gem::Version
88
102
  version: '0'
89
103
  requirements: []
90
- rubyforge_project:
91
- rubygems_version: 2.7.6
104
+ rubygems_version: 3.0.3
92
105
  signing_key:
93
106
  specification_version: 4
94
107
  summary: Rubocop Styleguide for Rails and RSpec.