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 +4 -4
- data/lib/rfix/cli/command/base.rb +5 -1
- data/lib/rfix/cli/command/origin.rb +1 -1
- data/lib/rfix/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c43b123d10ebdfca4154ed37a121a87831cb62151080aadf4a01ab980498c25a
|
4
|
+
data.tar.gz: 28fbba3d2cf4d8b43e27e813bfbe81dc2aae6334665b51e06cdc87ee78d8422c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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,
|
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
|
data/lib/rfix/version.rb
CHANGED