simplycop 1.6.4 → 1.7.0

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: 92bb33b36ef3075fabd5fb751db5db4ee51600adbdc590b8087ee3caa7096067
4
- data.tar.gz: 9ef66e1eee9f894ca08f5842e057d499c3a876ba4771df484034fc47ef33b886
3
+ metadata.gz: 44b5f9419a9d452d32f7d123d2556a8aa54fa929d4cf1ad15ba8d050141dca2b
4
+ data.tar.gz: c5a7282f831692081d6318e8da1bc44db00ae5b2c4e5e89ede7f2ee7c4c92010
5
5
  SHA512:
6
- metadata.gz: e85123bfa60e0fde3362574a9340ac24a1a47deda3285604946f0719b169f286c7076a6097388caea6ea1e8eb0c3e8cd140019d17e3c2440ebae6566b9165987
7
- data.tar.gz: 2da2ab60e881de80ae5e4b94c440ad5b794ae4be62307a0b6f8064707f310ce91ec3006ae767bc7db8cf70706d863ac16adae0c624ea2999b4a347076399358f
6
+ metadata.gz: 14a434723f2626c1c2032ebf6ced1ad2289e4ef519832f4c6c2c557a5ead996f449cab005f35d94924e13c001576c38a163c478ed6b946a520b64bef644cc891
7
+ data.tar.gz: d8aba41e196a647ddc612d526c5894a87419000ad581edebf5d1333dca93fe8604bd6550d78e3239d2ea071671bda226d3ea4c5223e8c4906cf65e5cbe84f4b9
data/.simplycop.yml CHANGED
@@ -22,6 +22,9 @@ AllCops:
22
22
  ExtraDetails: true
23
23
  # Adapted from: https://github.com/simplybusiness/how-we-roll/blob/master/development/RUBYSTYLEGUIDE.markdown
24
24
 
25
+ Gemspec/DateAssignment:
26
+ Enabled: true
27
+
25
28
  Layout/EmptyLineAfterMultilineCondition:
26
29
  Enabled: true
27
30
 
@@ -95,28 +98,14 @@ Lint/UnexpectedBlockArity:
95
98
  Lint/UnmodifiedReduceAccumulator:
96
99
  Enabled: true
97
100
 
98
- ###### COPS REVIEWED ABOVE THIS LINE ######
99
-
100
101
  Metrics/BlockLength:
101
102
  Exclude:
102
103
  - spec/**/*.rb
103
- -
104
+
104
105
  Metrics/ClassLength:
105
106
  Max: 512
106
- Enabled: true
107
-
108
- Metrics/ModuleLength:
109
- Enabled: true
110
107
 
111
- Naming/FileName:
112
- Enabled: true
113
-
114
- Naming/VariableName:
115
- Enabled: true
116
- EnforcedStyle: snake_case
117
- SupportedStyles:
118
- - snake_case
119
- - camelCase
108
+ ###### COPS REVIEWED ABOVE THIS LINE ######
120
109
 
121
110
  Style/AccessorGrouping:
122
111
  Enabled: true
@@ -185,6 +174,9 @@ Style/GuardClause:
185
174
  Style/HashAsLastArrayItem:
186
175
  Enabled: true
187
176
 
177
+ Style/HashConversion:
178
+ Enabled: true
179
+
188
180
  Style/HashEachMethods:
189
181
  Enabled: false
190
182
 
@@ -301,6 +293,9 @@ Style/SpecialGlobalVars:
301
293
  Enabled: true
302
294
  Severity: warning
303
295
 
296
+ Style/StringChars:
297
+ Enabled: true
298
+
304
299
  Style/StringConcatenation:
305
300
  Enabled: true
306
301
 
@@ -7,5 +7,5 @@
7
7
  #
8
8
 
9
9
  module Simplycop
10
- VERSION = '1.6.4'
10
+ VERSION = '1.7.0'
11
11
  end
data/simplycop.gemspec CHANGED
@@ -17,9 +17,9 @@ 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.9.1'
20
+ spec.add_dependency 'rubocop', '~> 1.12.1'
21
21
  spec.add_dependency 'rubocop-rails', '~> 2.9.0'
22
- spec.add_dependency 'rubocop-rspec', '~> 2.1.0'
22
+ spec.add_dependency 'rubocop-rspec', '~> 2.2.0'
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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplycop
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.4
4
+ version: 1.7.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: 2021-03-25 00:00:00.000000000 Z
11
+ date: 2021-04-07 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.9.1
19
+ version: 1.12.1
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.9.1
26
+ version: 1.12.1
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.1.0
47
+ version: 2.2.0
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.1.0
54
+ version: 2.2.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement