site_hook 1.0.0 → 1.0.1
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 +3 -3
- data/lib/site_hook/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5901eaed263c13a081950fa38a8c25d6b4650ce6681b1c8312b9ac26ac0ffbe
|
4
|
+
data.tar.gz: 58654171b22a0eff052539c41e0c1e039c375dab3ed2d9a46886b04d823f5fcf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c49858de8461053297932442de3c42e0a2d79eb15ee3c6b0fc6a34e493b8e2eb72236a531d78a222bfb5b8c30edadb624c215fa67cb114a5041eb606e6551a1
|
7
|
+
data.tar.gz: d54c5e0821f8529aa3295005443e931e741301881d23cc1d4dba074fa92fcf677330c04d33ca63458fb1dc6bb33fb8bc4b7cdbb69a1f682bce4a816ba67057e5
|
@@ -14,8 +14,8 @@ module SiteHook
|
|
14
14
|
# puts SiteHook::VERSION
|
15
15
|
# end
|
16
16
|
# map ['-v', '--version'] => __version
|
17
|
-
|
18
|
-
|
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)
|
19
19
|
desc 'listen [options]', ''
|
20
20
|
def listen
|
21
21
|
$threads << Thread.new do
|
@@ -37,4 +37,4 @@ module SiteHook
|
|
37
37
|
end
|
38
38
|
end
|
39
39
|
end
|
40
|
-
end
|
40
|
+
end
|
data/lib/site_hook/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: site_hook
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ken Spencer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: git
|