zygote 0.2.5 → 0.2.6

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: 3bd75d436fea9a8f78488c577965a3582cb9a08a
4
- data.tar.gz: bd6f75e7c83ed3691f0dc8940209b34e1ad0c227
3
+ metadata.gz: 447d1fddebcbf84bef9a90dc12b5c432bdb005b5
4
+ data.tar.gz: 8de316fe1b647322e83fa750d7e1d862c7d9c064
5
5
  SHA512:
6
- metadata.gz: 69818393b6a753bf0a4e179332242aa81c6c49576ea5ff5a58e65f775170c6ef0b0b54860335d0f01e2a5c1c01c101a06dde0eceb2143337d74c6213acaa1608
7
- data.tar.gz: 4523d4cc2876570e98f1adf3dbb2af410c790bedf885ee515fb32829e85ac9f68bbc0a2d43e3d019de665f39531245061bbfc3cfe0ecc28b08a76cbfa275c018
6
+ metadata.gz: 97e01216818a1e56bb129c035ce41a96f99714cd9799168d2e2c5ab36022bd74b27c8765d3ecad3e72ef7ef9b155a961c467cb5012081bad4daa6929d0bb9781
7
+ data.tar.gz: 8ec36dbe926187668e5a8b2202ee6bb0ef1dcfed4d993764543e73fa342b634164914f4750d74488fdbca4f333c1e2cbd02010ad14a90df3062b7794de49afa6
data/lib/zygote/http.rb CHANGED
@@ -15,7 +15,12 @@ class ZygoteWeb < Sinatra::Base
15
15
  register Sinatra::Async
16
16
 
17
17
  use ::Rack::PostBodyContentTypeParser
18
- set :show_exceptions, ENV['DEBUG'] || false
18
+
19
+ # Throw exceptions so we can catch and nicely log them
20
+ set :raise_errors, true
21
+ set :show_exceptions, false
22
+ set :dump_errors, false
23
+
19
24
  # Requested by iPXE on boot, chains into /boot.
20
25
  # This enables us to customize what details we want iPXE to send us
21
26
  # The iPXE undionly.kpxe should contain an embedded script to call this URL
data/lib/zygote/server.rb CHANGED
@@ -25,6 +25,9 @@ class ZygoteServer
25
25
 
26
26
  def start
27
27
  @server.start
28
+ rescue => ex
29
+ puts ex
30
+ puts ex.backtrace.join("\n")
28
31
  end
29
32
 
30
33
  def run
@@ -1,4 +1,4 @@
1
1
  # Namespace for our gem
2
2
  module Zygote
3
- VERSION = '0.2.5'.freeze
3
+ VERSION = '0.2.6'.freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zygote
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dale Hamel