rubocop-checkstyle_formatter 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -40,10 +40,10 @@ module Rubocop
|
|
40
40
|
# TODO be able to configure severity mapping
|
41
41
|
def to_checkstyle_severity(rubocop_severity)
|
42
42
|
case rubocop_severity
|
43
|
-
when :fatal, :error; '
|
44
|
-
when :warning; '
|
45
|
-
when :convention, :refactor; '
|
46
|
-
else; '
|
43
|
+
when :fatal, :error; 'error'
|
44
|
+
when :warning; 'warning'
|
45
|
+
when :convention, :refactor; 'info'
|
46
|
+
else; 'warning'
|
47
47
|
end
|
48
48
|
end
|
49
49
|
end
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |gem|
|
6
6
|
gem.name = 'rubocop-checkstyle_formatter'
|
7
|
-
gem.version = '0.0.
|
7
|
+
gem.version = '0.0.4'
|
8
8
|
gem.authors = ['Eito Katagiri']
|
9
9
|
gem.email = ['eitoball@gmail.com']
|
10
10
|
gem.description = %q{A formatter for rubocop that outputs in checkstyle format}
|