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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1262373f94916df67fe979d5755b4f198a4a1cf218619b19fc507e110fcb880
4
- data.tar.gz: 3bc37c02fb65fa808d595e440d21ec92ad6219a3326b32aee79331d8b59f4698
3
+ metadata.gz: a54a114f25c519f0cbec8e857770ff428ea51a1148b5eb3ce719388541b8c647
4
+ data.tar.gz: b75b736960f350917d6422d71bfb9da64827d054679bd589ff43e077818894db
5
5
  SHA512:
6
- metadata.gz: 02d5125d7b34c1939420c7b93e647eb15279d555b1c3a0552689fbff69056ba1fed1e14609e4a43cd13dcd37ba86d9ae18db38822e2b4ef1a32088b46b7ef854
7
- data.tar.gz: b8d062d911ca139ee70bd15bdd97bd4edbd84009fe676fcc0f829cf395c9e222b87de68992bf1381d65f906b1cdb6eeb864bc6de91b68f65aa91f3acfd801ca3
6
+ metadata.gz: e13383ca8dd858a47d623680a5a1cb792bac2a4046c91b26be909499d26910d8e0a8afd830d5eb69ac88d4f569ab2ce60069842610ccbda03cd920c09859f23a
7
+ data.tar.gz: 48ef17ec00705a490c3541fa661afc04a225c8f688831c2c8f1f8d12564abc6dd0b3c02b0f35c81989655c9b3253aceca4e7267efbfd554456b335375abe9325
@@ -2,7 +2,7 @@ name: Publish Ruby Gem
2
2
 
3
3
  on:
4
4
  push:
5
- branches: [ add-github-action-workflow ]
5
+ branches: [ master ]
6
6
 
7
7
  jobs:
8
8
  build:
@@ -58,7 +58,7 @@ Style/NestedParenthesizedCalls:
58
58
  Enabled: true
59
59
 
60
60
  Layout/MultilineMethodCallIndentation:
61
- Enabled: false
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: false
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: false
121
+ Enabled: true
122
122
 
123
123
  Layout/SpaceBeforeComma:
124
- Enabled: false
124
+ Enabled: true
125
125
 
126
126
  Layout/IndentationConsistency:
127
127
  Enabled: true
128
128
 
129
129
  Layout/CaseIndentation:
130
- Enabled: false
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: false
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: false
196
+ Enabled: true
197
197
 
198
198
  Layout/SpaceAroundEqualsInParameterDefault:
199
- Enabled: false
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: false
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
@@ -12,7 +12,7 @@ module Security
12
12
  end
13
13
 
14
14
  def found_match(method)
15
- [:verify_authenticity_token , 'verify_authenticity_token'].include?(method)
15
+ [:verify_authenticity_token, 'verify_authenticity_token'].include?(method)
16
16
  end
17
17
  end
18
18
  end
@@ -7,5 +7,5 @@
7
7
  #
8
8
 
9
9
  module Simplycop
10
- VERSION = '1.0.0.pre'
10
+ VERSION = '1.1.1'
11
11
  end
@@ -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 = 'Copyright SimplyBusiness'
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.3.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.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.0.0.pre
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.3.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.3.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.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.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
- - Copyright SimplyBusiness
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: 1.3.1
153
+ version: '0'
154
154
  requirements: []
155
155
  rubygems_version: 3.1.4
156
156
  signing_key: