Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -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).
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/simplecov-cobertura.rb
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def set_branch_attributes(line, file_line, branched_lines, branched_lines_covere
def set_xml_head(lines=[])
lines << "<?xml version=\"1.0\"?>"
lines << "<!DOCTYPE coverage SYSTEM \"#{DTD_URL}\">"
lines << "<!-- Generated by simplecov-cobertura version #{VERSION} (https://github.com/dashingrocket/simplecov-cobertura) -->"
lines << "<!-- Generated by simplecov-cobertura version #{VERSION} (https://github.com/jessebs/simplecov-cobertura) -->"
lines.join("\n")
end

Expand Down
4 changes: 2 additions & 2 deletions simplecov-cobertura.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ['[email protected]']
spec.email = ['[email protected]']
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'

Expand Down