rubocop_fonsan_style 0.1.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.default.yml +45 -0
- data/.rubocop.rails.yml +12 -0
- data/.rubocop.rspec.yml +47 -4
- data/Gemfile +3 -11
- data/Gemfile.lock +62 -51
- data/lib/rubocop_fonsan_style/version.rb +1 -1
- metadata +14 -29
- data/rubocop_fonsan_style.gemspec +0 -44
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fbb76759cec3c7b63757cdf58f3d70d84f781558938c73e43b4bc1718cbfc69
|
4
|
+
data.tar.gz: fdef271948013f8a03a7983ce7e6233ba37e95260cd42375744a4a56885428eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3097a495e6ea6803404d518aa44c59fbf78e816addfe370fa1934292cbd425c7a8a9cec4d25ceb73b2bd86ce64468c9aeaec13fa75263ec594bdff38ba200522
|
7
|
+
data.tar.gz: f446ca7075bd64e49924d4f6094eac03fc2c4c8e3055a3c4bdaa956d7bfbafaa98cb933ebc8bc9f3a87cccaa9fc97710c9dc45ce2bb642a2e3ed7e1d6b5c2984
|
data/.rubocop.default.yml
CHANGED
@@ -72,6 +72,17 @@ Layout/SpaceInsideBlockBraces:
|
|
72
72
|
SpaceBeforeBlockParameters: false
|
73
73
|
Layout/SpaceInsideHashLiteralBraces:
|
74
74
|
EnforcedStyle: no_space
|
75
|
+
|
76
|
+
Lint/LiteralAssignmentInCondition: # new in 1.58
|
77
|
+
Enabled: false
|
78
|
+
Lint/ItWithoutArgumentsInBlock: # new in 1.59
|
79
|
+
Enabled: true
|
80
|
+
Lint/MixedCaseRange: # new in 1.53
|
81
|
+
Enabled: true
|
82
|
+
Lint/RedundantRegexpQuantifiers: # new in 1.53
|
83
|
+
Enabled: true
|
84
|
+
Lint/DuplicateMatchPattern: # new in 1.50
|
85
|
+
Enabled: true
|
75
86
|
Lint/UselessRescue:
|
76
87
|
Enabled: true
|
77
88
|
Lint/AmbiguousAssignment:
|
@@ -184,6 +195,8 @@ Lint/UselessTimes:
|
|
184
195
|
Enabled: true
|
185
196
|
Metrics/AbcSize:
|
186
197
|
Enabled: false
|
198
|
+
Metrics/CollectionLiteralLength: # new in 1.47
|
199
|
+
Enabled: true
|
187
200
|
Metrics/BlockLength:
|
188
201
|
Exclude:
|
189
202
|
- "**/*.gemspec"
|
@@ -216,6 +229,8 @@ Naming/VariableNumber:
|
|
216
229
|
EnforcedStyle: snake_case
|
217
230
|
Performance/AncestorsInclude:
|
218
231
|
Enabled: true
|
232
|
+
Performance/MapMethodChain: # new in 1.19
|
233
|
+
Enabled: true
|
219
234
|
Performance/BigDecimalWithNumericArgument:
|
220
235
|
Enabled: true
|
221
236
|
Performance/BlockGivenWithExplicitBlock:
|
@@ -256,6 +271,36 @@ Security/CompoundHash:
|
|
256
271
|
Enabled: true
|
257
272
|
Security/IoMethods:
|
258
273
|
Enabled: true
|
274
|
+
Style/SuperWithArgsParentheses: # new in 1.58
|
275
|
+
Enabled: true
|
276
|
+
Style/DataInheritance: # new in 1.49
|
277
|
+
Enabled: true
|
278
|
+
Style/DirEmpty: # new in 1.48
|
279
|
+
Enabled: true
|
280
|
+
Style/ExactRegexpMatch: # new in 1.51
|
281
|
+
Enabled: true
|
282
|
+
Style/FileEmpty: # new in 1.48
|
283
|
+
Enabled: true
|
284
|
+
Style/RedundantArrayConstructor: # new in 1.52
|
285
|
+
Enabled: true
|
286
|
+
Style/RedundantCurrentDirectoryInPath: # new in 1.53
|
287
|
+
Enabled: true
|
288
|
+
Style/RedundantFilterChain: # new in 1.52
|
289
|
+
Enabled: true
|
290
|
+
Style/RedundantHeredocDelimiterQuotes: # new in 1.45
|
291
|
+
Enabled: true
|
292
|
+
Style/RedundantLineContinuation: # new in 1.49
|
293
|
+
Enabled: true
|
294
|
+
Style/RedundantRegexpArgument: # new in 1.53
|
295
|
+
Enabled: true
|
296
|
+
Style/RedundantRegexpConstructor: # new in 1.52
|
297
|
+
Enabled: true
|
298
|
+
Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
|
299
|
+
Enabled: false
|
300
|
+
Style/SingleLineDoEndBlock: # new in 1.57
|
301
|
+
Enabled: true
|
302
|
+
Style/YAMLFileRead: # new in 1.53
|
303
|
+
Enabled: true
|
259
304
|
Style/RedundantDoubleSplatHashBraces:
|
260
305
|
Enabled: true
|
261
306
|
Style/RedundantConstantBase:
|
data/.rubocop.rails.yml
CHANGED
@@ -1,6 +1,18 @@
|
|
1
1
|
require:
|
2
2
|
- rubocop-rails
|
3
3
|
|
4
|
+
Rails/EnvLocal: # new in 2.22
|
5
|
+
Enabled: true
|
6
|
+
Rails/UnusedRenderContent: # new in 2.21
|
7
|
+
Enabled: true
|
8
|
+
Rails/ThreeStateBooleanColumn: # new in 2.19
|
9
|
+
Enabled: true
|
10
|
+
Rails/ResponseParsedBody: # new in 2.18
|
11
|
+
Enabled: true
|
12
|
+
Rails/RedundantActiveRecordAllMethod: # new in 2.21
|
13
|
+
Enabled: true
|
14
|
+
Rails/DangerousColumnNames: # new in 2.21
|
15
|
+
Enabled: true
|
4
16
|
Rails/AddColumnIndex: # new in 2.11
|
5
17
|
Enabled: true
|
6
18
|
Rails/AttributeDefaultBlockValue: # new in 2.9
|
data/.rubocop.rspec.yml
CHANGED
@@ -11,8 +11,6 @@ RSpec/IdenticalEqualityAssertion: # new in 2.4
|
|
11
11
|
Enabled: true
|
12
12
|
RSpec/SubjectDeclaration: # new in 2.5
|
13
13
|
Enabled: true
|
14
|
-
RSpec/FactoryBot/SyntaxMethods: # new in 2.7
|
15
|
-
Enabled: true
|
16
14
|
RSpec/Rails/AvoidSetupHook: # new in 2.4
|
17
15
|
Enabled: true
|
18
16
|
RSpec/StubbedMock: # (new in 1.44)
|
@@ -41,7 +39,11 @@ Capybara/MatchStyle: # new in <<next>>
|
|
41
39
|
Enabled: true
|
42
40
|
Capybara/SpecificMatcher: # new in 2.12
|
43
41
|
Enabled: true
|
44
|
-
|
42
|
+
Capybara/ClickLinkOrButtonStyle: # new in 2.19
|
43
|
+
Enabled: true
|
44
|
+
Capybara/RSpec/HaveSelector: # new in 2.19
|
45
|
+
Enabled: true
|
46
|
+
Capybara/RSpec/PredicateMatcher: # new in 2.19
|
45
47
|
Enabled: true
|
46
48
|
RSpec/Rails/HaveHttpStatus: # new in 2.12
|
47
49
|
Enabled: true
|
@@ -59,7 +61,48 @@ RSpec/DuplicatedMetadata: # new in 2.16
|
|
59
61
|
Enabled: true
|
60
62
|
RSpec/PendingWithoutReason: # new in 2.16
|
61
63
|
Enabled: false
|
62
|
-
RSpec/
|
64
|
+
RSpec/BeEmpty: # new in 2.20
|
65
|
+
Enabled: true
|
66
|
+
RSpec/ContainExactly: # new in 2.19
|
67
|
+
Enabled: true
|
68
|
+
RSpec/EmptyMetadata: # new in 2.24
|
69
|
+
Enabled: true
|
70
|
+
RSpec/Eq: # new in 2.24
|
71
|
+
Enabled: true
|
72
|
+
RSpec/IndexedLet: # new in 2.20
|
73
|
+
Enabled: true
|
74
|
+
RSpec/MatchArray: # new in 2.19
|
75
|
+
Enabled: true
|
76
|
+
RSpec/MetadataStyle: # new in 2.24
|
77
|
+
Enabled: true
|
78
|
+
RSpec/ReceiveMessages: # new in 2.23
|
79
|
+
Enabled: true
|
80
|
+
RSpec/RedundantAround: # new in 2.19
|
81
|
+
Enabled: true
|
82
|
+
RSpec/SkipBlockInsideExample: # new in 2.19
|
83
|
+
Enabled: true
|
84
|
+
RSpec/SpecFilePathFormat: # new in 2.24
|
85
|
+
Enabled: true
|
86
|
+
RSpec/SpecFilePathSuffix: # new in 2.24
|
87
|
+
Enabled: true
|
88
|
+
RSpec/Rails/NegationBeValid: # new in 2.23
|
89
|
+
Enabled: true
|
90
|
+
RSpec/Rails/TravelAround: # new in 2.19
|
63
91
|
Enabled: true
|
64
92
|
RSpec/Rails/MinitestAssertions: # new in 2.17
|
65
93
|
Enabled: true
|
94
|
+
|
95
|
+
FactoryBot/SyntaxMethods: # new in 2.7
|
96
|
+
Enabled: true
|
97
|
+
FactoryBot/ConsistentParenthesesStyle: # new in 2.14
|
98
|
+
Enabled: true
|
99
|
+
FactoryBot/FactoryNameStyle: # new in 2.16
|
100
|
+
Enabled: true
|
101
|
+
FactoryBot/AssociationStyle: # new in 2.23
|
102
|
+
Enabled: true
|
103
|
+
FactoryBot/FactoryAssociationWithStrategy: # new in 2.23
|
104
|
+
Enabled: true
|
105
|
+
FactoryBot/IdSequence: # new in <<next>>
|
106
|
+
Enabled: true
|
107
|
+
FactoryBot/RedundantFactoryOption: # new in 2.23
|
108
|
+
Enabled: true
|
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
|
-
|
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
@@ -1,114 +1,125 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rubocop_fonsan_style (0.1.
|
5
|
-
haml_lint (~> 0.
|
6
|
-
rubocop (~> 1.
|
7
|
-
rubocop-performance (~> 1.
|
8
|
-
rubocop-rails (~> 2.
|
9
|
-
rubocop-
|
10
|
-
rubocop-rspec (~> 2.18)
|
4
|
+
rubocop_fonsan_style (0.1.3)
|
5
|
+
haml_lint (~> 0.52)
|
6
|
+
rubocop (~> 1.59)
|
7
|
+
rubocop-performance (~> 1.19)
|
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.
|
15
|
+
activesupport (7.1.2)
|
16
|
+
base64
|
17
|
+
bigdecimal
|
17
18
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
19
|
+
connection_pool (>= 2.2.5)
|
20
|
+
drb
|
18
21
|
i18n (>= 1.6, < 2)
|
19
22
|
minitest (>= 5.1)
|
23
|
+
mutex_m
|
20
24
|
tzinfo (~> 2.0)
|
21
25
|
ast (2.4.2)
|
22
|
-
|
26
|
+
base64 (0.2.0)
|
27
|
+
bigdecimal (3.1.5)
|
28
|
+
concurrent-ruby (1.2.2)
|
29
|
+
connection_pool (2.4.1)
|
23
30
|
diff-lcs (1.5.0)
|
24
|
-
|
31
|
+
drb (2.2.0)
|
32
|
+
ruby2_keywords
|
33
|
+
haml (6.3.0)
|
25
34
|
temple (>= 0.8.2)
|
26
35
|
thor
|
27
36
|
tilt
|
28
|
-
haml_lint (0.
|
29
|
-
haml (>= 4.0
|
37
|
+
haml_lint (0.52.0)
|
38
|
+
haml (>= 4.0)
|
30
39
|
parallel (~> 1.10)
|
31
40
|
rainbow
|
32
|
-
rubocop (>=
|
41
|
+
rubocop (>= 1.0)
|
33
42
|
sysexits (~> 1.1)
|
34
|
-
i18n (1.
|
43
|
+
i18n (1.14.1)
|
35
44
|
concurrent-ruby (~> 1.0)
|
36
|
-
json (2.
|
37
|
-
|
38
|
-
|
39
|
-
|
45
|
+
json (2.7.1)
|
46
|
+
language_server-protocol (3.17.0.3)
|
47
|
+
minitest (5.20.0)
|
48
|
+
mutex_m (0.2.0)
|
49
|
+
parallel (1.23.0)
|
50
|
+
parser (3.2.2.4)
|
40
51
|
ast (~> 2.4.1)
|
41
|
-
|
52
|
+
racc
|
53
|
+
racc (1.7.3)
|
54
|
+
rack (3.0.8)
|
42
55
|
rainbow (3.1.1)
|
43
|
-
rake (13.0
|
44
|
-
regexp_parser (2.
|
45
|
-
rexml (3.2.
|
56
|
+
rake (13.1.0)
|
57
|
+
regexp_parser (2.8.3)
|
58
|
+
rexml (3.2.6)
|
46
59
|
rspec (3.12.0)
|
47
60
|
rspec-core (~> 3.12.0)
|
48
61
|
rspec-expectations (~> 3.12.0)
|
49
62
|
rspec-mocks (~> 3.12.0)
|
50
|
-
rspec-core (3.12.
|
63
|
+
rspec-core (3.12.2)
|
51
64
|
rspec-support (~> 3.12.0)
|
52
|
-
rspec-expectations (3.12.
|
65
|
+
rspec-expectations (3.12.3)
|
53
66
|
diff-lcs (>= 1.2.0, < 2.0)
|
54
67
|
rspec-support (~> 3.12.0)
|
55
|
-
rspec-mocks (3.12.
|
68
|
+
rspec-mocks (3.12.6)
|
56
69
|
diff-lcs (>= 1.2.0, < 2.0)
|
57
70
|
rspec-support (~> 3.12.0)
|
58
|
-
rspec-support (3.12.
|
59
|
-
rubocop (1.
|
71
|
+
rspec-support (3.12.1)
|
72
|
+
rubocop (1.59.0)
|
60
73
|
json (~> 2.3)
|
74
|
+
language_server-protocol (>= 3.17.0)
|
61
75
|
parallel (~> 1.10)
|
62
|
-
parser (>= 3.2.
|
76
|
+
parser (>= 3.2.2.4)
|
63
77
|
rainbow (>= 2.2.2, < 4.0)
|
64
78
|
regexp_parser (>= 1.8, < 3.0)
|
65
79
|
rexml (>= 3.2.5, < 4.0)
|
66
|
-
rubocop-ast (>= 1.
|
80
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
67
81
|
ruby-progressbar (~> 1.7)
|
68
82
|
unicode-display_width (>= 2.4.0, < 3.0)
|
69
|
-
rubocop-ast (1.
|
70
|
-
parser (>= 3.
|
71
|
-
rubocop-capybara (2.
|
83
|
+
rubocop-ast (1.30.0)
|
84
|
+
parser (>= 3.2.1.0)
|
85
|
+
rubocop-capybara (2.19.0)
|
72
86
|
rubocop (~> 1.41)
|
73
|
-
rubocop-
|
87
|
+
rubocop-factory_bot (2.24.0)
|
88
|
+
rubocop (~> 1.33)
|
89
|
+
rubocop-performance (1.19.1)
|
74
90
|
rubocop (>= 1.7.0, < 2.0)
|
75
91
|
rubocop-ast (>= 0.4.0)
|
76
|
-
rubocop-rails (2.
|
92
|
+
rubocop-rails (2.22.2)
|
77
93
|
activesupport (>= 4.2.0)
|
78
94
|
rack (>= 1.1)
|
79
95
|
rubocop (>= 1.33.0, < 2.0)
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
rubocop (~> 1.33)
|
96
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
97
|
+
rubocop-rspec (2.25.0)
|
98
|
+
rubocop (~> 1.40)
|
84
99
|
rubocop-capybara (~> 2.17)
|
100
|
+
rubocop-factory_bot (~> 2.22)
|
85
101
|
rubocop-rubycw (0.1.6)
|
86
102
|
rubocop (~> 1.0)
|
87
|
-
ruby-progressbar (1.
|
103
|
+
ruby-progressbar (1.13.0)
|
104
|
+
ruby2_keywords (0.0.5)
|
88
105
|
sysexits (1.2.0)
|
89
|
-
temple (0.10.
|
90
|
-
thor (1.
|
91
|
-
tilt (2.0
|
106
|
+
temple (0.10.3)
|
107
|
+
thor (1.3.0)
|
108
|
+
tilt (2.3.0)
|
92
109
|
tzinfo (2.0.6)
|
93
110
|
concurrent-ruby (~> 1.0)
|
94
|
-
unicode-display_width (2.
|
111
|
+
unicode-display_width (2.5.0)
|
95
112
|
|
96
113
|
PLATFORMS
|
114
|
+
arm64-darwin-22
|
97
115
|
x86_64-darwin-20
|
98
116
|
x86_64-darwin-22
|
99
117
|
x86_64-linux
|
100
118
|
|
101
119
|
DEPENDENCIES
|
102
|
-
haml_lint
|
103
120
|
rake (~> 13.0)
|
104
121
|
rspec (~> 3.0)
|
105
|
-
rubocop
|
106
|
-
rubocop-performance
|
107
|
-
rubocop-rails
|
108
|
-
rubocop-rake
|
109
|
-
rubocop-rspec
|
110
|
-
rubocop-rubycw
|
111
122
|
rubocop_fonsan_style!
|
112
123
|
|
113
124
|
BUNDLED WITH
|
114
|
-
2.
|
125
|
+
2.5.0.dev
|
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.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fonsan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
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,84 +16,70 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
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.
|
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.
|
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.
|
40
|
+
version: '1.59'
|
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.
|
47
|
+
version: '1.19'
|
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.
|
54
|
+
version: '1.19'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rubocop-rails
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '2.
|
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.
|
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.
|
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.
|
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:
|
@@ -146,14 +131,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
146
131
|
requirements:
|
147
132
|
- - ">="
|
148
133
|
- !ruby/object:Gem::Version
|
149
|
-
version: 2.
|
134
|
+
version: 2.7.0
|
150
135
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
151
136
|
requirements:
|
152
137
|
- - ">="
|
153
138
|
- !ruby/object:Gem::Version
|
154
139
|
version: '0'
|
155
140
|
requirements: []
|
156
|
-
rubygems_version: 3.
|
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.6.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.45'
|
34
|
-
spec.add_dependency 'rubocop', '~> 1.44'
|
35
|
-
spec.add_dependency 'rubocop-performance', '~> 1.15'
|
36
|
-
spec.add_dependency 'rubocop-rails', '~> 2.17'
|
37
|
-
spec.add_dependency 'rubocop-rake', '~> 0.6.0'
|
38
|
-
spec.add_dependency 'rubocop-rspec', '~> 2.18'
|
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
|