mutant 0.9.0 → 0.9.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e9289e21c711435b21d02a17ed24ccdd084eea6ff1562c2f96fc7ed898c6af1
4
- data.tar.gz: 930f03c76551cdd0887aeb661835c8b5ec4597344132a57b48ce21f426892999
3
+ metadata.gz: adb6a3a1731a9c1d8939c6ed36cb5696196bd296c02de6a2d372c8d14b4c33be
4
+ data.tar.gz: 8c5c7043e92cf944c5105c3d09bb8934a6038e8e575bf56aa437c93a867387f9
5
5
  SHA512:
6
- metadata.gz: 4d744106f328779f86c7ee3b49e08a83510c400345bb41c9f22b989fe4b7c74afa9b246b768bc8356d760cb091c96f91e6d97bcfdf074df4fb4265597c827332
7
- data.tar.gz: f9e252adfb3edd063de29ee628bd044c359dc7ebb441b3f4f31a6d1751281f52689a7360e06b14bd0db9b71d242c0973b723844649e5f7d6785c542ea53811ea
6
+ metadata.gz: 79019875cbc30db995870efdfbed29c73aac0b0c5d428f4a4b5cb612ea9d0079ac9269bbf48c5dae810282eb5b7f73051d2fd47f960544d031b83f28688cf2dd
7
+ data.tar.gz: 5ee2665f9aea90396fd9227c876b139f1a3c54e388b515d0d7ab7eddff3c9def8b4fca0b9b83f497379f5a3946d9351299672e23fdd29a714e36eda6c5faa392
@@ -1,4 +1,8 @@
1
- # v0.9.0
1
+ # v0.9.1 2020-01-02
2
+
3
+ * Packaging bugfix.
4
+
5
+ # v0.9.0 2020-01-02
2
6
 
3
7
  * New license.
4
8
  * Fix mutations to void value expressions to not be reported as integration error.
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Mutant
4
+ class Integration
5
+ # Null integration that has no tests
6
+ class Null < self
7
+ # Available tests for integration
8
+ #
9
+ # @return [Enumerable<Test>]
10
+ def all_tests
11
+ EMPTY_ARRAY
12
+ end
13
+
14
+ # Run a collection of tests
15
+ #
16
+ # @param [Enumerable<Mutant::Test>] tests
17
+ #
18
+ # @return [Result::Test]
19
+ def call(tests)
20
+ Result::Test.new(
21
+ output: '',
22
+ passed: true,
23
+ runtime: 0.0,
24
+ tests: tests
25
+ )
26
+ end
27
+
28
+ end # Null
29
+ end # Integration
30
+ end # Mutant
@@ -2,5 +2,5 @@
2
2
 
3
3
  module Mutant
4
4
  # Current mutant version
5
- VERSION = '0.9.0'
5
+ VERSION = '0.9.1'
6
6
  end # Mutant
@@ -14,7 +14,7 @@ Gem::Specification.new do |gem|
14
14
 
15
15
  gem.require_paths = %w[lib]
16
16
 
17
- exclusion = `git ls-files -- lib/mutant/{minitest,integration}`.split("\n")
17
+ exclusion = `git ls-files -- lib/mutant/{integration/{minitest,rspec}.rb,minitest}`.split("\n")
18
18
 
19
19
  gem.files = `git ls-files`.split("\n") - exclusion
20
20
  gem.test_files = `git ls-files -- spec/{unit,integration}`.split("\n")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mutant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Schirp
@@ -280,6 +280,7 @@ files:
280
280
  - lib/mutant/expression/namespace.rb
281
281
  - lib/mutant/expression/parser.rb
282
282
  - lib/mutant/integration.rb
283
+ - lib/mutant/integration/null.rb
283
284
  - lib/mutant/isolation.rb
284
285
  - lib/mutant/isolation/fork.rb
285
286
  - lib/mutant/isolation/none.rb
@@ -626,7 +627,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
626
627
  - !ruby/object:Gem::Version
627
628
  version: '0'
628
629
  requirements: []
629
- rubygems_version: 3.0.6
630
+ rubygems_version: 3.0.3
630
631
  signing_key:
631
632
  specification_version: 4
632
633
  summary: Mutation testing tool for ruby under MRI and Rubinius