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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: faf6ca7b8d50fbb7d69c70c76f27a69f293ad58fc8fe957d0aaf074e43b0930a
4
- data.tar.gz: 18067cd039e173fc6991afb3b40288b3abf431fd202da7402029fc114e55971d
3
+ metadata.gz: 37a2e48602459c9f8b74eadb5247ec4a8a13429ff39c217efb50d5cd1444fcff
4
+ data.tar.gz: 5d1849cada88eec8c3b7c55ab5476ac5c8c908a24c20c7bd64e4d47181a705f8
5
5
  SHA512:
6
- metadata.gz: 6a1fba3671c58ed646bb23c2e68747d779bf9a371fdf5e6164015ad69ee479de5448194cfff0312603605f9da069e018c143de8ea17d5b3f952ee32904158c49
7
- data.tar.gz: 26220a33956c5670e0ecaa3112e9f66c9b0d8a8c45de9118f5e5b6ba138808ff24131d637641aa83b2d402bcc8c7839e2131cdde88450c00967ae13ed39d548f
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
@@ -1,3 +1,3 @@
1
1
  module SiteHook
2
- VERSION = '1.0.4'
2
+ VERSION = '1.0.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: site_hook
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Spencer