rubocop-athix 0.0.8 → 0.0.9

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: 76aaf6dcd8f565a00f9fecc8a786a5b4840a8e8bc8ca04701a67c1297c258bd4
4
- data.tar.gz: 998684715fd5e0a8b4c06513398c5c56de28cd1a6ca2011b9f6cc8f9236db031
3
+ metadata.gz: 375846d07acaa1815afea10779581765f5ea451d53a6e26c38f0b5801e8f6be6
4
+ data.tar.gz: 69c5be677d4bdc46e80d2d17fe606242e3a572231027cef1f330368fb4e6f432
5
5
  SHA512:
6
- metadata.gz: 8679e4f588fb2b1498431f979d7f225e1cbebf1d1ca9111fab0dd5bb12f26acb32bad7c71f8a9f0443fd30567a03b1383df5cf8b266995d94a9d112e7c7a6d7b
7
- data.tar.gz: b5e26756dcdfae17c48bc868d962a6c60d9d8b2e4d451a2864d2fd9ce66035fa1fc574d6368d360a8991030ef0bec2fd8b25b1de912e3244f7e7906553e43cf0
6
+ metadata.gz: b82af39a4a271391562ff174acb764d4ae11e32e80b348d16f1372d93e0d26d6e7b7fe1fc54c050434364fd411a885453f3c37eb82e6945c3430975fdfc9776b
7
+ data.tar.gz: d7a52e3b7124e748d58e473cc3698349ae2e7a9de3ecf943df5b5f25b2da6fcfa0d38b553129469427f64f57da68dad4c2dcacf977d72a8a0138a92f3c6426b0
data/config/_style.yml CHANGED
@@ -19,3 +19,11 @@ Style/ModuleFunction:
19
19
  #
20
20
  Style/SymbolArray:
21
21
  EnforcedStyle: brackets
22
+
23
+ ##
24
+ # `has_key?` while more verbose, is more explicit on what it is saying. This is
25
+ # valuable for this particular scenario, as otherwise it could be reasonable to
26
+ # assume `key?` is specifying if the calling object is or is not a key.
27
+ #
28
+ Style/PreferredHashMethods:
29
+ EnforcedStyle: verbose
data/config/default.yml CHANGED
@@ -1,6 +1,5 @@
1
1
  inherit_from:
2
2
  - _layout.yml
3
- - _naming.yml
4
3
  - _style.yml
5
4
 
6
5
  require:
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.8
4
+ version: 0.0.9
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-07-02 00:00:00.000000000 Z
11
+ date: 2021-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -117,7 +117,6 @@ files:
117
117
  - LICENSE.md
118
118
  - README.md
119
119
  - config/_layout.yml
120
- - config/_naming.yml
121
120
  - config/_rspec.yml
122
121
  - config/_style.yml
123
122
  - config/default.yml
@@ -128,8 +127,8 @@ licenses:
128
127
  - MIT
129
128
  metadata:
130
129
  bug_tracker_uri: https://github.com/athix/rubocop-athix/issues
131
- changelog_uri: https://github.com/athix/rubocop-athix/releases/tag/v0.0.8
132
- source_code_uri: https://github.com/athix/rubocop-athix/tree/v0.0.8
130
+ changelog_uri: https://github.com/athix/rubocop-athix/releases/tag/v0.0.9
131
+ source_code_uri: https://github.com/athix/rubocop-athix/tree/v0.0.9
133
132
  post_install_message:
134
133
  rdoc_options: []
135
134
  require_paths:
data/config/_naming.yml DELETED
@@ -1,8 +0,0 @@
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