deimos 0.2.4 → 0.2.5

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
  SHA256:
3
- metadata.gz: 6c5207cb6a1186d4fed8df2a7fba23b39819fbe0474cd7dc5734ed7ab337b161
4
- data.tar.gz: d3884e15b4c88383ffc4a8b466eb790911f97285b74acda94e156c93025accbd
3
+ metadata.gz: 4725b70f9faf75095eaaa3ebbc00cdfe4ef9bf78b36019d0430b93208bf86f5a
4
+ data.tar.gz: f93c66da3dd5cac5fff9ccffb23ebbff337731f533e376d2e1cdf5adec581b57
5
5
  SHA512:
6
- metadata.gz: 4a7824029d14dfa72b33359743d5a9f7def3cbbaa1a22c08aba38680a0761a68fa4a3905db1e8951982a8dc2081cefa52c7f15e36389c6719ae8885b05c81662
7
- data.tar.gz: f06bb8e562a34f4073f5c25c864f0cadabbb0cee51b8e3f9f5fb4df30886200455f23ef8cc69f9f5155ad1c6067d395057579dc4f720ba154e24d0d1ea54512f
6
+ metadata.gz: 678ae608f15092f751a0c27c9c83e73237efa82a0e44cd296ad64344285ba2a352b9bb5eb656edcd8d206600194f8514b4548c6c506d5cb46e9268bee0641191
7
+ data.tar.gz: 2a5d940d0fbee5b17497d7c062d23ca0eb16ad31c39cd21e1c373f0468f18c3ef762e546aa078522d22a27d0409c795c70191bfb62fabc98e83fb32428786293
@@ -1,3 +1,3 @@
1
1
  module Deimos
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
data/lib/deimos.rb CHANGED
@@ -21,8 +21,6 @@ module Deimos
21
21
  module_function
22
22
 
23
23
  def boot!
24
- require 'deimos/endpoints/status'
25
- require 'deimos/endpoints/metrics'
26
24
  Thread.new do
27
25
  ::Rack::Handler::WEBrick.run(application, {
28
26
  Host: Deimos.config.bind,
@@ -59,6 +57,8 @@ module Deimos
59
57
  end
60
58
 
61
59
  def applications
60
+ require 'deimos/endpoints/status'
61
+ require 'deimos/endpoints/metrics'
62
62
  @applications ||= {
63
63
  "/status" => Deimos::Endpoints::Status.new(status: status),
64
64
  "/metrics" => Deimos::Endpoints::Metrics.new
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deimos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Carlile