rfix 2.0.0 → 2.0.1

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: 2a31f67814cde7855a4bd826d9825c942cd11841690fb6f2ffaedaf3e64a04ab
4
- data.tar.gz: 6f9dea0ec8da3c8ce5074ad47d45d56ec0ad0219a958f9ee04db5a1f1cae4e81
3
+ metadata.gz: c43b123d10ebdfca4154ed37a121a87831cb62151080aadf4a01ab980498c25a
4
+ data.tar.gz: 28fbba3d2cf4d8b43e27e813bfbe81dc2aae6334665b51e06cdc87ee78d8422c
5
5
  SHA512:
6
- metadata.gz: '09ef5d35b5bd597e3d0314a5b7d1184991f257bd954f8083b056a563f02e101897bb32ab615f8b0b2e881b7a787651f80d4395dbfd263a9f8460b700ac7d9b81'
7
- data.tar.gz: 9ec45b74b60114e0d65debc6aba9a9569d407705e7e05555e38771a3fad3a3147a0f57d67a1966b165a78c68f935742f6084d72cacf5e2079633935463bfe7ce
6
+ metadata.gz: 8d24bb84a5c76835a7763e6b20a469e1f5d78a431d747c90fb6ceeb027770fc2bbfb992e8d780a2c2a94d9c915fe3f266eabac3d0eb7afb9e3a2c74257d336bd
7
+ data.tar.gz: bb3445743db5353b7ce527902557da50bd7b9ef72081f5b69dc3ff4288fe71cf21ef259a61901a0b8879605322af449f9a82bfb5484679034c09e5e5e6b41427
@@ -49,8 +49,12 @@ module Rfix
49
49
  end
50
50
  end
51
51
 
52
+ config = RuboCop::ConfigStore.new.tap do |config|
53
+ config.for_dir(handler.path)
54
+ end
55
+
52
56
  Undefined.default(args, handler.paths).then do |paths|
53
- RuboCop::CLI::Environment.new(params, RuboCop::ConfigStore.new, paths)
57
+ RuboCop::CLI::Environment.new(params, config, paths)
54
58
  end.then do |env|
55
59
  RuboCop::CLI::Command::ExecuteRunner.new(env).run
56
60
  end
@@ -3,7 +3,7 @@ module Rfix
3
3
  module Command
4
4
  class Origin < Base
5
5
  def call(**params)
6
- define(Rfix::Branch::Main.new, **params)
6
+ define(Rfix::Branch::Main.call, **params)
7
7
  end
8
8
  end
9
9
  end
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.0"
4
+ VERSION = "2.0.1"
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.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Linus Oleander