simplecov-json 0.2 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +7 -0
  2. data/lib/simplecov-json.rb +1 -1
  3. metadata +13 -28
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 5d984a5390c3d3ad94ac2e5210faf257bb64958336119afc20e8f2c11e4aa2b2
4
+ data.tar.gz: 4d04e4ee89e583b2f1a8a4e5434454e8697cbbd9084cd871b0ee9e213744b96a
5
+ SHA512:
6
+ metadata.gz: 52d7be5f199a2c7915c8670be49c7589df1036600fc622aa6de812ade1a6ff10a54180f381bd1586824218f01371a2dfaead73c27ff5d435463d55f085573f7c
7
+ data.tar.gz: 479f6a00fee190421e56067d2ebd8a93b784e385d16ebb3904d3f70704e8a4ced822384110dec38961458625054564f9ba2ce8895dd7cf49f1e94ded8e02081c
@@ -13,7 +13,7 @@ class SimpleCov::Formatter::JSONFormatter
13
13
  data[:files] << {
14
14
  filename: sourceFile.filename,
15
15
  covered_percent: sourceFile.covered_percent,
16
- coverage: sourceFile.coverage,
16
+ coverage: sourceFile.coverage_data,
17
17
  covered_strength: sourceFile.covered_strength.nan? ? 0.0 : sourceFile.covered_strength,
18
18
  covered_lines: sourceFile.covered_lines.count,
19
19
  lines_of_code: sourceFile.lines_of_code,
metadata CHANGED
@@ -1,62 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simplecov-json
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
5
- prerelease:
4
+ version: 0.2.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Vicent Llongo
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-07-20 00:00:00.000000000 Z
11
+ date: 2020-03-24 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: simplecov
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: json
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rake
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  description: JSON formatter for SimpleCov code coverage tool for ruby 1.9+
@@ -71,33 +64,25 @@ files:
71
64
  - test/test_simplecov_json.rb
72
65
  homepage: https://github.com/vicentllongo/simplecov-json
73
66
  licenses: []
67
+ metadata: {}
74
68
  post_install_message:
75
69
  rdoc_options: []
76
70
  require_paths:
77
71
  - lib
78
72
  required_ruby_version: !ruby/object:Gem::Requirement
79
- none: false
80
73
  requirements:
81
- - - ! '>='
74
+ - - ">="
82
75
  - !ruby/object:Gem::Version
83
76
  version: '0'
84
- segments:
85
- - 0
86
- hash: 884864916759468203
87
77
  required_rubygems_version: !ruby/object:Gem::Requirement
88
- none: false
89
78
  requirements:
90
- - - ! '>='
79
+ - - ">="
91
80
  - !ruby/object:Gem::Version
92
81
  version: '0'
93
- segments:
94
- - 0
95
- hash: 884864916759468203
96
82
  requirements: []
97
- rubyforge_project: simplecov-json
98
- rubygems_version: 1.8.25
83
+ rubygems_version: 3.0.3
99
84
  signing_key:
100
- specification_version: 3
85
+ specification_version: 4
101
86
  summary: JSON formatter for SimpleCov code coverage tool for ruby 1.9+
102
87
  test_files:
103
88
  - test/helper.rb