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 +4 -4
- data/lib/site_hook/config.rb +5 -2
- data/lib/site_hook/version.rb +1 -1
- data/site_hook.gemspec +1 -0
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f97e8157803a03db7e427fcdfb703d3e63ce5758af37f0192258c5a7d5e1f0b9
|
4
|
+
data.tar.gz: 6d78861326d5197531488f4a27cae6065eb9701fc9a9fca7d75a821c53b63f4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3e5b896ad2555ef7c42545fa6d94db13453d6719f4053f7bd96f0addd02e6140348ad067115783370265345fbb89429e0415d31e2ecd08d2db4a98e02369147
|
7
|
+
data.tar.gz: ae7ae826fbdb2dde04416e3e58d151584a1a7ae3e554bfd2047ca5e606acd2a431f04d0bba00ce75fb4555aed68c64ef9881710aea47af145efaa859c1f58d62
|
data/lib/site_hook/config.rb
CHANGED
@@ -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 = {}
|
data/lib/site_hook/version.rb
CHANGED
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.
|
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
|