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 +4 -4
- data/lib/site_hook/config.rb +3 -1
- 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: 6d2f7697786e4873b36894e66e4c05335a681558514a0cc7f92925f30e2d7e8f
|
4
|
+
data.tar.gz: 1bafccc23d47faed614aa6fff9a1c732651a6ddd8042df3dbddc59994b6c6d48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b3c887a1a632f65228cfea628e21e49d08116da4893adfdb5c37a438b6c8f0eadd51541d84460d5617b4ba9b432d53f776790360ae23c26f67e5c04f63a94c6
|
7
|
+
data.tar.gz: ae98835d29b65a01c28ead5ba7d10583f684b4b79fe432159124b60d3ad38568185f0429f790d954ecaeb26877fced4c17cefaa706f2eee37ee64c05f729d9d7
|
data/lib/site_hook/config.rb
CHANGED
@@ -75,10 +75,12 @@ module SiteHook
|
|
75
75
|
begin
|
76
76
|
@@config = YAML.load_file(@@filename)
|
77
77
|
rescue Errno::ENOENT
|
78
|
-
raise NoConfigError
|
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]
|
data/lib/site_hook/version.rb
CHANGED