dashbrains-rubocop-config 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a245aea0f467b59a87ac9a6824ca3b03ee75ca489e9f8fa91340c2c644cdee79
4
- data.tar.gz: 0e83e032333f963d9bb09f68770fb85d968b46878f3e40e839eb8013649c68f9
3
+ metadata.gz: e95cd251dba0013167355888d4d00749ea60e590d82bf342d7428aada0aeb35a
4
+ data.tar.gz: b6e47a74d49e322da5ce0117f4bcac64de3a097fb83216480d0342d33688a89b
5
5
  SHA512:
6
- metadata.gz: a326e45d0ad25120d07b1c37f5e1b29778a00524e4878a864f47191589efb7619088da89fbbdab3808d03703f4c71c3752625e17913f5d56887ca9759f92fb02
7
- data.tar.gz: 58527ccf04a5e6167b31933ae3702a12a9e12d03b6619fe7d0545906fca5027c6b52bea466f60b48b2f0251f191134f48d2e687e0f76740cf41e1ad0b5e59968
6
+ metadata.gz: cb9f38d3a1783ec442b643e492d282038a01a91b513e6a89efc791846b3462d37f97a2b2c51f6d84883557cedf57d37bd91f7dd88bfe20c2241f877ab6d89364
7
+ data.tar.gz: 1c942d91a9bc033cc6fe227858a921f30c8d6ddbe88e382b82bd92f87c01cbd883ad31563b4c1ba43ae91bd2b33fb7217c8c5d49c0fd0d1600b3fb2414783272
@@ -25,7 +25,7 @@ jobs:
25
25
  steps:
26
26
  - id: automerge
27
27
  name: automerge
28
- uses: "pascalgn/automerge-action@v0.16.3"
28
+ uses: "pascalgn/automerge-action@v0.16.4"
29
29
  env:
30
30
  GITHUB_TOKEN: "${{ secrets.PAT_TOKEN }}"
31
31
  MERGE_LABELS: "autorelease: pending"
data/.gitignore CHANGED
@@ -54,3 +54,6 @@ build-iPhoneSimulator/
54
54
 
55
55
  # Used by RuboCop. Remote config files pulled in from inherit_from directive.
56
56
  # .rubocop-https?--*
57
+
58
+ # IDEA
59
+ .idea
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.3.4
1
+ 3.3.5
data/.tool-versions CHANGED
@@ -1 +1 @@
1
- ruby 3.3.4
1
+ ruby 3.3.5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.1.0](https://github.com/DashBrains/rubocop-config/compare/v1.0.4...v1.1.0) (2024-10-19)
4
+
5
+
6
+ ### Features
7
+
8
+ * add standard ([4331be4](https://github.com/DashBrains/rubocop-config/commit/4331be4d46d6352969c33d77a3f059914de26c0f))
9
+
3
10
  ## [1.0.4](https://github.com/DashBrains/rubocop-config/compare/v1.0.3...v1.0.4) (2024-08-31)
4
11
 
5
12
 
data/Gemfile CHANGED
@@ -17,6 +17,7 @@ gem 'rubocop-rails', require: false
17
17
  gem 'rubocop-rspec', require: false
18
18
  gem 'rubocop-rspec_rails', require: false
19
19
  gem 'rubocop-sorbet', require: false
20
+ gem 'standard', require: false
20
21
 
21
22
  group :development do
22
23
  # Bundle-audit
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- dashbrains-rubocop-config (1.0.4)
4
+ dashbrains-rubocop-config (1.0.5)
5
5
  rubocop
6
6
  rubocop-capybara
7
7
  rubocop-factory_bot
@@ -12,11 +12,12 @@ PATH
12
12
  rubocop-rspec
13
13
  rubocop-rspec_rails
14
14
  rubocop-sorbet
15
+ standard
15
16
 
16
17
  GEM
17
18
  remote: https://rubygems.org/
18
19
  specs:
19
- activesupport (7.2.1)
20
+ activesupport (7.2.1.1)
20
21
  base64
21
22
  bigdecimal
22
23
  concurrent-ruby (~> 1.0, >= 1.3.1)
@@ -36,31 +37,32 @@ GEM
36
37
  concurrent-ruby (1.3.4)
37
38
  connection_pool (2.4.1)
38
39
  drb (2.2.1)
39
- i18n (1.14.5)
40
+ i18n (1.14.6)
40
41
  concurrent-ruby (~> 1.0)
41
42
  json (2.7.2)
42
43
  language_server-protocol (3.17.0.3)
43
- logger (1.6.0)
44
+ lint_roller (1.1.0)
45
+ logger (1.6.1)
44
46
  minitest (5.25.1)
45
47
  parallel (1.26.3)
46
- parser (3.3.4.2)
48
+ parser (3.3.5.0)
47
49
  ast (~> 2.4.1)
48
50
  racc
49
51
  racc (1.8.1)
50
- rack (3.1.7)
52
+ rack (3.1.8)
51
53
  rainbow (3.1.1)
52
54
  regexp_parser (2.9.2)
53
- rubocop (1.66.0)
55
+ rubocop (1.66.1)
54
56
  json (~> 2.3)
55
57
  language_server-protocol (>= 3.17.0)
56
58
  parallel (~> 1.10)
57
59
  parser (>= 3.3.0.2)
58
60
  rainbow (>= 2.2.2, < 4.0)
59
61
  regexp_parser (>= 2.4, < 3.0)
60
- rubocop-ast (>= 1.32.1, < 2.0)
62
+ rubocop-ast (>= 1.32.2, < 2.0)
61
63
  ruby-progressbar (~> 1.7)
62
64
  unicode-display_width (>= 2.4.0, < 3.0)
63
- rubocop-ast (1.32.1)
65
+ rubocop-ast (1.32.3)
64
66
  parser (>= 3.3.1.0)
65
67
  rubocop-capybara (2.21.0)
66
68
  rubocop (~> 1.41)
@@ -71,27 +73,39 @@ GEM
71
73
  rubocop-minitest (0.36.0)
72
74
  rubocop (>= 1.61, < 2.0)
73
75
  rubocop-ast (>= 1.31.1, < 2.0)
74
- rubocop-performance (1.21.1)
76
+ rubocop-performance (1.22.1)
75
77
  rubocop (>= 1.48.1, < 2.0)
76
78
  rubocop-ast (>= 1.31.1, < 2.0)
77
- rubocop-rails (2.26.0)
79
+ rubocop-rails (2.26.2)
78
80
  activesupport (>= 4.2.0)
79
81
  rack (>= 1.1)
80
82
  rubocop (>= 1.52.0, < 2.0)
81
83
  rubocop-ast (>= 1.31.1, < 2.0)
82
- rubocop-rspec (3.0.4)
84
+ rubocop-rspec (3.1.0)
83
85
  rubocop (~> 1.61)
84
86
  rubocop-rspec_rails (2.30.0)
85
87
  rubocop (~> 1.61)
86
88
  rubocop-rspec (~> 3, >= 3.0.1)
87
- rubocop-sorbet (0.8.5)
89
+ rubocop-sorbet (0.8.6)
88
90
  rubocop (>= 1)
89
91
  ruby-progressbar (1.13.0)
90
92
  securerandom (0.3.1)
93
+ standard (1.41.1)
94
+ language_server-protocol (~> 3.17.0.2)
95
+ lint_roller (~> 1.0)
96
+ rubocop (~> 1.66.0)
97
+ standard-custom (~> 1.0.0)
98
+ standard-performance (~> 1.5)
99
+ standard-custom (1.0.2)
100
+ lint_roller (~> 1.0)
101
+ rubocop (~> 1.50)
102
+ standard-performance (1.5.0)
103
+ lint_roller (~> 1.1)
104
+ rubocop-performance (~> 1.22.0)
91
105
  thor (1.3.2)
92
106
  tzinfo (2.0.6)
93
107
  concurrent-ruby (~> 1.0)
94
- unicode-display_width (2.5.0)
108
+ unicode-display_width (2.6.0)
95
109
 
96
110
  PLATFORMS
97
111
  arm64-darwin-22
@@ -114,6 +128,7 @@ DEPENDENCIES
114
128
  rubocop-rspec
115
129
  rubocop-rspec_rails
116
130
  rubocop-sorbet
131
+ standard
117
132
 
118
133
  BUNDLED WITH
119
- 2.5.17
134
+ 2.5.22
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
25
25
  spec.files = Dir.chdir(File.expand_path(__dir__)) do
26
26
  `git ls-files -z`.split("\x0")
27
- .reject { |f| f.match(%r{^(test|spec|features)/}) }
27
+ .reject { |f| f.match(%r{^(test|spec|features)/}) }
28
28
  end
29
29
  spec.require_paths = ['lib']
30
30
 
@@ -38,4 +38,5 @@ Gem::Specification.new do |spec|
38
38
  spec.add_dependency 'rubocop-rspec'
39
39
  spec.add_dependency 'rubocop-rspec_rails'
40
40
  spec.add_dependency 'rubocop-sorbet'
41
+ spec.add_dependency 'standard'
41
42
  end
data/lib/version.rb CHANGED
@@ -4,7 +4,7 @@
4
4
  module Dashbrains
5
5
  module Rubocop
6
6
  module Config
7
- VERSION = '1.0.4'
7
+ VERSION = '1.0.5'
8
8
  end
9
9
  end
10
10
  end
data/rubocop.yml CHANGED
@@ -8,6 +8,10 @@ require:
8
8
  - rubocop-factory_bot
9
9
  - rubocop-capybara
10
10
  - rubocop-rspec_rails
11
+ - standard
12
+
13
+ inherit_gem:
14
+ standard: config/base.yml
11
15
 
12
16
  AllCops:
13
17
  DisplayCopNames: true
@@ -83,3 +87,28 @@ Metrics/ParameterLists:
83
87
 
84
88
  Gemspec/RequiredRubyVersion:
85
89
  Enabled: false
90
+
91
+ Naming/BlockForwarding:
92
+ EnforcedStyle: explicit
93
+
94
+ Layout/SpaceInsideHashLiteralBraces:
95
+ EnforcedStyle: space
96
+
97
+ Style/ArgumentsForwarding:
98
+ UseAnonymousForwarding: false
99
+
100
+ Layout/ExtraSpacing:
101
+ Enabled: true
102
+ AllowForAlignment: true
103
+ AllowBeforeTrailingComments: true
104
+ ForceEqualSignAlignment: false
105
+
106
+ Style/RescueStandardError:
107
+ EnforcedStyle: explicit
108
+
109
+ Style/SingleLineMethods:
110
+ Enabled: true
111
+ AllowIfMethodIsEmpty: true
112
+
113
+ Style/EmptyMethod:
114
+ EnforcedStyle: compact
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dashbrains-rubocop-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - DashBrains
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-31 00:00:00.000000000 Z
11
+ date: 2024-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -150,6 +150,20 @@ dependencies:
150
150
  - - ">="
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: standard
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
153
167
  description: Shared Rubocop config used at DashBrains
154
168
  email:
155
169
  - contact@dashbrains.dev
@@ -197,7 +211,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
197
211
  - !ruby/object:Gem::Version
198
212
  version: '0'
199
213
  requirements: []
200
- rubygems_version: 3.5.11
214
+ rubygems_version: 3.5.16
201
215
  signing_key:
202
216
  specification_version: 4
203
217
  summary: Rubocop config for DashBrains