rubocop-junit-formatter 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +16 -5
- data/lib/rubocop/formatter/junit_formatter.rb +0 -2
- data/rubocop-junit-formatter.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a3bcdc8561ae001a526a407379515e8fd303bac7
|
4
|
+
data.tar.gz: 8fa2f4068bb4885dd061418f5d7a7795ed4284d2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f5e795d73268d84f09563d47d7c2e7c91d6a6fb58afe8a72c1b4601e97af6d25a9ed38f22b254d3e0833d912725a6f8ae37fd070824985f83fbb1b645ec37e0
|
7
|
+
data.tar.gz: 79f54f301ad29a5fb1ec99f57fd2b48a4b0ab8a820a61ec66627abb1c1e3527212f5dfde46bde9c06cdcf531240b8afde2e3c70e045352e109eebf04ff16e387
|
data/README.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
# Rubocop::Junit::Formatter
|
2
2
|
|
3
|
-
|
3
|
+
Provides JUnit formatting for Rubocop. Usable with Continuous integration services and IDEs.
|
4
|
+
|
5
|
+
## Usage
|
6
|
+
|
7
|
+
In order to have the formatter available inside CLI utility, you need to require it first.
|
8
|
+
|
9
|
+
Example for CI, that provides `$REPORTS_DIR` environment variable for collecting JUnit reports
|
10
|
+
|
11
|
+
```bash
|
12
|
+
bundle exec rubocop \\
|
13
|
+
-r $(bundle show rubocop-junit-formatter)/lib/rubocop/formatter/junit_formatter.rb \\
|
14
|
+
--format RuboCop::Formatter::JUnitFormatter --out $REPORTS_DIR/rubocop.xml
|
15
|
+
```
|
16
|
+
|
17
|
+
Important options are `-r` (require class) and `--format`. Option `--out` should go after appropriate `--format`.
|
18
|
+
And you can have multiple formats if you like.
|
4
19
|
|
5
20
|
## Installation
|
6
21
|
|
@@ -18,10 +33,6 @@ Or install it yourself as:
|
|
18
33
|
|
19
34
|
$ gem install rubocop-junit-formatter
|
20
35
|
|
21
|
-
## Usage
|
22
|
-
|
23
|
-
TODO: Write usage instructions here
|
24
|
-
|
25
36
|
## Contributing
|
26
37
|
|
27
38
|
1. Fork it ( https://github.com/[my-github-username]/rubocop-junit-formatter/fork )
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "rubocop-junit-formatter"
|
7
|
-
spec.version = '0.1.
|
7
|
+
spec.version = '0.1.4'
|
8
8
|
spec.authors = ["Mikko Kokkonen"]
|
9
9
|
spec.email = ["mikko@mikian.com"]
|
10
10
|
spec.summary = %q{Outputs RuboCop Offences as JUnit report}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-junit-formatter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mikko Kokkonen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
version: '0'
|
74
74
|
requirements: []
|
75
75
|
rubyforge_project:
|
76
|
-
rubygems_version: 2.
|
76
|
+
rubygems_version: 2.6.13
|
77
77
|
signing_key:
|
78
78
|
specification_version: 4
|
79
79
|
summary: Outputs RuboCop Offences as JUnit report
|