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: 43671a5a93fa4b0e536e8a8b517eb201cec594a3bdeb07908d982d0b3c2f8bf6
4
- data.tar.gz: 7db1d15736a03f65e1ee1dce2a7e2343185fea50b7b5b51aad3ae8dfe481c978
3
+ metadata.gz: ca1f16c8401ef6fd11d4f8c8501acc3a04c6877c77bea25a397743fd8cb9c616
4
+ data.tar.gz: 2d45f9768855eb6f449b9ba1babfe116f819016a1b6db734d4e5def1b34179c7
5
5
  SHA512:
6
- metadata.gz: a0beefbd0916ebb32d6943e62f72f5e2fa281e7496a291091b1a11618d48bbe85421ade9cb2e31da13246374d7420406842a0b6346fb12d2674b8cc213cba0ac
7
- data.tar.gz: 8e954addb47a780bca3c99f579a90ef7a1be9df53e8da3b0025954c2c17c40113bbbea4e0fea2f61bbaf3db1af7fb94845e99682240304ff9485bc95263ad723
6
+ metadata.gz: ecc4c84497a1f857cf13222c46f49ac41d9639399b33bcad53138805b8970eada7f63a0562169a1d34012c804ea87705ca0456270db42502f79cdeda7d1fb71c
7
+ data.tar.gz: 8883d8d26acbbfb4509130112954835f5e66b15ced3fb2ef20fdb74dd6867eab0c86f07796f4bca4c9415aac3671aa4f218af6396f6033875e80cc9638e40d72
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'jekyll-theme-open-project-helpers'
5
- s.version = '1.0.3'
5
+ s.version = '1.0.4'
6
6
  s.authors = ['Ribose Inc.']
7
7
  s.email = ['open.source@ribose.com']
8
8
 
@@ -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.3
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-01 00:00:00.000000000 Z
11
+ date: 2018-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll