site_hook 0.9.9 → 0.9.10

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: ece2e7727b16ee02291e17452011e50f8ce43aff4b38bb57847fe0eb2e2ad9fd
4
- data.tar.gz: 14752d9f20f7d6626aac3eab10caa0d843970662ebbd681491b8ef3c0deb0fca
3
+ metadata.gz: 6d2f7697786e4873b36894e66e4c05335a681558514a0cc7f92925f30e2d7e8f
4
+ data.tar.gz: 1bafccc23d47faed614aa6fff9a1c732651a6ddd8042df3dbddc59994b6c6d48
5
5
  SHA512:
6
- metadata.gz: 414336ae3f320ea1f31ea6aaf1260753f6c4002123f08acdb10eb4503508a94f151419479113eebc6d7333f4aed4d2ff2ce378936267ed1e42eff1a149a36a25
7
- data.tar.gz: 42464212c7a57dac5da5d8b082fd5f7c720487b97f128b4f99621999fccbabf174e551859371f56151faeb36fc3e66d3bc4f4db599c1aae53f3c5c1ca4dbc6f5
6
+ metadata.gz: 5b3c887a1a632f65228cfea628e21e49d08116da4893adfdb5c37a438b6c8f0eadd51541d84460d5617b4ba9b432d53f776790360ae23c26f67e5c04f63a94c6
7
+ data.tar.gz: ae98835d29b65a01c28ead5ba7d10583f684b4b79fe432159124b60d3ad38568185f0429f790d954ecaeb26877fced4c17cefaa706f2eee37ee64c05f729d9d7
@@ -75,10 +75,12 @@ module SiteHook
75
75
  begin
76
76
  @@config = YAML.load_file(@@filename)
77
77
  rescue Errno::ENOENT
78
- raise NoConfigError path
78
+ raise NoConfigError @@filename
79
79
  rescue NoMethodError
80
80
  @@filename.empty?
81
81
  end
82
+ rescue NoConfigError
83
+ SiteHook::Commands::ConfigClass.invoke(:gen)
82
84
  end
83
85
 
84
86
  # @return [Webhook]
@@ -1,3 +1,3 @@
1
1
  module SiteHook
2
- VERSION = '0.9.9'
2
+ VERSION = '0.9.10'
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: 0.9.9
4
+ version: 0.9.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Spencer