simplecov-sublime 0.21.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG.md +13 -0
- data/LICENSE +21 -0
- data/README.md +69 -0
- data/lib/simple_cov/formatter/format_result.rb +21 -0
- data/lib/simple_cov/formatter/sublime_formatter.rb +33 -0
- data/lib/simple_cov/sublime/output_message.rb +57 -0
- data/lib/simple_cov/sublime/result_to_hash.rb +61 -0
- data/lib/simple_cov/sublime/result_wrapper.rb +63 -0
- data/lib/simple_cov/sublime/source_file_wrapper.rb +89 -0
- data/lib/simple_cov/sublime/version.rb +14 -0
- data/lib/simplecov-sublime.rb +12 -0
- data/lib/tasks/changelog.rake +24 -0
- metadata +222 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: fa51a66b96ac0fd6681bee07a33f0211954f7ccedad5dba69f17041288485fea
|
4
|
+
data.tar.gz: eaf18e111ca35e02049b811253d6b8f59191b84964ebf2ba3c5ec37795dbd6de
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 06e9eb450cc7463f3de667850f93cc678510b0ba3b5452ba4c5fb9fe487bb814e0863d8e2652caefbff5d326275aeedc260e4d7d56963696b80d5175dd7aa2e4
|
7
|
+
data.tar.gz: 3d55f80c37acb45d28e21c6d8a9e8ef47ad5ce98242d00c7bba746ac37e8fbd44a7c4c6e1fa567ec487e49c158d824c31785769c1d7eced133d467e3de26915e
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## [v0.18.0](https://github.com/mhenrixon/simplecov-oj/tree/v0.18.0) (2020-01-29)
|
4
|
+
|
5
|
+
[Full Changelog](https://github.com/mhenrixon/simplecov-oj/compare/v0.2...v0.18.0)
|
6
|
+
|
7
|
+
## [v0.2](https://github.com/mhenrixon/simplecov-oj/tree/v0.2) (2013-07-20)
|
8
|
+
|
9
|
+
[Full Changelog](https://github.com/mhenrixon/simplecov-oj/compare/aa3f4993ad39ba63229938d23ac2470b6f2cee3e...v0.2)
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2010-2020 Mikael Henriksson http://mhenrixon.com
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
# simplecov-sublime
|
2
|
+
|
3
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/4da5beeb8233b5739e07/maintainability)](https://codeclimate.com/github/mhenrixon/simplecov-sublime/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/4da5beeb8233b5739e07/test_coverage)](https://codeclimate.com/github/mhenrixon/simplecov-sublime/test_coverage)
|
4
|
+
|
5
|
+
JSON formatter for the ruby 2.5+ code coverage gem SimpleCov
|
6
|
+
|
7
|
+
## Usage
|
8
|
+
|
9
|
+
1. Add simplecov-sublime to your `Gemfile` and `bundle install`:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'simplecov-sublime', require: false, group: :test
|
13
|
+
```
|
14
|
+
|
15
|
+
2. Require simplecov-sublime and set it up as SimpleCov's formatter:
|
16
|
+
|
17
|
+
```ruby
|
18
|
+
require 'simplecov-sublime'
|
19
|
+
SimpleCov.formatter = SimpleCov::Formatter::SublimeFormatter
|
20
|
+
```
|
21
|
+
|
22
|
+
## Result
|
23
|
+
|
24
|
+
Generated JSON can be found in coverage/sublime.json
|
25
|
+
|
26
|
+
The format you can expect is:
|
27
|
+
```json
|
28
|
+
{
|
29
|
+
"timestamp": 1348489587,
|
30
|
+
"command_name": "RSpec",
|
31
|
+
"files": [
|
32
|
+
{
|
33
|
+
"filename": "/home/user/rails/environment.rb",
|
34
|
+
"covered_percent": 50.0,
|
35
|
+
"coverage": [
|
36
|
+
null,
|
37
|
+
1,
|
38
|
+
null,
|
39
|
+
null,
|
40
|
+
1
|
41
|
+
],
|
42
|
+
"covered_strength": 0.50,
|
43
|
+
"covered_lines": 2,
|
44
|
+
"lines_of_code": 4
|
45
|
+
},
|
46
|
+
],
|
47
|
+
"metrics": {
|
48
|
+
"covered_percent": 81.70731707317073,
|
49
|
+
"covered_strength": 0.8170731707317073,
|
50
|
+
"covered_lines": 67,
|
51
|
+
"total_lines": 82
|
52
|
+
}
|
53
|
+
}
|
54
|
+
```
|
55
|
+
|
56
|
+
## Making Contributions
|
57
|
+
|
58
|
+
If you want to contribute, please:
|
59
|
+
|
60
|
+
* Fork the project.
|
61
|
+
* Make your feature addition or bug fix.
|
62
|
+
* Add tests for it. This is important so I don't break it in a future version unintentionally.
|
63
|
+
* Send me a pull request on Github.
|
64
|
+
* Check that travis build passes for your pull request.
|
65
|
+
|
66
|
+
|
67
|
+
## Copyright
|
68
|
+
|
69
|
+
Copyright (c) 2020 Mikael Henriksson. See LICENSE for details.
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module SimpleCov
|
4
|
+
#
|
5
|
+
# Module FormatResult uses JSON to dump the result to the configured output path
|
6
|
+
#
|
7
|
+
# @author Mikael Henriksson <mikael@mhenrixon.com>
|
8
|
+
#
|
9
|
+
module FormatResult
|
10
|
+
def self.call(result, output_file_path)
|
11
|
+
data = SimpleCov::Sublime::ResultToHash.new(result).to_h
|
12
|
+
json = ::JSON.dump(data)
|
13
|
+
|
14
|
+
File.open(output_file_path, 'w+') do |file|
|
15
|
+
file.puts json
|
16
|
+
end
|
17
|
+
|
18
|
+
json
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# @see SimpleCov https://github.com/colszowka/simplecov
|
4
|
+
module SimpleCov
|
5
|
+
# @see SimpleCov::Formatter https://github.com/colszowka/simplecov
|
6
|
+
module Formatter
|
7
|
+
#
|
8
|
+
# Formats Simplecov Results into a json file `coverage.json`
|
9
|
+
#
|
10
|
+
# @author Mikael Henriksson <mikael@mhenrixon.se>
|
11
|
+
#
|
12
|
+
class SublimeFormatter
|
13
|
+
#
|
14
|
+
# @return [String] name of the file with coverage.json data
|
15
|
+
FILE_NAME = 'sublime.json'
|
16
|
+
OUTPUT_FILE_PATH = File.join(SimpleCov.coverage_path, FILE_NAME)
|
17
|
+
|
18
|
+
#
|
19
|
+
# Formats the result as a hash, dump it to json with JSON and then save it to disk
|
20
|
+
#
|
21
|
+
# @param [SimpleCov::Result] result
|
22
|
+
#
|
23
|
+
# @return [<type>] <description>
|
24
|
+
#
|
25
|
+
def format(result)
|
26
|
+
json = SimpleCov::FormatResult.call(result, OUTPUT_FILE_PATH)
|
27
|
+
puts SimpleCov::Sublime::OutputMessage.new(result, OUTPUT_FILE_PATH)
|
28
|
+
|
29
|
+
json
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module SimpleCov
|
4
|
+
module Sublime
|
5
|
+
#
|
6
|
+
# Generates a nicely formatted string about generated coverage
|
7
|
+
#
|
8
|
+
# @author Mikael Henriksson <mikael@mhenrixon.se>
|
9
|
+
#
|
10
|
+
class OutputMessage
|
11
|
+
#
|
12
|
+
# Initialize a new OutputMessage
|
13
|
+
#
|
14
|
+
# @param [SimplCov::Result] result the final simplecov result
|
15
|
+
# @param [String] output_filepath path to the filename
|
16
|
+
#
|
17
|
+
def initialize(result, output_filepath)
|
18
|
+
@result = result
|
19
|
+
@output_filepath = output_filepath
|
20
|
+
end
|
21
|
+
|
22
|
+
#
|
23
|
+
# Returns a nicely formatted string about the generated coverage data
|
24
|
+
#
|
25
|
+
#
|
26
|
+
# @return [String]
|
27
|
+
#
|
28
|
+
def to_s
|
29
|
+
'Coverage report generated' \
|
30
|
+
" for #{command_name}" \
|
31
|
+
" to #{output_filepath}." \
|
32
|
+
" #{covered_lines} / #{total_lines} LOC (#{covered_percent.round(2)}%) covered."
|
33
|
+
end
|
34
|
+
alias inspect to_s
|
35
|
+
|
36
|
+
private
|
37
|
+
|
38
|
+
attr_reader :result, :output_filepath
|
39
|
+
|
40
|
+
def command_name
|
41
|
+
result.command_name
|
42
|
+
end
|
43
|
+
|
44
|
+
def covered_lines
|
45
|
+
result.total_lines
|
46
|
+
end
|
47
|
+
|
48
|
+
def total_lines
|
49
|
+
result.total_lines
|
50
|
+
end
|
51
|
+
|
52
|
+
def covered_percent
|
53
|
+
result.covered_percent
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,61 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module SimpleCov
|
4
|
+
module Sublime
|
5
|
+
#
|
6
|
+
# Massage result into a hash that can be dumped to json by OJ
|
7
|
+
#
|
8
|
+
# @author Mikael Henriksson <mikael@mhenrixon.se>
|
9
|
+
#
|
10
|
+
class ResultToHash
|
11
|
+
#
|
12
|
+
# Initialize a new ResultToHash
|
13
|
+
#
|
14
|
+
# @param [SimpleCov::Result] result the final result from simplecov
|
15
|
+
#
|
16
|
+
def initialize(result)
|
17
|
+
@result = result
|
18
|
+
@data = {
|
19
|
+
timestamp: result.created_at.to_i,
|
20
|
+
command_name: result.command_name,
|
21
|
+
files: []
|
22
|
+
}
|
23
|
+
end
|
24
|
+
|
25
|
+
#
|
26
|
+
# Create a hash from the result that can be used for JSON dumping
|
27
|
+
#
|
28
|
+
#
|
29
|
+
# @return [Hash]
|
30
|
+
#
|
31
|
+
def to_h
|
32
|
+
extract_files
|
33
|
+
extract_metrics
|
34
|
+
data
|
35
|
+
end
|
36
|
+
|
37
|
+
private
|
38
|
+
|
39
|
+
attr_reader :result, :data
|
40
|
+
|
41
|
+
# @private
|
42
|
+
def extract_files
|
43
|
+
data[:files] = source_file_collection
|
44
|
+
end
|
45
|
+
|
46
|
+
# @private
|
47
|
+
def source_file_collection
|
48
|
+
result.files.each_with_object([]) do |source_file, memo|
|
49
|
+
next unless result.filenames.include?(source_file.filename)
|
50
|
+
|
51
|
+
memo << SourceFileWrapper.new(source_file).to_h
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
# @private
|
56
|
+
def extract_metrics
|
57
|
+
data[:metrics] = ResultWrapper.new(result).to_h
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -0,0 +1,63 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module SimpleCov
|
4
|
+
module Sublime
|
5
|
+
#
|
6
|
+
# Representation of the simplecov result including it's coverage data, source code,
|
7
|
+
# source lines and featuring helpers to interpret that data.
|
8
|
+
#
|
9
|
+
# @author Mikael Henriksson <mikael@mhenrixon.com>
|
10
|
+
#
|
11
|
+
class ResultWrapper
|
12
|
+
#
|
13
|
+
# Wrap the SimpleCov::Result to enable hash conversion without monkey patching
|
14
|
+
#
|
15
|
+
# @param [SimpleCov::Result] result the simplecov result to generate hash for
|
16
|
+
#
|
17
|
+
def initialize(result)
|
18
|
+
@result = result
|
19
|
+
end
|
20
|
+
|
21
|
+
#
|
22
|
+
# Returns a nicely formatted hash from the simplecov result data
|
23
|
+
#
|
24
|
+
#
|
25
|
+
# @return [Hash]
|
26
|
+
#
|
27
|
+
def to_h
|
28
|
+
{
|
29
|
+
covered_percent: covered_percent,
|
30
|
+
covered_strength: covered_strength,
|
31
|
+
covered_lines: covered_lines,
|
32
|
+
total_lines: total_lines
|
33
|
+
}
|
34
|
+
end
|
35
|
+
|
36
|
+
private
|
37
|
+
|
38
|
+
attr_reader :result
|
39
|
+
|
40
|
+
# @private
|
41
|
+
def covered_strength
|
42
|
+
return 0.0 unless (coverage = result.covered_strength)
|
43
|
+
|
44
|
+
coverage.nan? ? 0.0 : coverage
|
45
|
+
end
|
46
|
+
|
47
|
+
# @private
|
48
|
+
def covered_percent
|
49
|
+
result.covered_percent
|
50
|
+
end
|
51
|
+
|
52
|
+
# @private
|
53
|
+
def covered_lines
|
54
|
+
result.covered_lines
|
55
|
+
end
|
56
|
+
|
57
|
+
# @private
|
58
|
+
def total_lines
|
59
|
+
result.total_lines
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
63
|
+
end
|
@@ -0,0 +1,89 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module SimpleCov
|
4
|
+
module Sublime
|
5
|
+
#
|
6
|
+
# Representation of a source file including it's coverage data, source code,
|
7
|
+
# source lines and featuring helpers to interpret that data.
|
8
|
+
#
|
9
|
+
# @author Mikael Henriksson <mikael@mhenrixon.com>
|
10
|
+
#
|
11
|
+
class SourceFileWrapper
|
12
|
+
#
|
13
|
+
# Wrap the SimpleCov::SourceFile to enable hash conversion without monkey patching
|
14
|
+
#
|
15
|
+
# @param [SimpleCov::SourceFile] source_file the source file to generate hash for
|
16
|
+
#
|
17
|
+
def initialize(source_file)
|
18
|
+
@source_file = source_file
|
19
|
+
end
|
20
|
+
|
21
|
+
#
|
22
|
+
# Returns a nicely formatted hash from the source file data
|
23
|
+
#
|
24
|
+
#
|
25
|
+
# @return [Hash]
|
26
|
+
#
|
27
|
+
def to_h
|
28
|
+
{ filename: filename,
|
29
|
+
covered_percent: covered_percent,
|
30
|
+
coverage: coverage_data,
|
31
|
+
covered_strength: covered_strength,
|
32
|
+
covered_lines: covered_lines_count,
|
33
|
+
lines_of_code: lines_of_code }
|
34
|
+
end
|
35
|
+
|
36
|
+
private
|
37
|
+
|
38
|
+
attr_reader :source_file
|
39
|
+
|
40
|
+
# @private
|
41
|
+
def coverage_data
|
42
|
+
return coverage if coverage.is_a?(Array)
|
43
|
+
|
44
|
+
coverage.transform_keys(&:to_sym)[:lines]
|
45
|
+
end
|
46
|
+
|
47
|
+
def coverage
|
48
|
+
@coverage ||=
|
49
|
+
if SimpleCov::SourceFile.instance_methods.include?(:coverage_data)
|
50
|
+
source_file.coverage_data
|
51
|
+
else
|
52
|
+
source_file.coverage
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
# @private
|
57
|
+
def covered_lines
|
58
|
+
source_file.covered_lines
|
59
|
+
end
|
60
|
+
|
61
|
+
# @private
|
62
|
+
def covered_lines_count
|
63
|
+
covered_lines.count
|
64
|
+
end
|
65
|
+
|
66
|
+
# @private
|
67
|
+
def covered_percent
|
68
|
+
source_file.covered_percent
|
69
|
+
end
|
70
|
+
|
71
|
+
# @private
|
72
|
+
def covered_strength
|
73
|
+
return 0.0 unless (coverage = source_file.covered_strength)
|
74
|
+
|
75
|
+
coverage.nan? ? 0.0 : coverage
|
76
|
+
end
|
77
|
+
|
78
|
+
# @private
|
79
|
+
def filename
|
80
|
+
source_file.filename
|
81
|
+
end
|
82
|
+
|
83
|
+
# @private
|
84
|
+
def lines_of_code
|
85
|
+
source_file.lines_of_code
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
89
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module SimpleCov
|
4
|
+
#
|
5
|
+
# Module Sublime provides helpers for formatting coverage for the SimpleCov sublime plugin
|
6
|
+
#
|
7
|
+
# @author Mikael Henriksson <mikael@zoolutions.se>
|
8
|
+
#
|
9
|
+
module Sublime
|
10
|
+
#
|
11
|
+
# @return [String] the current version of the gem
|
12
|
+
VERSION = '0.21.0'
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'simplecov'
|
4
|
+
require 'json'
|
5
|
+
|
6
|
+
require 'simple_cov/sublime/result_wrapper'
|
7
|
+
require 'simple_cov/sublime/source_file_wrapper'
|
8
|
+
require 'simple_cov/sublime/result_to_hash'
|
9
|
+
require 'simple_cov/sublime/output_message'
|
10
|
+
require 'simple_cov/sublime/version'
|
11
|
+
require 'simple_cov/formatter/format_result'
|
12
|
+
require 'simple_cov/formatter/sublime_formatter'
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
desc 'Generate a Changelog'
|
4
|
+
task :changelog do
|
5
|
+
# rubocop:disable Style/MutableConstant
|
6
|
+
CHANGELOG_CMD ||= %w[
|
7
|
+
github_changelog_generator
|
8
|
+
--no-verbose
|
9
|
+
--no-http-cache
|
10
|
+
--user
|
11
|
+
mhenrixon
|
12
|
+
--project
|
13
|
+
simplecov-sublime
|
14
|
+
--token
|
15
|
+
]
|
16
|
+
ADD_CHANGELOG_CMD ||= 'git add --all'
|
17
|
+
COMMIT_CHANGELOG_CMD ||= "git commit -a -m 'Update changelog'"
|
18
|
+
# rubocop:enable Style/MutableConstant
|
19
|
+
|
20
|
+
sh('git checkout master')
|
21
|
+
sh(*CHANGELOG_CMD.push(ENV['CHANGELOG_GITHUB_TOKEN']))
|
22
|
+
sh(ADD_CHANGELOG_CMD)
|
23
|
+
sh(COMMIT_CHANGELOG_CMD)
|
24
|
+
end
|
metadata
ADDED
@@ -0,0 +1,222 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: simplecov-sublime
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.21.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Mikael Henriksson
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2021-01-17 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: json
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: simplecov
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0.14'
|
34
|
+
- - "<"
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: 1.0.0
|
37
|
+
type: :runtime
|
38
|
+
prerelease: false
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - "~>"
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '0.14'
|
44
|
+
- - "<"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: 1.0.0
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: appraisal
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :development
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: bundler
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '2.1'
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '2.1'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: gem-release
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - "~>"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '2.0'
|
82
|
+
type: :development
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - "~>"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '2.0'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: json_spec
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - ">="
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: rake
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '13.0'
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '13.0'
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: rspec
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - "~>"
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '3.9'
|
124
|
+
type: :development
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - "~>"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '3.9'
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: github_changelog_generator
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - "~>"
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: '1.14'
|
138
|
+
type: :development
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - "~>"
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '1.14'
|
145
|
+
- !ruby/object:Gem::Dependency
|
146
|
+
name: github-markup
|
147
|
+
requirement: !ruby/object:Gem::Requirement
|
148
|
+
requirements:
|
149
|
+
- - "~>"
|
150
|
+
- !ruby/object:Gem::Version
|
151
|
+
version: '3.0'
|
152
|
+
type: :development
|
153
|
+
prerelease: false
|
154
|
+
version_requirements: !ruby/object:Gem::Requirement
|
155
|
+
requirements:
|
156
|
+
- - "~>"
|
157
|
+
- !ruby/object:Gem::Version
|
158
|
+
version: '3.0'
|
159
|
+
- !ruby/object:Gem::Dependency
|
160
|
+
name: yard
|
161
|
+
requirement: !ruby/object:Gem::Requirement
|
162
|
+
requirements:
|
163
|
+
- - "~>"
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
version: '0.9'
|
166
|
+
type: :development
|
167
|
+
prerelease: false
|
168
|
+
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
requirements:
|
170
|
+
- - "~>"
|
171
|
+
- !ruby/object:Gem::Version
|
172
|
+
version: '0.9'
|
173
|
+
description: 'Sublime formatter for SimpleCov code coverage tool for ruby 2.5+
|
174
|
+
|
175
|
+
'
|
176
|
+
email:
|
177
|
+
- mikael@mhenrixon.com
|
178
|
+
executables: []
|
179
|
+
extensions: []
|
180
|
+
extra_rdoc_files: []
|
181
|
+
files:
|
182
|
+
- CHANGELOG.md
|
183
|
+
- LICENSE
|
184
|
+
- README.md
|
185
|
+
- lib/simple_cov/formatter/format_result.rb
|
186
|
+
- lib/simple_cov/formatter/sublime_formatter.rb
|
187
|
+
- lib/simple_cov/sublime/output_message.rb
|
188
|
+
- lib/simple_cov/sublime/result_to_hash.rb
|
189
|
+
- lib/simple_cov/sublime/result_wrapper.rb
|
190
|
+
- lib/simple_cov/sublime/source_file_wrapper.rb
|
191
|
+
- lib/simple_cov/sublime/version.rb
|
192
|
+
- lib/simplecov-sublime.rb
|
193
|
+
- lib/tasks/changelog.rake
|
194
|
+
homepage: https://github.com/mhenrixon/simplecov-sublime
|
195
|
+
licenses:
|
196
|
+
- MIT
|
197
|
+
metadata:
|
198
|
+
homepage_uri: https://github.com/mhenrixon/simplecov-sublime
|
199
|
+
bug_tracker_uri: https://github.com/mhenrixon/mhenrixon/issues
|
200
|
+
documentation_uri: https://mhenrixon.github.io/simplecov-oj
|
201
|
+
source_code_uri: https://github.com/mhenrixon/simplecov-oj
|
202
|
+
changelog_uri: https://github.com/mhenrixon/simplecov-oj/CHANGELOG.md
|
203
|
+
post_install_message:
|
204
|
+
rdoc_options: []
|
205
|
+
require_paths:
|
206
|
+
- lib
|
207
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
208
|
+
requirements:
|
209
|
+
- - "~>"
|
210
|
+
- !ruby/object:Gem::Version
|
211
|
+
version: '2.5'
|
212
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
213
|
+
requirements:
|
214
|
+
- - ">="
|
215
|
+
- !ruby/object:Gem::Version
|
216
|
+
version: '0'
|
217
|
+
requirements: []
|
218
|
+
rubygems_version: 3.2.4
|
219
|
+
signing_key:
|
220
|
+
specification_version: 4
|
221
|
+
summary: Sublime formatter for SimpleCov code coverage tool for ruby 2.5+
|
222
|
+
test_files: []
|