rubocop_auto_corrector 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -1
- data/lib/rubocop_auto_corrector/cop_finder.rb +2 -0
- data/lib/rubocop_auto_corrector/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4e67b9bf9193c7cd0bf3567b5b2a013d7b7f567c037ab5b24da012696e7386e
|
4
|
+
data.tar.gz: 44506fb91cfc0870753e367ed4e5cfa20ab91ca335c51e59fa6fc15cf58acc31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d32a74a30272d7aef5ac683ab8c5c1fb6f4f3950a722abb89be76e2b7038350daa7181e3896f68d3b907156a77009cdaf516132501288fd9da58f1dfce1fb87c
|
7
|
+
data.tar.gz: 37b79cf33ae2054e3dcb738c998ce7e60a843ecfa4aa2055e4e57020c8828cba13d0ecbde337d83d509a8e982998930f786064ec1accd8d73b528cd1d892dd4b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
## master
|
2
|
-
[full changelog](http://github.com/sue445/rubocop_auto_corrector/compare/v0.4.
|
2
|
+
[full changelog](http://github.com/sue445/rubocop_auto_corrector/compare/v0.4.1...master)
|
3
|
+
|
4
|
+
## v0.4.1
|
5
|
+
[full changelog](http://github.com/sue445/rubocop_auto_corrector/compare/v0.4.0...v0.4.1)
|
6
|
+
|
7
|
+
* Fixed. `auto_correctable?` doesn't work when cop has `.support_autocorrect?` and doesn't have `#autocorrect`
|
8
|
+
* https://github.com/sue445/rubocop_auto_corrector/pull/35
|
3
9
|
|
4
10
|
## v0.4.0
|
5
11
|
[full changelog](http://github.com/sue445/rubocop_auto_corrector/compare/v0.3.0...v0.4.0)
|
@@ -17,6 +17,8 @@ module RubocopAutoCorrector
|
|
17
17
|
require '#{gem_name}'
|
18
18
|
rescue LoadError
|
19
19
|
end
|
20
|
+
|
21
|
+
return #{cop_class_name}.support_autocorrect? if #{cop_class_name}.respond_to?(:support_autocorrect?)
|
20
22
|
#{cop_class_name}.new.respond_to?(:autocorrect)
|
21
23
|
RUBY
|
22
24
|
rescue NameError
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop_auto_corrector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- sue445
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|