simplecov-patched 0.14.2 → 0.14.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 37e1eb107f307c4f392152238f00eb7cf63e1e3a
4
- data.tar.gz: 04be361eed2365e403a68464a47ebf8e728f6a1a
3
+ metadata.gz: 9e343c58949c72a6c45180d40bf8ff1c43f60921
4
+ data.tar.gz: 14c71dc6cf4c04084269ead8931c957b5345e0e2
5
5
  SHA512:
6
- metadata.gz: 58376180f17d3239ac8d077359bd6c311ccbd9722d1de35e7ea7a1905c34a4d37eb1adf1678a1d2094220ed615cbd4eead688386ff0375727cc6968c495f85d7
7
- data.tar.gz: 5305b853d16e8fa749e18e4a02cde1d8f28bd5ecf4b81e6dc75902c3dd25b52e541c5038af72e1d2cf8ef834ac0656cf45155490bba4400fbae3f0f068845168
6
+ metadata.gz: feb75eec6e1d8f2f36d5a1923778d31180e868ecb50fbca17fe9bde80e4edf6c0d3e65974cb36a85317cdd90f1bf9f596b33e4b48fbce3f0247bef061efc9956
7
+ data.tar.gz: cee34a61505737c51fdb1fef134f87dccb821ec82846fe2247d07078c60c79dc1f8c4482395866d9030eb60143e2feb410e761ac8fde666ed0a81a23daacef40
data/.gitignore CHANGED
@@ -1,6 +1,7 @@
1
1
  .bundle
2
2
  Gemfile.lock
3
3
  gemfiles/*.lock
4
+ *.gem
4
5
 
5
6
  ## MAC OS
6
7
  .DS_Store
@@ -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
@@ -1,5 +1,5 @@
1
1
  module SimpleCov
2
- version = "0.14.2"
2
+ version = "0.14.3"
3
3
 
4
4
  def version.to_a
5
5
  split(".").map(&:to_i)
@@ -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.2
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-25 00:00:00.000000000 Z
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: