sevencop 0.37.0 → 0.39.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8f8b9af448980183de77764548e3b31c6e402816213fdeb8700a9ab619b2703a
4
- data.tar.gz: b534ee269ff21655204b2eeb2397703f3c378c34c0e0c3d4702b59c2f96afb2d
3
+ metadata.gz: b16f92849b05ffb094bc39ced3a930c21cdbabc4aa95f5d0e40d2a6222969322
4
+ data.tar.gz: 24f48910c8cfab40c780c1685cf4198134cbf3cfae0ef922805edea702885318
5
5
  SHA512:
6
- metadata.gz: a7eeff888f7f8f708ef105d9842a9c16db91da60984076528f3c9d4e364bce4934bb04e5fe108c2af2841a1b71438dcad3d82afd963256613ff95adf6ecf95b3
7
- data.tar.gz: a0a838e1f7ae5eb4c12a0bb30a327140cb5b4bddbfc1c5e089bc1fbc200e19144eab18a263fca11ab1574d9d2d4de4a735e62ee6e3787b6fc6cb96a50a59d648
6
+ metadata.gz: 5384a17f52b51e66f0309da2c9041e3e65fb6c7c95a8efec3d818832a70702a9e03b6be84d80b6e8af3e0686c0189b49efbad604405fe08553677f14547955b2
7
+ data.tar.gz: 5fa205dc8e7db998e2dff519cfec07efb7853dfa6b273e4022b704f55c73d20211cf0c8d755226b476415bafb88b2b092dc356c7aea348d0171a92429e69e659
data/Gemfile.lock CHANGED
@@ -1,14 +1,14 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sevencop (0.37.0)
4
+ sevencop (0.39.0)
5
5
  activesupport
6
6
  rubocop
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- activesupport (7.1.3)
11
+ activesupport (7.1.3.2)
12
12
  base64
13
13
  bigdecimal
14
14
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -20,17 +20,16 @@ GEM
20
20
  tzinfo (~> 2.0)
21
21
  ast (2.4.2)
22
22
  base64 (0.2.0)
23
- bigdecimal (3.1.6)
23
+ bigdecimal (3.1.7)
24
24
  concurrent-ruby (1.2.3)
25
25
  connection_pool (2.4.1)
26
26
  diff-lcs (1.5.0)
27
- drb (2.2.0)
28
- ruby2_keywords
29
- i18n (1.14.1)
27
+ drb (2.2.1)
28
+ i18n (1.14.4)
30
29
  concurrent-ruby (~> 1.0)
31
30
  json (2.7.1)
32
31
  language_server-protocol (3.17.0.3)
33
- minitest (5.21.2)
32
+ minitest (5.22.3)
34
33
  mutex_m (0.2.0)
35
34
  parallel (1.24.0)
36
35
  parser (3.3.0.5)
@@ -81,7 +80,6 @@ GEM
81
80
  rubocop-capybara (~> 2.17)
82
81
  rubocop-factory_bot (~> 2.22)
83
82
  ruby-progressbar (1.13.0)
84
- ruby2_keywords (0.0.5)
85
83
  tzinfo (2.0.6)
86
84
  concurrent-ruby (~> 1.0)
87
85
  unicode-display_width (2.5.0)
data/config/default.yml CHANGED
@@ -24,12 +24,9 @@ Sevencop/FactoryBotAssociationStyle:
24
24
  NonImplicitAssociationMethodNames:
25
25
  - skip_create
26
26
  Include:
27
- - factories.rb
28
- - factories/*.rb
29
- - spec/factories.rb
30
- - spec/factories/*.rb
31
- - test/factories.rb
32
- - test/factories/*.rb
27
+ - "**/factories.rb"
28
+ - "**/spec/factories/*.rb"
29
+ - "**/test/factories/*.rb"
33
30
 
34
31
  Sevencop/HashElementOrdered:
35
32
  Description: |
@@ -103,7 +100,7 @@ Sevencop/RailsSpecificActionName:
103
100
  - show
104
101
  - update
105
102
  Include:
106
- - app/controllers/**/*.rb
103
+ - "**/app/controllers/**/*.rb"
107
104
 
108
105
  Sevencop/RailsUniquenessValidatorExplicitCaseSensitivity:
109
106
  Description: |
@@ -122,14 +119,14 @@ Sevencop/RSpecDescribeHttpEndpoint:
122
119
  Pass HTTP endpoint identifier (e.g. `GET /users`) to top-level `describe` on request-specs.
123
120
  Enabled: false
124
121
  Include:
125
- - spec/requests/**/*.rb
122
+ - "**/spec/requests/**/*.rb"
126
123
 
127
124
  Sevencop/RSpecEmptyLineAfterLet:
128
125
  Description: |
129
126
  Insert empty line after `let`.
130
127
  Enabled: false
131
128
  Include:
132
- - spec/**/*
129
+ - "**/spec/**/*.rb"
133
130
 
134
131
  Sevencop/RSpecExamplesInSameGroup:
135
132
  Description: |
@@ -137,20 +134,20 @@ Sevencop/RSpecExamplesInSameGroup:
137
134
  Enabled: false
138
135
  IncludeSharedExamples: false
139
136
  Include:
140
- - spec/controllers/**/*
141
- - spec/requests/**/*
137
+ - "**/spec/controllers/**/*.rb"
138
+ - "**/spec/requests/**/*.rb"
142
139
 
143
140
  Sevencop/RSpecMemoizedHelperBlockDelimiter:
144
141
  Description: |
145
142
  Use do-end block delimiter on RSpec memoized helper.
146
143
  Enabled: false
147
144
  Include:
148
- - spec/**/*
145
+ - "**/spec/**/*.rb"
149
146
 
150
147
  Sevencop/RSpecRailsHaveHttpStatus:
151
148
  Description: |
152
149
  Always check status code with `have_http_status`.
153
150
  Enabled: false
154
151
  Include:
155
- - spec/controllers/**/*
156
- - spec/requests/**/*
152
+ - "**/spec/controllers/**/*.rb"
153
+ - "**/spec/requests/**/*.rb"
@@ -27,6 +27,7 @@ module RuboCop
27
27
  SUPPORTED_HTTP_METHODS = %w[
28
28
  DELETE
29
29
  GET
30
+ HEAD
30
31
  PATCH
31
32
  POST
32
33
  PUT
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sevencop
4
- VERSION = '0.37.0'
4
+ VERSION = '0.39.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sevencop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.37.0
4
+ version: 0.39.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-02-01 00:00:00.000000000 Z
11
+ date: 2024-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -106,7 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  - !ruby/object:Gem::Version
107
107
  version: '0'
108
108
  requirements: []
109
- rubygems_version: 3.3.26
109
+ rubygems_version: 3.3.27
110
110
  signing_key:
111
111
  specification_version: 4
112
112
  summary: Opinionated custom cops for RuboCop.