rubocop-checkstyle_formatter 0.0.3 → 0.0.4

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.
@@ -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; 'high'
44
- when :warning; 'medium'
45
- when :convention, :refactor; 'low'
46
- else; 'medium'
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.3'
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}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-checkstyle_formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: