jekyll-theme-open-project-helpers 1.0.3 → 1.0.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca1f16c8401ef6fd11d4f8c8501acc3a04c6877c77bea25a397743fd8cb9c616
|
4
|
+
data.tar.gz: 2d45f9768855eb6f449b9ba1babfe116f819016a1b6db734d4e5def1b34179c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecc4c84497a1f857cf13222c46f49ac41d9639399b33bcad53138805b8970eada7f63a0562169a1d34012c804ea87705ca0456270db42502f79cdeda7d1fb71c
|
7
|
+
data.tar.gz: 8883d8d26acbbfb4509130112954835f5e66b15ced3fb2ef20fdb74dd6867eab0c86f07796f4bca4c9415aac3671aa4f218af6396f6033875e80cc9638e40d72
|
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'fileutils'
|
2
|
+
|
1
3
|
module Jekyll
|
2
4
|
module OpenProjectHelpers
|
3
5
|
|
@@ -142,6 +144,8 @@ module Jekyll
|
|
142
144
|
repo = nil
|
143
145
|
|
144
146
|
git_dir = File.join(repo_path, '.git')
|
147
|
+
|
148
|
+
p git_dir
|
145
149
|
unless File.exists? git_dir
|
146
150
|
newly_initialized = true
|
147
151
|
|
@@ -154,6 +158,8 @@ module Jekyll
|
|
154
158
|
repo.add_remote('origin', remote_url)
|
155
159
|
|
156
160
|
repo.config('core.sparseCheckout', true)
|
161
|
+
|
162
|
+
FileUtils.mkdir_p File.join(git_dir, 'info')
|
157
163
|
open(File.join(git_dir, 'info', 'sparse-checkout'), 'a') { |f|
|
158
164
|
subtrees.each { |path| f << "#{path}\n" }
|
159
165
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-open-project-helpers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|