rubocop_fonsan_style 0.1.3 → 0.1.5

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: 47dbf92c0e8ffed09ec69f6b1a7f147e11edd7862c2dad314f921630e915f0ab
4
- data.tar.gz: 055f9153bc50615d0b893c65d5e491e8bce65a37197367dd02c9bc008713492b
3
+ metadata.gz: 43dcc8d1ca0a1c92398cf4bd8e5b85db937ff03ed0d4dc3fc1cebe9b6f1bbb3e
4
+ data.tar.gz: 4e7d432299b6ca4576435b0d5159642030192b9b311255c557ade45b03d6993d
5
5
  SHA512:
6
- metadata.gz: f3a2d48b03e53108d9f4f4845b8f9ed06a107abeb818b9ed895af8d0a7f60c0d2efb2b995f5904d817fe54b47ddc509634600423a122d9e1cffd12ccc60d1900
7
- data.tar.gz: 78ee29492d88a9f1c54676926568ca6d14b06e657dc8c5c942f502a1c4d4b462ad98d326252aaa4d0320111ab6b1daa1b7fa9b188e4f299be54936b51e956089
6
+ metadata.gz: cd97904804c25be68cdd7c58803618600c5edcd8714e8625c74df13a9de6458dcbcb8ae978042a99f912c1e4223616f2c441946f99f5ade847295a69d47a4c8d
7
+ data.tar.gz: 2c4e4487c2573782c7bd965d262e6fc20bfd658bd3471c7e06a98a4e55231695b88acd1bfdc7932f24208750d0c8cbb98a484a1aac4d96d12104cf1ebefba32a
data/.rubocop.default.yml CHANGED
@@ -73,6 +73,10 @@ Layout/SpaceInsideBlockBraces:
73
73
  Layout/SpaceInsideHashLiteralBraces:
74
74
  EnforcedStyle: no_space
75
75
 
76
+ Lint/LiteralAssignmentInCondition: # new in 1.58
77
+ Enabled: false
78
+ Lint/ItWithoutArgumentsInBlock: # new in 1.59
79
+ Enabled: true
76
80
  Lint/MixedCaseRange: # new in 1.53
77
81
  Enabled: true
78
82
  Lint/RedundantRegexpQuantifiers: # new in 1.53
@@ -267,6 +271,8 @@ Security/CompoundHash:
267
271
  Enabled: true
268
272
  Security/IoMethods:
269
273
  Enabled: true
274
+ Style/SuperWithArgsParentheses: # new in 1.58
275
+ Enabled: true
270
276
  Style/DataInheritance: # new in 1.49
271
277
  Enabled: true
272
278
  Style/DirEmpty: # new in 1.48
@@ -448,6 +454,11 @@ Style/StringConcatenation:
448
454
  Enabled: true
449
455
  Style/StringHashKeys:
450
456
  Enabled: true
457
+ Exclude:
458
+ - 'config/environments/development.rb'
459
+ - 'config/environments/test.rb'
460
+ - 'config/environments/production.rb'
461
+ - 'config/routes.rb'
451
462
  Style/StringLiteralsInInterpolation:
452
463
  Enabled: false
453
464
  Style/SwapValues:
data/.rubocop.rails.yml CHANGED
@@ -1,7 +1,8 @@
1
1
  require:
2
2
  - rubocop-rails
3
3
 
4
-
4
+ Rails/EnvLocal: # new in 2.22
5
+ Enabled: true
5
6
  Rails/UnusedRenderContent: # new in 2.21
6
7
  Enabled: true
7
8
  Rails/ThreeStateBooleanColumn: # new in 2.19
data/Gemfile CHANGED
@@ -5,16 +5,8 @@ source 'https://rubygems.org'
5
5
  # Specify your gem's dependencies in rubocop_fonsan_style.gemspec
6
6
  gemspec
7
7
 
8
- gem 'rake', '~> 13.0'
8
+ group :test do
9
+ gem 'rake', '~> 13.0'
9
10
 
10
- gem 'rspec', '~> 3.0'
11
-
12
- group :development do
13
- gem 'haml_lint'
14
- gem 'rubocop'
15
- gem 'rubocop-performance'
16
- gem 'rubocop-rails'
17
- gem 'rubocop-rake'
18
- gem 'rubocop-rspec'
19
- gem 'rubocop-rubycw'
11
+ gem 'rspec', '~> 3.0'
20
12
  end
data/Gemfile.lock CHANGED
@@ -2,18 +2,17 @@ PATH
2
2
  remote: .
3
3
  specs:
4
4
  rubocop_fonsan_style (0.1.3)
5
- haml_lint (~> 0.51)
6
- rubocop (~> 1.57)
5
+ haml_lint (~> 0.52)
6
+ rubocop (~> 1.59)
7
7
  rubocop-performance (~> 1.19)
8
- rubocop-rails (~> 2.21)
9
- rubocop-rake (~> 0.6.0)
10
- rubocop-rspec (~> 2.24)
8
+ rubocop-rails (~> 2.22)
9
+ rubocop-rspec (~> 2.25)
11
10
  rubocop-rubycw (~> 0.1)
12
11
 
13
12
  GEM
14
13
  remote: https://rubygems.org/
15
14
  specs:
16
- activesupport (7.1.1)
15
+ activesupport (7.1.2)
17
16
  base64
18
17
  bigdecimal
19
18
  concurrent-ruby (~> 1.0, >= 1.0.2)
@@ -24,18 +23,18 @@ GEM
24
23
  mutex_m
25
24
  tzinfo (~> 2.0)
26
25
  ast (2.4.2)
27
- base64 (0.1.1)
28
- bigdecimal (3.1.4)
26
+ base64 (0.2.0)
27
+ bigdecimal (3.1.5)
29
28
  concurrent-ruby (1.2.2)
30
29
  connection_pool (2.4.1)
31
30
  diff-lcs (1.5.0)
32
- drb (2.1.1)
31
+ drb (2.2.0)
33
32
  ruby2_keywords
34
- haml (6.2.3)
33
+ haml (6.3.0)
35
34
  temple (>= 0.8.2)
36
35
  thor
37
36
  tilt
38
- haml_lint (0.51.0)
37
+ haml_lint (0.52.0)
39
38
  haml (>= 4.0)
40
39
  parallel (~> 1.10)
41
40
  rainbow
@@ -43,19 +42,19 @@ GEM
43
42
  sysexits (~> 1.1)
44
43
  i18n (1.14.1)
45
44
  concurrent-ruby (~> 1.0)
46
- json (2.6.3)
45
+ json (2.7.1)
47
46
  language_server-protocol (3.17.0.3)
48
47
  minitest (5.20.0)
49
- mutex_m (0.1.2)
48
+ mutex_m (0.2.0)
50
49
  parallel (1.23.0)
51
50
  parser (3.2.2.4)
52
51
  ast (~> 2.4.1)
53
52
  racc
54
- racc (1.7.1)
53
+ racc (1.7.3)
55
54
  rack (3.0.8)
56
55
  rainbow (3.1.1)
57
- rake (13.0.6)
58
- regexp_parser (2.8.2)
56
+ rake (13.1.0)
57
+ regexp_parser (2.8.3)
59
58
  rexml (3.2.6)
60
59
  rspec (3.12.0)
61
60
  rspec-core (~> 3.12.0)
@@ -70,8 +69,7 @@ GEM
70
69
  diff-lcs (>= 1.2.0, < 2.0)
71
70
  rspec-support (~> 3.12.0)
72
71
  rspec-support (3.12.1)
73
- rubocop (1.57.1)
74
- base64 (~> 0.1.1)
72
+ rubocop (1.59.0)
75
73
  json (~> 2.3)
76
74
  language_server-protocol (>= 3.17.0)
77
75
  parallel (~> 1.10)
@@ -79,10 +77,10 @@ GEM
79
77
  rainbow (>= 2.2.2, < 4.0)
80
78
  regexp_parser (>= 1.8, < 3.0)
81
79
  rexml (>= 3.2.5, < 4.0)
82
- rubocop-ast (>= 1.28.1, < 2.0)
80
+ rubocop-ast (>= 1.30.0, < 2.0)
83
81
  ruby-progressbar (~> 1.7)
84
82
  unicode-display_width (>= 2.4.0, < 3.0)
85
- rubocop-ast (1.29.0)
83
+ rubocop-ast (1.30.0)
86
84
  parser (>= 3.2.1.0)
87
85
  rubocop-capybara (2.19.0)
88
86
  rubocop (~> 1.41)
@@ -91,14 +89,13 @@ GEM
91
89
  rubocop-performance (1.19.1)
92
90
  rubocop (>= 1.7.0, < 2.0)
93
91
  rubocop-ast (>= 0.4.0)
94
- rubocop-rails (2.21.2)
92
+ rubocop-rails (2.22.2)
95
93
  activesupport (>= 4.2.0)
96
94
  rack (>= 1.1)
97
95
  rubocop (>= 1.33.0, < 2.0)
98
- rubocop-rake (0.6.0)
99
- rubocop (~> 1.0)
100
- rubocop-rspec (2.24.1)
101
- rubocop (~> 1.33)
96
+ rubocop-ast (>= 1.30.0, < 2.0)
97
+ rubocop-rspec (2.25.0)
98
+ rubocop (~> 1.40)
102
99
  rubocop-capybara (~> 2.17)
103
100
  rubocop-factory_bot (~> 2.22)
104
101
  rubocop-rubycw (0.1.6)
@@ -120,16 +117,9 @@ PLATFORMS
120
117
  x86_64-linux
121
118
 
122
119
  DEPENDENCIES
123
- haml_lint
124
120
  rake (~> 13.0)
125
121
  rspec (~> 3.0)
126
- rubocop
127
- rubocop-performance
128
- rubocop-rails
129
- rubocop-rake
130
- rubocop-rspec
131
- rubocop-rubycw
132
122
  rubocop_fonsan_style!
133
123
 
134
124
  BUNDLED WITH
135
- 2.4.15
125
+ 2.5.0.dev
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RubocopFonsanStyle
4
- VERSION = '0.1.3'
4
+ VERSION = '0.1.5'
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.3
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fonsan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-10-19 00:00:00.000000000 Z
11
+ date: 2023-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: haml_lint
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.51'
19
+ version: '0.52'
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.51'
26
+ version: '0.52'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.57'
33
+ version: '1.59'
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.57'
40
+ version: '1.59'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-performance
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,42 +58,28 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.21'
61
+ version: '2.22'
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.21'
69
- - !ruby/object:Gem::Dependency
70
- name: rubocop-rake
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: 0.6.0
76
- type: :runtime
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: 0.6.0
68
+ version: '2.22'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: rubocop-rspec
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
73
  - - "~>"
88
74
  - !ruby/object:Gem::Version
89
- version: '2.24'
75
+ version: '2.25'
90
76
  type: :runtime
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
80
  - - "~>"
95
81
  - !ruby/object:Gem::Version
96
- version: '2.24'
82
+ version: '2.25'
97
83
  - !ruby/object:Gem::Dependency
98
84
  name: rubocop-rubycw
99
85
  requirement: !ruby/object:Gem::Requirement
@@ -129,7 +115,6 @@ files:
129
115
  - Rakefile
130
116
  - lib/rubocop_fonsan_style.rb
131
117
  - lib/rubocop_fonsan_style/version.rb
132
- - rubocop_fonsan_style.gemspec
133
118
  - sig/rubocop_fonsan_style.rbs
134
119
  homepage: https://github.com/Fonsan/rubocop_fonsan_style
135
120
  licenses:
@@ -153,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
138
  - !ruby/object:Gem::Version
154
139
  version: '0'
155
140
  requirements: []
156
- rubygems_version: 3.4.10
141
+ rubygems_version: 3.5.0.dev
157
142
  signing_key:
158
143
  specification_version: 4
159
144
  summary: Fonsan rubocop
@@ -1,44 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative 'lib/rubocop_fonsan_style/version'
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = 'rubocop_fonsan_style'
7
- spec.version = RubocopFonsanStyle::VERSION
8
- spec.authors = ['Fonsan']
9
- spec.email = ['fonsan@gmail.com']
10
-
11
- spec.summary = 'Fonsan rubocop'
12
- spec.description = 'An opionated rubocop style'
13
- spec.homepage = 'https://github.com/Fonsan/rubocop_fonsan_style'
14
- spec.license = 'MIT'
15
- spec.required_ruby_version = '>= 2.7.0'
16
-
17
- spec.metadata['homepage_uri'] = spec.homepage
18
- spec.metadata['source_code_uri'] = spec.homepage
19
- # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
20
-
21
- # Specify which files should be added to the gem when it is released.
22
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
23
- spec.files = Dir.chdir(File.expand_path(__dir__)) do
24
- `git ls-files -z`.split("\x0").reject do |f|
25
- (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
26
- end
27
- end
28
- spec.bindir = 'exe'
29
- spec.executables = spec.files.grep(%r{\Aexe/}) {|f| File.basename(f) }
30
- spec.require_paths = ['lib']
31
-
32
- # Uncomment to register a new dependency of your gem
33
- spec.add_dependency 'haml_lint', '~> 0.51'
34
- spec.add_dependency 'rubocop', '~> 1.57'
35
- spec.add_dependency 'rubocop-performance', '~> 1.19'
36
- spec.add_dependency 'rubocop-rails', '~> 2.21'
37
- spec.add_dependency 'rubocop-rake', '~> 0.6.0'
38
- spec.add_dependency 'rubocop-rspec', '~> 2.24'
39
- spec.add_dependency 'rubocop-rubycw', '~> 0.1'
40
-
41
- # For more information and examples about making a new gem, check out our
42
- # guide at: https://bundler.io/guides/creating_gem.html
43
- spec.metadata['rubygems_mfa_required'] = 'true'
44
- end