smith 0.8.4 → 0.8.5

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: 5b0a3ce48b208c5e828b780e7cc46b9acaf52db8
4
- data.tar.gz: 3ef6cffd4dbe62b2b385744ed02f85a667f22ada
3
+ metadata.gz: a558ca36ca237e0127acc87c499ce9e64ef14404
4
+ data.tar.gz: 9aefd75bf18a78504f87b7e81ba4bc3dee94f878
5
5
  SHA512:
6
- metadata.gz: e154e8e5f9a581e8f68bb663cd9509daa56c7e1d0d7844c536c2566e3bdb19d0123e83dae47741107813e473a41f4f31173023ed06655d3724ffb730ab640b7d
7
- data.tar.gz: 1960ac4441479753ac6e7bce7da67533d04497c292a7dac43e2041deb8f2e9383fcfd74be9a5a7d83b6884cf826cfdd2c77ccd0ce21798e0267960c3d8c4388f
6
+ metadata.gz: 837716a9325f0d71bb0895b8c85f51ed1bf1cd47bc2965fe1004e55ff2f30423e0584587574452940f0e44027b3251dcd0a5717af68f3e071834a48afb0e5ab8
7
+ data.tar.gz: 66a9ca176b0eb1efb2d9c8d6baeae0b1d1fcc4bbe478730d896fd38f855f3053e8d0ae6649c64d53d66f120200c3ffa8b89a2c4545625af293e711145b02a9d9
@@ -169,9 +169,13 @@ Smith.compile_acls
169
169
 
170
170
  bootstrapper = Smith::AgentBootstrap.new(name, uuid)
171
171
 
172
- Smith.start do
173
- if bootstrapper.load_agent
174
- bootstrapper.signal_handlers
175
- bootstrapper.start!
172
+ begin
173
+ Smith.start do
174
+ if bootstrapper.load_agent
175
+ bootstrapper.signal_handlers
176
+ bootstrapper.start!
177
+ end
176
178
  end
179
+ rescue Exception => e
180
+ bootstrapper.terminate!(e)
177
181
  end
@@ -4,7 +4,7 @@ module Smith
4
4
 
5
5
  def self.included(base)
6
6
 
7
- if !Logging.const_defined?(:MAX_LEVEL_LENGTH)
7
+ if !Logging.initialized?
8
8
  Logging.init([:verbose, :debug, :info, :warn, :error, :fatal])
9
9
  end
10
10
 
@@ -1,3 +1,3 @@
1
1
  module Smith
2
- VERSION = "0.8.4"
2
+ VERSION = "0.8.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smith
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4
4
+ version: 0.8.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Heycock
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-26 00:00:00.000000000 Z
11
+ date: 2016-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: amqp