simplecov-patched 0.14.2 → 0.14.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/simplecov/defaults.rb +8 -1
- data/lib/simplecov/version.rb +1 -1
- data/simplecov-patched.gemspec +27 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e343c58949c72a6c45180d40bf8ff1c43f60921
|
4
|
+
data.tar.gz: 14c71dc6cf4c04084269ead8931c957b5345e0e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: feb75eec6e1d8f2f36d5a1923778d31180e868ecb50fbca17fe9bde80e4edf6c0d3e65974cb36a85317cdd90f1bf9f596b33e4b48fbce3f0247bef061efc9956
|
7
|
+
data.tar.gz: cee34a61505737c51fdb1fef134f87dccb821ec82846fe2247d07078c60c79dc1f8c4482395866d9030eb60143e2feb410e761ac8fde666ed0a81a23daacef40
|
data/.gitignore
CHANGED
data/lib/simplecov/defaults.rb
CHANGED
@@ -51,8 +51,15 @@ end
|
|
51
51
|
SimpleCov::CommandGuesser.original_run_command = "#{$PROGRAM_NAME} #{ARGV.join(' ')}"
|
52
52
|
|
53
53
|
at_exit do # rubocop:disable Metrics/BlockLength
|
54
|
+
# Commented out pid check. This breaks forking test runners.
|
55
|
+
#
|
56
|
+
# Work around:
|
57
|
+
# config.before :suite { SimpleCov.pid = Process.pid }
|
58
|
+
#
|
59
|
+
# https://github.com/colszowka/simplecov/pull/377#issuecomment-101350670
|
60
|
+
#
|
54
61
|
# If we are in a different process than called start, don't interfere.
|
55
|
-
next if SimpleCov.pid != Process.pid
|
62
|
+
# next if SimpleCov.pid != Process.pid
|
56
63
|
|
57
64
|
@exit_status = if $! # was an exception thrown?
|
58
65
|
# if it was a SystemExit, use the accompanying status
|
data/lib/simplecov/version.rb
CHANGED
@@ -0,0 +1,27 @@
|
|
1
|
+
$LOAD_PATH.push File.expand_path("../lib", __FILE__)
|
2
|
+
require "simplecov/version"
|
3
|
+
|
4
|
+
Gem::Specification.new do |gem|
|
5
|
+
gem.name = "simplecov-patched"
|
6
|
+
gem.version = SimpleCov::VERSION
|
7
|
+
gem.platform = Gem::Platform::RUBY
|
8
|
+
gem.authors = ["Christoph Olszowka"]
|
9
|
+
gem.email = ["christoph at olszowka de"]
|
10
|
+
gem.homepage = "http://github.com/colszowka/simplecov"
|
11
|
+
gem.description = %(Code coverage for Ruby 1.9+ with a powerful configuration library and automatic merging of coverage across test suites)
|
12
|
+
gem.summary = gem.description
|
13
|
+
gem.license = "MIT"
|
14
|
+
|
15
|
+
gem.required_ruby_version = ">= 1.8.7"
|
16
|
+
|
17
|
+
gem.add_dependency "json", ">= 1.8", "< 3"
|
18
|
+
gem.add_dependency "simplecov-html", "~> 0.10.0"
|
19
|
+
gem.add_dependency "docile", "~> 1.1.0"
|
20
|
+
|
21
|
+
gem.add_development_dependency "bundler", "~> 1.9"
|
22
|
+
|
23
|
+
gem.files = `git ls-files`.split("\n")
|
24
|
+
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
25
|
+
gem.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
26
|
+
gem.require_paths = ["lib"]
|
27
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simplecov-patched
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.
|
4
|
+
version: 0.14.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christoph Olszowka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-04-
|
11
|
+
date: 2017-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -151,6 +151,7 @@ files:
|
|
151
151
|
- lib/simplecov/result_merger.rb
|
152
152
|
- lib/simplecov/source_file.rb
|
153
153
|
- lib/simplecov/version.rb
|
154
|
+
- simplecov-patched.gemspec
|
154
155
|
- spec/1_8_fallbacks_spec.rb
|
155
156
|
- spec/command_guesser_spec.rb
|
156
157
|
- spec/config_loader_spec.rb
|
@@ -317,4 +318,3 @@ test_files:
|
|
317
318
|
- spec/source_file_line_spec.rb
|
318
319
|
- spec/source_file_spec.rb
|
319
320
|
- spec/support/fail_rspec_on_ruby_warning.rb
|
320
|
-
has_rdoc:
|