site_hook 1.0.14 → 1.0.15
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 +5 -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: 78316096421623b03f47cc2540387127effcb9fabd170b05a512e2d8cc66a5aa
|
4
|
+
data.tar.gz: db4eea47d96b910609c4f9435e1f1c67d7a8ec85fdc7bee8c34e6ca0497fae3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bdd8b624947621eae1d09e4fad8573f343ae32b03eaf577cb94f054b782d42325129e7bb463e7ad857a41d25e0ecf5695c8a58863b48c3ec9c8f9185fa3387f
|
7
|
+
data.tar.gz: d5f0a4752513b05ce697b2ede076680069ca8a1b228415d1b355d98593bff438265732e7ed9e8c1e378cbdfacca4da5f847181795896e5b358657acce5d071fd
|
data/lib/site_hook/config.rb
CHANGED
@@ -6,8 +6,11 @@ require 'after_do'
|
|
6
6
|
module SiteHook
|
7
7
|
class Config
|
8
8
|
extend AfterDo
|
9
|
-
|
10
|
-
|
9
|
+
before :new do |f|
|
10
|
+
@@config = {}
|
11
|
+
end
|
12
|
+
Config.singleton_class.extend AfterDo
|
13
|
+
Config.singleton_class.before :config do |f|
|
11
14
|
@@config = {}
|
12
15
|
end
|
13
16
|
def inspect
|
data/lib/site_hook/version.rb
CHANGED