jekyll-theme-open-project-helpers 1.2.2 → 1.2.3

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: 8086400b2c1820330d8f59bb29cd3fee967bdfd6408da4290ad3a69d2cfbf163
4
- data.tar.gz: 5ed7bd652ebe3f824429ea5e96ab39ce6440aa84500d4732798ab319af3cdf15
3
+ metadata.gz: 7f987eab3e68cd50f6b0acfd5cbd836c3d9e6aa21fc27c099e9ab622d598a47f
4
+ data.tar.gz: b9ad99ba56d83122f26d5ea19e0ee20a0410b2d0ad56e57490e3da498e82bca7
5
5
  SHA512:
6
- metadata.gz: f82f0d146bcf8a5a6091e013817df2d41248781f9f2fc72df371b988ae014a4c657aa55b2e3023e2319e64c8d8dc1d164d13f2b8fa16a2c8552983c3c4d704ec
7
- data.tar.gz: b9010aa96ce968b418ed59f0577555a5945c05d30e3287861f7bd428c60c25cafb5648db411773aaaf6dce81b5e2b46127325721de7f24307231358cb4a9f7d1
6
+ metadata.gz: 2a290aa0a4813e78e2a8978f1ed319cb40aea6410ac9e30763b9e62a96bb12f118bede13c9109d2dcea7075651319a0aaa1585b48104edea1b296d49691cb98d
7
+ data.tar.gz: 283d3253686a42b7ceee45152997b138a55e1726645038cb618d5043028467927c3e5150fdfe101312030632d8f54faad5b4d0fc1cbdf84f89f49b3b9f4d40c0
@@ -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.2.2'
5
+ s.version = '1.2.3'
6
6
  s.authors = ['Ribose Inc.']
7
7
  s.email = ['open.source@ribose.com']
8
8
 
@@ -1,6 +1,6 @@
1
1
  {% comment %}Page stub.{% endcomment %}
2
2
 
3
- <div id="diagramContainer" style="height: {{ page.image_height }}px"></div>
3
+ <div id="diagramContainer" style="height: 400px"></div>
4
4
 
5
5
  <style>
6
6
  .leaflet-container {
@@ -38,9 +38,9 @@ module Builder
38
38
  png_name = File.basename(pngfile)
39
39
  png_name_noext = File.basename(png_name, File.extname(png_name))
40
40
 
41
- nav_item = spec_info.data['navigation']['sections'].map { |section|
42
- section['items']
43
- } .flatten.select { |item| item['path'] == png_name_noext } [0].clone
41
+ nav_item = spec_info.data['navigation']['items'].map { |top_level_item|
42
+ top_level_item['items']
43
+ } .flatten.select { |item| item['path'].start_with?(png_name_noext) } [0].clone
44
44
 
45
45
  png_dimensions = FastImage.size(pngfile)
46
46
  data = spec_info.data.clone
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.2.2
4
+ version: 1.2.3
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-12-26 00:00:00.000000000 Z
11
+ date: 2018-12-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll