mutest 0.0.5 → 0.0.6

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
  SHA1:
3
- metadata.gz: 28ad889f38011616ab297533e38652fd025f3b70
4
- data.tar.gz: 28e755a956d3f328e5374bb35ab65664ff479fd2
3
+ metadata.gz: 97bf6ecfd043bbfd31dd3e8e2e5263261f0362f8
4
+ data.tar.gz: 20eb837b1320b00cbaf394420b9cdb507fd8c06e
5
5
  SHA512:
6
- metadata.gz: 28a36e5aec3ee2931dfcdef9634e167c46aa157e97662c91ab6f7e84ec7c92d984dc89cacbd098cd990c6fdbbbd0d54572b161ce671752f9a793f8a21bfee721
7
- data.tar.gz: 49fb9c67f4faea1835d4cc97d7c20193c1dc84b29903781e45894b2820b528cfba91742be9d60fd6a6528265c1a9cbdaa4ff07d9e2fb28a702d90fd2720a2580
6
+ metadata.gz: dbaf4594dfd3e4f6a5ed819475e0932794930084c46dab08e04471d1d88e0bcd3980a6ac1555c78d52455f34ac24cfd96961c4713d149380b3d1dab45a2ce79d
7
+ data.tar.gz: 539337ea6d7cc082aeb3e9ee19e86afc9a26a6f2885e900d40ed3d0919800a071f16297ef8005d0374e4fce78156db060eaf5d4ee9606f9619e0c3ac83238724
@@ -6,9 +6,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/).
6
6
 
7
7
  ## [Master (Unreleased)]
8
8
 
9
+ ## [0.0.6] - 2017-03-04
10
+
11
+ ### Fixed
12
+
13
+ - Now `mutest` can REALLY be run without being in the bundle. [[#50](https://github.com/backus/mutest/pull/50/files) ([@dgollahon][])]
14
+
9
15
  ## [0.0.5] - 2017-03-04
10
16
 
11
- ### Added
17
+ ### Fixed
12
18
 
13
19
  - Now `mutest` can be run without being in the bundle. [[#46](https://github.com/backus/mutest/pull/46/files) ([@mvz][])]
14
20
 
@@ -49,7 +55,8 @@ First proper RubyGems release
49
55
 
50
56
  <!-- Version diffs -->
51
57
 
52
- [Master (Unreleased)]: https://github.com/backus/mutest/compare/v0.0.5...HEAD
58
+ [Master (Unreleased)]: https://github.com/backus/mutest/compare/v0.0.6...HEAD
59
+ [0.0.6]: https://github.com/backus/mutest/compare/v0.0.5...v0.0.6
53
60
  [0.0.5]: https://github.com/backus/mutest/compare/v0.0.4...v0.0.5
54
61
  [0.0.4]: https://github.com/backus/mutest/compare/v0.0.3...v0.0.4
55
62
  [0.0.3]: https://github.com/backus/mutest/compare/v0.0.2...v0.0.3
@@ -0,0 +1,27 @@
1
+ module Mutest
2
+ class Integration
3
+ # Null integration that never kills a mutation
4
+ class Null < self
5
+ # Available tests for integration
6
+ #
7
+ # @return [Enumerable<Test>]
8
+ def all_tests
9
+ EMPTY_ARRAY
10
+ end
11
+
12
+ # Run a collection of tests
13
+ #
14
+ # @param [Enumerable<Mutest::Test>] tests
15
+ #
16
+ # @return [Result::Test]
17
+ def call(tests)
18
+ Result::Test.new(
19
+ output: '',
20
+ passed: true,
21
+ runtime: 0.0,
22
+ tests: tests
23
+ )
24
+ end
25
+ end # Null
26
+ end # Integration
27
+ end # Mutest
@@ -1,4 +1,4 @@
1
1
  module Mutest
2
2
  # Current mutest version
3
- VERSION = '0.0.5'.freeze
3
+ VERSION = '0.0.6'.freeze
4
4
  end # Mutest
@@ -13,7 +13,9 @@ Gem::Specification.new do |gem|
13
13
 
14
14
  gem.require_paths = %w[lib]
15
15
 
16
- mutest_integration_files = `git ls-files -- lib/mutest/integration/*.rb`.split("\n")
16
+ mutest_integration_files =
17
+ `git ls-files -- lib/mutest/integration/*.rb`.split("\n")
18
+ .reject { |filename| filename =~ %r{/null.rb\z} }
17
19
 
18
20
  gem.files = `git ls-files`.split("\n") - mutest_integration_files
19
21
  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: mutest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Gollahon
@@ -349,6 +349,7 @@ files:
349
349
  - lib/mutest/expression/namespace.rb
350
350
  - lib/mutest/expression/parser.rb
351
351
  - lib/mutest/integration.rb
352
+ - lib/mutest/integration/null.rb
352
353
  - lib/mutest/isolation.rb
353
354
  - lib/mutest/isolation/fork.rb
354
355
  - lib/mutest/isolation/none.rb