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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a988df4e04f4b216fdd6c9b03814d3e6637b226dc63aea534b790c54ae8f3b0
4
- data.tar.gz: 3b2add8a43aaa63652b7bccf69f3991b56d5141ca4f56ed000aaf7a82cf9cf88
3
+ metadata.gz: 78316096421623b03f47cc2540387127effcb9fabd170b05a512e2d8cc66a5aa
4
+ data.tar.gz: db4eea47d96b910609c4f9435e1f1c67d7a8ec85fdc7bee8c34e6ca0497fae3a
5
5
  SHA512:
6
- metadata.gz: 7294f5fbf2d819eeece2cbdab50f9a65baf155c437cda2b80da4957cc0729269c5142b2a825c31865b96956344f6d948431a3514fb3239b2ad883a94bfaa91b5
7
- data.tar.gz: 9ed3f4a7c59268d198e8802f3dac029c3697431089c5a470879ea61fe3c7ab42277d7e2ac101b724d4c25d9b2749bae411bb72c3fbde2f83c7f56d02c79a0687
6
+ metadata.gz: 9bdd8b624947621eae1d09e4fad8573f343ae32b03eaf577cb94f054b782d42325129e7bb463e7ad857a41d25e0ecf5695c8a58863b48c3ec9c8f9185fa3387f
7
+ data.tar.gz: d5f0a4752513b05ce697b2ede076680069ca8a1b228415d1b355d98593bff438265732e7ed9e8c1e378cbdfacca4da5f847181795896e5b358657acce5d071fd
@@ -6,8 +6,11 @@ require 'after_do'
6
6
  module SiteHook
7
7
  class Config
8
8
  extend AfterDo
9
- Config.class.extend AfterDo
10
- Config.class.before :new, :config do |f|
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
@@ -1,3 +1,3 @@
1
1
  module SiteHook
2
- VERSION = '1.0.14'
2
+ VERSION = '1.0.15'
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.14
4
+ version: 1.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Spencer