reek 6.1.2 → 6.1.4

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: a6b704ad454fc35e79cd642ef2083d3a4f03f6222979af19914c8858d2c6afb1
4
- data.tar.gz: 8dc0085544cda71395b74e02f3071a25a2f74c803fff69fae0beda0758c0c26f
3
+ metadata.gz: 75ed5064f626b7d8ae34f869ee17d53960804381fb73db707c866202bb71490a
4
+ data.tar.gz: 07f819f93d3ac3f84deb0a0a113dfbc3136e70f9b097f72e1c535f4352fb8b7f
5
5
  SHA512:
6
- metadata.gz: 9f024fbd405935132f011d33d02e4361c94f2ac10127ef1dba6ce8d9590bdaa66d30e77569d2622002dfceae5a60bbf9f32b62619dd73dd6d9b2825a2ddaaa8c
7
- data.tar.gz: 128a19e5c080e356fe578faa480813bcd3f063afb55b0afb39318157e31f67536487f75d7cb9ddb109abb09bc1cd60d653bbe20d176c9a346a949fc836922c76
6
+ metadata.gz: 71313200963b12c5c2edb8cd84d5ee4ea8fd99241c1fa0f6c6329e332ba41538b5a11990b54f24a136a748bc2492fd87f5ffcd78ef358bdd4f1420970bd2915b
7
+ data.tar.gz: 2f39a6f2ea9cf9a4d8eb629bc5542883ecccfb8811c1fc062a2c0aa8deb41ceacd47de2a76a2f9cb8f6b0e6b56da63551f403edc14e55cd35ae7bac62822a2b3
@@ -22,7 +22,7 @@ jobs:
22
22
 
23
23
  strategy:
24
24
  matrix:
25
- ruby: [2.6, 2.7, "3.0", "3.1", jruby-9.3]
25
+ ruby: ["2.6", "2.7", "3.0", "3.1", "3.2", "jruby-9.3", "jruby-9.4"]
26
26
 
27
27
  steps:
28
28
  - uses: actions/checkout@v3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Change log
2
2
 
3
+ ## 6.1.4 (2023-01-13)
4
+
5
+ * (mvz) Update parser dependency to the 3.2.x series
6
+
7
+ ## 6.1.3 (2022-12-29)
8
+
9
+ * (gonubana) Allow failing safely when trying to recursively find a configuration
10
+
3
11
  ## 6.1.2 (2022-11-21)
4
12
 
5
13
  * (mvz) Add support for keyword nil arguments
data/Gemfile CHANGED
@@ -13,10 +13,10 @@ group :development do
13
13
  gem 'rake', '~> 13.0'
14
14
  gem 'rspec', '~> 3.0'
15
15
  gem 'rspec-benchmark', '~> 0.6.0'
16
- gem 'rubocop', '~> 1.39.0'
16
+ gem 'rubocop', '~> 1.43.0'
17
17
  gem 'rubocop-performance', '~> 1.15.0'
18
- gem 'rubocop-rspec', '~> 2.15.0'
19
- gem 'simplecov', ['>= 0.18.0', '< 0.22.0']
18
+ gem 'rubocop-rspec', '~> 2.17.0'
19
+ gem 'simplecov', '>= 0.18.0', '< 0.23.0'
20
20
  gem 'yard', '~> 0.9.5'
21
21
 
22
22
  platforms :mri do
@@ -87,7 +87,8 @@ module Reek
87
87
  #
88
88
  # @quality :reek:FeatureEnvy
89
89
  def find_in_dir(dir)
90
- dir.children.detect { |item| item.file? && item.basename.to_s == DEFAULT_FILE_NAME }
90
+ file = dir + DEFAULT_FILE_NAME
91
+ file if file.file?
91
92
  end
92
93
  end
93
94
  end
data/lib/reek/version.rb CHANGED
@@ -8,6 +8,6 @@ module Reek
8
8
  # @public
9
9
  module Version
10
10
  # @public
11
- STRING = '6.1.2'
11
+ STRING = '6.1.4'
12
12
  end
13
13
  end
data/reek.gemspec CHANGED
@@ -32,6 +32,6 @@ Gem::Specification.new do |spec|
32
32
  }
33
33
 
34
34
  spec.add_runtime_dependency 'kwalify', '~> 0.7.0'
35
- spec.add_runtime_dependency 'parser', '~> 3.1.0'
35
+ spec.add_runtime_dependency 'parser', '~> 3.2.0'
36
36
  spec.add_runtime_dependency 'rainbow', '>= 2.0', '< 4.0'
37
37
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reek
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.1.2
4
+ version: 6.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Rutherford
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2022-11-21 00:00:00.000000000 Z
14
+ date: 2023-01-14 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: kwalify
@@ -33,14 +33,14 @@ dependencies:
33
33
  requirements:
34
34
  - - "~>"
35
35
  - !ruby/object:Gem::Version
36
- version: 3.1.0
36
+ version: 3.2.0
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
41
  - - "~>"
42
42
  - !ruby/object:Gem::Version
43
- version: 3.1.0
43
+ version: 3.2.0
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: rainbow
46
46
  requirement: !ruby/object:Gem::Requirement
@@ -263,7 +263,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
263
263
  - !ruby/object:Gem::Version
264
264
  version: '0'
265
265
  requirements: []
266
- rubygems_version: 3.3.7
266
+ rubygems_version: 3.4.1
267
267
  signing_key:
268
268
  specification_version: 4
269
269
  summary: Code smell detector for Ruby