rubocop-infinum 0.1.0 → 0.4.0

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: 4fc4711fd647610ed8335a849d8b9304fcef2e29c591db3f624b72edd9f2136c
4
- data.tar.gz: c443ad3f100d2b96dae4b3cfb8be49949cfd68324633a2c940e9f3f13b335fef
3
+ metadata.gz: fcfa429bfe153866f903ac30dcb5034287270f0c3074b7f57bfdb79f2d82cb79
4
+ data.tar.gz: 872cc064d37f77ccbb5471aa1fc08b2874c23e8ec0c9840dd388e7fb499ff4f1
5
5
  SHA512:
6
- metadata.gz: a85ead5e9b4035c4261c4f72923a9ff460087db466aff4c74dee2fa1727412c327310bb0fb133c70cbb32f8e5db322f28a5c6e14234b1c2b514298b836c83095
7
- data.tar.gz: 83ef437f62cc8fa3c48dfd046e8aee50cdee83784ba200bece3f83f3c26e76b96cac188224f0a079ab4e72973df2d5f8002c3ca0645df1f880f9660dad32334c
6
+ metadata.gz: 6188b05de9ce4de07610857d181fbc8d6e02a22c005b80519bed04022883493e3869cc72a80c1572016eada910ec9fde4a8b234af357717ab420acbc39b54d8d
7
+ data.tar.gz: 810aa794e903d6450fc89b79e1e5365a7e032e20484d702e67b755682b773c61f77f33685c95b9d22553c1db7acd14de74c2c2d56a548a86bb29712534f9eab6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # RuboCop Infinum Change Log
2
2
 
3
+ ## 0.4.0 (Aug 20th, 2021)
4
+
5
+ - Rename config file to rubocop.yml (keeping a convention with other rubocop gems)
6
+
7
+ ## 0.3.0 (Aug 20th, 2021)
8
+
9
+ - Rename config file to .infinum.yml (fixes inheriting configuration)
10
+
11
+ ## 0.2.0 (Jul 24th, 2021)
12
+
13
+ - Increase max line length to 120 chars and exclude comment lines
14
+
15
+ ## 0.1.1 (Jul 13th, 2021)
16
+
17
+ - exclude vendor/bundle for all cops
18
+
3
19
  ## 0.1.0 (Sep 8th, 2020)
4
20
 
5
21
  - add autocorrect method to `Rails/AttributeDefaultBlockValue`
data/README.md CHANGED
@@ -12,7 +12,7 @@ And add to the top of your project's RuboCop configuration file:
12
12
 
13
13
  ~~~yml
14
14
  inherit_gem:
15
- rubocop-infinum: .rubocop.yml
15
+ rubocop-infinum: .infinum.yml
16
16
 
17
17
  require: rubocop-infinum
18
18
  ~~~
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Infinum
5
- VERSION = '0.1.0'
5
+ VERSION = '0.4.0'
6
6
  end
7
7
  end
@@ -3,16 +3,19 @@ require:
3
3
  - rubocop-rspec
4
4
 
5
5
  Layout/LineLength:
6
- Max: 100
6
+ Max: 120
7
+ IgnoredPatterns: ['\A#']
7
8
 
8
- Metrics/BlockLength:
9
- Exclude:
10
- - 'spec/**/*_spec.rb'
11
-
12
- Style/Documentation:
9
+ Naming/InclusiveLanguage:
13
10
  Enabled: false
14
11
 
15
- Style/FrozenStringLiteralComment:
12
+ Rails:
13
+ Enabled: true
14
+
15
+ RSpec/ExampleLength:
16
+ Max: 10
17
+
18
+ Style/Documentation:
16
19
  Enabled: false
17
20
 
18
21
  Style/WordArray:
@@ -30,11 +33,9 @@ Style/HashTransformKeys:
30
33
  Style/HashTransformValues:
31
34
  Enabled: true
32
35
 
33
- Rails:
34
- Enabled: true
35
-
36
- RSpec/ExampleLength:
37
- Max: 10
36
+ Metrics/BlockLength:
37
+ Exclude:
38
+ - 'spec/**/*_spec.rb'
38
39
 
39
40
  AllCops:
40
41
  TargetRubyVersion: 2.5
@@ -42,4 +43,6 @@ AllCops:
42
43
  - 'db/schema.rb'
43
44
  - 'db/migrate/*.rb'
44
45
  - 'config/**/*.rb'
46
+ - 'vendor/bundle/**/*'
47
+ - 'node_modules/**/*'
45
48
  NewCops: enable
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-infinum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marko Ćilimković
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-09-08 00:00:00.000000000 Z
12
+ date: 2021-08-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pry-byebug
@@ -90,7 +90,6 @@ extra_rdoc_files: []
90
90
  files:
91
91
  - ".gitignore"
92
92
  - ".rspec"
93
- - ".rubocop.yml"
94
93
  - ".ruby-version"
95
94
  - CHANGELOG.md
96
95
  - Gemfile
@@ -104,6 +103,7 @@ files:
104
103
  - lib/rubocop/infinum.rb
105
104
  - lib/rubocop/infinum/version.rb
106
105
  - rubocop-infinum.gemspec
106
+ - rubocop.yml
107
107
  homepage: https://github.com/infinum/rubocop-infinum
108
108
  licenses:
109
109
  - MIT