mutant-rspec 0.10.17 → 0.10.22

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: 2c6bafe14db2450425af2cefd8924ee3ab238a2377b441a3b7b653f6bd78b6c9
4
- data.tar.gz: 045f2b372565d027f11995dd067155f63ed85a0728194affc90dbfa63d4ef2ae
3
+ metadata.gz: 88209c416b3e46dadcb05aa26e66253eea6d1c26fdebc2e06b3c9057f8f370a9
4
+ data.tar.gz: 0227d3bfdaf949af72dc6268992d34cdae1784e4066fe8371dbad64d3dcb2db1
5
5
  SHA512:
6
- metadata.gz: 2732a21c3c5774c159c047ddfed65207a3d8401f23be94d3dc092c26af7824be46335a4089e9eb80333e3195c26c5ac34cd5289a4468fde741e7aa945935db8c
7
- data.tar.gz: dc36b943a85108fd697017c66e25cfc14e5a92128d61640918e100ba1716e20e0150bccadfe5caf51c4e05c2e50f8f0caa8dc3e066bb9c5de94b56ed5c71c60a
6
+ metadata.gz: 3c8b4c4b87a29dfd4ad39dfb88d461dcb4bdede6a20c35f59cf48287c6c88ba903b3acd5de2142931d5a3b4c7ae3261929b3edcf9b1f25dd07112a40bd97cf0b
7
+ data.tar.gz: 892b06dc58c186991a8a6c1eac91a5aa4b74a874075eef004fae961500b2a8b5f68f20cdb87002deca1379aa8e8f1f6b9dd0ef96a1266152f7471159b8090b64
@@ -23,7 +23,6 @@ module Mutant
23
23
 
24
24
  ALL_EXPRESSION = Expression::Namespace::Recursive.new(scope_name: nil)
25
25
  EXPRESSION_CANDIDATE = /\A([^ ]+)(?: )?/.freeze
26
- LOCATION_DELIMITER = ':'
27
26
  EXIT_SUCCESS = 0
28
27
  CLI_OPTIONS = IceNine.deep_freeze(%w[spec --fail-fast])
29
28
  TEST_ID_FORMAT = 'rspec:%<index>d:%<location>s/%<description>s'
@@ -54,14 +53,13 @@ module Mutant
54
53
  #
55
54
  # @return [Result::Test]
56
55
  def call(tests)
57
- examples = tests.map(&all_tests_index.method(:fetch))
58
- filter_examples(&examples.method(:include?))
56
+ examples = tests.map(&all_tests_index)
57
+ filter_examples(&examples.public_method(:include?))
59
58
  start = timer.now
60
59
  passed = @runner.run_specs(@world.ordered_example_groups).equal?(EXIT_SUCCESS)
61
60
  Result::Test.new(
62
61
  passed: passed,
63
- runtime: timer.now - start,
64
- tests: tests
62
+ runtime: timer.now - start
65
63
  )
66
64
  end
67
65
 
@@ -112,7 +110,7 @@ module Mutant
112
110
  end
113
111
 
114
112
  def parse_expression(input, &default)
115
- expression_parser.apply(input).from_right(&default)
113
+ expression_parser.call(input).from_right(&default)
116
114
  end
117
115
 
118
116
  def all_examples
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mutant-rspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.17
4
+ version: 0.10.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Schirp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-08 00:00:00.000000000 Z
11
+ date: 2020-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mutant
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.10.17
19
+ version: 0.10.22
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.10.17
26
+ version: 0.10.22
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rspec-core
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0'
75
75
  requirements: []
76
- rubygems_version: 3.1.4
76
+ rubygems_version: 3.0.3
77
77
  signing_key:
78
78
  specification_version: 4
79
79
  summary: Rspec integration for mutant