simplycop 2.10.0 → 2.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.simplycop_lint.yml +6 -0
- data/.simplycop_style.yml +3 -0
- data/catalog-info.yaml +1 -1
- data/lib/simplycop/version.rb +1 -1
- data/simplycop.gemspec +2 -2
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa3d209afb718a162c5c6e9023e4e9e59645000caf030f52f5ad8b2b2763b27e
|
4
|
+
data.tar.gz: 115052ebec89d2837fe8d4ca6e538dd1f15ce504cefca2a08a9f4d8478c1f92a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bcbe41264c0020b16a704ca2790c2a8c7b3f8e3177965a3a12d4df3a7d51f86fe0d441dcc685d481bb3407a56425d71e391184766b54915f54aaaa84e61480e
|
7
|
+
data.tar.gz: 297d0b10dddd66f7591a40a6b2ae12604af3d8e96419c22ed160cf3a2023a1f6a49d6eea9bb3284b9176bcaa0d1f7fc19354cacebaac73e8fb520b0baa0daba8
|
data/.simplycop_lint.yml
CHANGED
@@ -42,6 +42,9 @@ Lint/ConstantDefinitionInBlock:
|
|
42
42
|
Lint/ConstantOverwrittenInRescue: # new in 1.31
|
43
43
|
Enabled: true
|
44
44
|
|
45
|
+
Lint/ConstantReassignment:
|
46
|
+
Enabled: true
|
47
|
+
|
45
48
|
# Set to false as 10000s of fails on Rater and Chopin if enabled
|
46
49
|
# Rubocop docs suggest enabling only for constants that may cause concern
|
47
50
|
# so enable and set these if required
|
@@ -342,6 +345,9 @@ Lint/ShadowedException:
|
|
342
345
|
Lint/ShadowingOuterLocalVariable:
|
343
346
|
Enabled: true
|
344
347
|
|
348
|
+
Lint/SharedMutableDefault:
|
349
|
+
Enabled: true
|
350
|
+
|
345
351
|
Lint/StructNewOverride:
|
346
352
|
Enabled: true
|
347
353
|
|
data/.simplycop_style.yml
CHANGED
data/catalog-info.yaml
CHANGED
@@ -10,7 +10,7 @@ metadata:
|
|
10
10
|
simplybusiness.com/bnw-app-name: simplycop
|
11
11
|
simplybusiness.com/sast-scanning: enabled
|
12
12
|
rubygems.org/name: simplycop
|
13
|
-
rubygems.org/current-version: 2.
|
13
|
+
rubygems.org/current-version: 2.11.0
|
14
14
|
spec:
|
15
15
|
type: library
|
16
16
|
lifecycle: production
|
data/lib/simplycop/version.rb
CHANGED
data/simplycop.gemspec
CHANGED
@@ -17,11 +17,11 @@ Gem::Specification.new do |spec|
|
|
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.70.0'
|
21
21
|
spec.add_dependency 'rubocop-ast', '1.37.0'
|
22
22
|
spec.add_dependency 'rubocop-capybara', '2.21.0'
|
23
23
|
spec.add_dependency 'rubocop-factory_bot', '2.26.1'
|
24
|
-
spec.add_dependency 'rubocop-performance', '1.23.
|
24
|
+
spec.add_dependency 'rubocop-performance', '1.23.1'
|
25
25
|
spec.add_dependency 'rubocop-rails', '2.28.0'
|
26
26
|
spec.add_dependency 'rubocop-rspec', '3.3.0'
|
27
27
|
spec.add_dependency 'rubocop-rspec_rails', '2.30.0'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplycop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Simply Business
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.70.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: 1.
|
26
|
+
version: 1.70.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-ast
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 1.23.
|
75
|
+
version: 1.23.1
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 1.23.
|
82
|
+
version: 1.23.1
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rubocop-rails
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|