outliers 0.3.2 → 0.3.3

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: cc2b914a568b6654d252e80ef96d0162c3536393
4
- data.tar.gz: 626bcaff7440abf632528dfedb7343b11d7176bd
3
+ metadata.gz: 7a3abdedf8279901f986e89f931eea7027945348
4
+ data.tar.gz: 343deb6efbe0455784e35acfdd0b15dce25bec44
5
5
  SHA512:
6
- metadata.gz: f93aedb4217b62eae64e9c3a29fed3f6cf24d7ec9504ab0dd463404eed9b90b09a1d74e2ee44b7449e96cf00ddd2a14a94c497d0e7a46eaccc76e022477f555d
7
- data.tar.gz: be47e5e6bfa238b2863424316899c0b6c3670a601724ca2f305725234aa99e862e4170bfa62082d41109d40cec87c733d72ff05c27dc94808d05494a8ae6f641
6
+ metadata.gz: 82e1db72c5424b718a5ed6e9a4550315f5c9b457b3959a58d9581495f3c8971794ac1096b4cb24ae712c2f336c83213bb8a0e439a303f5184a48f12635244699
7
+ data.tar.gz: 89e55d536770ffbca617679940e3f947c07e30754837a8f86964810959cecfed97ddb675c6d40e7814c912e64b22375f2c4f0af93449c9a10b26923f50b65660
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## HEAD
2
2
 
3
+ ## 0.3.3
4
+
5
+ * Updated unspecified evaluation log message.
6
+
3
7
  ## 0.3.2
4
8
 
5
9
  * Minor update to CLI help
@@ -30,7 +30,11 @@ module Outliers
30
30
  @logger.info "Evaluations completed."
31
31
 
32
32
  @run.failed.each do |f|
33
- @logger.info "Evaluation '#{f.evaluation}' verification '#{f.verification}' of '#{f.resource}' failed."
33
+ if f.evaluation
34
+ @logger.info "Evaluation '#{f.evaluation}' verification '#{f.verification}' of '#{f.resource}' failed."
35
+ else
36
+ @logger.info "Verification '#{f.verification}' of '#{f.resource}' failed."
37
+ end
34
38
  @logger.info "Failing resource IDs '#{f.failing_resources.map{|r| r.id}.join(', ')}'"
35
39
  end
36
40
 
data/lib/outliers/run.rb CHANGED
@@ -21,7 +21,7 @@ module Outliers
21
21
  threads.each {|t| t.join}
22
22
  end
23
23
 
24
- def evaluate(name='unspecified', &block)
24
+ def evaluate(name=nil, &block)
25
25
  while Thread.list.count > thread_count
26
26
  logger.info "Maximum concurrent threads running, sleeping."
27
27
  sleep 2
@@ -1,3 +1,3 @@
1
1
  module Outliers
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
data/spec/run_spec.rb CHANGED
@@ -83,8 +83,8 @@ describe Outliers::Run do
83
83
  end
84
84
  end
85
85
 
86
- it "should kick off a new evaluation with unspecified name" do
87
- Outliers::Evaluation.should_receive(:new).with(:name => 'unspecified', :run => subject).
86
+ it "should kick off a new evaluation with nil name" do
87
+ Outliers::Evaluation.should_receive(:new).with(:name => nil, :run => subject).
88
88
  and_return evaluation1
89
89
  evaluation1.should_receive(:connect).with('test')
90
90
  subject.evaluate do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: outliers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Weaver