rfix 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 833069f6ff2f14f202f58686b7cd1625ccacb95ea4c1de0bb280e41599168161
4
- data.tar.gz: ed26d0b83851b80bbde38301149404acab8bf965fbb4fc054295640235ba0ed4
3
+ metadata.gz: 7ac1632bee051f7a05dbe0e2e0888f1893bb9ca3461d7c1a80f931408bc9b33b
4
+ data.tar.gz: acbbb7c686c65dbc8ea94d3469d4ec0e3ffbd4a319115b9067fd5992324005c8
5
5
  SHA512:
6
- metadata.gz: 0567f6d839bbd92f0bbfec2dba9b3e11c3498857980ae8d4a70cb83935549f448dfa1cb78dfd0e7fd5f4c2317c3f1cba16a83c6f21be65bcbfea1c47573bbeda
7
- data.tar.gz: 4527016f321ac25b5418d32a86a5af4154bd21ac89c26ce39dd5d6ea030e74350cc34f0e120c60855df714c86e8e23d5de9f38d3e63ad821301c4bd3db21ec46
6
+ metadata.gz: 91a8dd49f1e6e6f8e2c13a30bc2f7c0f8706ccf4ab2b6e9ebb84909f41736bd0566b92b707715d9c3485753506bf9911ac4eedeeeb4db42ab455ebc2b42c9e42
7
+ data.tar.gz: 66bf68ed5b1516d3477d22fde82209ed96d51875c0d87982c1477197555990906bcc7babbd8b1c74cb57d46dc0a5d63fc7d785de56064151af4e973e1d6f6d8e
@@ -50,9 +50,7 @@ module Rfix
50
50
  end
51
51
 
52
52
  config = RuboCop::ConfigStore.new.tap do |config|
53
- if handler.rubocop_config_path.exist?
54
- config.options_config = handler.rubocop_config_path
55
- end
53
+ config.options_config = RuboCop::ConfigLoader.configuration_file_for(handler.workdir)
56
54
  end
57
55
 
58
56
  Undefined.default(args, handler.paths).then do |paths|
@@ -110,10 +110,6 @@ module Rfix
110
110
  untracked + tracked
111
111
  end
112
112
 
113
- def rubocop_config_path
114
- path.join(RuboCop::ConfigLoader::DOTFILE)
115
- end
116
-
117
113
  def to_s
118
114
  options = {
119
115
  untracked: untracked.map(&:basename).join(", "),
data/lib/rfix/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rfix
4
- VERSION = "2.0.2"
4
+ VERSION = "2.0.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rfix
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Linus Oleander