jekyll-watch 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-watch/version.rb +1 -1
- data/lib/jekyll/watcher.rb +2 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dda724abafdf9fc5f34aac080d4c6e77319f4dae189ef0a28ca3bce7faf2d655
|
4
|
+
data.tar.gz: 6af86020a15252b2116ed64b8c93b7d75f9293a32c78a4c7f2bbc2989052bdf2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb27525b7571140af739402ad8d4dd1178d07a2574a813e0afd3368d4f46c139c2e3b57576526a9931b4a989d4022fee551283cd190d565fea9e9d50d99b30f1
|
7
|
+
data.tar.gz: 80f9cefcf191d4bd4f9bbe7a7b1365c52a029d90fe7475cbc61de04f61698c90126d1b8f23700efcc090d49aad521cf358d49b8748d00c8b516029dd83718bce
|
data/lib/jekyll-watch/version.rb
CHANGED
data/lib/jekyll/watcher.rb
CHANGED
@@ -54,21 +54,17 @@ module Jekyll
|
|
54
54
|
def listen_handler(site)
|
55
55
|
proc do |modified, added, removed|
|
56
56
|
t = Time.now
|
57
|
-
c =
|
57
|
+
c = modified + added + removed
|
58
58
|
n = c.length
|
59
59
|
|
60
60
|
Jekyll.logger.info "Regenerating:",
|
61
61
|
"#{n} file(s) changed at #{t.strftime("%Y-%m-%d %H:%M:%S")}"
|
62
62
|
|
63
|
-
c.each { |path| Jekyll.logger.info "", path
|
63
|
+
c.each { |path| Jekyll.logger.info "", path["#{site.source}/".length..-1] }
|
64
64
|
process(site, t)
|
65
65
|
end
|
66
66
|
end
|
67
67
|
|
68
|
-
def normalize_encoding(list, desired_encoding)
|
69
|
-
list.map { |entry| entry.encode!(desired_encoding, entry.encoding) }
|
70
|
-
end
|
71
|
-
|
72
68
|
def custom_excludes(options)
|
73
69
|
Array(options["exclude"]).map { |e| Jekyll.sanitized_path(options["source"], e) }
|
74
70
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-watch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Parker Moore
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-10-
|
11
|
+
date: 2018-10-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: listen
|