sevencop 0.43.0 → 0.44.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: 27ef12a9d73af780d2df174d7f5e76a7c882a364310a90de25a5b74a7f805c89
4
- data.tar.gz: 41b9ec3b0ba6639bd6b12b60da6d70cd7c7ded19f35bb1d97527ec98ecdaeca3
3
+ metadata.gz: e4a073f5b385308c7b105b2d11310c12a6229eac04694cb44bcf4e8af1b6b05a
4
+ data.tar.gz: 3aa8ed6a5880381f800fff2312939a35aebd225616bd91c073373ad2f48c25a9
5
5
  SHA512:
6
- metadata.gz: f96546be70eefad0cc889efdf726aabd3417db9e3e29af83e2961f8066bff6cfa1974b6f058c2c96a9366a6e7309441c34139cc50f716fd05ee92fc6673ffdde
7
- data.tar.gz: 278fbde7bc95f4a592f5e249aafb16f22874b75961e85336d814dd4726f446165058682ac3acfb9318add398841c1a81e6bdbb47a3024ee76bc53721ab3420a9
6
+ metadata.gz: 296aae3f377473ffc650d3c61935d2d1126ea8b82a78335deef530e32841fc3d34228a0b203d454eac4ec626c0c32d6a876f1968ece38682c3e58eb187a7fdc9
7
+ data.tar.gz: f95da5da6b03c6c88484e205184a048670f3c41b8fbbf7642f9f0c19908c655b0d2885e5bde3bf68959b92211e5c96a8cbd8d7410999320ac0936b94b282c292
data/.rubocop.yml CHANGED
@@ -7,8 +7,7 @@ require:
7
7
 
8
8
  AllCops:
9
9
  NewCops: enable
10
- SuggestExtensions: false
11
- TargetRubyVersion: 2.6
10
+ TargetRubyVersion: 2.7
12
11
 
13
12
  Gemspec/RequireMFA:
14
13
  Enabled: false
@@ -34,16 +33,6 @@ RSpec:
34
33
  RSpec/ExampleLength:
35
34
  Enabled: false
36
35
 
37
- RSpec/FilePath:
38
- CustomTransform:
39
- RSpecDescribeHttpEndpoint: rspec_describe_http_endpoint
40
- RSpecEmptyLineAfterLet: rspec_empty_line_after_let
41
- RSpecExamplesInSameGroup: rspec_examples_in_same_group
42
- RSpecMatcherConsistentParentheses: rspec_matcher_consistent_parentheses
43
- RSpecMemoizedHelperBlockDelimiter: rspec_memoized_helper_block_delimiter
44
- RSpecRailsHaveHttpStatus: rspec_rails_have_http_status
45
- RSpecRailsStatusCodeCheckBySubject: rspec_rails_status_code_check_by_subject
46
-
47
36
  RSpec/MultipleExpectations:
48
37
  Enabled: false
49
38
 
data/Gemfile CHANGED
@@ -6,8 +6,13 @@ source 'https://rubygems.org'
6
6
  gemspec
7
7
 
8
8
  gem 'rake'
9
- gem 'rspec'
10
- gem 'rubocop'
11
- gem 'rubocop-performance'
12
- gem 'rubocop-rake'
13
- gem 'rubocop-rspec'
9
+
10
+ group :rubocop do
11
+ gem 'rubocop-performance'
12
+ gem 'rubocop-rake'
13
+ gem 'rubocop-rspec'
14
+ end
15
+
16
+ group :test do
17
+ gem 'rspec'
18
+ end
data/Gemfile.lock CHANGED
@@ -1,96 +1,90 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sevencop (0.43.0)
4
+ sevencop (0.44.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.3)
11
+ activesupport (7.2.1)
12
12
  base64
13
13
  bigdecimal
14
- concurrent-ruby (~> 1.0, >= 1.0.2)
14
+ concurrent-ruby (~> 1.0, >= 1.3.1)
15
15
  connection_pool (>= 2.2.5)
16
16
  drb
17
17
  i18n (>= 1.6, < 2)
18
+ logger (>= 1.4.2)
18
19
  minitest (>= 5.1)
19
- mutex_m
20
- tzinfo (~> 2.0)
20
+ securerandom (>= 0.3)
21
+ tzinfo (~> 2.0, >= 2.0.5)
21
22
  ast (2.4.2)
22
23
  base64 (0.2.0)
23
24
  bigdecimal (3.1.8)
24
- concurrent-ruby (1.2.3)
25
+ concurrent-ruby (1.3.4)
25
26
  connection_pool (2.4.1)
26
- diff-lcs (1.5.0)
27
+ diff-lcs (1.5.1)
27
28
  drb (2.2.1)
28
29
  i18n (1.14.5)
29
30
  concurrent-ruby (~> 1.0)
30
- json (2.7.1)
31
+ json (2.7.2)
31
32
  language_server-protocol (3.17.0.3)
32
- minitest (5.23.1)
33
- mutex_m (0.2.0)
34
- parallel (1.24.0)
35
- parser (3.3.0.5)
33
+ logger (1.6.1)
34
+ minitest (5.25.1)
35
+ parallel (1.26.3)
36
+ parser (3.3.5.0)
36
37
  ast (~> 2.4.1)
37
38
  racc
38
- racc (1.7.3)
39
+ racc (1.8.1)
39
40
  rainbow (3.1.1)
40
- rake (13.1.0)
41
- regexp_parser (2.9.0)
42
- rexml (3.2.6)
43
- rspec (3.12.0)
44
- rspec-core (~> 3.12.0)
45
- rspec-expectations (~> 3.12.0)
46
- rspec-mocks (~> 3.12.0)
47
- rspec-core (3.12.2)
48
- rspec-support (~> 3.12.0)
49
- rspec-expectations (3.12.3)
41
+ rake (13.2.1)
42
+ regexp_parser (2.9.2)
43
+ rspec (3.13.0)
44
+ rspec-core (~> 3.13.0)
45
+ rspec-expectations (~> 3.13.0)
46
+ rspec-mocks (~> 3.13.0)
47
+ rspec-core (3.13.1)
48
+ rspec-support (~> 3.13.0)
49
+ rspec-expectations (3.13.2)
50
50
  diff-lcs (>= 1.2.0, < 2.0)
51
- rspec-support (~> 3.12.0)
52
- rspec-mocks (3.12.6)
51
+ rspec-support (~> 3.13.0)
52
+ rspec-mocks (3.13.1)
53
53
  diff-lcs (>= 1.2.0, < 2.0)
54
- rspec-support (~> 3.12.0)
55
- rspec-support (3.12.1)
56
- rubocop (1.60.2)
54
+ rspec-support (~> 3.13.0)
55
+ rspec-support (3.13.1)
56
+ rubocop (1.66.1)
57
57
  json (~> 2.3)
58
58
  language_server-protocol (>= 3.17.0)
59
59
  parallel (~> 1.10)
60
60
  parser (>= 3.3.0.2)
61
61
  rainbow (>= 2.2.2, < 4.0)
62
- regexp_parser (>= 1.8, < 3.0)
63
- rexml (>= 3.2.5, < 4.0)
64
- rubocop-ast (>= 1.30.0, < 2.0)
62
+ regexp_parser (>= 2.4, < 3.0)
63
+ rubocop-ast (>= 1.32.2, < 2.0)
65
64
  ruby-progressbar (~> 1.7)
66
65
  unicode-display_width (>= 2.4.0, < 3.0)
67
- rubocop-ast (1.30.0)
68
- parser (>= 3.2.1.0)
69
- rubocop-capybara (2.20.0)
70
- rubocop (~> 1.41)
71
- rubocop-factory_bot (2.25.1)
72
- rubocop (~> 1.41)
73
- rubocop-performance (1.20.2)
66
+ rubocop-ast (1.32.3)
67
+ parser (>= 3.3.1.0)
68
+ rubocop-performance (1.21.1)
74
69
  rubocop (>= 1.48.1, < 2.0)
75
- rubocop-ast (>= 1.30.0, < 2.0)
70
+ rubocop-ast (>= 1.31.1, < 2.0)
76
71
  rubocop-rake (0.6.0)
77
72
  rubocop (~> 1.0)
78
- rubocop-rspec (2.26.1)
79
- rubocop (~> 1.40)
80
- rubocop-capybara (~> 2.17)
81
- rubocop-factory_bot (~> 2.22)
73
+ rubocop-rspec (3.0.4)
74
+ rubocop (~> 1.61)
82
75
  ruby-progressbar (1.13.0)
76
+ securerandom (0.3.1)
83
77
  tzinfo (2.0.6)
84
78
  concurrent-ruby (~> 1.0)
85
79
  unicode-display_width (2.5.0)
86
80
 
87
81
  PLATFORMS
82
+ ruby
88
83
  x86_64-linux
89
84
 
90
85
  DEPENDENCIES
91
86
  rake
92
87
  rspec
93
- rubocop
94
88
  rubocop-performance
95
89
  rubocop-rake
96
90
  rubocop-rspec
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # sevencop
2
2
 
3
- [![test](https://github.com/r7kamura/sevencop/actions/workflows/test.yml/badge.svg)](https://github.com/r7kamura/sevencop/actions/workflows/test.yml)
3
+ [![CI](https://github.com/r7kamura/sevencop/actions/workflows/ci.yml/badge.svg)](https://github.com/r7kamura/sevencop/actions/workflows/ci.yml)
4
4
 
5
5
  Opinionated custom cops for [RuboCop](https://github.com/rubocop/rubocop).
6
6
 
data/config/default.yml CHANGED
@@ -157,3 +157,4 @@ Sevencop/RSpecRailsStatusCodeCheckBySubject:
157
157
  Include:
158
158
  - "**/spec/controllers/**/*.rb"
159
159
  - "**/spec/requests/**/*.rb"
160
+ Safe: false
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Sevencop
4
- VERSION = '0.43.0'
4
+ VERSION = '0.44.0'
5
5
  end
data/sevencop.gemspec CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
11
11
  spec.summary = 'Opinionated custom cops for RuboCop.'
12
12
  spec.homepage = 'https://github.com/r7kamura/sevencop'
13
13
  spec.license = 'MIT'
14
- spec.required_ruby_version = '>= 2.6.0'
14
+ spec.required_ruby_version = '>= 2.7'
15
15
 
16
16
  spec.metadata['homepage_uri'] = spec.homepage
17
17
  spec.metadata['source_code_uri'] = spec.homepage
@@ -28,6 +28,6 @@ Gem::Specification.new do |spec|
28
28
  spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
29
29
  spec.require_paths = ['lib']
30
30
 
31
- spec.add_runtime_dependency 'activesupport'
32
- spec.add_runtime_dependency 'rubocop'
31
+ spec.add_dependency 'activesupport'
32
+ spec.add_dependency 'rubocop'
33
33
  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.43.0
4
+ version: 0.44.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-05-28 00:00:00.000000000 Z
11
+ date: 2024-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -101,7 +101,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
101
101
  requirements:
102
102
  - - ">="
103
103
  - !ruby/object:Gem::Version
104
- version: 2.6.0
104
+ version: '2.7'
105
105
  required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - ">="