simplecov 0.9.1 → 0.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +12 -0
- data/CHANGELOG.md +23 -2
- data/Gemfile +13 -7
- data/README.md +23 -6
- data/Rakefile +1 -1
- data/features/support/env.rb +2 -1
- data/lib/simplecov/version.rb +1 -1
- data/simplecov.gemspec +2 -1
- data/test/helper.rb +5 -7
- data/test/test_1_8_fallbacks.rb +1 -1
- data/test/test_command_guesser.rb +1 -1
- data/test/test_deleted_source.rb +1 -1
- data/test/test_file_list.rb +1 -1
- data/test/test_filters.rb +1 -1
- data/test/test_merge_helpers.rb +5 -1
- data/test/test_result.rb +1 -1
- data/test/test_return_codes.rb +7 -3
- data/test/test_source_file.rb +1 -34
- data/test/test_source_file_line.rb +4 -4
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07f4eeb02f67a4fbdaf56965216632e34daac2c5
|
4
|
+
data.tar.gz: c3a90e5ed935a4781703d9076c63e7f1e6077f8e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58701d69e85eea76441b0b3bc61cf2c0949d69373d110a3a560359584c0a23a398cefdd0ae9cfb259ea3204ac94b1dbf791d3bebbbfc6c42d3cf4bebadc571ac
|
7
|
+
data.tar.gz: 87c5c258ed9415afc45bbf726bd1415c199761718ccfaa090100fc9cee4739277fde72a6deb9d3f7f73370f28378dcc50a280c11e81bbda1768091f4625d88ef
|
data/.travis.yml
CHANGED
@@ -1,12 +1,24 @@
|
|
1
1
|
language: ruby
|
2
|
+
|
3
|
+
before_install:
|
4
|
+
- gem install bundler
|
5
|
+
|
6
|
+
bundler_args: --without development --jobs=3 --retry=3
|
7
|
+
|
8
|
+
cache: bundler
|
9
|
+
|
10
|
+
sudo: false
|
11
|
+
|
2
12
|
rvm:
|
3
13
|
- 1.8.7
|
4
14
|
- 1.9.3
|
5
15
|
- 2.0.0
|
6
16
|
- 2.1
|
17
|
+
- 2.2
|
7
18
|
- ruby-head
|
8
19
|
- jruby
|
9
20
|
- rbx-2
|
21
|
+
|
10
22
|
matrix:
|
11
23
|
allow_failures:
|
12
24
|
- rvm: ruby-head
|
data/CHANGELOG.md
CHANGED
@@ -1,10 +1,31 @@
|
|
1
|
-
Unreleased ([changes](https://github.com/colszowka/simplecov/compare/v0.9.
|
1
|
+
Unreleased ([changes](https://github.com/colszowka/simplecov/compare/v0.9.2...master))
|
2
2
|
====================
|
3
3
|
|
4
4
|
## Enhancements
|
5
5
|
|
6
6
|
## Bugfixes
|
7
7
|
|
8
|
+
0.9.2, 2015-02-18 ([changes](https://github.com/colszowka/simplecov/compare/v0.9.1...v0.9.2))
|
9
|
+
====================
|
10
|
+
|
11
|
+
This is a minor bugfix release for simplecov-html, released as `0.9.0`. Due to the tight version constraint in the gemspec
|
12
|
+
a new release of simplecov had to be shipped to allow using simplecov-html `~> 0.9.0`.
|
13
|
+
|
14
|
+
* The browser back / forward button should now work again. See [#36](https://github.com/colszowka/simplecov-html/pull/36) and
|
15
|
+
[#35](https://github.com/colszowka/simplecov-html/pull/35). Thanks @whatasunnyday and @justinsteele for submitting PRs to fix this.
|
16
|
+
* Fix "warning: possibly useless use of a variable in void context" See [#31](https://github.com/colszowka/simplecov-html/pull/31). Thanks @cbandy
|
17
|
+
* Always use binary file format. See [#32](https://github.com/colszowka/simplecov-html/pull/32). Thanks @andy128k
|
18
|
+
* Avoid slow file output with JRuby/Windows. See [#16](https://github.com/colszowka/simplecov-html/pull/16). Thanks @pschambacher
|
19
|
+
|
20
|
+
Other than the release includes a bunch of mostly documentation improvements:
|
21
|
+
|
22
|
+
* Update Rails path for Rails 4+. See [#336](https://github.com/colszowka/simplecov/pull/336). Thanks @yazinsai
|
23
|
+
* Encourage use of .simplecov to avoid lost files. See [#338](https://github.com/colszowka/simplecov/pull/338). thanks @dankohn
|
24
|
+
* Specified in the gemspec that simplecov needs ruby 1.8.7. See [#343](https://github.com/colszowka/simplecov/pull/343). thanks @iainbeeston
|
25
|
+
* Fix mispointed link in CHANGELOG.md. See [#353](https://github.com/colszowka/simplecov/pull/353). Thanks @dleve123
|
26
|
+
* Improve command name docs. See [#356](https://github.com/colszowka/simplecov/pull/356). Thanks @gtd
|
27
|
+
|
28
|
+
|
8
29
|
|
9
30
|
0.9.1, 2014-09-21 ([changes](https://github.com/colszowka/simplecov/compare/v0.9.0...v0.9.1))
|
10
31
|
====================
|
@@ -43,7 +64,7 @@ Unreleased ([changes](https://github.com/colszowka/simplecov/compare/v0.9.1...ma
|
|
43
64
|
* Does not look for .simplecov in ~/ when $HOME is not set.
|
44
65
|
See [#311](https://github.com/colszowka/simplecov/pull/311) (thanks @lasseebert)
|
45
66
|
* Exit with code only if it's Numeric > 0.
|
46
|
-
See [#302](https://github.com/colszowka/simplecov/pull/
|
67
|
+
See [#302](https://github.com/colszowka/simplecov/pull/302) (thanks @hajder)
|
47
68
|
* Make default filter case insensitive.
|
48
69
|
See [#280](https://github.com/colszowka/simplecov/pull/280) (thanks @ryanatball)
|
49
70
|
* Improve regexp that matches functional tests.
|
data/Gemfile
CHANGED
@@ -6,22 +6,28 @@ source 'https://rubygems.org'
|
|
6
6
|
# Uncomment this to use development version of html formatter from github
|
7
7
|
# gem 'simplecov-html', :github => 'colszowka/simplecov-html'
|
8
8
|
|
9
|
-
gemspec
|
10
|
-
|
11
9
|
gem 'rake', '>= 10.3'
|
12
10
|
|
13
11
|
group :test do
|
14
|
-
|
12
|
+
# Older versions of some gems required for Ruby 1.8.7 support
|
13
|
+
platform :ruby_18 do
|
14
|
+
gem 'activesupport', '~> 3.2.21'
|
15
|
+
gem 'shoulda-matchers', '~> 2.0.0'
|
16
|
+
gem 'i18n', '~> 0.6.11'
|
17
|
+
end
|
18
|
+
gem 'minitest', '>= 5.5'
|
15
19
|
gem 'rspec', '>= 3.0'
|
16
20
|
gem 'rspec-legacy_formatters', '>= 1.0'
|
17
21
|
gem 'shoulda', '>= 3.5'
|
18
|
-
gem 'shoulda-matchers', '~> 2.0.0' # Older version required for Ruby 1.8.7 support
|
19
22
|
end
|
20
23
|
|
21
|
-
|
24
|
+
platform :jruby, :ruby_19, :ruby_20, :ruby_21, :ruby_22 do
|
22
25
|
gem 'aruba', '~> 0.6'
|
23
26
|
gem 'capybara', '~> 2.0.0'
|
24
|
-
gem 'poltergeist', '~> 1.1'
|
25
|
-
gem 'phantomjs', '~> 1.9'
|
26
27
|
gem 'cucumber', '~> 1.1'
|
28
|
+
gem 'phantomjs', '~> 1.9'
|
29
|
+
gem 'poltergeist', '~> 1.1'
|
30
|
+
gem 'test-unit', '~> 3.0'
|
27
31
|
end
|
32
|
+
|
33
|
+
gemspec
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@ SimpleCov [![Build Status](https://secure.travis-ci.org/colszowka/simplecov.png)
|
|
9
9
|
* [Mailing List]
|
10
10
|
* [Continuous Integration]
|
11
11
|
|
12
|
-
**Important Notice: There is a bug that affects exit code handling on the 0.8 line of SimpleCov, see [#281](https://github.com/colszowka/simplecov/issues/281). Please use versions `~> 0.
|
12
|
+
**Important Notice: There is a bug that affects exit code handling on the 0.8 line of SimpleCov, see [#281](https://github.com/colszowka/simplecov/issues/281). Please use versions `~> 0.9.0` to avoid this.**
|
13
13
|
|
14
14
|
[Coverage]: http://www.ruby-doc.org/stdlib-2.1.0/libdoc/coverage/rdoc/Coverage.html "API doc for Ruby's Coverage library"
|
15
15
|
[Source Code]: https://github.com/colszowka/simplecov "Source Code @ GitHub"
|
@@ -75,7 +75,7 @@ is required!**
|
|
75
75
|
SimpleCov must be running in the process that you want the code coverage analysis to happen on. When testing a server
|
76
76
|
process (i.e. a JSON API endpoint) via a separate test process (i.e. when using Selenium) where you want to see all
|
77
77
|
code executed by the `rails server`, and not just code executed in your actual test files, you'll want to add something
|
78
|
-
like this to the top of `script/rails
|
78
|
+
like this to the top of `script/rails` (or `bin/rails` for Rails 4.*):
|
79
79
|
|
80
80
|
```ruby
|
81
81
|
if ENV['RAILS_ENV'] == 'test'
|
@@ -251,6 +251,7 @@ SimpleCov.start 'rails' do
|
|
251
251
|
# any custom configs like groups and filters can be here at a central place
|
252
252
|
end
|
253
253
|
```
|
254
|
+
Using `.simplecov` rather than separately requiring SimpleCov multiple times is recommended if you are merging multiple test frameworks like Cucumber and RSpec that rely on each other, as invoking SimpleCov multiple times can cause coverage information to be lost.
|
254
255
|
|
255
256
|
## Filters
|
256
257
|
|
@@ -378,7 +379,7 @@ on. This should work fine for Unit Tests, RSpec, and Cucumber. If it fails, it w
|
|
378
379
|
that invoked the test suite as a command name.
|
379
380
|
|
380
381
|
If you have some non-standard setup and still want nicely labeled test suites, you have to give Simplecov a cue as to what the
|
381
|
-
name of the currently running test suite is. You can do so by specifying SimpleCov.command_name in one test file that is
|
382
|
+
name of the currently running test suite is. You can do so by specifying `SimpleCov.command_name` in one test file that is
|
382
383
|
part of your specific suite.
|
383
384
|
|
384
385
|
To customize the suite names on a Rails app (yeah, sorry for being Rails-biased, but everyone knows what
|
@@ -402,14 +403,25 @@ SimpleCov.command_name "features"
|
|
402
403
|
Note that this only has to be invoked ONCE PER TEST SUITE, so even if you have 200 unit test files, specifying it in
|
403
404
|
some_test.rb is enough.
|
404
405
|
|
406
|
+
Last but not least **if multiple suites resolve to the same `command_name`** be aware that the coverage results **will
|
407
|
+
clobber each other instead of being merged**. SimpleCov is smart enough to detect unique names for the most common
|
408
|
+
setups, but if you have more than one test suite that doesn't follow a common pattern then you will want to manually
|
409
|
+
ensure that each suite gets a unique `command_name`.
|
410
|
+
|
411
|
+
If you are running tests in parallel each process has the potential to clobber results from the other test processes.
|
412
|
+
If you are relying on the default `command_name` then SimpleCov will attempt to detect and avoid parallel test suite
|
413
|
+
`command_name` collisions based on the presence of `ENV['PARALLEL_TEST_GROUPS']` and `ENV['TEST_ENV_NUMBER']`. If your
|
414
|
+
parallel test runner does not set one or both of these then *you must* set a `command_name` and ensure that it is unique
|
415
|
+
per process (eg. `command_name "Unit Tests PID #{$$}"`).
|
416
|
+
|
405
417
|
[simplecov-html] prints the used test suites in the footer of the generated coverage report.
|
406
418
|
|
407
419
|
### Timeout for merge
|
408
420
|
|
409
421
|
Of course, your cached coverage data is likely to become invalid at some point. Thus, result sets that are older than
|
410
|
-
SimpleCov.merge_timeout will not be used any more. By default, the timeout is 600 seconds (10 minutes), and you can
|
422
|
+
`SimpleCov.merge_timeout` will not be used any more. By default, the timeout is 600 seconds (10 minutes), and you can
|
411
423
|
raise (or lower) it by specifying `SimpleCov.merge_timeout 3600` (1 hour), or, inside a configure/start block, with
|
412
|
-
just
|
424
|
+
just `merge_timeout 3600`.
|
413
425
|
|
414
426
|
You can deactivate merging altogether with `SimpleCov.use_merging false`.
|
415
427
|
|
@@ -587,6 +599,11 @@ JSON formatter for SimpleCov
|
|
587
599
|
|
588
600
|
A formatter that generates a coverage badge for use in your project's readme using ImageMagick.
|
589
601
|
|
602
|
+
#### [simplecov-cobertura](https://github.com/dashingrocket/simplecov-cobertura)
|
603
|
+
*by Jesse Bowes*
|
604
|
+
|
605
|
+
A formatter that generates Cobertura XML.
|
606
|
+
|
590
607
|
## Ruby version compatibility
|
591
608
|
|
592
609
|
[![Build Status](https://secure.travis-ci.org/colszowka/simplecov.png)](http://travis-ci.org/colszowka/simplecov)
|
@@ -596,7 +613,7 @@ including Rubinius and JRuby, in [Continuous Integration], but this happens only
|
|
596
613
|
test suite crash right now. Whether SimpleCov will support JRuby/Rubinius in the future depends solely on whether those Ruby
|
597
614
|
interpreters add the coverage library.
|
598
615
|
|
599
|
-
SimpleCov is built in [Continuous Integration] on 1.9.3, 2.0.0, 2.1
|
616
|
+
SimpleCov is built in [Continuous Integration] on Ruby 1.9.3, 2.0.0, 2.1, and 2.2.
|
600
617
|
|
601
618
|
## Want to find dead code in production?
|
602
619
|
|
data/Rakefile
CHANGED
@@ -21,7 +21,7 @@ Rake::TestTask.new(:test) do |test|
|
|
21
21
|
end
|
22
22
|
|
23
23
|
# Cucumber integration test suite is for impls that work with simplecov only - a.k.a. 1.9+
|
24
|
-
if
|
24
|
+
if RUBY_VERSION >= "1.9"
|
25
25
|
require 'cucumber/rake/task'
|
26
26
|
Cucumber::Rake::Task.new
|
27
27
|
task :default => [:test, :cucumber]
|
data/features/support/env.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
if RUBY_VERSION < "1.9"
|
2
2
|
$stderr.puts "Sorry, Cucumber features are only meant to run on Ruby 1.9+ :("
|
3
3
|
exit 0
|
4
4
|
end
|
@@ -8,6 +8,7 @@ Bundler.setup
|
|
8
8
|
require 'aruba/cucumber'
|
9
9
|
require 'aruba/jruby' if RUBY_ENGINE == 'jruby'
|
10
10
|
require 'capybara/cucumber'
|
11
|
+
require 'minitest/autorun'
|
11
12
|
require 'phantomjs/poltergeist'
|
12
13
|
|
13
14
|
# Fake rack app for capybara that just returns the latest coverage report from aruba temp project dir
|
data/lib/simplecov/version.rb
CHANGED
data/simplecov.gemspec
CHANGED
@@ -13,8 +13,9 @@ Gem::Specification.new do |gem|
|
|
13
13
|
gem.summary = gem.description
|
14
14
|
gem.license = "MIT"
|
15
15
|
|
16
|
+
gem.required_ruby_version = ">= 1.8.7"
|
16
17
|
gem.add_dependency 'multi_json', '~> 1.0'
|
17
|
-
gem.add_dependency 'simplecov-html', '~> 0.
|
18
|
+
gem.add_dependency 'simplecov-html', '~> 0.9.0'
|
18
19
|
gem.add_dependency 'docile', '~> 1.1.0'
|
19
20
|
|
20
21
|
gem.files = `git ls-files`.split("\n")
|
data/test/helper.rb
CHANGED
@@ -1,21 +1,19 @@
|
|
1
1
|
require 'bundler/setup'
|
2
2
|
require 'simplecov'
|
3
|
-
require '
|
3
|
+
require 'minitest/autorun'
|
4
4
|
require 'shoulda'
|
5
5
|
|
6
6
|
SimpleCov.coverage_dir('tmp/coverage')
|
7
7
|
|
8
|
-
|
9
|
-
|
10
|
-
File.expand_path(File.join(File.dirname(__FILE__), 'fixtures', filename))
|
11
|
-
end
|
8
|
+
def source_fixture(filename)
|
9
|
+
File.expand_path(File.join(File.dirname(__FILE__), 'fixtures', filename))
|
12
10
|
end
|
13
11
|
|
14
12
|
require 'shoulda_macros'
|
15
|
-
Test
|
13
|
+
Minitest::Test.send :extend, ShouldaMacros
|
16
14
|
|
17
15
|
# Taken from http://stackoverflow.com/questions/4459330/how-do-i-temporarily-redirect-stderr-in-ruby
|
18
|
-
require
|
16
|
+
require 'stringio'
|
19
17
|
|
20
18
|
def capture_stderr
|
21
19
|
# The output stream must be an IO-like object. In this case we capture it in
|
data/test/test_1_8_fallbacks.rb
CHANGED
@@ -6,7 +6,7 @@ require 'helper'
|
|
6
6
|
# TODO: This should be expanded upon all methods that could potentially
|
7
7
|
# be called in a test/spec-helper simplecov config block
|
8
8
|
#
|
9
|
-
class Test18FallBacks < Test
|
9
|
+
class Test18FallBacks < Minitest::Test
|
10
10
|
should "return false when calling SimpleCov.start" do
|
11
11
|
assert_equal false, SimpleCov.start
|
12
12
|
end
|
data/test/test_deleted_source.rb
CHANGED
@@ -2,7 +2,7 @@ require 'helper'
|
|
2
2
|
|
3
3
|
# Test to verify correct handling of deleted files,
|
4
4
|
# see issue #9 on github
|
5
|
-
class TestDeletedSource < Test
|
5
|
+
class TestDeletedSource < Minitest::Test
|
6
6
|
context "A source file which is subsequently deleted" do
|
7
7
|
should "not cause an error" do
|
8
8
|
Dir.chdir(File.join(File.dirname(__FILE__), 'fixtures')) do
|
data/test/test_file_list.rb
CHANGED
data/test/test_filters.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'helper'
|
2
2
|
|
3
|
-
class TestFilters < Test
|
3
|
+
class TestFilters < Minitest::Test
|
4
4
|
context "A source file initialized with some coverage data" do
|
5
5
|
setup do
|
6
6
|
@source_file = SimpleCov::SourceFile.new(source_fixture('sample.rb'), [nil, 1, 1, 1, nil, nil, 1, 0, nil, nil])
|
data/test/test_merge_helpers.rb
CHANGED
data/test/test_result.rb
CHANGED
data/test/test_return_codes.rb
CHANGED
@@ -2,7 +2,11 @@ require 'helper'
|
|
2
2
|
|
3
3
|
# Make sure that exit codes of tests are propagated properly when using
|
4
4
|
# simplecov. See github issue #5
|
5
|
-
class TestReturnCodes < Test
|
5
|
+
class TestReturnCodes < Minitest::Test
|
6
|
+
def self.test_order
|
7
|
+
:alpha
|
8
|
+
end
|
9
|
+
|
6
10
|
context "Inside fixtures/frameworks" do
|
7
11
|
setup do
|
8
12
|
@current_dir = Dir.getwd
|
@@ -22,12 +26,12 @@ class TestReturnCodes < Test::Unit::TestCase
|
|
22
26
|
|
23
27
|
should "have non-0 return code when running testunit_bad.rb" do
|
24
28
|
`ruby testunit_bad.rb`
|
25
|
-
|
29
|
+
refute_equal 0, $?.exitstatus
|
26
30
|
end
|
27
31
|
|
28
32
|
should "have return code 1 when running rspec_bad.rb" do
|
29
33
|
`rspec rspec_bad.rb`
|
30
|
-
|
34
|
+
refute_equal 0, $?.exitstatus
|
31
35
|
end
|
32
36
|
|
33
37
|
teardown do
|
data/test/test_source_file.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'helper'
|
2
2
|
|
3
|
-
class TestSourceFile < Test
|
3
|
+
class TestSourceFile < Minitest::Test
|
4
4
|
COVERAGE_FOR_SAMPLE_RB = [nil, 1, 1, 1, nil, nil, 1, 0, nil, nil, nil, nil, nil, nil, nil, nil]
|
5
5
|
context "A source file initialized with some coverage data" do
|
6
6
|
setup do
|
@@ -70,37 +70,4 @@ class TestSourceFile < Test::Unit::TestCase
|
|
70
70
|
assert_match(/^Warning: coverage data provided/, captured_output)
|
71
71
|
end
|
72
72
|
end
|
73
|
-
|
74
|
-
context "Encoding" do
|
75
|
-
should "handle utf-8 encoded source files" do
|
76
|
-
source_file = SimpleCov::SourceFile.new(source_fixture('utf-8.rb'), [nil, nil, 1])
|
77
|
-
|
78
|
-
assert_nothing_raised do
|
79
|
-
source_file.process_skipped_lines!
|
80
|
-
end
|
81
|
-
end
|
82
|
-
|
83
|
-
should "handle iso-8859 encoded source files" do
|
84
|
-
source_file = SimpleCov::SourceFile.new(source_fixture('iso-8859.rb'), [nil, nil, 1])
|
85
|
-
|
86
|
-
assert_nothing_raised do
|
87
|
-
source_file.process_skipped_lines!
|
88
|
-
end
|
89
|
-
end
|
90
|
-
|
91
|
-
should "handle utf-8 encoded source files when the default_internal encoding is binary" do
|
92
|
-
original_internal_encoding = Encoding.default_internal
|
93
|
-
Encoding.default_internal = "BINARY"
|
94
|
-
begin
|
95
|
-
source_file = SimpleCov::SourceFile.new(source_fixture('utf-8.rb'), [nil, nil, 1])
|
96
|
-
ensure
|
97
|
-
Encoding.default_internal = original_internal_encoding
|
98
|
-
end
|
99
|
-
|
100
|
-
assert_nothing_raised do
|
101
|
-
source_file.process_skipped_lines!
|
102
|
-
end
|
103
|
-
end
|
104
|
-
end
|
105
73
|
end if SimpleCov.usable?
|
106
|
-
|
@@ -1,6 +1,6 @@
|
|
1
1
|
require 'helper'
|
2
2
|
|
3
|
-
class TestSourceFileLine < Test
|
3
|
+
class TestSourceFileLine < Minitest::Test
|
4
4
|
context "A source line" do
|
5
5
|
setup do
|
6
6
|
@line = SimpleCov::SourceFile::Line.new('# the ruby source', 5, 3)
|
@@ -87,19 +87,19 @@ class TestSourceFileLine < Test::Unit::TestCase
|
|
87
87
|
end
|
88
88
|
|
89
89
|
should "raise ArgumentError when initialized with invalid src" do
|
90
|
-
|
90
|
+
assert_raises ArgumentError do
|
91
91
|
SimpleCov::SourceFile::Line.new(:symbol, 5, 3)
|
92
92
|
end
|
93
93
|
end
|
94
94
|
|
95
95
|
should "raise ArgumentError when initialized with invalid line_number" do
|
96
|
-
|
96
|
+
assert_raises ArgumentError do
|
97
97
|
SimpleCov::SourceFile::Line.new("some source", "five", 3)
|
98
98
|
end
|
99
99
|
end
|
100
100
|
|
101
101
|
should "raise ArgumentError when initialized with invalid coverage" do
|
102
|
-
|
102
|
+
assert_raises ArgumentError do
|
103
103
|
SimpleCov::SourceFile::Line.new("some source", 5, "three")
|
104
104
|
end
|
105
105
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplecov
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christoph Olszowka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.9.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.9.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: docile
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -181,7 +181,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
181
181
|
requirements:
|
182
182
|
- - ">="
|
183
183
|
- !ruby/object:Gem::Version
|
184
|
-
version:
|
184
|
+
version: 1.8.7
|
185
185
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
186
186
|
requirements:
|
187
187
|
- - ">="
|
@@ -189,7 +189,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
189
189
|
version: '0'
|
190
190
|
requirements: []
|
191
191
|
rubyforge_project:
|
192
|
-
rubygems_version: 2.
|
192
|
+
rubygems_version: 2.4.5
|
193
193
|
signing_key:
|
194
194
|
specification_version: 4
|
195
195
|
summary: Code coverage for Ruby 1.9+ with a powerful configuration library and automatic
|