omnitest-skeptic 0.0.2 → 0.0.3

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: b9b6bff210ea41042bae9066f417f98d590d3cea
4
- data.tar.gz: 58655d93652db3a0005df71549e61e5df3b10546
3
+ metadata.gz: cc9c6cc786ab7e5b561aee12041ea84eb92e0975
4
+ data.tar.gz: c326c601423e9ea855ce3e9ad5050e6e09ddee3e
5
5
  SHA512:
6
- metadata.gz: 234205a3ed225713b2b5673167762647c1b515e48238768188004512acd1a18b81cec031e7faf51d7b2ad7abfdc547baf6a710189f63d9aa06ae212ed4780557
7
- data.tar.gz: a904457a02e2ba152e4ae663230e1a2b831165d62148092b58199f21b79720a2ca89d50d858e7a8af63e995bdea0ff64e01a6e222172fb8812d69f1ff430ab07
6
+ metadata.gz: 4db5282d3ef24132ba0638cb4e513179478fd11f2f9cbb398d9a182410f203427f6630f10a07debd3b5f3d6c44cb6be3997913e67e3a2fd7531f81dd09cc697b
7
+ data.tar.gz: e7bc4fc761ac4074ac9de0a625ba2ac091c0bd920b53046a23be686e120615144bc0b48d46e87dc37204fb3d9bc6ddf6dbe079d8663f3842406c41afa8d5e231
@@ -130,14 +130,14 @@ module Omnitest
130
130
  def verify!
131
131
  validators.each do |validator|
132
132
  validation = validator.validate(self)
133
- status = case validation.result
133
+ status = case validation.status
134
134
  when :passed
135
135
  Core::Color.colorize("\u2713 Passed", :green)
136
136
  when :failed
137
137
  Core::Color.colorize('x Failed', :red)
138
138
  Omnitest.handle_validation_failure(validation.error)
139
139
  else
140
- Core::Color.colorize(validation.result, :yellow)
140
+ Core::Color.colorize(validation.status, :yellow)
141
141
  end
142
142
  info format('%-50s %s', validator.description, status)
143
143
  end
@@ -31,7 +31,7 @@ module Omnitest
31
31
  when 'exec_failed' then 'Execution Failed'
32
32
  when 'verify', 'verify_failed'
33
33
  validator_count = validators.count
34
- validation_count = validations.values.select { |v| v.result == :passed }.count
34
+ validation_count = validations.values.select { |v| v.status == :passed }.count
35
35
  if validator_count == validation_count
36
36
  "Fully Verified (#{validation_count} of #{validator_count})"
37
37
  else
@@ -1,5 +1,5 @@
1
1
  module Omnitest
2
2
  class Skeptic
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omnitest-skeptic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Max Lincoln