site_hook 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/site_hook/commands/server_class.rb +2 -2
- data/lib/site_hook/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: 37a2e48602459c9f8b74eadb5247ec4a8a13429ff39c217efb50d5cd1444fcff
|
4
|
+
data.tar.gz: 5d1849cada88eec8c3b7c55ab5476ac5c8c908a24c20c7bd64e4d47181a705f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a0c91b17df250085cc7023fa20f095be003f9cc0dd578cb83486a454a3b43758d5b432ec6aa899601b5b88c2c418dfdd6507143208020da1ef100a15e6fafa7
|
7
|
+
data.tar.gz: 74567f26b9dbb916452abf0fbedce0a4fe6f83829ca4f3f54aff8480d6af158245747a251e7634b094163160b659db9f147f173495fe6dac459234a8114ff625
|
@@ -14,8 +14,8 @@ module SiteHook
|
|
14
14
|
# puts SiteHook::VERSION
|
15
15
|
# end
|
16
16
|
# map ['-v', '--version'] => __version
|
17
|
-
method_option(:host, banner: 'HOST', aliases: ['-h'], type: :string, default: SiteHook::Config.webhook.host)
|
18
|
-
method_option(:port, banner: 'PORT', aliases: ['-p'], type: :numeric, default: SiteHook::Config.webhook.port)
|
17
|
+
method_option(:host, banner: 'HOST', aliases: ['-h'], type: :string, default: SiteHook::Config.new.webhook.host)
|
18
|
+
method_option(:port, banner: 'PORT', aliases: ['-p'], type: :numeric, default: SiteHook::Config.new.webhook.port)
|
19
19
|
desc 'listen [options]', ''
|
20
20
|
def listen
|
21
21
|
$threads << Thread.new do
|
data/lib/site_hook/version.rb
CHANGED