rubocop_fonsan_style 0.1.7 → 0.1.8

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: f30b89e30f65425cd648d8da717d89786d81f85931e846ee4125c523cea60fcf
4
- data.tar.gz: 2df08c34e660cb27c20d971c3d124904ddc642589b1968d10721266028fb738a
3
+ metadata.gz: f41c4d10a6890a77dfb6498b0656b57d6dab8efaee3a84d75b50c2b25fe3ece5
4
+ data.tar.gz: b1d6680571a0b890bbfdd5883b37b335377ece25b44a4421e9ab7e2d6cb6bb7e
5
5
  SHA512:
6
- metadata.gz: 9abfddd90c8c0158a2b32ab4b96638b5ef26c56e0004d90e68f0d828ee46b35aa4386d9c4341b50bdf3d4852cf673ccae699ecd816fe9355cfe0c12f303bdb69
7
- data.tar.gz: 72869d080fe3793d8abcbabd3f80794958232f83ce353475b53237a8d232a349329f516c0c7a8c92ed42869a7ce5ea8694a1583ad6a56b9cf34a9ce356af521b
6
+ metadata.gz: 5354dfe1765f7d3fade49b7198d750e2ce47897fe9724db258f761f5223c65970b4c134ada88d5547470e9c6e6b9c9160c78e44a01a275deb391d49601f5f665
7
+ data.tar.gz: e2e6265706d6c21052d79e409b437d919d619fa6f26184243c53cfbfd48b5e4d71ce22a6908475fffbedc353600b894a01da015a647fdc989d7924b87cc22e2e
data/.rubocop.default.yml CHANGED
@@ -87,7 +87,10 @@ Layout/SpaceInsideBlockBraces:
87
87
  SpaceBeforeBlockParameters: false
88
88
  Layout/SpaceInsideHashLiteralBraces:
89
89
  EnforcedStyle: no_space
90
-
90
+ Lint/DuplicateSetElement: # new in 1.67
91
+ Enabled: true
92
+ Lint/UnescapedBracketInRegexp: # new in 1.68
93
+ Enabled: true
91
94
  Lint/LiteralAssignmentInCondition: # new in 1.58
92
95
  Enabled: false
93
96
  Lint/ItWithoutArgumentsInBlock: # new in 1.59
@@ -484,3 +487,13 @@ Style/TrailingCommaInArrayLiteral:
484
487
  EnforcedStyleForMultiline: consistent_comma
485
488
  Style/TrailingCommaInHashLiteral:
486
489
  EnforcedStyleForMultiline: consistent_comma
490
+ Style/AmbiguousEndlessMethodDefinition: # new in 1.68
491
+ Enabled: true
492
+ Style/BitwisePredicate: # new in 1.68
493
+ Enabled: true
494
+ Style/CombinableDefined: # new in 1.68
495
+ Enabled: true
496
+ Style/KeywordArgumentsMerging: # new in 1.68
497
+ Enabled: true
498
+ Style/SafeNavigationChainLength: # new in 1.68
499
+ Enabled: true
data/.rubocop.rspec.yml CHANGED
@@ -1,10 +1,6 @@
1
1
  require:
2
2
  - rubocop-rspec
3
3
 
4
- Capybara/RedundantWithinFind: # new in 2.20
5
- Enabled: true
6
- FactoryBot/ExcessiveCreateList: # new in 2.25
7
- Enabled: true
8
4
  RSpec/EmptyOutput: # new in 2.29
9
5
  Enabled: true
10
6
  RSpec/ExpectInLet: # new in 2.30
@@ -29,8 +25,6 @@ RSpec/IdenticalEqualityAssertion: # new in 2.4
29
25
  Enabled: true
30
26
  RSpec/SubjectDeclaration: # new in 2.5
31
27
  Enabled: true
32
- RSpecRails/AvoidSetupHook: # new in 2.4
33
- Enabled: true
34
28
  RSpec/StubbedMock: # (new in 1.44)
35
29
  Enabled: true
36
30
  RSpec/MultipleMemoizedHelpers:
@@ -47,25 +41,7 @@ RSpec/SortMetadata: # new in 2.14
47
41
  Enabled: true
48
42
  RSpec/VerifiedDoubleReference: # new in 2.10.0
49
43
  Enabled: true
50
- Capybara/NegationMatcher: # new in 2.14
51
- Enabled: true
52
- Capybara/SpecificActions: # new in 2.14
53
- Enabled: true
54
- Capybara/SpecificFinders: # new in 2.13
55
- Enabled: true
56
- Capybara/MatchStyle: # new in <<next>>
57
- Enabled: true
58
- Capybara/SpecificMatcher: # new in 2.12
59
- Enabled: true
60
- Capybara/ClickLinkOrButtonStyle: # new in 2.19
61
- Enabled: true
62
- Capybara/RSpec/HaveSelector: # new in 2.19
63
- Enabled: true
64
- Capybara/RSpec/PredicateMatcher: # new in 2.19
65
- Enabled: true
66
- RSpecRails/HaveHttpStatus: # new in 2.12
67
- Enabled: true
68
- RSpecRails/InferredSpecType: # new in 2.14
44
+ RSpec/PredicateMatcher: # new in 2.19
69
45
  Enabled: true
70
46
  RSpec/NamedSubject:
71
47
  Enabled: false
@@ -103,24 +79,5 @@ RSpec/SpecFilePathFormat: # new in 2.24
103
79
  Enabled: true
104
80
  RSpec/SpecFilePathSuffix: # new in 2.24
105
81
  Enabled: true
106
- RSpecRails/NegationBeValid: # new in 2.23
107
- Enabled: true
108
- RSpecRails/TravelAround: # new in 2.19
109
- Enabled: true
110
- RSpecRails/MinitestAssertions: # new in 2.17
111
- Enabled: true
112
-
113
- FactoryBot/SyntaxMethods: # new in 2.7
114
- Enabled: true
115
- FactoryBot/ConsistentParenthesesStyle: # new in 2.14
116
- Enabled: true
117
- FactoryBot/FactoryNameStyle: # new in 2.16
118
- Enabled: true
119
- FactoryBot/AssociationStyle: # new in 2.23
120
- Enabled: true
121
- FactoryBot/FactoryAssociationWithStrategy: # new in 2.23
122
- Enabled: true
123
- FactoryBot/IdSequence: # new in <<next>>
124
- Enabled: true
125
- FactoryBot/RedundantFactoryOption: # new in 2.23
82
+ RSpec/StringAsInstanceDoubleConstant: # new in 3.1
126
83
  Enabled: true
data/Gemfile.lock CHANGED
@@ -1,74 +1,76 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubocop_fonsan_style (0.1.6)
4
+ rubocop_fonsan_style (0.1.7)
5
5
  haml_lint (~> 0.52)
6
- rubocop (~> 1.66)
6
+ rubocop (~> 1.68)
7
7
  rubocop-performance (~> 1.22)
8
- rubocop-rails (~> 2.26)
9
- rubocop-rspec (~> 2.25)
8
+ rubocop-rails (~> 2.27)
9
+ rubocop-rspec (~> 3.2)
10
10
  rubocop-rubycw (~> 0.1)
11
11
 
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- activesupport (7.1.2)
15
+ activesupport (7.2.2)
16
16
  base64
17
+ benchmark (>= 0.3)
17
18
  bigdecimal
18
- concurrent-ruby (~> 1.0, >= 1.0.2)
19
+ concurrent-ruby (~> 1.0, >= 1.3.1)
19
20
  connection_pool (>= 2.2.5)
20
21
  drb
21
22
  i18n (>= 1.6, < 2)
23
+ logger (>= 1.4.2)
22
24
  minitest (>= 5.1)
23
- mutex_m
24
- tzinfo (~> 2.0)
25
+ securerandom (>= 0.3)
26
+ tzinfo (~> 2.0, >= 2.0.5)
25
27
  ast (2.4.2)
26
28
  base64 (0.2.0)
27
- bigdecimal (3.1.5)
28
- concurrent-ruby (1.2.2)
29
+ benchmark (0.3.0)
30
+ bigdecimal (3.1.8)
31
+ concurrent-ruby (1.3.4)
29
32
  connection_pool (2.4.1)
30
- diff-lcs (1.5.0)
31
- drb (2.2.0)
32
- ruby2_keywords
33
+ diff-lcs (1.5.1)
34
+ drb (2.2.1)
33
35
  haml (6.3.0)
34
36
  temple (>= 0.8.2)
35
37
  thor
36
38
  tilt
37
- haml_lint (0.52.0)
38
- haml (>= 4.0)
39
+ haml_lint (0.59.0)
40
+ haml (>= 5.0)
39
41
  parallel (~> 1.10)
40
42
  rainbow
41
43
  rubocop (>= 1.0)
42
44
  sysexits (~> 1.1)
43
- i18n (1.14.1)
45
+ i18n (1.14.6)
44
46
  concurrent-ruby (~> 1.0)
45
- json (2.7.1)
47
+ json (2.7.5)
46
48
  language_server-protocol (3.17.0.3)
47
- minitest (5.20.0)
48
- mutex_m (0.2.0)
49
- parallel (1.23.0)
49
+ logger (1.6.1)
50
+ minitest (5.25.1)
51
+ parallel (1.26.3)
50
52
  parser (3.3.5.0)
51
53
  ast (~> 2.4.1)
52
54
  racc
53
- racc (1.7.3)
54
- rack (3.0.8)
55
+ racc (1.8.1)
56
+ rack (3.1.8)
55
57
  rainbow (3.1.1)
56
- rake (13.1.0)
57
- regexp_parser (2.8.3)
58
- rspec (3.12.0)
59
- rspec-core (~> 3.12.0)
60
- rspec-expectations (~> 3.12.0)
61
- rspec-mocks (~> 3.12.0)
62
- rspec-core (3.12.2)
63
- rspec-support (~> 3.12.0)
64
- rspec-expectations (3.12.3)
58
+ rake (13.2.1)
59
+ regexp_parser (2.9.2)
60
+ rspec (3.13.0)
61
+ rspec-core (~> 3.13.0)
62
+ rspec-expectations (~> 3.13.0)
63
+ rspec-mocks (~> 3.13.0)
64
+ rspec-core (3.13.2)
65
+ rspec-support (~> 3.13.0)
66
+ rspec-expectations (3.13.3)
65
67
  diff-lcs (>= 1.2.0, < 2.0)
66
- rspec-support (~> 3.12.0)
67
- rspec-mocks (3.12.6)
68
+ rspec-support (~> 3.13.0)
69
+ rspec-mocks (3.13.2)
68
70
  diff-lcs (>= 1.2.0, < 2.0)
69
- rspec-support (~> 3.12.0)
70
- rspec-support (3.12.1)
71
- rubocop (1.66.1)
71
+ rspec-support (~> 3.13.0)
72
+ rspec-support (3.13.1)
73
+ rubocop (1.68.0)
72
74
  json (~> 2.3)
73
75
  language_server-protocol (>= 3.17.0)
74
76
  parallel (~> 1.10)
@@ -78,35 +80,29 @@ GEM
78
80
  rubocop-ast (>= 1.32.2, < 2.0)
79
81
  ruby-progressbar (~> 1.7)
80
82
  unicode-display_width (>= 2.4.0, < 3.0)
81
- rubocop-ast (1.32.3)
83
+ rubocop-ast (1.33.0)
82
84
  parser (>= 3.3.1.0)
83
- rubocop-capybara (2.19.0)
84
- rubocop (~> 1.41)
85
- rubocop-factory_bot (2.24.0)
86
- rubocop (~> 1.33)
87
85
  rubocop-performance (1.22.1)
88
86
  rubocop (>= 1.48.1, < 2.0)
89
87
  rubocop-ast (>= 1.31.1, < 2.0)
90
- rubocop-rails (2.26.2)
88
+ rubocop-rails (2.27.0)
91
89
  activesupport (>= 4.2.0)
92
90
  rack (>= 1.1)
93
91
  rubocop (>= 1.52.0, < 2.0)
94
92
  rubocop-ast (>= 1.31.1, < 2.0)
95
- rubocop-rspec (2.25.0)
96
- rubocop (~> 1.40)
97
- rubocop-capybara (~> 2.17)
98
- rubocop-factory_bot (~> 2.22)
93
+ rubocop-rspec (3.2.0)
94
+ rubocop (~> 1.61)
99
95
  rubocop-rubycw (0.1.6)
100
96
  rubocop (~> 1.0)
101
97
  ruby-progressbar (1.13.0)
102
- ruby2_keywords (0.0.5)
98
+ securerandom (0.3.1)
103
99
  sysexits (1.2.0)
104
100
  temple (0.10.3)
105
- thor (1.3.0)
106
- tilt (2.3.0)
101
+ thor (1.3.2)
102
+ tilt (2.4.0)
107
103
  tzinfo (2.0.6)
108
104
  concurrent-ruby (~> 1.0)
109
- unicode-display_width (2.5.0)
105
+ unicode-display_width (2.6.0)
110
106
 
111
107
  PLATFORMS
112
108
  arm64-darwin-22
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubocopFonsanStyle
4
- VERSION = '0.1.7'
4
+ VERSION = '0.1.8'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop_fonsan_style
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fonsan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-12 00:00:00.000000000 Z
11
+ date: 2024-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: haml_lint
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.66'
33
+ version: '1.68'
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.66'
40
+ version: '1.68'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-performance
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,28 +58,28 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.26'
61
+ version: '2.27'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '2.26'
68
+ version: '2.27'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '2.25'
75
+ version: '3.2'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '2.25'
82
+ version: '3.2'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: rubocop-rubycw
85
85
  requirement: !ruby/object:Gem::Requirement