site_hook 1.0.10 → 1.0.11

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: 27d013b10b57b75e8037dc4f58b699a8b312964f140ad616cb8e0c0731e69544
4
- data.tar.gz: 41dd918335251618464b892f92d2f49b932fdd23345eb0071a3183f77360e0e1
3
+ metadata.gz: f97e8157803a03db7e427fcdfb703d3e63ce5758af37f0192258c5a7d5e1f0b9
4
+ data.tar.gz: 6d78861326d5197531488f4a27cae6065eb9701fc9a9fca7d75a821c53b63f4e
5
5
  SHA512:
6
- metadata.gz: c83770fd4e80fb5283caa9441fdada3e709f17eac683ed5c6cd38d4a84bd28ab8e019515d7c0ce3301a00d6104d311c8216e21dfc944746b3d095eb634a8302d
7
- data.tar.gz: 0fbb283cf55858ac873517d79a32db6b29f80d5710e280b3cf97971ba21ea15bc40f061db5c548bc04be6283a50f1626963bca34cef6ca3c4f04ffcc0a059bf9
6
+ metadata.gz: d3e5b896ad2555ef7c42545fa6d94db13453d6719f4053f7bd96f0addd02e6140348ad067115783370265345fbb89429e0415d31e2ecd08d2db4a98e02369147
7
+ data.tar.gz: ae7ae826fbdb2dde04416e3e58d151584a1a7ae3e554bfd2047ca5e606acd2a431f04d0bba00ce75fb4555aed68c64ef9881710aea47af145efaa859c1f58d62
@@ -2,10 +2,13 @@ require "site_hook/paths"
2
2
  require "yaml"
3
3
  require "site_hook/string_ext"
4
4
  require "site_hook/prelogger"
5
-
5
+ require 'after_do'
6
6
  module SiteHook
7
7
  class Config
8
-
8
+ extend AfterDo
9
+ Config.singleton_class.before :new, :config do |f|
10
+ @@config = {}
11
+ end
9
12
  def inspect
10
13
  meths = %i[webhook log_levels cli projects]
11
14
  sections = {}
@@ -1,3 +1,3 @@
1
1
  module SiteHook
2
- VERSION = '1.0.10'
2
+ VERSION = '1.0.11'
3
3
  end
data/site_hook.gemspec CHANGED
@@ -32,6 +32,7 @@ Gem::Specification.new do |spec|
32
32
  File.basename(f) if wanted_bins.include?(Pathname.new(f).basename.to_s)
33
33
  end
34
34
  spec.require_paths = ['lib']
35
+ spec.add_dependency 'after_do', '~> 0.4.0'
35
36
  spec.add_dependency 'git', '~> 1.3'
36
37
  spec.add_dependency 'grape-raketasks'
37
38
  spec.add_dependency 'grape-route-helpers', '~> 2.1'
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.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ken Spencer
@@ -10,6 +10,20 @@ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2020-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: after_do
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.4.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.4.0
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: git
15
29
  requirement: !ruby/object:Gem::Requirement