jekyll-theme-open-project-helpers 1.0.9 → 1.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bc322992afb62223d7cceeb6a36f6353e82dd604f6981fe6595c914f2bb7c04c
|
|
4
|
+
data.tar.gz: 9b73a21a7839fc9fbaa2819d66bac08ca27c0d0f25312d517f5a77fccd4d7208
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 026b9a3deca52e19094b9f648081ca75b9e20fc86bba134ab5ecd4e04a3bf2f85880ba9cdc3aecb9d192b6b771aa7564d6e1c42a040c974a489093279f3f6bba
|
|
7
|
+
data.tar.gz: eee74a830c3c65cd5bd9b71d1081420b340ae75785711195d10340b93421c534e0f5903c04f5bc5cfd9b59378695af88e84ab6e4a95c0a64feb9daff66ea7e93
|
|
@@ -7,7 +7,6 @@ module Jekyll
|
|
|
7
7
|
|
|
8
8
|
class NonLiquidDocument < Jekyll::Document
|
|
9
9
|
def render_with_liquid?
|
|
10
|
-
p 'render liquid?'
|
|
11
10
|
return false
|
|
12
11
|
end
|
|
13
12
|
end
|
|
@@ -34,9 +33,7 @@ module Jekyll
|
|
|
34
33
|
elsif nested or (File.basename(entry, '.*') != 'index')
|
|
35
34
|
ext = File.extname(path)
|
|
36
35
|
if ['.adoc', '.md', '.markdown', '.html'].include? ext
|
|
37
|
-
p 'making a doc'
|
|
38
36
|
doc = NonLiquidDocument.new(path, :site => @site, :collection => collection)
|
|
39
|
-
p 'made a doc'
|
|
40
37
|
doc.read
|
|
41
38
|
collection.docs << doc
|
|
42
39
|
else
|
|
@@ -191,9 +188,9 @@ module Jekyll
|
|
|
191
188
|
|
|
192
189
|
end
|
|
193
190
|
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
191
|
+
repo.fetch('origin', { :depth => 1 })
|
|
192
|
+
repo.reset_hard
|
|
193
|
+
repo.checkout('origin/master', { :f => true })
|
|
197
194
|
|
|
198
195
|
latest_commit = repo.gcommit('HEAD')
|
|
199
196
|
|