rubocop-infinum 0.1.1 → 0.5.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: 0e0fe6f84ddc805164219e9365619464a0cd1e73f46c51488abd9a31bff6ff76
4
- data.tar.gz: f16555e5b6975a06be1adc41241ae14d4fa05f5c1c87904c7f84a761bf166b90
3
+ metadata.gz: 445f17ceca0d29f08cd33570805fb7abc08f4fac1bd5a9bf5d49bf5d0459535f
4
+ data.tar.gz: 113acc36b6a918db119cd7ef39723d91b0a62b72ab83223d9c9798dc5ecfe22c
5
5
  SHA512:
6
- metadata.gz: e1b66c28fb57409605a29d0a481b1e72e0201ba17d8f2d36ac625f1a184203c3c5bd5c4ef01bf58990267dfe95c569de28866c4aeba29fc8900a50f933dad6d6
7
- data.tar.gz: cd8af32b439a452a801dc8ba615a7c526a375829494c3fe91970a8743e3179869fff242e823fc0450406391863e3ea6e15292b3d647c65d53af6eb2879349984
6
+ metadata.gz: 3b54288560b2b8354ac15f4b2d4a417c8a5edda8e2006649cf8ff4fca0031785b4ad553e97cdd018d058f697cb1a6a3b6de598657cca0392ac6b93edeaaa1f26
7
+ data.tar.gz: 1e1df257371bcf8d7763befb0cfdd816d0cf787c216a7faed7d54125e944b79ae8d9ac98fbf16e8b6bb90e45a62c40bd95e19963b8d3b8d6bbed0775ed630886
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # RuboCop Infinum Change Log
2
2
 
3
+ ## 0.5.0 (Aug 25th, 2021)
4
+
5
+ - Add rubocop-performance (@PetarCurkovic)
6
+
7
+ ## 0.4.0 (Aug 20th, 2021)
8
+
9
+ - Rename config file to rubocop.yml (keeping a convention with other rubocop gems)
10
+
11
+ ## 0.3.0 (Aug 20th, 2021)
12
+
13
+ - Rename config file to .infinum.yml (fixes inheriting configuration)
14
+
15
+ ## 0.2.0 (Jul 24th, 2021)
16
+
17
+ - Increase max line length to 120 chars and exclude comment lines
18
+
3
19
  ## 0.1.1 (Jul 13th, 2021)
4
20
 
5
21
  - exclude vendor/bundle for all cops
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: rubocop.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.1'
5
+ VERSION = '0.5.0'
6
6
  end
7
7
  end
@@ -33,4 +33,5 @@ Gem::Specification.new do |spec|
33
33
  spec.add_runtime_dependency('rubocop')
34
34
  spec.add_runtime_dependency('rubocop-rails')
35
35
  spec.add_runtime_dependency('rubocop-rspec')
36
+ spec.add_runtime_dependency('rubocop-performance')
36
37
  end
@@ -1,18 +1,22 @@
1
1
  require:
2
2
  - rubocop-rails
3
3
  - rubocop-rspec
4
+ - rubocop-performance
4
5
 
5
6
  Layout/LineLength:
6
- Max: 100
7
+ Max: 120
8
+ IgnoredPatterns: ['\A#']
7
9
 
8
- Metrics/BlockLength:
9
- Exclude:
10
- - 'spec/**/*_spec.rb'
11
-
12
- Style/Documentation:
10
+ Naming/InclusiveLanguage:
13
11
  Enabled: false
14
12
 
15
- Style/FrozenStringLiteralComment:
13
+ Rails:
14
+ Enabled: true
15
+
16
+ RSpec/ExampleLength:
17
+ Max: 10
18
+
19
+ Style/Documentation:
16
20
  Enabled: false
17
21
 
18
22
  Style/WordArray:
@@ -30,11 +34,9 @@ Style/HashTransformKeys:
30
34
  Style/HashTransformValues:
31
35
  Enabled: true
32
36
 
33
- Rails:
34
- Enabled: true
35
-
36
- RSpec/ExampleLength:
37
- Max: 10
37
+ Metrics/BlockLength:
38
+ Exclude:
39
+ - 'spec/**/*_spec.rb'
38
40
 
39
41
  AllCops:
40
42
  TargetRubyVersion: 2.5
@@ -43,4 +45,5 @@ AllCops:
43
45
  - 'db/migrate/*.rb'
44
46
  - 'config/**/*.rb'
45
47
  - 'vendor/bundle/**/*'
48
+ - 'node_modules/**/*'
46
49
  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.1
4
+ version: 0.5.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: 2021-07-13 00:00:00.000000000 Z
12
+ date: 2021-08-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pry-byebug
@@ -81,6 +81,20 @@ dependencies:
81
81
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
+ - !ruby/object:Gem::Dependency
85
+ name: rubocop-performance
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: '0'
91
+ type: :runtime
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: '0'
84
98
  description:
85
99
  email:
86
100
  - team.backend@infinum.com
@@ -90,7 +104,6 @@ extra_rdoc_files: []
90
104
  files:
91
105
  - ".gitignore"
92
106
  - ".rspec"
93
- - ".rubocop.yml"
94
107
  - ".ruby-version"
95
108
  - CHANGELOG.md
96
109
  - Gemfile
@@ -104,6 +117,7 @@ files:
104
117
  - lib/rubocop/infinum.rb
105
118
  - lib/rubocop/infinum/version.rb
106
119
  - rubocop-infinum.gemspec
120
+ - rubocop.yml
107
121
  homepage: https://github.com/infinum/rubocop-infinum
108
122
  licenses:
109
123
  - MIT