woah 1.0.2 → 1.0.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 +4 -4
- data/lib/woah/base.rb +2 -2
- data/lib/woah/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d2d82c3f80800e51ad922187916a7d818af057d76b16ab42ba98be5429a2f27b
|
|
4
|
+
data.tar.gz: c3b6f727f5d2e9e2bd4a45af2b7f2409f10fb47ee1bb0c145db17eec3727bf5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1cedfb0abbfffeb861369f8885aa80fa1fa0bcd58ad9847489b27e083b2736189eae8912e66399092c8b70029695cecb42b83e6ead64e538890eeabcb56c7d4d
|
|
7
|
+
data.tar.gz: dd7d5428fffcd5328751a86443d7624040f33319d5d48390c69ffeb8315f23a3f53d98c89d647e805e1ce022c95129420ace8ac9fb6f12e66c9919684cc4f98c
|
data/lib/woah/base.rb
CHANGED
|
@@ -46,8 +46,8 @@ module Woah
|
|
|
46
46
|
|
|
47
47
|
class << self
|
|
48
48
|
# Get this show on the road.
|
|
49
|
-
def run!(port = 4422)
|
|
50
|
-
Rack::Handler.pick(%w[thin webrick]).run new, Port: port
|
|
49
|
+
def run!(host = '0.0.0.0', port = 4422)
|
|
50
|
+
Rack::Handler.pick(%w[thin webrick]).run new, Host: host, Port: port
|
|
51
51
|
end
|
|
52
52
|
|
|
53
53
|
# Answer the phone.
|
data/lib/woah/version.rb
CHANGED