simplycop 1.0.0.pre → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/publish_gem.yml +1 -1
- data/.simplycop.yml +15 -9
- data/lib/simplycop/security/csrf_token_validation.rb +1 -1
- data/lib/simplycop/version.rb +1 -1
- data/simplycop.gemspec +3 -3
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a54a114f25c519f0cbec8e857770ff428ea51a1148b5eb3ce719388541b8c647
|
4
|
+
data.tar.gz: b75b736960f350917d6422d71bfb9da64827d054679bd589ff43e077818894db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e13383ca8dd858a47d623680a5a1cb792bac2a4046c91b26be909499d26910d8e0a8afd830d5eb69ac88d4f569ab2ce60069842610ccbda03cd920c09859f23a
|
7
|
+
data.tar.gz: 48ef17ec00705a490c3541fa661afc04a225c8f688831c2c8f1f8d12564abc6dd0b3c02b0f35c81989655c9b3253aceca4e7267efbfd554456b335375abe9325
|
data/.simplycop.yml
CHANGED
@@ -58,7 +58,7 @@ Style/NestedParenthesizedCalls:
|
|
58
58
|
Enabled: true
|
59
59
|
|
60
60
|
Layout/MultilineMethodCallIndentation:
|
61
|
-
Enabled:
|
61
|
+
Enabled: true
|
62
62
|
|
63
63
|
Style/RedundantParentheses:
|
64
64
|
Enabled: true
|
@@ -67,7 +67,7 @@ Style/RedundantInterpolation:
|
|
67
67
|
Enabled: false
|
68
68
|
|
69
69
|
Layout/AssignmentIndentation:
|
70
|
-
Enabled:
|
70
|
+
Enabled: true
|
71
71
|
|
72
72
|
Style/MutableConstant:
|
73
73
|
Enabled: false
|
@@ -118,16 +118,16 @@ Layout/SpaceInsideHashLiteralBraces:
|
|
118
118
|
Enabled: false
|
119
119
|
|
120
120
|
Layout/SpaceInsideParens:
|
121
|
-
Enabled:
|
121
|
+
Enabled: true
|
122
122
|
|
123
123
|
Layout/SpaceBeforeComma:
|
124
|
-
Enabled:
|
124
|
+
Enabled: true
|
125
125
|
|
126
126
|
Layout/IndentationConsistency:
|
127
127
|
Enabled: true
|
128
128
|
|
129
129
|
Layout/CaseIndentation:
|
130
|
-
Enabled:
|
130
|
+
Enabled: true
|
131
131
|
|
132
132
|
Style/MethodDefParentheses:
|
133
133
|
Enabled: false
|
@@ -151,7 +151,7 @@ Style/ParenthesesAroundCondition:
|
|
151
151
|
Enabled: true
|
152
152
|
|
153
153
|
Layout/MultilineBlockLayout:
|
154
|
-
Enabled:
|
154
|
+
Enabled: true
|
155
155
|
|
156
156
|
Layout/InitialIndentation:
|
157
157
|
Enabled: true
|
@@ -193,10 +193,10 @@ Style/Alias:
|
|
193
193
|
Enabled: false
|
194
194
|
|
195
195
|
Layout/SpaceAroundBlockParameters:
|
196
|
-
Enabled:
|
196
|
+
Enabled: true
|
197
197
|
|
198
198
|
Layout/SpaceAroundEqualsInParameterDefault:
|
199
|
-
Enabled:
|
199
|
+
Enabled: true
|
200
200
|
|
201
201
|
Style/RedundantBegin:
|
202
202
|
Enabled: true
|
@@ -240,7 +240,7 @@ Layout/LineLength:
|
|
240
240
|
Max: 120
|
241
241
|
|
242
242
|
Layout/ArgumentAlignment:
|
243
|
-
Enabled:
|
243
|
+
Enabled: true
|
244
244
|
|
245
245
|
Style/HashEachMethods:
|
246
246
|
Enabled: false
|
@@ -445,3 +445,9 @@ Lint/EmptyClass:
|
|
445
445
|
|
446
446
|
Style/NilLambda:
|
447
447
|
Enabled: true
|
448
|
+
|
449
|
+
Lint/UnexpectedBlockArity:
|
450
|
+
Enabled: true
|
451
|
+
|
452
|
+
Style/RedundantArgument:
|
453
|
+
Enabled: true
|
data/lib/simplycop/version.rb
CHANGED
data/simplycop.gemspec
CHANGED
@@ -10,16 +10,16 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.authors = ['Simply Business']
|
11
11
|
spec.email = ['tech@simplybusiness.co.uk']
|
12
12
|
spec.required_ruby_version = '>= 2.6.0'
|
13
|
-
spec.license = '
|
13
|
+
spec.license = 'MIT'
|
14
14
|
spec.summary = 'Provides a single point of reference for common rubocop rules.'
|
15
15
|
spec.description = 'Require this gem in your application to use Simply Business common rubocop rules.'
|
16
16
|
spec.homepage = 'https://github.com/simplybusiness/simplycop'
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
18
18
|
spec.require_paths = ['lib']
|
19
19
|
|
20
|
-
spec.add_dependency 'rubocop', '~> 1.
|
20
|
+
spec.add_dependency 'rubocop', '~> 1.5.2'
|
21
21
|
spec.add_dependency 'rubocop-rails', '~> 2.8.1'
|
22
|
-
spec.add_dependency 'rubocop-rspec', '~> 2.0.
|
22
|
+
spec.add_dependency 'rubocop-rspec', '~> 2.0.1'
|
23
23
|
spec.add_development_dependency 'bundler'
|
24
24
|
spec.add_development_dependency 'rake', '>= 12.3.3'
|
25
25
|
spec.add_development_dependency 'rspec', '~> 3.10'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplycop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simply Business
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.5.2
|
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: 1.
|
26
|
+
version: 1.5.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 2.0.
|
47
|
+
version: 2.0.1
|
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: 2.0.
|
54
|
+
version: 2.0.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -135,7 +135,7 @@ files:
|
|
135
135
|
- vuln_db.json
|
136
136
|
homepage: https://github.com/simplybusiness/simplycop
|
137
137
|
licenses:
|
138
|
-
-
|
138
|
+
- MIT
|
139
139
|
metadata: {}
|
140
140
|
post_install_message:
|
141
141
|
rdoc_options: []
|
@@ -148,9 +148,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
148
148
|
version: 2.6.0
|
149
149
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
150
150
|
requirements:
|
151
|
-
- - "
|
151
|
+
- - ">="
|
152
152
|
- !ruby/object:Gem::Version
|
153
|
-
version:
|
153
|
+
version: '0'
|
154
154
|
requirements: []
|
155
155
|
rubygems_version: 3.1.4
|
156
156
|
signing_key:
|