rubocop-powerhome 0.4.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: dd64fd1998b87999ae9bb7099b5679bb6a30761b12737cd35f88e49781fc4e7c
4
- data.tar.gz: 4396dfb22ae26ef117a7c68c90deaba21702c47621eb70c5a4685118aec74850
3
+ metadata.gz: 4767dc6020167a8b615233306ea599f1c4cf365fd98ea11754d6a2cdc24d2053
4
+ data.tar.gz: ecf9e2336b5f5c7e65b41e3de04d0b5aeec78e0f91d58b9508b93b79aef17173
5
5
  SHA512:
6
- metadata.gz: e402c21a5d9f395620d5681c40f7738aebbd50666f94dacb14db765f66f749768bbe8f4cf030e4761449b99073264315c945b65b49229b55c91d632280d21600
7
- data.tar.gz: 7b722eab1a5f6bdbcb4d2e3b52b5d694aca839745079263e421d6c4740216d0ca4d0148783032fa119ecc07e35f6a0fe2f2ab6a9139ee41f408c4a5ca32f984b
6
+ metadata.gz: 8034ef4be62dffc22cc653c6911f81a0cb2cddf3b0f93f380e8a5eabd214834c54c271829a415d005aa60ec55c146be1dfa68db5b1c3ec97cadb57d93ff1343b
7
+ data.tar.gz: 0b79e02933282bd833ee4f38aabe65034aa42e2fa8e19241d2eb4b94fc1f574cb2a81c8d76bd752dd28c2ccd5935e67430cbc0aafdfbd4ba49fe43782c55962e
data/CHANGELOG.md CHANGED
@@ -1,4 +1,27 @@
1
- ## [Unreleased]
1
+ ## [0.5.0] - 2022-07-22
2
+
3
+ ### Features
4
+
5
+ - Provide style guide references and helpful hints on violations. (#36)
6
+ - Ignore Metrics/BlockLength on Rspec's context and describe (#43)
7
+
8
+ ### Documentation
9
+ - Fix rel links in README (#37)
10
+ - Initial portal setup (#34)
11
+
12
+ ### Updates
13
+ - Lock file maintenance
14
+ - Update tj-actions/changed-files action to v24 (#47)
15
+ - Update dependency rubocop to ~> 1.32.0 (#46)
16
+ - Update dependency babel-eslint to v10 (#45)
17
+ - Update all non-major dependencies (#44)
18
+ - Update typescript-eslint monorepo to v5 (major) (#24)
19
+ - Update dependency eslint-webpack-plugin to v3 (#23)
20
+ - Update dependency eslint-plugin-jsx-control-statements to v3 (#22)
21
+ - Update dependency eslint-plugin-flowtype to v8 (#21)
22
+ - Update dependency babel-eslint to v10 (#19)
23
+ - Update all non-major dependencies (#16)
24
+ - Pin dependency babel-eslint to v (#15)
2
25
 
3
26
  ## [0.4.1] - 2022-06-02
4
27
 
data/Gemfile CHANGED
@@ -7,7 +7,7 @@ gemspec
7
7
 
8
8
  gem "rake", "~> 13.0"
9
9
  gem "rspec", "~> 3.0"
10
- gem "rubocop", "~> 1.29.1"
10
+ gem "rubocop", "~> 1.32.0"
11
11
  gem "rubocop-performance"
12
12
  gem "rubocop-rails"
13
13
  gem "rubocop-rake"
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rubocop-powerhome (0.4.1)
4
+ rubocop-powerhome (0.5.0)
5
5
  rubocop
6
6
  rubocop-performance
7
7
  rubocop-rails
@@ -11,7 +11,7 @@ PATH
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- activesupport (7.0.3)
14
+ activesupport (7.0.3.1)
15
15
  concurrent-ruby (~> 1.0, >= 1.0.2)
16
16
  i18n (>= 1.6, < 2)
17
17
  minitest (>= 5.1)
@@ -21,10 +21,18 @@ GEM
21
21
  coderay (1.1.3)
22
22
  concurrent-ruby (1.1.10)
23
23
  diff-lcs (1.5.0)
24
- i18n (1.10.0)
24
+ i18n (1.12.0)
25
25
  concurrent-ruby (~> 1.0)
26
+ json (2.6.2)
27
+ license_finder (7.0.1)
28
+ bundler
29
+ rubyzip (>= 1, < 3)
30
+ thor (~> 1.2)
31
+ tomlrb (>= 1.3, < 2.1)
32
+ with_env (= 1.1.0)
33
+ xml-simple (~> 1.1.9)
26
34
  method_source (1.0.0)
27
- minitest (5.15.0)
35
+ minitest (5.16.2)
28
36
  parallel (1.22.1)
29
37
  parser (3.1.2.0)
30
38
  ast (~> 2.4.1)
@@ -34,10 +42,10 @@ GEM
34
42
  pry-byebug (3.9.0)
35
43
  byebug (~> 11.0)
36
44
  pry (~> 0.13.0)
37
- rack (2.2.3.1)
45
+ rack (2.2.4)
38
46
  rainbow (3.1.1)
39
47
  rake (13.0.6)
40
- regexp_parser (2.4.0)
48
+ regexp_parser (2.5.0)
41
49
  rexml (3.2.5)
42
50
  rspec (3.11.0)
43
51
  rspec-core (~> 3.11.0)
@@ -52,43 +60,51 @@ GEM
52
60
  diff-lcs (>= 1.2.0, < 2.0)
53
61
  rspec-support (~> 3.11.0)
54
62
  rspec-support (3.11.0)
55
- rubocop (1.29.1)
63
+ rubocop (1.32.0)
64
+ json (~> 2.3)
56
65
  parallel (~> 1.10)
57
66
  parser (>= 3.1.0.0)
58
67
  rainbow (>= 2.2.2, < 4.0)
59
68
  regexp_parser (>= 1.8, < 3.0)
60
69
  rexml (>= 3.2.5, < 4.0)
61
- rubocop-ast (>= 1.17.0, < 2.0)
70
+ rubocop-ast (>= 1.19.1, < 2.0)
62
71
  ruby-progressbar (~> 1.7)
63
72
  unicode-display_width (>= 1.4.0, < 3.0)
64
- rubocop-ast (1.18.0)
73
+ rubocop-ast (1.19.1)
65
74
  parser (>= 3.1.1.0)
66
- rubocop-performance (1.13.3)
75
+ rubocop-performance (1.14.3)
67
76
  rubocop (>= 1.7.0, < 2.0)
68
77
  rubocop-ast (>= 0.4.0)
69
- rubocop-rails (2.12.2)
78
+ rubocop-rails (2.15.2)
70
79
  activesupport (>= 4.2.0)
71
80
  rack (>= 1.1)
72
81
  rubocop (>= 1.7.0, < 2.0)
73
82
  rubocop-rake (0.6.0)
74
83
  rubocop (~> 1.0)
75
- rubocop-rspec (2.4.0)
76
- rubocop (~> 1.0)
77
- rubocop-ast (>= 1.1.0)
84
+ rubocop-rspec (2.11.1)
85
+ rubocop (~> 1.19)
78
86
  ruby-progressbar (1.11.0)
87
+ rubyzip (2.3.2)
88
+ thor (1.2.1)
89
+ tomlrb (2.0.3)
79
90
  tzinfo (2.0.4)
80
91
  concurrent-ruby (~> 1.0)
81
- unicode-display_width (2.1.0)
92
+ unicode-display_width (2.2.0)
93
+ with_env (1.1.0)
94
+ xml-simple (1.1.9)
95
+ rexml
82
96
 
83
97
  PLATFORMS
84
98
  arm64-darwin-21
99
+ x86_64-darwin-21
85
100
  x86_64-linux
86
101
 
87
102
  DEPENDENCIES
103
+ license_finder (~> 7.0)
88
104
  pry-byebug (= 3.9.0)
89
105
  rake (~> 13.0)
90
106
  rspec (~> 3.0)
91
- rubocop (~> 1.29.1)
107
+ rubocop (~> 1.32.0)
92
108
  rubocop-performance
93
109
  rubocop-powerhome!
94
110
  rubocop-rails
@@ -96,4 +112,4 @@ DEPENDENCIES
96
112
  rubocop-rspec
97
113
 
98
114
  BUNDLED WITH
99
- 2.3.7
115
+ 2.3.14
data/config/default.yml CHANGED
@@ -1,6 +1,8 @@
1
1
  AllCops:
2
2
  TargetRubyVersion: 2.7
3
3
  NewCops: enable
4
+ DisplayStyleGuide: true
5
+ ExtraDetails: true
4
6
 
5
7
  Gemspec/RequiredRubyVersion:
6
8
  Enabled: false
@@ -86,3 +88,8 @@ Style/TrailingCommaInArrayLiteral:
86
88
 
87
89
  Style/TrailingCommaInHashLiteral:
88
90
  EnforcedStyleForMultiline: comma
91
+
92
+ Metrics/BlockLength:
93
+ IgnoredMethods:
94
+ - describe
95
+ - context
@@ -0,0 +1,3 @@
1
+ ---
2
+ - - :inherit_from
3
+ - https://raw.githubusercontent.com/powerhome/oss-guide/master/license_rules.yml
File without changes
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module Powerhome
5
- VERSION = "0.4.1"
5
+ VERSION = "0.5.0"
6
6
  end
7
7
  end
data/mkdocs.yml ADDED
@@ -0,0 +1,9 @@
1
+ site_name: Rubocop Powerhome
2
+ site_description: Gem focused on providing standard Rubocop configuration for Power Home Remodeling ruby apps
3
+ repo_url: https://github.com/powerhome/power_linting
4
+ edit_uri: edit/main/rubocop_powerhome/docs/
5
+ nav:
6
+ - 'Home': 'README.md'
7
+
8
+ plugins:
9
+ - techdocs-core
@@ -42,5 +42,6 @@ Gem::Specification.new do |spec|
42
42
  spec.add_runtime_dependency "rubocop-rspec"
43
43
  spec.metadata["rubygems_mfa_required"] = "true"
44
44
 
45
+ spec.add_development_dependency "license_finder", "~> 7.0"
45
46
  spec.add_development_dependency "pry-byebug", "3.9.0"
46
47
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-powerhome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Carlos Palhares
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2022-06-02 00:00:00.000000000 Z
12
+ date: 2022-07-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rubocop
@@ -81,6 +81,20 @@ dependencies:
81
81
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
+ - !ruby/object:Gem::Dependency
85
+ name: license_finder
86
+ requirement: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - "~>"
89
+ - !ruby/object:Gem::Version
90
+ version: '7.0'
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: '7.0'
84
98
  - !ruby/object:Gem::Dependency
85
99
  name: pry-byebug
86
100
  requirement: !ruby/object:Gem::Requirement
@@ -108,9 +122,10 @@ files:
108
122
  - Gemfile
109
123
  - Gemfile.lock
110
124
  - LICENSE.txt
111
- - README.md
112
125
  - Rakefile
113
126
  - config/default.yml
127
+ - doc/dependency_decisions.yml
128
+ - docs/README.md
114
129
  - lib/rubocop-powerhome.rb
115
130
  - lib/rubocop/cop/naming/view_component.rb
116
131
  - lib/rubocop/cop/naming_cops.rb
@@ -119,6 +134,7 @@ files:
119
134
  - lib/rubocop/powerhome.rb
120
135
  - lib/rubocop/powerhome/inject.rb
121
136
  - lib/rubocop/powerhome/version.rb
137
+ - mkdocs.yml
122
138
  - rubocop-powerhome.gemspec
123
139
  - sig/rubocop/powerhome.rbs
124
140
  homepage: https://github.com/powerhome/power_linting