site_hook 0.6.10 → 0.6.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/site_hook/sender.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: c2326bbf359efd9b1e0ad3b665cdc0221e7ae53fec0aa821ef14a384ffc71983
|
4
|
+
data.tar.gz: 0a3dc50ddb2b6160965fac82e584bc7145ba81e58c4e466cb8f092ab75a8cea2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2af88f7a8149aa6d11ff880fa159683726340126df7bd461517345707511ce198a6509e4c903d6a2a8856dc0dd24b84e9e7f61271f60e87dcc74db691bfbc9b
|
7
|
+
data.tar.gz: 51cd56b514be8bf80bfd39422bedc808d5dde71e3e4ab3d4d7b28bcd6d7f2ce1bafeaa66be66b9143a904a94703eaf4b443ade6d02d82847dfc312b70bc2bf5d
|
data/Gemfile.lock
CHANGED
data/lib/site_hook/sender.rb
CHANGED
@@ -3,6 +3,8 @@ require 'site_hook/logger'
|
|
3
3
|
require 'git'
|
4
4
|
require 'paint'
|
5
5
|
module SiteHook
|
6
|
+
autoload :Logs, 'site_hook/log'
|
7
|
+
|
6
8
|
module Senders
|
7
9
|
class Jekyll
|
8
10
|
attr :jekyll_source, :build_dest
|
@@ -23,7 +25,7 @@ module SiteHook
|
|
23
25
|
|
24
26
|
def do_pull
|
25
27
|
fakelog = SiteHook::HookLogger::FakeLog.new
|
26
|
-
reallog = SiteHook::HookLogger::GitLog.new(SiteHook.log_levels['git']).log
|
28
|
+
reallog = SiteHook::HookLogger::GitLog.new(SiteHook::Logs.log_levels['git']).log
|
27
29
|
jekyll_source = Jekyll.instance_variable_get('@jekyll_source')
|
28
30
|
# build_dest = Jekyll.instance_variable_get('@build_dest')
|
29
31
|
g = Git.open(jekyll_source, log: fakelog)
|
data/lib/site_hook/version.rb
CHANGED