From 5d4c59e3d8a896aae4a8e2f3bcc26bc5e65a6e47 Mon Sep 17 00:00:00 2001 From: Jesse Bowes <647843+jessebs@users.noreply.github.com> Date: Sun, 13 Jul 2025 16:28:26 -0700 Subject: [PATCH 1/2] Updated license and path to new github owner --- README.md | 10 ++++------ simplecov-cobertura.gemspec | 4 ++-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 6a9dbea..839f54d 100644 --- a/README.md +++ b/README.md @@ -33,21 +33,19 @@ SimpleCov.formatter = SimpleCov::Formatter::CoberturaFormatter ## Continuous Integration Tested in a CI environment against the following Ruby versions: -* 3.0 -* 2.7 -* 2.6 -* 2.5 +* 3.0 - 3.4 +* 2.5 - 2.7 ## Contributing -1. Fork it ( https://github.com/dashingrocket/simplecov-cobertura/fork ) +1. Fork it ( https://github.com/jessebs/simplecov-cobertura/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request ## License -Copyright 2021 Dashing Rocket, Ltd. +Copyright 2025 Jesse Bowes Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/simplecov-cobertura.gemspec b/simplecov-cobertura.gemspec index 69d86ed..6ad99b9 100644 --- a/simplecov-cobertura.gemspec +++ b/simplecov-cobertura.gemspec @@ -8,10 +8,10 @@ Gem::Specification.new do |spec| spec.name = 'simplecov-cobertura' spec.version = SimpleCov::Formatter::CoberturaFormatter::VERSION spec.authors = ['Jesse Bowes'] - spec.email = ['jbowes@dashingrocket.com'] + spec.email = ['jessebowes@acm.org'] spec.summary = 'SimpleCov Cobertura Formatter' spec.description = 'Produces Cobertura XML formatted output from SimpleCov' - spec.homepage = 'https://github.com/dashingrocket/simplecov-cobertura' + spec.homepage = 'https://github.com/jessebs/simplecov-cobertura' spec.license = 'Apache-2.0' spec.required_ruby_version = '>= 2.5.0' From 51d37bc6e9ebd730c1e49695d2339838567e30bd Mon Sep 17 00:00:00 2001 From: Jesse Bowes <647843+jessebs@users.noreply.github.com> Date: Sun, 13 Jul 2025 16:33:40 -0700 Subject: [PATCH 2/2] Updated license and path to new github owner --- README.md | 2 +- lib/simplecov-cobertura.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 839f54d..13c2d65 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # simplecov-cobertura -[![Build](https://github.com/dashingrocket/simplecov-cobertura/actions/workflows/build.yml/badge.svg)](https://github.com/dashingrocket/simplecov-cobertura/actions/workflows/build.yml) [![Gem Version](https://badge.fury.io/rb/simplecov-cobertura.svg)](http://badge.fury.io/rb/simplecov-cobertura) +[![Build](https://github.com/jessebs/simplecov-cobertura/actions/workflows/build.yml/badge.svg)](https://github.com/jessebs/simplecov-cobertura/actions/workflows/build.yml) [![Gem Version](https://badge.fury.io/rb/simplecov-cobertura.svg)](http://badge.fury.io/rb/simplecov-cobertura) Produces [Cobertura](http://cobertura.sourceforge.net/) formatted XML from [SimpleCov](https://github.com/colszowka/simplecov). diff --git a/lib/simplecov-cobertura.rb b/lib/simplecov-cobertura.rb index da5c84b..70d8e43 100644 --- a/lib/simplecov-cobertura.rb +++ b/lib/simplecov-cobertura.rb @@ -143,7 +143,7 @@ def set_branch_attributes(line, file_line, branched_lines, branched_lines_covere def set_xml_head(lines=[]) lines << "" lines << "" - lines << "" + lines << "" lines.join("\n") end