cobalt-rubocop 0.7.0 → 0.9.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: ff6f5c197e2a7e881ef7efdb42a9432a8f8cc1d06ca32f943040b4327eb52dfd
4
- data.tar.gz: 031fcf57f5024582d032aa7affce4e81231679ceebee96d11d0650a340cce491
3
+ metadata.gz: 6e362d3b2d73010a79138252128e40a847240a636e0bf47b66420ff8e3fadece
4
+ data.tar.gz: c3e8d123ceb792de6b5f47838b9fcc119641875f9621cd5c495c64d06ba8f493
5
5
  SHA512:
6
- metadata.gz: 8b7e59ea25fd7dd9245d09357b88eab917639dd4e65f021ae55ef4ce1425b2ef475e0a2c5846113db33713a0431c8e4e5e2599ac57565804071caf4343c4753e
7
- data.tar.gz: e3928cbcf4c1f995fa32a041e3b43a3cda3f8440bf40a7e017fa104b382a3cbad527813090c375e336e09a85519f9df4288c1217f65fd83b4dfefb1391a83077
6
+ metadata.gz: 62efc720640cc2f3e29504ecc0fd81eb01ace1b820d3532c336b04cd99361625a9b97bdebb45f00dea9adc9761c89f03b8d3dd6a9515fdfa7b6b9148c45a67dc
7
+ data.tar.gz: ae22d0536f332f7bc4dd3a8a915424da94b215963e5c390c26570a55be26d2707f1883bc363d9e2ce7c7b3b87f40a93eb3233d8a2e14b72c695e339620063526
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # CHANGELOG
2
2
  ## main (unreleased)
3
- * WIP
3
+
4
+ ## 0.9.0 (2023-04-20)
5
+ * Allow either hash syntax (legacy vs 3.1) as long as the use is consistent.
6
+
7
+ ## 0.8.0 (2023-04-04)
8
+ * Relax dependency versions
4
9
 
5
10
  ## 0.7.0 (2022-08-24)
6
11
  * Update Gem versions: ([#12](https://github.com/cobalthq/cobalt-rubocop/pull/12))
data/config/default.yml CHANGED
@@ -41,23 +41,26 @@ Metrics/MethodLength:
41
41
  Metrics/AbcSize:
42
42
  Enabled: false
43
43
 
44
+ Style/ClassAndModuleChildren:
45
+ EnforcedStyle: nested
46
+
44
47
  Style/Documentation:
45
48
  Enabled: false
46
49
 
47
50
  Style/EachWithObject:
48
51
  Enabled: false
49
52
 
50
- Style/MutableConstant:
51
- Enabled: false
52
-
53
53
  Style/GuardClause:
54
54
  Enabled: false
55
55
 
56
+ Style/HashSyntax:
57
+ EnforcedShorthandSyntax: consistent
58
+
56
59
  Style/IfUnlessModifier:
57
60
  Enabled: false
58
61
 
59
- Style/ClassAndModuleChildren:
60
- EnforcedStyle: nested
61
-
62
62
  Cobalt/InsecureHashAlgorithm:
63
63
  Enabled: true
64
+
65
+ Style/MutableConstant:
66
+ Enabled: false
data/config/rspec.yml CHANGED
@@ -12,7 +12,7 @@ RSpec/MessageSpies:
12
12
  EnforcedStyle: receive
13
13
 
14
14
  RSpec/VariableName:
15
- IgnoredPatterns:
15
+ AllowedPatterns:
16
16
  - ^Authorization
17
17
  - '\[\]$' # For array parameters in rswag like `let(:'<parameter_name>[]')`
18
18
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Cobalt
5
- VERSION = '0.7.0'
5
+ VERSION = '0.9.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,87 +1,87 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cobalt-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cobalt Engineering
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-24 00:00:00.000000000 Z
11
+ date: 2023-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '='
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 1.35.1
19
+ version: '1.30'
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.35.1
26
+ version: '1.30'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '='
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 1.14.3
33
+ version: '1.14'
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: 1.14.3
40
+ version: '1.14'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '='
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 2.15.2
47
+ version: '2.15'
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.15.2
54
+ version: '2.15'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop-rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - '='
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 2.12.1
61
+ version: '2.11'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '='
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 2.12.1
68
+ version: '2.11'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '='
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 3.11.0
75
+ version: '3.10'
76
76
  type: :development
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: 3.11.0
82
+ version: '3.10'
83
83
  description: Ruby code linting for Cobalt Ruby repositories
84
- email:
84
+ email:
85
85
  executables: []
86
86
  extensions: []
87
87
  extra_rdoc_files: []
@@ -104,7 +104,7 @@ metadata:
104
104
  source_code_uri: https://github.com/cobalthq/cobalt-rubocop
105
105
  changelog_uri: https://github.com/cobalthq/cobalt-rubocop/blob/main/CHANGELOG.md
106
106
  rubygems_mfa_required: 'true'
107
- post_install_message:
107
+ post_install_message:
108
108
  rdoc_options: []
109
109
  require_paths:
110
110
  - lib
@@ -119,8 +119,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  - !ruby/object:Gem::Version
120
120
  version: '0'
121
121
  requirements: []
122
- rubygems_version: 3.2.33
123
- signing_key:
122
+ rubygems_version: 3.1.6
123
+ signing_key:
124
124
  specification_version: 4
125
125
  summary: Cobalt RuboCop
126
126
  test_files: []