simplycop 1.1.1 → 1.2.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: a54a114f25c519f0cbec8e857770ff428ea51a1148b5eb3ce719388541b8c647
4
- data.tar.gz: b75b736960f350917d6422d71bfb9da64827d054679bd589ff43e077818894db
3
+ metadata.gz: cb033be1d0c83f6ddf82d2d096aa89992caeb1e51f55b6966ecbc69b77f9462e
4
+ data.tar.gz: 8e04105bcda67012c7c1e9ef83cd91e34ae7318a8e06e9ad24f0deb96f27831f
5
5
  SHA512:
6
- metadata.gz: e13383ca8dd858a47d623680a5a1cb792bac2a4046c91b26be909499d26910d8e0a8afd830d5eb69ac88d4f569ab2ce60069842610ccbda03cd920c09859f23a
7
- data.tar.gz: 48ef17ec00705a490c3541fa661afc04a225c8f688831c2c8f1f8d12564abc6dd0b3c02b0f35c81989655c9b3253aceca4e7267efbfd554456b335375abe9325
6
+ metadata.gz: e9f93c07d4fd1a18109ae5561aa9246578f16656c1fb95aeb188cf0b3a6d3702a7b5cc8e1680dac2ae1bc2474569dcd5eb84f33e8563dbad0fc7a574cc71e69a
7
+ data.tar.gz: bc2f67423f8ff100f0f883b5dd4047ff1728f11e4ae709c0d1fa2d990ae0f75a8e380e47d7640a9a9353d9865e5c9efa78600e9e7e9d34cf04094557586cb666
@@ -130,7 +130,7 @@ Layout/CaseIndentation:
130
130
  Enabled: true
131
131
 
132
132
  Style/MethodDefParentheses:
133
- Enabled: false
133
+ Enabled: true
134
134
 
135
135
  Style/MultilineTernaryOperator:
136
136
  Enabled: true
@@ -246,10 +246,10 @@ Style/HashEachMethods:
246
246
  Enabled: false
247
247
 
248
248
  Style/HashTransformKeys:
249
- Enabled: false
249
+ Enabled: true
250
250
 
251
251
  Style/HashTransformValues:
252
- Enabled: false
252
+ Enabled: true
253
253
 
254
254
  Layout/EmptyLinesAroundAttributeAccessor:
255
255
  Enabled: true
@@ -98,3 +98,12 @@ Rails/WhereExists:
98
98
 
99
99
  Rails/WhereNot:
100
100
  Enabled: false
101
+
102
+ Rails/WhereEquals:
103
+ Enabled: true
104
+
105
+ Rails/AttributeDefaultBlockValue:
106
+ Enabled: true
107
+
108
+ Rails/ArelStar:
109
+ Enabled: true
@@ -7,5 +7,5 @@
7
7
  #
8
8
 
9
9
  module Simplycop
10
- VERSION = '1.1.1'
10
+ VERSION = '1.2.0'
11
11
  end
@@ -17,8 +17,8 @@ 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.5.2'
21
- spec.add_dependency 'rubocop-rails', '~> 2.8.1'
20
+ spec.add_dependency 'rubocop', '~> 1.6.1'
21
+ spec.add_dependency 'rubocop-rails', '~> 2.9.0'
22
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'
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.1.1
4
+ version: 1.2.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: 2020-12-09 00:00:00.000000000 Z
11
+ date: 2020-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.5.2
19
+ version: 1.6.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.5.2
26
+ version: 1.6.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rails
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 2.8.1
33
+ version: 2.9.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: 2.8.1
40
+ version: 2.9.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-rspec
43
43
  requirement: !ruby/object:Gem::Requirement