rubocop-athix 0.0.5 → 0.0.6

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: bc5e114adb6048be0a2ffa682935b2b5be0af904a2f33d6bda972226cdb3a918
4
- data.tar.gz: 93d7a3f1a41e5b52e26c98138de6812425acc3f034518d7a95b62d5db0f9f5e4
3
+ metadata.gz: 64af873e16212eaf3e6d879d170bf7128d9da56b5e56ebeb1b0602fe46c08137
4
+ data.tar.gz: d1622a356dc3a7616ae152e7d3a8ed00f57213b6291d3b07fc54d0117e079042
5
5
  SHA512:
6
- metadata.gz: 630ecfe99001f0a648214274ae3521eb90d382dff4d273865f91773b8765bef134c7836d1fd53f7967dc9676dc45be946f43b53c0753c3aa96b99759b77035ac
7
- data.tar.gz: edc6b5ea7ec88454577ca9fbe556cdec322f44ba3d92446f7bd7094761b8d78bcedfa6bf27e6212f95cc9895bc3b7d72a5708908c8f4c14cbf7bc8505ea09568
6
+ metadata.gz: 4000b91283f761e7e788733cef485d994f449a597878a36105fa14211a3812ba478e4a32fc13e667811a4cc3dc4377d11ab83f64c478b6ca56c4f5eb59c1222e
7
+ data.tar.gz: b1c044695f0235d79cbd5a9c1838fc17b5bb8ffaf2f289c002a91994f7ed69553019840644dc51c6bb250d5c5a29c4eea125190709f7440ec1c4e1fb5ba4a91f
data/README.md CHANGED
@@ -10,10 +10,10 @@ 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'
14
15
  gem 'rubocop-rake'
15
16
  gem 'rubocop-rspec'
16
- gem 'rubocop-i18n'
17
17
  ```
18
18
 
19
19
  **.rubocop.yml**
@@ -26,6 +26,14 @@ inherit_gem:
26
26
 
27
27
  ### Ruby Gems
28
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
+
29
37
  **Gemfile**
30
38
 
31
39
  ```ruby
data/config/default.yml CHANGED
@@ -8,6 +8,14 @@ require:
8
8
  - rubocop-performance
9
9
  - rubocop-thread_safety
10
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
18
+
11
19
  AllCops:
12
20
  NewCops: enable
13
21
  TargetRubyVersion: 3.0.0
data/config/rails.yml CHANGED
@@ -3,10 +3,10 @@ inherit_from:
3
3
  - _rspec.yml
4
4
 
5
5
  require:
6
+ - rubocop-i18n
6
7
  - rubocop-rails
7
8
  - rubocop-rake
8
9
  - rubocop-rspec
9
- - rubocop-i18n
10
10
 
11
11
  AllCops:
12
12
  Exclude:
@@ -18,7 +18,6 @@ AllCops:
18
18
  - 'tmp/**/*'
19
19
  - 'vendor/**/*'
20
20
 
21
-
22
21
  ##
23
22
  # Use Rails I18n instead of GetText.
24
23
  #
@@ -31,6 +30,12 @@ I18n/GetText:
31
30
  I18n/RailsI18n:
32
31
  Enabled: true
33
32
 
33
+ ##
34
+ # Translating the specs themselves doesn't make sense.
35
+ #
36
+ I18n/RailsI18n/DecorateString:
37
+ Exclude: 'spec/**/*'
38
+
34
39
  ##
35
40
  # In the rest of the app, using the logger makes sense. However, it seems to
36
41
  # not play nicely when generating the seeds, and `puts` is pretty
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.5
4
+ version: 0.0.6
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-29 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
@@ -128,8 +128,8 @@ licenses:
128
128
  - MIT
129
129
  metadata:
130
130
  bug_tracker_uri: https://github.com/athix/rubocop-athix/issues
131
- changelog_uri: https://github.com/athix/rubocop-athix/releases/tag/v0.0.5
132
- source_code_uri: https://github.com/athix/rubocop-athix/tree/v0.0.5
131
+ changelog_uri: https://github.com/athix/rubocop-athix/releases/tag/v0.0.6
132
+ source_code_uri: https://github.com/athix/rubocop-athix/tree/v0.0.6
133
133
  post_install_message:
134
134
  rdoc_options: []
135
135
  require_paths: