simplecov-oj 0.18.3 → 0.18.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 +12 -8
- data/lib/simple_cov/oj/source_file_wrapper.rb +1 -1
- data/lib/simple_cov/oj/version.rb +1 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a52b58ac549b3d82b715da3fa43d20c652c8c22cdc8bf98670d57a14814baf2a
|
4
|
+
data.tar.gz: e43b431dbf0f1be41ae3dd0689db0a470be28d3881360dace7f7d6f27566333b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d381f4bca2f0cbbed401b46a21159558044edb8db4e8899377d626065f2be66f87e7037ffd217326bbc921526571049a41e00746dfe0ff268d04f2e6f0067ff
|
7
|
+
data.tar.gz: 9294869a32134d92899e05ab84395746499f9e95890762bbf8995ebdf720bc5fb6a6a4a78880891924ba192a92c44ebacea45ea387a39c1ae94e98097a914989
|
data/README.md
CHANGED
@@ -1,17 +1,21 @@
|
|
1
|
-
# simplecov-
|
1
|
+
# simplecov-oj
|
2
2
|
|
3
|
-
JSON formatter for the ruby
|
3
|
+
JSON formatter for the ruby 2.5+ code coverage gem SimpleCov
|
4
4
|
|
5
5
|
## Usage
|
6
6
|
|
7
|
-
1. Add simplecov-
|
7
|
+
1. Add simplecov-oj to your `Gemfile` and `bundle install`:
|
8
8
|
|
9
|
-
|
9
|
+
```ruby
|
10
|
+
gem 'simplecov-oj', require: false, group: :test
|
11
|
+
```
|
10
12
|
|
11
|
-
2. Require simplecov-
|
13
|
+
2. Require simplecov-oj and set it up as SimpleCov's formatter:
|
12
14
|
|
13
|
-
|
14
|
-
|
15
|
+
```ruby
|
16
|
+
require 'simplecov-oj'
|
17
|
+
SimpleCov.formatter = SimpleCov::Formatter::OjFormatter
|
18
|
+
```
|
15
19
|
|
16
20
|
## Result
|
17
21
|
|
@@ -61,4 +65,4 @@ If you want to contribute, please:
|
|
61
65
|
|
62
66
|
## Copyright
|
63
67
|
|
64
|
-
Copyright (c)
|
68
|
+
Copyright (c) 2020 Mikael Henriksson. See LICENSE for details.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplecov-oj
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.18.
|
4
|
+
version: 0.18.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mikael Henriksson
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oj
|
@@ -134,20 +134,6 @@ dependencies:
|
|
134
134
|
- - "~>"
|
135
135
|
- !ruby/object:Gem::Version
|
136
136
|
version: '3.9'
|
137
|
-
- !ruby/object:Gem::Dependency
|
138
|
-
name: simplecov-json
|
139
|
-
requirement: !ruby/object:Gem::Requirement
|
140
|
-
requirements:
|
141
|
-
- - ">="
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
version: '0'
|
144
|
-
type: :development
|
145
|
-
prerelease: false
|
146
|
-
version_requirements: !ruby/object:Gem::Requirement
|
147
|
-
requirements:
|
148
|
-
- - ">="
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
version: '0'
|
151
137
|
- !ruby/object:Gem::Dependency
|
152
138
|
name: github-markup
|
153
139
|
requirement: !ruby/object:Gem::Requirement
|