rubocop-checkstyle_formatter 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +23 -24
  3. data/Appraisals +13 -11
  4. data/README.md +2 -2
  5. data/gemfiles/rubocop_0.30.1.gemfile.lock +17 -9
  6. data/gemfiles/{rubocop_0.20.1.gemfile → rubocop_0.31.0.gemfile} +1 -1
  7. data/gemfiles/rubocop_0.31.0.gemfile.lock +57 -0
  8. data/gemfiles/{rubocop_0.22.0.gemfile → rubocop_0.32.1.gemfile} +1 -1
  9. data/gemfiles/rubocop_0.32.1.gemfile.lock +57 -0
  10. data/gemfiles/{rubocop_0.21.0.gemfile → rubocop_0.33.0.gemfile} +1 -1
  11. data/gemfiles/rubocop_0.33.0.gemfile.lock +57 -0
  12. data/gemfiles/{rubocop_0.23.0.gemfile → rubocop_0.34.2.gemfile} +1 -1
  13. data/gemfiles/rubocop_0.34.2.gemfile.lock +57 -0
  14. data/gemfiles/rubocop_0.35.1.gemfile +7 -0
  15. data/gemfiles/rubocop_0.35.1.gemfile.lock +59 -0
  16. data/gemfiles/rubocop_0.36.0.gemfile +7 -0
  17. data/gemfiles/rubocop_0.36.0.gemfile.lock +54 -0
  18. data/gemfiles/rubocop_0.37.2.gemfile +7 -0
  19. data/gemfiles/rubocop_0.37.2.gemfile.lock +56 -0
  20. data/gemfiles/rubocop_0.38.0.gemfile +7 -0
  21. data/gemfiles/rubocop_0.38.0.gemfile.lock +56 -0
  22. data/gemfiles/rubocop_0.39.0.gemfile +7 -0
  23. data/gemfiles/rubocop_0.39.0.gemfile.lock +56 -0
  24. data/gemfiles/rubocop_0.40.0.gemfile +7 -0
  25. data/gemfiles/rubocop_0.40.0.gemfile.lock +56 -0
  26. data/gemfiles/rubocop_0.41.2.gemfile +7 -0
  27. data/gemfiles/rubocop_0.41.2.gemfile.lock +56 -0
  28. data/gemfiles/rubocop_0.42.0.gemfile +7 -0
  29. data/gemfiles/rubocop_0.42.0.gemfile.lock +56 -0
  30. data/lib/rubocop/formatter/checkstyle_formatter.rb +1 -0
  31. data/rubocop-checkstyle_formatter.gemspec +3 -3
  32. metadata +31 -27
  33. data/gemfiles/rubocop_0.20.1.gemfile.lock +0 -50
  34. data/gemfiles/rubocop_0.21.0.gemfile.lock +0 -50
  35. data/gemfiles/rubocop_0.22.0.gemfile.lock +0 -50
  36. data/gemfiles/rubocop_0.23.0.gemfile.lock +0 -50
  37. data/gemfiles/rubocop_0.24.0.gemfile +0 -7
  38. data/gemfiles/rubocop_0.24.0.gemfile.lock +0 -50
  39. data/gemfiles/rubocop_0.25.0.gemfile +0 -7
  40. data/gemfiles/rubocop_0.25.0.gemfile.lock +0 -48
  41. data/gemfiles/rubocop_0.26.1.gemfile +0 -7
  42. data/gemfiles/rubocop_0.26.1.gemfile.lock +0 -51
  43. data/gemfiles/rubocop_0.27.1.gemfile +0 -7
  44. data/gemfiles/rubocop_0.27.1.gemfile.lock +0 -51
  45. data/gemfiles/rubocop_0.28.0.gemfile +0 -7
  46. data/gemfiles/rubocop_0.28.0.gemfile.lock +0 -51
  47. data/gemfiles/rubocop_0.29.1.gemfile +0 -7
  48. data/gemfiles/rubocop_0.29.1.gemfile.lock +0 -49
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ddaf0ea9440c4c124c00d85e427c24e79a6e597b
4
- data.tar.gz: 0b60f04ae76801790dfee9473f936663be341cc0
3
+ metadata.gz: d70cc17847abe7565fe654a07f6408fa8bfcd3b7
4
+ data.tar.gz: f3cbef0e6fe00092103d8e8cd2ed9e153ba9b802
5
5
  SHA512:
6
- metadata.gz: 17184e9c506338b56e06db80bda1c1d6d78e2d795c510ff527293f55973c1c2e1a9619cc7524eb0717cdf6624860b87667246da54f7875886dac1bf8c600b8ec
7
- data.tar.gz: 50f2b1afb2c3b614c8fbf32b7daed1cee894b83db24787d13ae43f5993664ac6ff018450c746e02e4f8e8f1a9a6fa6a7bb9de8474a15862d1b20bed3398c8c16
6
+ metadata.gz: 272b245b4b05325e3f03714965302318a7b23a947db28fabbe877a96c09d396d002cf8a65e30494fbe0069da622e17f40a6205ac80c55fdbccc7e1114ba57809
7
+ data.tar.gz: 16524e4b481d3b6adec64cb40d9eb49f22e0c6a6515c3372892178cc2ee8cdff972afdf90a8c4fcd991b4a510e3e768635964ac3266b854887adb54421635aa2
@@ -1,36 +1,35 @@
1
+ sudo: false
2
+ cache: bundler
1
3
  language: ruby
2
4
  rvm:
3
- - 1.9.3
4
5
  - 2.0.0
5
- - 2.1.6
6
- - 2.2.2
6
+ - 2.1
7
+ - 2.2
8
+ - 2.3.0
7
9
  - ruby-head
8
- - jruby-19mode
9
- - rbx-2
10
+ - jruby-9.0.1.0
11
+ - rbx-3
10
12
  gemfile:
11
- - gemfiles/rubocop_0.20.1.gemfile
12
- - gemfiles/rubocop_0.21.0.gemfile
13
- - gemfiles/rubocop_0.22.0.gemfile
14
- - gemfiles/rubocop_0.23.0.gemfile
15
- - gemfiles/rubocop_0.24.0.gemfile
16
- - gemfiles/rubocop_0.25.0.gemfile
17
- - gemfiles/rubocop_0.26.1.gemfile
18
- - gemfiles/rubocop_0.27.1.gemfile
19
- - gemfiles/rubocop_0.28.0.gemfile
20
- - gemfiles/rubocop_0.29.1.gemfile
21
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
+ - gemfiles/rubocop_0.40.0.gemfile
24
+ - gemfiles/rubocop_0.41.2.gemfile
25
+ - gemfiles/rubocop_0.42.0.gemfile
22
26
  matrix:
23
- exclude:
24
- - rvm: 2.2.2
25
- gemfile: gemfiles/rubocop_0.20.1.gemfile
26
- - rvm: 2.2.2
27
- gemfile: gemfiles/rubocop_0.21.0.gemfile
28
- - rvm: 2.2.2
29
- gemfile: gemfiles/rubocop_0.22.0.gemfile
30
- - rvm: 2.2.2
31
- gemfile: gemfiles/rubocop_0.23.0.gemfile
32
27
  allow_failures:
33
28
  - rvm: ruby-head
29
+ - rvm: rbx-3
30
+ fast_finish: true
34
31
  before_install: gem update --remote bundler
32
+ install:
33
+ - bundle install --retry=3
35
34
  script:
36
35
  - bundle exec rake spec
data/Appraisals CHANGED
@@ -1,15 +1,17 @@
1
1
  [
2
- '0.20.1',
3
- '0.21.0',
4
- '0.22.0',
5
- '0.23.0',
6
- '0.24.0',
7
- '0.25.0',
8
- '0.26.1',
9
- '0.27.1',
10
- '0.28.0',
11
- '0.29.1',
12
- '0.30.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
+ '0.40.0',
13
+ '0.41.2',
14
+ '0.42.0'
13
15
  ].each do |version|
14
16
  appraise "rubocop-#{version}" do
15
17
  gem 'rubocop', version
data/README.md CHANGED
@@ -23,12 +23,12 @@ Or install it yourself as:
23
23
 
24
24
  $ rubocop --require rubocop/formatter/checkstyle_formatter --format RuboCop::Formatter::CheckstyleFormatter
25
25
 
26
- I use this formatter in Jenkins with [Violations plugin](https://wiki.jenkins-ci.org/display/JENKINS/Violations).
26
+ I use this formatter in Jenkins with [Checkstyle plugin](https://wiki.jenkins-ci.org/display/JENKINS/Checkstyle+Plugin).
27
27
  As a part of build, I execute rubocop as shell script like:
28
28
 
29
29
  bundle exec rubocop --require rubocop/formatter/checkstyle_formatter --format RuboCop::Formatter::CheckstyleFormatter --no-color --rails --out tmp/checkstyle.xml
30
30
 
31
- Then, after build, I add 'Report Violations' and configure xml filename pattern of checkstyle to "tmp/checkstyle.xml".
31
+ Then, after build, I add post-build action 'Publish Checkstyle analysis results' and configure Checkstyle results to "tmp/checkstyle.xml".
32
32
 
33
33
  ## Contributing
34
34
 
@@ -20,14 +20,19 @@ GEM
20
20
  powerpack (0.1.0)
21
21
  rainbow (2.0.0)
22
22
  rake (10.4.2)
23
- rspec (2.14.1)
24
- rspec-core (~> 2.14.0)
25
- rspec-expectations (~> 2.14.0)
26
- rspec-mocks (~> 2.14.0)
27
- rspec-core (2.14.8)
28
- rspec-expectations (2.14.5)
29
- diff-lcs (>= 1.1.3, < 2.0)
30
- rspec-mocks (2.14.6)
23
+ rspec (3.5.0)
24
+ rspec-core (~> 3.5.0)
25
+ rspec-expectations (~> 3.5.0)
26
+ rspec-mocks (~> 3.5.0)
27
+ rspec-core (3.5.2)
28
+ rspec-support (~> 3.5.0)
29
+ rspec-expectations (3.5.0)
30
+ diff-lcs (>= 1.2.0, < 2.0)
31
+ rspec-support (~> 3.5.0)
32
+ rspec-mocks (3.5.0)
33
+ diff-lcs (>= 1.2.0, < 2.0)
34
+ rspec-support (~> 3.5.0)
35
+ rspec-support (3.5.0)
31
36
  rubocop (0.30.1)
32
37
  astrolabe (~> 1.3)
33
38
  parser (>= 2.2.2.1, < 3.0)
@@ -44,6 +49,9 @@ DEPENDENCIES
44
49
  appraisal (~> 1.0.0)
45
50
  bundler (~> 1.3)
46
51
  rake (~> 10.1)
47
- rspec (~> 2.14.0)
52
+ rspec (~> 3.5.0)
48
53
  rubocop (= 0.30.1)
49
54
  rubocop-checkstyle_formatter!
55
+
56
+ BUNDLED WITH
57
+ 1.12.5
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rubocop", "0.20.1"
5
+ gem "rubocop", "0.31.0"
6
6
 
7
7
  gemspec :path => "../"
@@ -0,0 +1,57 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ rubocop-checkstyle_formatter (0.2.0)
5
+ rubocop (>= 0.20.1)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ appraisal (1.0.3)
11
+ bundler
12
+ rake
13
+ thor (>= 0.14.0)
14
+ ast (2.3.0)
15
+ astrolabe (1.3.1)
16
+ parser (~> 2.2)
17
+ diff-lcs (1.2.5)
18
+ parser (2.3.1.2)
19
+ ast (~> 2.2)
20
+ powerpack (0.1.1)
21
+ rainbow (2.1.0)
22
+ rake (10.5.0)
23
+ rspec (3.5.0)
24
+ rspec-core (~> 3.5.0)
25
+ rspec-expectations (~> 3.5.0)
26
+ rspec-mocks (~> 3.5.0)
27
+ rspec-core (3.5.2)
28
+ rspec-support (~> 3.5.0)
29
+ rspec-expectations (3.5.0)
30
+ diff-lcs (>= 1.2.0, < 2.0)
31
+ rspec-support (~> 3.5.0)
32
+ rspec-mocks (3.5.0)
33
+ diff-lcs (>= 1.2.0, < 2.0)
34
+ rspec-support (~> 3.5.0)
35
+ rspec-support (3.5.0)
36
+ rubocop (0.31.0)
37
+ astrolabe (~> 1.3)
38
+ parser (>= 2.2.2.1, < 3.0)
39
+ powerpack (~> 0.1)
40
+ rainbow (>= 1.99.1, < 3.0)
41
+ ruby-progressbar (~> 1.4)
42
+ ruby-progressbar (1.8.1)
43
+ thor (0.19.1)
44
+
45
+ PLATFORMS
46
+ ruby
47
+
48
+ DEPENDENCIES
49
+ appraisal (~> 1.0.0)
50
+ bundler (~> 1.3)
51
+ rake (~> 10.1)
52
+ rspec (~> 3.5.0)
53
+ rubocop (= 0.31.0)
54
+ rubocop-checkstyle_formatter!
55
+
56
+ BUNDLED WITH
57
+ 1.12.5
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rubocop", "0.22.0"
5
+ gem "rubocop", "0.32.1"
6
6
 
7
7
  gemspec :path => "../"
@@ -0,0 +1,57 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ rubocop-checkstyle_formatter (0.2.0)
5
+ rubocop (>= 0.20.1)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ appraisal (1.0.3)
11
+ bundler
12
+ rake
13
+ thor (>= 0.14.0)
14
+ ast (2.3.0)
15
+ astrolabe (1.3.1)
16
+ parser (~> 2.2)
17
+ diff-lcs (1.2.5)
18
+ parser (2.3.1.2)
19
+ ast (~> 2.2)
20
+ powerpack (0.1.1)
21
+ rainbow (2.1.0)
22
+ rake (10.5.0)
23
+ rspec (3.5.0)
24
+ rspec-core (~> 3.5.0)
25
+ rspec-expectations (~> 3.5.0)
26
+ rspec-mocks (~> 3.5.0)
27
+ rspec-core (3.5.2)
28
+ rspec-support (~> 3.5.0)
29
+ rspec-expectations (3.5.0)
30
+ diff-lcs (>= 1.2.0, < 2.0)
31
+ rspec-support (~> 3.5.0)
32
+ rspec-mocks (3.5.0)
33
+ diff-lcs (>= 1.2.0, < 2.0)
34
+ rspec-support (~> 3.5.0)
35
+ rspec-support (3.5.0)
36
+ rubocop (0.32.1)
37
+ astrolabe (~> 1.3)
38
+ parser (>= 2.2.2.5, < 3.0)
39
+ powerpack (~> 0.1)
40
+ rainbow (>= 1.99.1, < 3.0)
41
+ ruby-progressbar (~> 1.4)
42
+ ruby-progressbar (1.8.1)
43
+ thor (0.19.1)
44
+
45
+ PLATFORMS
46
+ ruby
47
+
48
+ DEPENDENCIES
49
+ appraisal (~> 1.0.0)
50
+ bundler (~> 1.3)
51
+ rake (~> 10.1)
52
+ rspec (~> 3.5.0)
53
+ rubocop (= 0.32.1)
54
+ rubocop-checkstyle_formatter!
55
+
56
+ BUNDLED WITH
57
+ 1.12.5
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rubocop", "0.21.0"
5
+ gem "rubocop", "0.33.0"
6
6
 
7
7
  gemspec :path => "../"
@@ -0,0 +1,57 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ rubocop-checkstyle_formatter (0.2.0)
5
+ rubocop (>= 0.20.1)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ appraisal (1.0.3)
11
+ bundler
12
+ rake
13
+ thor (>= 0.14.0)
14
+ ast (2.3.0)
15
+ astrolabe (1.3.1)
16
+ parser (~> 2.2)
17
+ diff-lcs (1.2.5)
18
+ parser (2.3.1.2)
19
+ ast (~> 2.2)
20
+ powerpack (0.1.1)
21
+ rainbow (2.1.0)
22
+ rake (10.5.0)
23
+ rspec (3.5.0)
24
+ rspec-core (~> 3.5.0)
25
+ rspec-expectations (~> 3.5.0)
26
+ rspec-mocks (~> 3.5.0)
27
+ rspec-core (3.5.2)
28
+ rspec-support (~> 3.5.0)
29
+ rspec-expectations (3.5.0)
30
+ diff-lcs (>= 1.2.0, < 2.0)
31
+ rspec-support (~> 3.5.0)
32
+ rspec-mocks (3.5.0)
33
+ diff-lcs (>= 1.2.0, < 2.0)
34
+ rspec-support (~> 3.5.0)
35
+ rspec-support (3.5.0)
36
+ rubocop (0.33.0)
37
+ astrolabe (~> 1.3)
38
+ parser (>= 2.2.2.5, < 3.0)
39
+ powerpack (~> 0.1)
40
+ rainbow (>= 1.99.1, < 3.0)
41
+ ruby-progressbar (~> 1.4)
42
+ ruby-progressbar (1.8.1)
43
+ thor (0.19.1)
44
+
45
+ PLATFORMS
46
+ ruby
47
+
48
+ DEPENDENCIES
49
+ appraisal (~> 1.0.0)
50
+ bundler (~> 1.3)
51
+ rake (~> 10.1)
52
+ rspec (~> 3.5.0)
53
+ rubocop (= 0.33.0)
54
+ rubocop-checkstyle_formatter!
55
+
56
+ BUNDLED WITH
57
+ 1.12.5
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rubocop", "0.23.0"
5
+ gem "rubocop", "0.34.2"
6
6
 
7
7
  gemspec :path => "../"
@@ -0,0 +1,57 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ rubocop-checkstyle_formatter (0.2.0)
5
+ rubocop (>= 0.20.1)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ appraisal (1.0.3)
11
+ bundler
12
+ rake
13
+ thor (>= 0.14.0)
14
+ ast (2.3.0)
15
+ astrolabe (1.3.1)
16
+ parser (~> 2.2)
17
+ diff-lcs (1.2.5)
18
+ parser (2.3.1.2)
19
+ ast (~> 2.2)
20
+ powerpack (0.1.1)
21
+ rainbow (2.1.0)
22
+ rake (10.5.0)
23
+ rspec (3.5.0)
24
+ rspec-core (~> 3.5.0)
25
+ rspec-expectations (~> 3.5.0)
26
+ rspec-mocks (~> 3.5.0)
27
+ rspec-core (3.5.2)
28
+ rspec-support (~> 3.5.0)
29
+ rspec-expectations (3.5.0)
30
+ diff-lcs (>= 1.2.0, < 2.0)
31
+ rspec-support (~> 3.5.0)
32
+ rspec-mocks (3.5.0)
33
+ diff-lcs (>= 1.2.0, < 2.0)
34
+ rspec-support (~> 3.5.0)
35
+ rspec-support (3.5.0)
36
+ rubocop (0.34.2)
37
+ astrolabe (~> 1.3)
38
+ parser (>= 2.2.2.5, < 3.0)
39
+ powerpack (~> 0.1)
40
+ rainbow (>= 1.99.1, < 3.0)
41
+ ruby-progressbar (~> 1.4)
42
+ ruby-progressbar (1.8.1)
43
+ thor (0.19.1)
44
+
45
+ PLATFORMS
46
+ ruby
47
+
48
+ DEPENDENCIES
49
+ appraisal (~> 1.0.0)
50
+ bundler (~> 1.3)
51
+ rake (~> 10.1)
52
+ rspec (~> 3.5.0)
53
+ rubocop (= 0.34.2)
54
+ rubocop-checkstyle_formatter!
55
+
56
+ BUNDLED WITH
57
+ 1.12.5
@@ -0,0 +1,7 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rubocop", "0.35.1"
6
+
7
+ gemspec :path => "../"
@@ -0,0 +1,59 @@
1
+ PATH
2
+ remote: ../
3
+ specs:
4
+ rubocop-checkstyle_formatter (0.2.0)
5
+ rubocop (>= 0.20.1)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ appraisal (1.0.3)
11
+ bundler
12
+ rake
13
+ thor (>= 0.14.0)
14
+ ast (2.3.0)
15
+ astrolabe (1.3.1)
16
+ parser (~> 2.2)
17
+ diff-lcs (1.2.5)
18
+ parser (2.3.1.2)
19
+ ast (~> 2.2)
20
+ powerpack (0.1.1)
21
+ rainbow (2.1.0)
22
+ rake (10.5.0)
23
+ rspec (3.5.0)
24
+ rspec-core (~> 3.5.0)
25
+ rspec-expectations (~> 3.5.0)
26
+ rspec-mocks (~> 3.5.0)
27
+ rspec-core (3.5.2)
28
+ rspec-support (~> 3.5.0)
29
+ rspec-expectations (3.5.0)
30
+ diff-lcs (>= 1.2.0, < 2.0)
31
+ rspec-support (~> 3.5.0)
32
+ rspec-mocks (3.5.0)
33
+ diff-lcs (>= 1.2.0, < 2.0)
34
+ rspec-support (~> 3.5.0)
35
+ rspec-support (3.5.0)
36
+ rubocop (0.35.1)
37
+ astrolabe (~> 1.3)
38
+ parser (>= 2.2.3.0, < 3.0)
39
+ powerpack (~> 0.1)
40
+ rainbow (>= 1.99.1, < 3.0)
41
+ ruby-progressbar (~> 1.7)
42
+ tins (<= 1.6.0)
43
+ ruby-progressbar (1.8.1)
44
+ thor (0.19.1)
45
+ tins (1.6.0)
46
+
47
+ PLATFORMS
48
+ ruby
49
+
50
+ DEPENDENCIES
51
+ appraisal (~> 1.0.0)
52
+ bundler (~> 1.3)
53
+ rake (~> 10.1)
54
+ rspec (~> 3.5.0)
55
+ rubocop (= 0.35.1)
56
+ rubocop-checkstyle_formatter!
57
+
58
+ BUNDLED WITH
59
+ 1.12.5