deimos 0.2.0 → 0.2.1

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: 15cc6372bc401ffa051316be8573fd8066b5f1749753679d680459c8846a394d
4
- data.tar.gz: 504c5872e4c5c71ebd1f269075667589697fd3e20b95e6f10461e01fb2d8009a
3
+ metadata.gz: 8a91967e23ecb309e39d2a876f09f167a4b1b92be0813a8c7de2540dda911799
4
+ data.tar.gz: 4ab5a5bf21553b8bbd2a8317bd2db2e5bda74815e810e24a0dcf142a217b0e33
5
5
  SHA512:
6
- metadata.gz: 115bd70bb83642e7e58eeb5fd79856a0c1bb42390f879898ae015d0180bd81770ef6eb9499af239b1dc0ed6c90330f175abd4176a8b0b61834d1603e5dc83075
7
- data.tar.gz: 4bf4b534367761779afc0c359cd5081c308d7245049b4a8c28fd953ef1d7a332d3d4af32e45098221f96a86a32ae94e2e8f02238b53fb635572a38668bbb6da9
6
+ metadata.gz: 71b9201f19630e8365c450a53f6fbe91ea2faf9f5dd0a9a7fe8699b1fa03806b73b9c1dad4eb70c2690d0174f2179ecfe25aba5538e39a1890f4267108892329
7
+ data.tar.gz: f270b5ef357adea514a5eb12ca067b8a444fa94cf1a002bc5246fa3f77bc86da0e3f36f36fdd0694b559f5a53883f9e5dbebe43df7e4dd971a6cc1725cbd143a
data/README.md CHANGED
@@ -24,6 +24,12 @@ Or install it yourself as:
24
24
 
25
25
  ## Usage
26
26
 
27
+ After the application is configured (see below), you can boot it by calling the following. Place this in an initializer at some point after the configuration directives.
28
+
29
+ ```ruby
30
+ Deimos.boot! # Will execute a webrick HTTP handler in another thread
31
+ ```
32
+
27
33
  ### Configuration
28
34
 
29
35
  ```ruby
@@ -1,3 +1,3 @@
1
1
  module Deimos
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
data/lib/deimos.rb CHANGED
@@ -26,7 +26,7 @@ module Deimos
26
26
  require 'deimos/endpoints/metrics'
27
27
  Thread.new do
28
28
  ::Rack::Handler::WEBrick.run(application, {
29
- BindAddress: Deimos.config.bind,
29
+ Host: Deimos.config.bind,
30
30
  Port: Deimos.config.port,
31
31
  Logger: Deimos.logger,
32
32
  AccessLog: []
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.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Carlile