rubocop-athix 0.0.1 → 0.0.2

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: c628faf28d1e28ac81f22394abb6033b4a9c4e2c59e44024d54fbf8a18d8547c
4
- data.tar.gz: 6a5c87c969a037778098c9d0e7a671b8bb19054e26407c871b2437231de47e79
3
+ metadata.gz: c4862ac135156699b3420929f7748f7f4252357cf7f95e1cd75c44bbc6cf7533
4
+ data.tar.gz: ce256ae0a485a088380a6016e4ba33b0057b4196651f631b93fb77fcdf7b2d27
5
5
  SHA512:
6
- metadata.gz: 978e01d88b7d9ddf3034542782463b630c902328d0d5f2efb6e44b5785b3e94297d2053151aebbca904b6a76c22a166e69b9d37b6d03c54a628f6e31cb245121
7
- data.tar.gz: 3a882212d40cf4dec3ae9102dd0878cc4e8e6b791ea79d9a27b0eb2fa7358c8ad8e2ff082e601c4f86c2fc94b1635e817c0c2bce1739535b7b00bddd78be3257
6
+ metadata.gz: 2b9b45b1e392ea4d25bf717a2fa43f0c58a4cb224cc2e9a56c5e9ef408ecd3f5df9896d11630b762a3a6fea6242ef4ac73308307f3a6e07860df78b999eba85d
7
+ data.tar.gz: 2268d032b1d6b3e5de76463796e049cf0bd0b92ce22016f1128f0972661fb9f4f8f66ab34a4bb4d0cd61af66c7c1377480d5223f9db79663f9cdf755f941609f
data/README.md CHANGED
@@ -24,6 +24,8 @@ inherit_gem:
24
24
 
25
25
  ### Ruby Gems
26
26
 
27
+ **Gemfile**
28
+
27
29
  ```ruby
28
30
  gem 'rubocop-athix'
29
31
  gem 'rubocop-rspec'
@@ -39,6 +41,8 @@ inherit_gem:
39
41
 
40
42
  ### Other Ruby code
41
43
 
44
+ **Gemfile**
45
+
42
46
  ```ruby
43
47
  gem 'rubocop-athix'
44
48
  ```
data/config/_layout.yml CHANGED
@@ -10,24 +10,31 @@ Layout/LineLength:
10
10
  IgnoredPatterns: ['it { should']
11
11
  Max: 80
12
12
 
13
+ ##
13
14
  # Variable assignment can be indented weirdly, so align to the ending statement
14
- # instead
15
+ # instead.
16
+ #
15
17
  Layout/CaseIndentation:
16
18
  EnforcedStyle: end
17
- # Lines can get stupidly long if we indent it to the other params/args
19
+
20
+ ##
21
+ # Lines can get stupidly long if we indent it to the other params/args.
22
+ #
18
23
  Layout/ParameterAlignment:
19
24
  EnforcedStyle: with_fixed_indentation
20
25
  Layout/ArgumentAlignment:
21
26
  EnforcedStyle: with_fixed_indentation
22
- # Force prettier hash alignment
27
+
28
+ ##
29
+ # Force prettier hash alignment.
30
+ #
23
31
  Layout/HashAlignment:
24
32
  EnforcedHashRocketStyle: table
25
33
  EnforcedColonStyle: table
26
- # It can be unclear if a line is truly ended unless the dot is on the method
27
- # receiver
28
- Layout/DotPosition:
29
- EnforcedStyle: trailing
34
+
35
+ ##
30
36
  # Allow extra spaces when aligning to other operators...
31
37
  # (doesn't seem to work all the time though)
38
+ #
32
39
  Layout/SpaceAroundOperators:
33
40
  AllowForAlignment: true
data/config/default.yml CHANGED
@@ -1,6 +1,5 @@
1
1
  inherit_from:
2
2
  - _layout.yml
3
- - _metrics.yml
4
3
  - _rspec.yml
5
4
  - _style.yml
6
5
 
data/config/rails.yml CHANGED
@@ -7,11 +7,8 @@ require:
7
7
  AllCops:
8
8
  Exclude:
9
9
  - 'bin/**/*'
10
- - 'config/**/*'
11
10
  - 'coverage/**/*'
12
- - 'db/**/*'
13
11
  - 'lib/templates/**/*'
14
12
  - 'log/**/*'
15
13
  - 'tmp/**/*'
16
14
  - 'vendor/**/*'
17
- - 'Gemfile'
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.1
4
+ version: 0.0.2
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-25 00:00:00.000000000 Z
11
+ date: 2021-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -75,7 +75,6 @@ files:
75
75
  - LICENSE.md
76
76
  - README.md
77
77
  - config/_layout.yml
78
- - config/_metrics.yml
79
78
  - config/_rspec.yml
80
79
  - config/_style.yml
81
80
  - config/default.yml
@@ -86,8 +85,8 @@ licenses:
86
85
  - MIT
87
86
  metadata:
88
87
  bug_tracker_uri: https://github.com/athix/rubocop-athix/issues
89
- changelog_uri: https://github.com/athix/rubocop-athix/releases/tag/v0.0.1
90
- source_code_uri: https://github.com/athix/rubocop-athix/tree/v0.0.1
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
91
90
  post_install_message:
92
91
  rdoc_options: []
93
92
  require_paths:
data/config/_metrics.yml DELETED
@@ -1,3 +0,0 @@
1
- # TODO: Is there a good way to break up specs without it getting unwieldy?
2
- Metrics/BlockLength:
3
- IgnoredMethods: ['describe', 'context', 'configure']