freistil-rubocop 0.5.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/default.yml +11 -1
- data/freistil-rubocop.gemspec +5 -4
- data/lib/freistil/rubocop/version.rb +1 -1
- metadata +32 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3c9864575f9b0ec5968f1c634e870842c740fc56105b2a4addc67e6d3bebf17
|
4
|
+
data.tar.gz: dce148e4c4a3d27df9f39375a1c11b1b8e77c10d53f2f242422be8d4b64f3087
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ed8dcee4b895c561428ef29bd6bfc28b50446779b402f25c801e27d368920326ad3e0cd8f95d36da3ac35bd1dc5e0f401f568fb80c01f7c50753d306910e019b
|
7
|
+
data.tar.gz: 9a4f7b98a9e5179955e3cd670928071db6bf526a5eb99ac83ec376fcd7619e16e9e30bd610b3156db1321f62c6fe3dcd5fbc564cddb08e7f4b4d898bc3ccf459
|
data/default.yml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
require: rubocop-rspec
|
2
2
|
|
3
3
|
AllCops:
|
4
|
-
TargetRubyVersion:
|
4
|
+
TargetRubyVersion: 3.1
|
5
5
|
Include:
|
6
6
|
- '**/*.rb'
|
7
7
|
- 'lib/**/*.rake'
|
@@ -30,6 +30,10 @@ Layout/MultilineOperationIndentation:
|
|
30
30
|
Enabled: true
|
31
31
|
EnforcedStyle: indented
|
32
32
|
|
33
|
+
Layout/SpaceInsideHashLiteralBraces:
|
34
|
+
Enabled: true
|
35
|
+
EnforcedStyle: no_space
|
36
|
+
|
33
37
|
Lint/AssignmentInCondition:
|
34
38
|
Description: "Don't use assignment in conditions."
|
35
39
|
StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#safe-assignment-in-condition'
|
@@ -141,6 +145,12 @@ Naming/PredicateName:
|
|
141
145
|
Exclude:
|
142
146
|
- spec/**/*
|
143
147
|
|
148
|
+
RSpec/DescribeClass:
|
149
|
+
Exclude:
|
150
|
+
- "spec/features/**/*.rb"
|
151
|
+
- "spec/views/**/*.rb"
|
152
|
+
- "spec/requests/**/*.rb"
|
153
|
+
|
144
154
|
RSpec/ExampleLength:
|
145
155
|
Exclude:
|
146
156
|
- 'spec/**/*.rb'
|
data/freistil-rubocop.gemspec
CHANGED
@@ -27,8 +27,9 @@ Gem::Specification.new do |spec|
|
|
27
27
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
28
28
|
spec.require_paths = ["lib"]
|
29
29
|
|
30
|
-
spec.add_dependency "rubocop"
|
31
|
-
spec.add_dependency "rubocop-rspec"
|
32
|
-
spec.
|
33
|
-
spec.add_development_dependency "
|
30
|
+
spec.add_dependency "rubocop"
|
31
|
+
spec.add_dependency "rubocop-rspec"
|
32
|
+
spec.add_dependency "rubocop-rails"
|
33
|
+
spec.add_development_dependency "bundler"
|
34
|
+
spec.add_development_dependency "rake"
|
34
35
|
end
|
metadata
CHANGED
@@ -1,71 +1,85 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: freistil-rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- freistil IT Ltd
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '0'
|
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: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '0'
|
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: '
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rubocop-rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: bundler
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
|
-
- - "
|
59
|
+
- - ">="
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
61
|
+
version: '0'
|
48
62
|
type: :development
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
|
-
- - "
|
66
|
+
- - ">="
|
53
67
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
68
|
+
version: '0'
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
70
|
name: rake
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
|
-
- - "
|
73
|
+
- - ">="
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
75
|
+
version: '0'
|
62
76
|
type: :development
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
|
-
- - "
|
80
|
+
- - ">="
|
67
81
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
82
|
+
version: '0'
|
69
83
|
description: Ruby style definitions shared by the freistil IT team
|
70
84
|
email:
|
71
85
|
- ops@freistil.it
|