mutant 0.5.25 → 0.5.26

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: 8b47d52ad659d548654d47fb3905ad423021b7a2
4
- data.tar.gz: b3e197edb631419fbe793d8477b2cb9e0975cf0d
3
+ metadata.gz: 40c90d9f752a1b8e3f120deb4c47f6a4a3683369
4
+ data.tar.gz: 833c87b79967039486f66c6e295992642243f2e9
5
5
  SHA512:
6
- metadata.gz: 7c52c83d2d637d3f6f6baa01da3f5536d513b57247fce771af24a75e46a83eda62b94ab222075fc4908becf899ab33bb5def7c96c68453ccc6226545bb376fb2
7
- data.tar.gz: d856b74e68b9c588a8fd518738fe237ab1ba4887da2bcf6346ad17b8329981e9d8f818d45383e5b6ea64118b8c8b6c6a722a6587d30d1cf9c68baded825d073a
6
+ metadata.gz: 243b80a0db1e4c41a0d47fbc2056cf48d10e268a6c5af1cc9728a5645022a0ae042287242a8bef1fed6ec2a3df19b24cc8c589083aa4940a104fdef9a3e0a079
7
+ data.tar.gz: 113d8551fcc6102f8cc459b0e793e80abd77f685f80eb2895d5cf989b12eb65ffbc5d642bc762a5d750faeef90dde6a5c95a5c6d47365f3f6a30897f2cbf48a7
@@ -1,3 +1,8 @@
1
+ # v0.5.26 2014-07-07
2
+
3
+ * Fix exceptions generation matcher errors
4
+ * Fix report generation with formatted string as payload of diffs.
5
+
1
6
  # v0.5.25 2014-07-07
2
7
 
3
8
  * Make ordering of subjects and tests deterministic
@@ -107,7 +107,7 @@ module Mutant
107
107
  name = scope_name(scope) or return
108
108
 
109
109
  unless name.kind_of?(String)
110
- warn("#{scope.class}#name from: #{scope.inspect} did not return a String or nil. Fix your lib to support normal ruby semantics!")
110
+ warn("#{scope.class}#name from: #{scope.inspect} did not return a String or nil. Fix your lib to support normal ruby semantics!")
111
111
  return
112
112
  end
113
113
 
@@ -25,7 +25,7 @@ module Mutant
25
25
  methods_matcher = MATCHERS.fetch(scope_symbol).new(env, scope)
26
26
  method = methods_matcher.methods.detect do |meth|
27
27
  meth.name.equal?(method_name)
28
- end or raise NameError, "Cannot find method #{identifier}"
28
+ end or raise NameError, "Cannot find method #{method_name}"
29
29
  methods_matcher.matcher.build(env, scope, method)
30
30
  end
31
31
 
@@ -71,7 +71,7 @@ module Mutant
71
71
  original, current = mutation.original_source, mutation.source
72
72
  diff = Mutant::Diff.build(original, current)
73
73
  diff = color? ? diff.colorized_diff : diff.diff
74
- info(diff || DIFF_ERROR_MESSAGE)
74
+ puts(diff || DIFF_ERROR_MESSAGE)
75
75
  end
76
76
 
77
77
  # Noop details
@@ -1,4 +1,4 @@
1
1
  module Mutant
2
2
  # The current mutant version
3
- VERSION = '0.5.25'.freeze
3
+ VERSION = '0.5.26'.freeze
4
4
  end # Mutant
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mutant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.25
4
+ version: 0.5.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Markus Schirp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-07 00:00:00.000000000 Z
11
+ date: 2014-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parser