rubocop-checkstyle_formatter 0.3.0 → 0.4.0

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.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +13 -0
  3. data/.rubocop_todo.yml +24 -0
  4. data/.travis.yml +10 -17
  5. data/Appraisals +7 -11
  6. data/gemfiles/rubocop_0.40.0.gemfile.lock +11 -10
  7. data/gemfiles/rubocop_0.41.2.gemfile.lock +11 -10
  8. data/gemfiles/rubocop_0.42.0.gemfile.lock +11 -10
  9. data/gemfiles/{rubocop_0.30.1.gemfile → rubocop_0.43.0.gemfile} +1 -1
  10. data/gemfiles/{rubocop_0.39.0.gemfile.lock → rubocop_0.43.0.gemfile.lock} +14 -13
  11. data/gemfiles/{rubocop_0.32.1.gemfile → rubocop_0.44.1.gemfile} +1 -1
  12. data/gemfiles/{rubocop_0.38.0.gemfile.lock → rubocop_0.44.1.gemfile.lock} +14 -13
  13. data/gemfiles/{rubocop_0.31.0.gemfile → rubocop_0.45.0.gemfile} +1 -1
  14. data/gemfiles/{rubocop_0.36.0.gemfile.lock → rubocop_0.45.0.gemfile.lock} +15 -12
  15. data/gemfiles/{rubocop_0.33.0.gemfile → rubocop_0.46.0.gemfile} +1 -1
  16. data/gemfiles/{rubocop_0.37.2.gemfile.lock → rubocop_0.46.0.gemfile.lock} +15 -14
  17. data/gemfiles/rubocop_0.47.1.gemfile +7 -0
  18. data/gemfiles/rubocop_0.47.1.gemfile.lock +57 -0
  19. data/gemfiles/rubocop_0.48.1.gemfile +7 -0
  20. data/gemfiles/rubocop_0.48.1.gemfile.lock +57 -0
  21. data/lib/rubocop/formatter/checkstyle_formatter.rb +15 -11
  22. data/rubocop-checkstyle_formatter.gemspec +8 -6
  23. data/spec/rubocop/formatter/checkstyle_formatter_spec.rb +24 -4
  24. data/spec/spec_helper.rb +1 -1
  25. metadata +19 -25
  26. data/gemfiles/rubocop_0.30.1.gemfile.lock +0 -57
  27. data/gemfiles/rubocop_0.31.0.gemfile.lock +0 -57
  28. data/gemfiles/rubocop_0.32.1.gemfile.lock +0 -57
  29. data/gemfiles/rubocop_0.33.0.gemfile.lock +0 -57
  30. data/gemfiles/rubocop_0.34.2.gemfile +0 -7
  31. data/gemfiles/rubocop_0.34.2.gemfile.lock +0 -57
  32. data/gemfiles/rubocop_0.35.1.gemfile +0 -7
  33. data/gemfiles/rubocop_0.35.1.gemfile.lock +0 -59
  34. data/gemfiles/rubocop_0.36.0.gemfile +0 -7
  35. data/gemfiles/rubocop_0.37.2.gemfile +0 -7
  36. data/gemfiles/rubocop_0.38.0.gemfile +0 -7
  37. data/gemfiles/rubocop_0.39.0.gemfile +0 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d70cc17847abe7565fe654a07f6408fa8bfcd3b7
4
- data.tar.gz: f3cbef0e6fe00092103d8e8cd2ed9e153ba9b802
3
+ metadata.gz: c9142644e3a8ce56fe52f4189b0128650e1134f0
4
+ data.tar.gz: 50d79b457b73d6c4ede3207c0c1144122ee6925f
5
5
  SHA512:
6
- metadata.gz: 272b245b4b05325e3f03714965302318a7b23a947db28fabbe877a96c09d396d002cf8a65e30494fbe0069da622e17f40a6205ac80c55fdbccc7e1114ba57809
7
- data.tar.gz: 16524e4b481d3b6adec64cb40d9eb49f22e0c6a6515c3372892178cc2ee8cdff972afdf90a8c4fcd991b4a510e3e768635964ac3266b854887adb54421635aa2
6
+ metadata.gz: dd1abd317c422ef4fd0bcd5939a422ade614b7f95bc176d144d54a79ead05d6d8655bf673ef22374fc1264c9432ab32e2bc2b628b53cf41ba8d84e1d30e2b473
7
+ data.tar.gz: 68be8fa4b1aa1960bb803ff5721798d06085af862e3c0a9363ff4470ae67e192f217557874d48010086b59d3b93b7b227b9b5c47226ce72da2ed5119a5e43d90
@@ -0,0 +1,13 @@
1
+ inherit_from: .rubocop_todo.yml
2
+
3
+ AllCops:
4
+ DisplayCopNames: true
5
+ TargetRubyVersion: 2.2
6
+
7
+ Style/FrozenStringLiteralComment:
8
+ SupportedStyles:
9
+ - when_needed
10
+
11
+ Style/FileName:
12
+ Exclude:
13
+ - Appraisals
@@ -0,0 +1,24 @@
1
+ # Offense count: 1
2
+ # Configuration parameters: CountComments, ExcludedMethods.
3
+ Metrics/BlockLength:
4
+ Max: 42
5
+
6
+ # Offense count: 9
7
+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
8
+ # URISchemes: http, https
9
+ Metrics/LineLength:
10
+ Max: 111
11
+
12
+ # Offense count: 1
13
+ # Cop supports --auto-correct.
14
+ # Configuration parameters: Keywords.
15
+ # Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW
16
+ Style/CommentAnnotation:
17
+ Exclude:
18
+ - 'lib/rubocop/formatter/checkstyle_formatter.rb'
19
+
20
+ # Offense count: 2
21
+ # Cop supports --auto-correct.
22
+ Style/CommentIndentation:
23
+ Exclude:
24
+ - 'lib/rubocop/formatter/checkstyle_formatter.rb'
@@ -2,31 +2,24 @@ sudo: false
2
2
  cache: bundler
3
3
  language: ruby
4
4
  rvm:
5
- - 2.0.0
6
- - 2.1
7
- - 2.2
8
- - 2.3.0
5
+ - 2.2.7
6
+ - 2.3.4
7
+ - 2.4.1
9
8
  - ruby-head
10
- - jruby-9.0.1.0
11
- - rbx-3
9
+ - jruby-9.1.5.0
12
10
  gemfile:
13
- - gemfiles/rubocop_0.30.1.gemfile
14
- - gemfiles/rubocop_0.31.0.gemfile
15
- - gemfiles/rubocop_0.32.1.gemfile
16
- - gemfiles/rubocop_0.33.0.gemfile
17
- - gemfiles/rubocop_0.34.2.gemfile
18
- - gemfiles/rubocop_0.35.1.gemfile
19
- - gemfiles/rubocop_0.36.0.gemfile
20
- - gemfiles/rubocop_0.37.2.gemfile
21
- - gemfiles/rubocop_0.38.0.gemfile
22
- - gemfiles/rubocop_0.39.0.gemfile
23
11
  - gemfiles/rubocop_0.40.0.gemfile
24
12
  - gemfiles/rubocop_0.41.2.gemfile
25
13
  - gemfiles/rubocop_0.42.0.gemfile
14
+ - gemfiles/rubocop_0.43.0.gemfile
15
+ - gemfiles/rubocop_0.44.1.gemfile
16
+ - gemfiles/rubocop_0.45.0.gemfile
17
+ - gemfiles/rubocop_0.46.0.gemfile
18
+ - gemfiles/rubocop_0.47.1.gemfile
19
+ - gemfiles/rubocop_0.48.1.gemfile
26
20
  matrix:
27
21
  allow_failures:
28
22
  - rvm: ruby-head
29
- - rvm: rbx-3
30
23
  fast_finish: true
31
24
  before_install: gem update --remote bundler
32
25
  install:
data/Appraisals CHANGED
@@ -1,17 +1,13 @@
1
1
  [
2
- '0.30.1',
3
- '0.31.0',
4
- '0.32.1',
5
- '0.33.0',
6
- '0.34.2',
7
- '0.35.1',
8
- '0.36.0',
9
- '0.37.2',
10
- '0.38.0',
11
- '0.39.0',
12
2
  '0.40.0',
13
3
  '0.41.2',
14
- '0.42.0'
4
+ '0.42.0',
5
+ '0.43.0',
6
+ '0.44.1',
7
+ '0.45.0',
8
+ '0.46.0',
9
+ '0.47.1',
10
+ '0.48.1'
15
11
  ].each do |version|
16
12
  appraise "rubocop-#{version}" do
17
13
  gem 'rubocop', version
@@ -1,8 +1,8 @@
1
1
  PATH
2
- remote: ../
2
+ remote: ..
3
3
  specs:
4
- rubocop-checkstyle_formatter (0.2.0)
5
- rubocop (>= 0.20.1)
4
+ rubocop-checkstyle_formatter (0.3.0)
5
+ rubocop (>= 0.30.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -12,17 +12,18 @@ GEM
12
12
  rake
13
13
  thor (>= 0.14.0)
14
14
  ast (2.3.0)
15
- diff-lcs (1.2.5)
16
- parser (2.3.1.2)
15
+ diff-lcs (1.3)
16
+ parser (2.4.0.0)
17
17
  ast (~> 2.2)
18
18
  powerpack (0.1.1)
19
- rainbow (2.1.0)
19
+ rainbow (2.2.2)
20
+ rake
20
21
  rake (10.5.0)
21
22
  rspec (3.5.0)
22
23
  rspec-core (~> 3.5.0)
23
24
  rspec-expectations (~> 3.5.0)
24
25
  rspec-mocks (~> 3.5.0)
25
- rspec-core (3.5.2)
26
+ rspec-core (3.5.4)
26
27
  rspec-support (~> 3.5.0)
27
28
  rspec-expectations (3.5.0)
28
29
  diff-lcs (>= 1.2.0, < 2.0)
@@ -38,8 +39,8 @@ GEM
38
39
  ruby-progressbar (~> 1.7)
39
40
  unicode-display_width (~> 1.0, >= 1.0.1)
40
41
  ruby-progressbar (1.8.1)
41
- thor (0.19.1)
42
- unicode-display_width (1.1.0)
42
+ thor (0.19.4)
43
+ unicode-display_width (1.2.1)
43
44
 
44
45
  PLATFORMS
45
46
  ruby
@@ -53,4 +54,4 @@ DEPENDENCIES
53
54
  rubocop-checkstyle_formatter!
54
55
 
55
56
  BUNDLED WITH
56
- 1.12.5
57
+ 1.14.6
@@ -1,8 +1,8 @@
1
1
  PATH
2
- remote: ../
2
+ remote: ..
3
3
  specs:
4
- rubocop-checkstyle_formatter (0.2.0)
5
- rubocop (>= 0.20.1)
4
+ rubocop-checkstyle_formatter (0.3.0)
5
+ rubocop (>= 0.30.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -12,17 +12,18 @@ GEM
12
12
  rake
13
13
  thor (>= 0.14.0)
14
14
  ast (2.3.0)
15
- diff-lcs (1.2.5)
16
- parser (2.3.1.2)
15
+ diff-lcs (1.3)
16
+ parser (2.4.0.0)
17
17
  ast (~> 2.2)
18
18
  powerpack (0.1.1)
19
- rainbow (2.1.0)
19
+ rainbow (2.2.2)
20
+ rake
20
21
  rake (10.5.0)
21
22
  rspec (3.5.0)
22
23
  rspec-core (~> 3.5.0)
23
24
  rspec-expectations (~> 3.5.0)
24
25
  rspec-mocks (~> 3.5.0)
25
- rspec-core (3.5.2)
26
+ rspec-core (3.5.4)
26
27
  rspec-support (~> 3.5.0)
27
28
  rspec-expectations (3.5.0)
28
29
  diff-lcs (>= 1.2.0, < 2.0)
@@ -38,8 +39,8 @@ GEM
38
39
  ruby-progressbar (~> 1.7)
39
40
  unicode-display_width (~> 1.0, >= 1.0.1)
40
41
  ruby-progressbar (1.8.1)
41
- thor (0.19.1)
42
- unicode-display_width (1.1.0)
42
+ thor (0.19.4)
43
+ unicode-display_width (1.2.1)
43
44
 
44
45
  PLATFORMS
45
46
  ruby
@@ -53,4 +54,4 @@ DEPENDENCIES
53
54
  rubocop-checkstyle_formatter!
54
55
 
55
56
  BUNDLED WITH
56
- 1.12.5
57
+ 1.14.6
@@ -1,8 +1,8 @@
1
1
  PATH
2
- remote: ../
2
+ remote: ..
3
3
  specs:
4
- rubocop-checkstyle_formatter (0.2.0)
5
- rubocop (>= 0.20.1)
4
+ rubocop-checkstyle_formatter (0.3.0)
5
+ rubocop (>= 0.30.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -12,17 +12,18 @@ GEM
12
12
  rake
13
13
  thor (>= 0.14.0)
14
14
  ast (2.3.0)
15
- diff-lcs (1.2.5)
16
- parser (2.3.1.2)
15
+ diff-lcs (1.3)
16
+ parser (2.4.0.0)
17
17
  ast (~> 2.2)
18
18
  powerpack (0.1.1)
19
- rainbow (2.1.0)
19
+ rainbow (2.2.2)
20
+ rake
20
21
  rake (10.5.0)
21
22
  rspec (3.5.0)
22
23
  rspec-core (~> 3.5.0)
23
24
  rspec-expectations (~> 3.5.0)
24
25
  rspec-mocks (~> 3.5.0)
25
- rspec-core (3.5.2)
26
+ rspec-core (3.5.4)
26
27
  rspec-support (~> 3.5.0)
27
28
  rspec-expectations (3.5.0)
28
29
  diff-lcs (>= 1.2.0, < 2.0)
@@ -38,8 +39,8 @@ GEM
38
39
  ruby-progressbar (~> 1.7)
39
40
  unicode-display_width (~> 1.0, >= 1.0.1)
40
41
  ruby-progressbar (1.8.1)
41
- thor (0.19.1)
42
- unicode-display_width (1.1.0)
42
+ thor (0.19.4)
43
+ unicode-display_width (1.2.1)
43
44
 
44
45
  PLATFORMS
45
46
  ruby
@@ -53,4 +54,4 @@ DEPENDENCIES
53
54
  rubocop-checkstyle_formatter!
54
55
 
55
56
  BUNDLED WITH
56
- 1.12.5
57
+ 1.14.6
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rubocop", "0.30.1"
5
+ gem "rubocop", "0.43.0"
6
6
 
7
7
  gemspec :path => "../"
@@ -1,8 +1,8 @@
1
1
  PATH
2
- remote: ../
2
+ remote: ..
3
3
  specs:
4
- rubocop-checkstyle_formatter (0.2.0)
5
- rubocop (>= 0.20.1)
4
+ rubocop-checkstyle_formatter (0.3.0)
5
+ rubocop (>= 0.30.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -12,17 +12,18 @@ GEM
12
12
  rake
13
13
  thor (>= 0.14.0)
14
14
  ast (2.3.0)
15
- diff-lcs (1.2.5)
16
- parser (2.3.1.2)
15
+ diff-lcs (1.3)
16
+ parser (2.4.0.0)
17
17
  ast (~> 2.2)
18
18
  powerpack (0.1.1)
19
- rainbow (2.1.0)
19
+ rainbow (2.2.2)
20
+ rake
20
21
  rake (10.5.0)
21
22
  rspec (3.5.0)
22
23
  rspec-core (~> 3.5.0)
23
24
  rspec-expectations (~> 3.5.0)
24
25
  rspec-mocks (~> 3.5.0)
25
- rspec-core (3.5.2)
26
+ rspec-core (3.5.4)
26
27
  rspec-support (~> 3.5.0)
27
28
  rspec-expectations (3.5.0)
28
29
  diff-lcs (>= 1.2.0, < 2.0)
@@ -31,15 +32,15 @@ GEM
31
32
  diff-lcs (>= 1.2.0, < 2.0)
32
33
  rspec-support (~> 3.5.0)
33
34
  rspec-support (3.5.0)
34
- rubocop (0.39.0)
35
- parser (>= 2.3.0.7, < 3.0)
35
+ rubocop (0.43.0)
36
+ parser (>= 2.3.1.1, < 3.0)
36
37
  powerpack (~> 0.1)
37
38
  rainbow (>= 1.99.1, < 3.0)
38
39
  ruby-progressbar (~> 1.7)
39
40
  unicode-display_width (~> 1.0, >= 1.0.1)
40
41
  ruby-progressbar (1.8.1)
41
- thor (0.19.1)
42
- unicode-display_width (1.1.0)
42
+ thor (0.19.4)
43
+ unicode-display_width (1.2.1)
43
44
 
44
45
  PLATFORMS
45
46
  ruby
@@ -49,8 +50,8 @@ DEPENDENCIES
49
50
  bundler (~> 1.3)
50
51
  rake (~> 10.1)
51
52
  rspec (~> 3.5.0)
52
- rubocop (= 0.39.0)
53
+ rubocop (= 0.43.0)
53
54
  rubocop-checkstyle_formatter!
54
55
 
55
56
  BUNDLED WITH
56
- 1.12.5
57
+ 1.14.6
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rubocop", "0.32.1"
5
+ gem "rubocop", "0.44.1"
6
6
 
7
7
  gemspec :path => "../"
@@ -1,8 +1,8 @@
1
1
  PATH
2
- remote: ../
2
+ remote: ..
3
3
  specs:
4
- rubocop-checkstyle_formatter (0.2.0)
5
- rubocop (>= 0.20.1)
4
+ rubocop-checkstyle_formatter (0.3.0)
5
+ rubocop (>= 0.30.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -12,17 +12,18 @@ GEM
12
12
  rake
13
13
  thor (>= 0.14.0)
14
14
  ast (2.3.0)
15
- diff-lcs (1.2.5)
16
- parser (2.3.1.2)
15
+ diff-lcs (1.3)
16
+ parser (2.4.0.0)
17
17
  ast (~> 2.2)
18
18
  powerpack (0.1.1)
19
- rainbow (2.1.0)
19
+ rainbow (2.2.2)
20
+ rake
20
21
  rake (10.5.0)
21
22
  rspec (3.5.0)
22
23
  rspec-core (~> 3.5.0)
23
24
  rspec-expectations (~> 3.5.0)
24
25
  rspec-mocks (~> 3.5.0)
25
- rspec-core (3.5.2)
26
+ rspec-core (3.5.4)
26
27
  rspec-support (~> 3.5.0)
27
28
  rspec-expectations (3.5.0)
28
29
  diff-lcs (>= 1.2.0, < 2.0)
@@ -31,15 +32,15 @@ GEM
31
32
  diff-lcs (>= 1.2.0, < 2.0)
32
33
  rspec-support (~> 3.5.0)
33
34
  rspec-support (3.5.0)
34
- rubocop (0.38.0)
35
- parser (>= 2.3.0.6, < 3.0)
35
+ rubocop (0.44.1)
36
+ parser (>= 2.3.1.1, < 3.0)
36
37
  powerpack (~> 0.1)
37
38
  rainbow (>= 1.99.1, < 3.0)
38
39
  ruby-progressbar (~> 1.7)
39
40
  unicode-display_width (~> 1.0, >= 1.0.1)
40
41
  ruby-progressbar (1.8.1)
41
- thor (0.19.1)
42
- unicode-display_width (1.1.0)
42
+ thor (0.19.4)
43
+ unicode-display_width (1.2.1)
43
44
 
44
45
  PLATFORMS
45
46
  ruby
@@ -49,8 +50,8 @@ DEPENDENCIES
49
50
  bundler (~> 1.3)
50
51
  rake (~> 10.1)
51
52
  rspec (~> 3.5.0)
52
- rubocop (= 0.38.0)
53
+ rubocop (= 0.44.1)
53
54
  rubocop-checkstyle_formatter!
54
55
 
55
56
  BUNDLED WITH
56
- 1.12.5
57
+ 1.14.6
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rubocop", "0.31.0"
5
+ gem "rubocop", "0.45.0"
6
6
 
7
7
  gemspec :path => "../"
@@ -1,8 +1,8 @@
1
1
  PATH
2
- remote: ../
2
+ remote: ..
3
3
  specs:
4
- rubocop-checkstyle_formatter (0.2.0)
5
- rubocop (>= 0.20.1)
4
+ rubocop-checkstyle_formatter (0.3.0)
5
+ rubocop (>= 0.30.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -12,17 +12,18 @@ GEM
12
12
  rake
13
13
  thor (>= 0.14.0)
14
14
  ast (2.3.0)
15
- diff-lcs (1.2.5)
16
- parser (2.3.1.2)
15
+ diff-lcs (1.3)
16
+ parser (2.4.0.0)
17
17
  ast (~> 2.2)
18
18
  powerpack (0.1.1)
19
- rainbow (2.1.0)
19
+ rainbow (2.2.2)
20
+ rake
20
21
  rake (10.5.0)
21
22
  rspec (3.5.0)
22
23
  rspec-core (~> 3.5.0)
23
24
  rspec-expectations (~> 3.5.0)
24
25
  rspec-mocks (~> 3.5.0)
25
- rspec-core (3.5.2)
26
+ rspec-core (3.5.4)
26
27
  rspec-support (~> 3.5.0)
27
28
  rspec-expectations (3.5.0)
28
29
  diff-lcs (>= 1.2.0, < 2.0)
@@ -31,13 +32,15 @@ GEM
31
32
  diff-lcs (>= 1.2.0, < 2.0)
32
33
  rspec-support (~> 3.5.0)
33
34
  rspec-support (3.5.0)
34
- rubocop (0.36.0)
35
- parser (>= 2.3.0.0, < 3.0)
35
+ rubocop (0.45.0)
36
+ parser (>= 2.3.1.1, < 3.0)
36
37
  powerpack (~> 0.1)
37
38
  rainbow (>= 1.99.1, < 3.0)
38
39
  ruby-progressbar (~> 1.7)
40
+ unicode-display_width (~> 1.0, >= 1.0.1)
39
41
  ruby-progressbar (1.8.1)
40
- thor (0.19.1)
42
+ thor (0.19.4)
43
+ unicode-display_width (1.2.1)
41
44
 
42
45
  PLATFORMS
43
46
  ruby
@@ -47,8 +50,8 @@ DEPENDENCIES
47
50
  bundler (~> 1.3)
48
51
  rake (~> 10.1)
49
52
  rspec (~> 3.5.0)
50
- rubocop (= 0.36.0)
53
+ rubocop (= 0.45.0)
51
54
  rubocop-checkstyle_formatter!
52
55
 
53
56
  BUNDLED WITH
54
- 1.12.5
57
+ 1.14.6