Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package rubygem-simplecov_json_formatter for
openSUSE:Factory checked in at 2022-02-24 18:20:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rubygem-simplecov_json_formatter (Old)
and /work/SRC/openSUSE:Factory/.rubygem-simplecov_json_formatter.new.1958
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rubygem-simplecov_json_formatter"
Thu Feb 24 18:20:24 2022 rev:3 rq:956131 version:0.1.4
Changes:
--------
---
/work/SRC/openSUSE:Factory/rubygem-simplecov_json_formatter/rubygem-simplecov_json_formatter.changes
2021-07-02 13:28:52.204107446 +0200
+++
/work/SRC/openSUSE:Factory/.rubygem-simplecov_json_formatter.new.1958/rubygem-simplecov_json_formatter.changes
2022-02-24 18:23:40.842654924 +0100
@@ -1,0 +2,13 @@
+Tue Feb 15 07:44:55 UTC 2022 - Stephan Kulow <[email protected]>
+
+updated to version 0.1.4
+ see installed CHANGELOG.md
+
+ 0.1.4 (2022-02-12)
+ ==========
+
+ ## Enhancements
+ * Add support for simplecov's groups feature -w
[#2](https://github.com/codeclimate-community/simplecov_json_formatter/pull/2)
@PragTob
+
+
+-------------------------------------------------------------------
Old:
----
simplecov_json_formatter-0.1.3.gem
New:
----
simplecov_json_formatter-0.1.4.gem
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ rubygem-simplecov_json_formatter.spec ++++++
--- /var/tmp/diff_new_pack.WJ5YrU/_old 2022-02-24 18:23:41.338654794 +0100
+++ /var/tmp/diff_new_pack.WJ5YrU/_new 2022-02-24 18:23:41.354654790 +0100
@@ -1,7 +1,7 @@
#
# spec file for package rubygem-simplecov_json_formatter
#
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,7 +24,7 @@
#
Name: rubygem-simplecov_json_formatter
-Version: 0.1.3
+Version: 0.1.4
Release: 0
%define mod_name simplecov_json_formatter
%define mod_full_name %{mod_name}-%{version}
++++++ simplecov_json_formatter-0.1.3.gem -> simplecov_json_formatter-0.1.4.gem
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/CHANGELOG.md new/CHANGELOG.md
--- old/CHANGELOG.md 2021-05-03 01:59:37.000000000 +0200
+++ new/CHANGELOG.md 2022-02-14 23:18:42.000000000 +0100
@@ -1,3 +1,9 @@
+0.1.4 (2022-02-12)
+==========
+
+## Enhancements
+* Add support for simplecov's groups feature -w
[#2](https://github.com/codeclimate-community/simplecov_json_formatter/pull/2)
@PragTob
+
0.1.3 (2021-05-02)
==========
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/README.md new/README.md
--- old/README.md 2021-05-03 01:59:37.000000000 +0200
+++ new/README.md 2022-02-14 23:18:42.000000000 +0100
@@ -2,11 +2,11 @@
***Note: To learn more about SimpleCov, check out the main repo at
[https://github.com/simplecov-ruby/simplecov](https://github.com/colszowka/simplecov***)***
-Generates a formatted JSON report of your
[SimpleCov](https://github.com/simplecov-ruby/simplecov) ruby code coverage
results on ruby 2.4+. Originally intended to add `simplecov`'s results reading
capacity to CI tools.
+Generates a formatted JSON report of your
[SimpleCov](https://github.com/simplecov-ruby/simplecov) ruby code coverage
results on ruby 2.4+. Originally intended to add `simplecov`'s results reading
capacity to CI tools.
## Overview
-You can expect for this gem to produce a `coverage.json` file, located at the
`coverage` folder.
+You can expect for this gem to produce a `coverage.json` file, located at the
`coverage` folder.
Depending on your `SimpleCoV`'s settings you will experiment different
outcomes. Particularly depending on which type of coverage are you running
`SimpleCov` with:
@@ -15,13 +15,14 @@
## Development
-We encourage you to use docker for common operations like running tests, or
debugging your code. Running `make sh` will start a new container instance
based on the `Dockerfile` provided at root, finally a shell prompt will be
displayed on your terminal. Also, syncronization with your local files will be
already set.
+We encourage you to use docker for common operations like running tests, or
debugging your code. Running `make sh` will start a new container instance
based on the `Dockerfile` provided at root, finally a shell prompt will be
displayed on your terminal. Also, syncronization with your local files will be
already set.
+
### Tests
`make test` will trigger the excution of both running tests and running
rubocop as linter, by simply running `rake`, this actions will be run inside a
new container but using your local files.
### Format
-`make format` will run `rubocop -a` which stands for _autocorrect_ and format
your code according to the `.rubocop.yml` config file.
+`make format` will run `rubocop -a` which stands for _autocorrect_ and format
your code according to the `.rubocop.yml` config file.
## Copyright
Binary files old/checksums.yaml.gz and new/checksums.yaml.gz differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/lib/simplecov_json_formatter/result_hash_formatter.rb
new/lib/simplecov_json_formatter/result_hash_formatter.rb
--- old/lib/simplecov_json_formatter/result_hash_formatter.rb 2021-05-03
01:59:37.000000000 +0200
+++ new/lib/simplecov_json_formatter/result_hash_formatter.rb 2022-02-14
23:18:42.000000000 +0100
@@ -9,22 +9,38 @@
end
def format
+ format_files
+ format_groups
+
+ formatted_result
+ end
+
+ private
+
+ def format_files
@result.files.each do |source_file|
formatted_result[:coverage][source_file.filename] =
format_source_file(source_file)
end
-
- formatted_result
end
- private
+ def format_groups
+ @result.groups.each do |name, file_list|
+ formatted_result[:groups][name] = {
+ lines: {
+ covered_percent: file_list.covered_percent
+ }
+ }
+ end
+ end
def formatted_result
@formatted_result ||= {
meta: {
simplecov_version: SimpleCov::VERSION
},
- coverage: {}
+ coverage: {},
+ groups: {}
}
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/lib/simplecov_json_formatter/version.rb
new/lib/simplecov_json_formatter/version.rb
--- old/lib/simplecov_json_formatter/version.rb 2021-05-03 01:59:37.000000000
+0200
+++ new/lib/simplecov_json_formatter/version.rb 2022-02-14 23:18:42.000000000
+0100
@@ -1,5 +1,5 @@
# frozen_string_literal: true
module SimpleCovJSONFormatter
- VERSION = '0.1.3'
+ VERSION = '0.1.4'
end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/metadata new/metadata
--- old/metadata 2021-05-03 01:59:37.000000000 +0200
+++ new/metadata 2022-02-14 23:18:42.000000000 +0100
@@ -1,14 +1,14 @@
--- !ruby/object:Gem::Specification
name: simplecov_json_formatter
version: !ruby/object:Gem::Version
- version: 0.1.3
+ version: 0.1.4
platform: ruby
authors:
- Federico Moya
-autorequire:
+autorequire:
bindir: bin
cert_chain: []
-date: 2021-05-02 00:00:00.000000000 Z
+date: 2022-02-14 00:00:00.000000000 Z
dependencies: []
description: JSON formatter for SimpleCov
email:
@@ -28,7 +28,7 @@
licenses:
- MIT
metadata: {}
-post_install_message:
+post_install_message:
rdoc_options: []
require_paths:
- lib
@@ -43,8 +43,8 @@
- !ruby/object:Gem::Version
version: '0'
requirements: []
-rubygems_version: 3.0.3
-signing_key:
+rubygems_version: 3.0.8
+signing_key:
specification_version: 4
summary: JSON formatter for SimpleCov
test_files: []