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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f987eab3e68cd50f6b0acfd5cbd836c3d9e6aa21fc27c099e9ab622d598a47f
|
4
|
+
data.tar.gz: b9ad99ba56d83122f26d5ea19e0ee20a0410b2d0ad56e57490e3da498e82bca7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a290aa0a4813e78e2a8978f1ed319cb40aea6410ac9e30763b9e62a96bb12f118bede13c9109d2dcea7075651319a0aaa1585b48104edea1b296d49691cb98d
|
7
|
+
data.tar.gz: 283d3253686a42b7ceee45152997b138a55e1726645038cb618d5043028467927c3e5150fdfe101312030632d8f54faad5b4d0fc1cbdf84f89f49b3b9f4d40c0
|
@@ -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']['
|
42
|
-
|
43
|
-
} .flatten.select { |item| item['path']
|
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.
|
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-
|
11
|
+
date: 2018-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|