rubocop-athix 0.0.2 → 0.0.7

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: c4862ac135156699b3420929f7748f7f4252357cf7f95e1cd75c44bbc6cf7533
4
- data.tar.gz: ce256ae0a485a088380a6016e4ba33b0057b4196651f631b93fb77fcdf7b2d27
3
+ metadata.gz: 33e2560d7069082c9573561a27addce61110b5b5a1dc735455db0e7159237e3c
4
+ data.tar.gz: 43e50326731666de336a79331ee4d86abc92c3ac656524a35bc36b781f2f5d05
5
5
  SHA512:
6
- metadata.gz: 2b9b45b1e392ea4d25bf717a2fa43f0c58a4cb224cc2e9a56c5e9ef408ecd3f5df9896d11630b762a3a6fea6242ef4ac73308307f3a6e07860df78b999eba85d
7
- data.tar.gz: 2268d032b1d6b3e5de76463796e049cf0bd0b92ce22016f1128f0972661fb9f4f8f66ab34a4bb4d0cd61af66c7c1377480d5223f9db79663f9cdf755f941609f
6
+ metadata.gz: 884e5b582bea849bc6bb5eccbb630582dfaaa54b5a185501db2407583a1fd54e2951eb395d7de01033f7678f2a1793a71b7c6a079c7d8d0121494d158d47f2b6
7
+ data.tar.gz: 88b6494760e6ab0e0ee361c2c50588e164913685dd63506f7561feafb7d0e70841987dccfa274b2d8a0910077adde878247ee6f04b5dd6135b7f6d055f7f4edb
data/README.md CHANGED
@@ -10,7 +10,9 @@ Contains my commonly used styling overrides for Rubocop.
10
10
 
11
11
  ```ruby
12
12
  gem 'rubocop-athix'
13
+ gem 'rubocop-i18n'
13
14
  gem 'rubocop-rails'
15
+ gem 'rubocop-rake'
14
16
  gem 'rubocop-rspec'
15
17
  ```
16
18
 
@@ -24,10 +26,19 @@ inherit_gem:
24
26
 
25
27
  ### Ruby Gems
26
28
 
29
+ **Gemspec**
30
+
31
+ ```ruby
32
+ s.add_development_dependency 'rubocop-athix'
33
+ s.add_development_dependency 'rubocop-rake'
34
+ s.add_development_dependency 'rubocop-rspec'
35
+ ```
36
+
27
37
  **Gemfile**
28
38
 
29
39
  ```ruby
30
40
  gem 'rubocop-athix'
41
+ gem 'rubocop-rake'
31
42
  gem 'rubocop-rspec'
32
43
  ```
33
44
 
@@ -0,0 +1,8 @@
1
+ ##
2
+ # Master/slave are technical terms that accurately describe the behavior of
3
+ # systems. The fact that human slavery existed and was a horrible practice does
4
+ # not mean that we should scrub those words from existance, nor their usage
5
+ # where they are the clearest words available to describe a type of behavior.
6
+ #
7
+ Naming/InclusiveLanguage:
8
+ Enabled: false
data/config/default.yml CHANGED
@@ -1,12 +1,21 @@
1
1
  inherit_from:
2
2
  - _layout.yml
3
- - _rspec.yml
3
+ - _naming.yml
4
4
  - _style.yml
5
5
 
6
6
  require:
7
+ - rubocop-packaging
7
8
  - rubocop-performance
9
+ - rubocop-thread_safety
10
+
11
+ ##
12
+ # Merge instead of overwriting. For more details, see:
13
+ # https://docs.rubocop.org/rubocop/configuration.html#merging-arrays-using-inherit_mode
14
+ #
15
+ inherit_mode:
16
+ merge:
17
+ - Exclude
8
18
 
9
19
  AllCops:
10
20
  NewCops: enable
11
- SuggestExtensions: false
12
21
  TargetRubyVersion: 3.0.0
data/config/gems.yml CHANGED
@@ -1,4 +1,7 @@
1
- inherit_from: default.yml
1
+ inherit_from:
2
+ - default.yml
3
+ - _rspec.yml
2
4
 
3
5
  require:
6
+ - rubocop-rake
4
7
  - rubocop-rspec
data/config/rails.yml CHANGED
@@ -1,14 +1,62 @@
1
- inherit_from: default.yml
1
+ inherit_from:
2
+ - default.yml
3
+ - _rspec.yml
2
4
 
3
5
  require:
6
+ - rubocop-i18n
4
7
  - rubocop-rails
8
+ - rubocop-rake
5
9
  - rubocop-rspec
6
10
 
7
11
  AllCops:
8
12
  Exclude:
9
13
  - 'bin/**/*'
10
14
  - 'coverage/**/*'
15
+ - 'db/schema.rb'
11
16
  - 'lib/templates/**/*'
12
17
  - 'log/**/*'
13
18
  - 'tmp/**/*'
14
19
  - 'vendor/**/*'
20
+
21
+ ##
22
+ # Use Rails I18n instead of GetText.
23
+ #
24
+ I18n/GetText:
25
+ Enabled: false
26
+
27
+ ##
28
+ # Use Rails I18n instead of GetText.
29
+ #
30
+ I18n/RailsI18n:
31
+ Enabled: true
32
+
33
+ ##
34
+ # Translating the specs themselves doesn't make sense.
35
+ #
36
+ I18n/RailsI18n/DecorateString:
37
+ Exclude:
38
+ - 'spec/**/*'
39
+
40
+ ##
41
+ # In the rest of the app, using the logger makes sense. However, it seems to
42
+ # not play nicely when generating the seeds, and `puts` is pretty
43
+ # straight-forward.
44
+ #
45
+ Rails/Output:
46
+ Exclude:
47
+ - 'db/seeds/*.rb'
48
+ - 'db/seeds.rb'
49
+
50
+ ##
51
+ # This cop makes no sense in the context of migrations.
52
+ #
53
+ Metrics/AbcSize:
54
+ Exclude:
55
+ - 'db/migrate/*.rb'
56
+
57
+ ##
58
+ # This cop makes no sense in the context of migrations.
59
+ #
60
+ Metrics/MethodLength:
61
+ Exclude:
62
+ - 'db/migrate/*.rb'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-athix
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Buker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-26 00:00:00.000000000 Z
11
+ date: 2021-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop-packaging
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '0.5'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.5'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rubocop-performance
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -38,6 +52,20 @@ dependencies:
38
52
  - - "~>"
39
53
  - !ruby/object:Gem::Version
40
54
  version: '1.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rubocop-thread_safety
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '0.4'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '0.4'
41
69
  - !ruby/object:Gem::Dependency
42
70
  name: rake
43
71
  requirement: !ruby/object:Gem::Requirement
@@ -52,6 +80,20 @@ dependencies:
52
80
  - - "~>"
53
81
  - !ruby/object:Gem::Version
54
82
  version: '12.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rubocop-rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '0.6'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '0.6'
55
97
  - !ruby/object:Gem::Dependency
56
98
  name: rubocop-rspec
57
99
  requirement: !ruby/object:Gem::Requirement
@@ -75,6 +117,7 @@ files:
75
117
  - LICENSE.md
76
118
  - README.md
77
119
  - config/_layout.yml
120
+ - config/_naming.yml
78
121
  - config/_rspec.yml
79
122
  - config/_style.yml
80
123
  - config/default.yml
@@ -85,8 +128,8 @@ licenses:
85
128
  - MIT
86
129
  metadata:
87
130
  bug_tracker_uri: https://github.com/athix/rubocop-athix/issues
88
- changelog_uri: https://github.com/athix/rubocop-athix/releases/tag/v0.0.2
89
- source_code_uri: https://github.com/athix/rubocop-athix/tree/v0.0.2
131
+ changelog_uri: https://github.com/athix/rubocop-athix/releases/tag/v0.0.7
132
+ source_code_uri: https://github.com/athix/rubocop-athix/tree/v0.0.7
90
133
  post_install_message:
91
134
  rdoc_options: []
92
135
  require_paths: