jekyll-theme-open-project-helpers 2.0.11 → 2.0.12

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
  SHA1:
3
- metadata.gz: a82413000d529db1cc9a06014066c90b99c0f945
4
- data.tar.gz: ded7e2ae65befd7f4031fa2a215a310ad948f81a
3
+ metadata.gz: 5f0f420923c451756eda795d3637e577c1e031ca
4
+ data.tar.gz: 7e0177c8db6ae9594a3d8dea7fdaeb5bfe12b7a8
5
5
  SHA512:
6
- metadata.gz: 3a6efffe7166f335ff3b409521e9041972886ba729d23ebe500f9167c05f2afdce48b89344aa9ac914b5cce2c3f612caf18881f4c5306b1311383a2dbe872444
7
- data.tar.gz: 1de20936e2cd130b19ad4777dc9afa70b7e0370bbf23d37f2d87b5322ff7863c9117f68d9f8c1d9832a5370a328e812ecae16a7c7363a0ea8fa80d35a4e0cedc
6
+ metadata.gz: 238cf31634b0f3dadd7692d0d79dc0eea07519f5502f2c198bdbc3326d7d6929605da53caec7c8e75db84b81fe50415c1bda158fd9c147e42ddcac5506b471fe
7
+ data.tar.gz: ae0ad83df2199b53236d97117c889c3002ab960ee07597fb906d35fa352a7bb08e7d8fe5302a65c321a3a62cf99ed45f0d5e47a75d38507e5282510eaaa4b26f
@@ -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 = '2.0.11'
5
+ s.version = '2.0.12'
6
6
  s.authors = ['Ribose Inc.']
7
7
  s.email = ['open.source@ribose.com']
8
8
 
@@ -38,7 +38,12 @@ module Jekyll
38
38
  if ['.adoc', '.md', '.markdown'].include? ext
39
39
  doc = NonLiquidDocument.new(path, :site => @site, :collection => collection)
40
40
  doc.read
41
- collection.docs << doc
41
+
42
+ # Add document to Jekyll document database if it refers to software or spec
43
+ # (as opposed to be some nested document like README)
44
+ if doc.url.split('/').size == 4
45
+ collection.docs << doc
46
+ end
42
47
  else
43
48
  collection.files << Jekyll::StaticFile.new(
44
49
  @site,
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: 2.0.11
4
+ version: 2.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-13 00:00:00.000000000 Z
11
+ date: 2019-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll