jekyll-theme-open-project-helpers 1.1.12 → 1.1.13

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: 65aeed787a119439e3f9bd32f3803f737921827c2ef1863f0340b12e045cfd58
4
- data.tar.gz: 0aa2a2da74d091f885a2c919061ede56f6e3aefc8cdaece796c7fb9e1a166bdb
3
+ metadata.gz: 69e76e84f4472bd278ec8bd754cb902830941c55e19e5218628905f74193d93b
4
+ data.tar.gz: dc6c7dd65ab8fe018a015b3c6aa140613ccc1033553a7309281a3047102b7fff
5
5
  SHA512:
6
- metadata.gz: 5024e74d40bcb1853bfcd100c0a7b35bbdfd6cc2b15347d637e353c8d723e80a4d75f55c0b5d8ace1ccb263b4ddbe0b3c1b59eec5f29f4b276640d632901e013
7
- data.tar.gz: e7a657b885ae53abbbebceac0a52fbdaed91c35920f942e762170548a12575ca3099aa9b0082be6b90d6b158d983782dde01cb8588b49d3881e2c46cfc6b495e
6
+ metadata.gz: 15f1404db5dfec6930468190f7f8d72caf3b916611cc35897f908f5a9439d7c36b8c2226f83897a3d32e07412da1dcd15c3af28b9642043a833dc0ceac1d8e72
7
+ data.tar.gz: 4bcb3b8d178fd35b8b9645f0dfed1075880ecb7ff293a090c533b65930affe637295420ff9dedc12a5ae70a584c1627a2e8dcb8f9f56d4a42e3658c3769ebd91
@@ -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.1.12'
5
+ s.version = '1.1.13'
6
6
  s.authors = ['Ribose Inc.']
7
7
  s.email = ['open.source@ribose.com']
8
8
 
@@ -94,17 +94,11 @@ module Jekyll
94
94
  project_indexes.each do |project|
95
95
  project_path = project.path.split('/')[0..-2].join('/')
96
96
 
97
- result = git_shallow_checkout(
97
+ git_shallow_checkout(
98
98
  project_path,
99
99
  project['site']['git_repo_url'],
100
100
  ['assets', '_posts', '_software', '_specs'])
101
101
 
102
- if result[:newly_initialized]
103
- CollectionDocReader.new(site).read(
104
- project_path,
105
- @site.collections['projects'])
106
- end
107
-
108
102
  fetch_and_read_docs_for_items('projects', 'software')
109
103
  fetch_and_read_docs_for_items('projects', 'specs')
110
104
  end
@@ -137,14 +131,14 @@ module Jekyll
137
131
 
138
132
  begin
139
133
  docs_checkout = git_shallow_checkout(docs_path, docs_repo, [docs_subtree])
134
+ rescue
135
+ docs_checkout = nil
136
+ end
140
137
 
138
+ if docs_checkout
141
139
  CollectionDocReader.new(site).read(
142
- docs_checkout[:docs_path],
140
+ docs_path,
143
141
  @site.collections[collection_name])
144
-
145
- rescue
146
- docs_checkout = nil
147
-
148
142
  end
149
143
 
150
144
  # Get last repository modification timestamp.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-open-project-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.12
4
+ version: 1.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.