Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to 0.11.0, with Changelog. #425

Merged
merged 3 commits into from
Nov 29, 2015
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
18 changes: 16 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
Unreleased ([changes](https://github.com/colszowka/simplecov/compare/v0.10.0...master))
Unreleased ([changes](https://github.com/colszowka/simplecov/compare/v0.11.0...master))
=================

## Enhancements

## Bugfixes

0.10.0 2015-04-18 ([changes](https://github.com/colszowka/simplecov/compare/v0.9.2...0.10.0))
0.11.0 2015-11-29 ([changes](https://github.com/colszowka/simplecov/compare/v0.10.0...v0.10.11))
=================

## Enhancements

* Added `SimpleCov.minimum_coverage_by_file` for per-file coverage thresholds. See [#392](https://github.com/colszowka/simplecov/pull/392) (thanks @ptashman)
* Added `track_files` configuration option to specify a glob to always include in coverage results, whether or not those files are required. See [#422](https://github.com/colszowka/simplecov/pull/422) (thanks @hugopeixoto)
* Speed up `root_filter` by an order of magnitude. See [#396](https://github.com/colszowka/simplecov/pull/396) (thanks @raszi)

## Bugfixes

* Fix warning about global variable `$ERROR_INFO`. See [#400](https://github.com/colszowka/simplecov/pull/400) (thanks @amatsuda)
* Actually recurse upward looking for `.simplecov`, as claimed by the documentation, rather than only the working directory. See [#423](https://github.com/colszowka/simplecov/pull/423) (thanks @alexdowad)

0.10.0 2015-04-18 ([changes](https://github.com/colszowka/simplecov/compare/v0.9.2...v0.10.0))
=================

## Enhancements
Expand Down
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ group :test do
platform :jruby, :ruby_19, :ruby_20, :ruby_21, :ruby_22 do
gem "aruba", "~> 0.7.4"
gem "capybara", "~> 2.4"

# Hack until Capybara fixes its gemspec. 3.0 removed 1.9 support.
# See https://github.com/jnicklas/capybara/issues/1615
gem "mime-types", "~> 2.0.0"

gem "cucumber", "~> 2.0"
gem "phantomjs", "~> 1.9"
gem "poltergeist", "~> 1.1"
Expand Down
2 changes: 1 addition & 1 deletion lib/simplecov/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module SimpleCov
VERSION = "0.10.0"
VERSION = "0.11.0"
def VERSION.to_a
split(".").map(&:to_i)
end
Expand Down
3 changes: 2 additions & 1 deletion spec/filters_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@

context "with no filters set up and a basic source file in an array" do
before do
@prev_filters, SimpleCov.filters = SimpleCov.filters, []
@prev_filters = SimpleCov.filters
SimpleCov.filters = []
end

subject do
Expand Down
3 changes: 2 additions & 1 deletion spec/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ def capture_stderr
# The output stream must be an IO-like object. In this case we capture it in
# an in-memory IO object so we can return the string value. You can assign any
# IO object here.
previous_stderr, $stderr = $stderr, StringIO.new
previous_stderr = $stderr
$stderr = StringIO.new
yield
$stderr.string
ensure
Expand Down
9 changes: 6 additions & 3 deletions spec/result_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
describe "result" do
context "with a (mocked) Coverage.result" do
before do
@prev_filters, SimpleCov.filters = SimpleCov.filters, []
@prev_groups, SimpleCov.groups = SimpleCov.groups, {}
@prev_formatter, SimpleCov.formatter = SimpleCov.formatter, nil
@prev_filters = SimpleCov.filters
SimpleCov.filters = []
@prev_groups = SimpleCov.groups
SimpleCov.groups = {}
@prev_formatter = SimpleCov.formatter
SimpleCov.formatter = nil
end

after do
Expand Down