rubocop-rickselby 0.11.1 → 0.13.0

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: 756b7ab9f4412bff7f11cb6e263ef526404903d694560ad85533035c8b24befd
4
- data.tar.gz: c0d304be1fbdd9bcaa4f99de93275cced1870cd0b366f6de546f78b1ea5cb49e
3
+ metadata.gz: 33cddc96bf07629f280e1f9f0e37aeef6f4b0575f3b90bb0003cefe7f8ed25f9
4
+ data.tar.gz: 3f5506b17671508ac5823d1e4cae2a3ee5fcecd5cab050c19c5ef58d4191cdf7
5
5
  SHA512:
6
- metadata.gz: 909178929b9869da1a78419c3f1b3d5b530b7c63d023c5bee07b02f584d0bfc46207afc603ecb9961470a51cd78168e01f5bca21864cff7322eefb58d7590ab8
7
- data.tar.gz: 91e8eb67950c2c86b860f9a682d498fd6e1181d85f5c9cdcf424e59d1a597a26be5705ae7931885cddac6a4d1ae7c50de4f9cdf11b08ce8fa8d7af9e30028ebc
6
+ metadata.gz: b0fdcef4328b5140f1239d3cad466c9eb69c6a32a79689b99e23603bcfb4fa675d3ed3b0016ae92264abab791c66705625dcd0ef09718362f338128ffc8cfa1f
7
+ data.tar.gz: 4b37c89ce4a54b9a120bece1dc203a094abbb5a27cebb0b36d294c18efddccf8cb5881ecb6402330545cbfa551cc43ea3ce680627b946102b02ac188fa28ee28
data/README.md CHANGED
@@ -20,9 +20,11 @@ Inherit the desired configuration in your `.rubocop.yml`:
20
20
  inherit_gem:
21
21
  rubocop-rickselby:
22
22
  - config/default.yml # generic Ruby rules and cops
23
+ - config/capybara.yml # capybara-specific rules and cops
24
+ - config/factory_bot.yml # factory_bot-specific rules and cops
23
25
  - config/rails.yml # Rails-specific rules and cops
24
26
  - config/rspec.yml # RSpec-specific rules and cops
25
- - config/capybara.yml # capybara-specific rules and cops
27
+ - config/sequel.yml # sequel-specific rules and cops
26
28
  ```
27
29
 
28
30
  ## Contributing
data/config/default.yml CHANGED
@@ -83,13 +83,6 @@ Style/FloatDivision:
83
83
  Style/IpAddresses:
84
84
  Enabled: true
85
85
 
86
- Style/MethodCallWithArgsParentheses:
87
- Enabled: true
88
- AllowParenthesesInCamelCaseMethod: true
89
- AllowParenthesesInChaining: true
90
- AllowParenthesesInMultilineCall: true
91
- EnforcedStyle: omit_parentheses
92
-
93
86
  Style/MethodCalledOnDoEndBlock:
94
87
  Enabled: true
95
88
 
@@ -0,0 +1,2 @@
1
+ require:
2
+ - rubocop-factory_bot
data/config/rails.yml CHANGED
@@ -26,6 +26,21 @@ Performance/Detect:
26
26
  Performance/Sum:
27
27
  Enabled: false
28
28
 
29
+ Rails/DefaultScope:
30
+ Enabled: true
31
+
32
+ Rails/EnvironmentVariableAccess:
33
+ Enabled: true
34
+
35
+ Rails/OrderById:
36
+ Enabled: true
37
+
38
+ Rails/PluckId:
39
+ Enabled: true
40
+
41
+ Rails/TableNameAssignment:
42
+ Enabled: true
43
+
29
44
  Style/Documentation:
30
45
  Exclude:
31
46
  - app/controllers/**/*
data/config/rspec.yml CHANGED
@@ -1,2 +1,11 @@
1
1
  require:
2
2
  - rubocop-rspec
3
+
4
+ RSpec/AlignLeftLetBrace:
5
+ Enabled: true
6
+
7
+ RSpec/AlignRightLetBrace:
8
+ Enabled: true
9
+
10
+ RSpec/ExampleWithoutDescription:
11
+ EnforcedStyle: single_line_only
data/config/sequel.yml ADDED
@@ -0,0 +1,2 @@
1
+ require:
2
+ - rubocop-sequel
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module Rickselby
5
- VERSION = "0.11.1"
5
+ VERSION = "0.13.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-rickselby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.1
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rick Selby
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-06 00:00:00.000000000 Z
11
+ date: 2024-01-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: 2.20.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: rubocop-factory_bot
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 2.25.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 2.25.0
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rubocop-performance
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -108,6 +122,20 @@ dependencies:
108
122
  - - "~>"
109
123
  - !ruby/object:Gem::Version
110
124
  version: 2.26.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: rubocop-sequel
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 0.3.4
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 0.3.4
111
139
  description:
112
140
  email:
113
141
  - rick@selby-family.co.uk
@@ -118,8 +146,10 @@ files:
118
146
  - README.md
119
147
  - config/capybara.yml
120
148
  - config/default.yml
149
+ - config/factory-bot.yml
121
150
  - config/rails.yml
122
151
  - config/rspec.yml
152
+ - config/sequel.yml
123
153
  - lib/rubocop/rickselby/version.rb
124
154
  homepage: https://github.com/rickselby/rubocop-rickselby
125
155
  licenses: