jekyll-bookshop 1.2.1 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-bookshop.rb +14 -0
- data/lib/jekyll-bookshop/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e313ba5779530305aa65dcf712685b2b3e8584024dab3a56feeda1d7c641e4a5
|
4
|
+
data.tar.gz: fd2a7c028ee738263c88bf8613606a032c77a1a41ad10b93824e2a7577216d6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41585c83a653c024ce3370362e83c2bebf82a9e3d4d6022dc51ee383de656ab185679b590af6c0bdc3fcd18e3bb4077298d36ff94d95b05f2c3a3cd9c36726e3
|
7
|
+
data.tar.gz: 0d40c7a79045a87511754aec81abba7f9b53321767eba7975d5696dc2198d99923985e2d6fa061e456aaaff0a5f690ec1bed3296a0692c549fd52b22572bfbac
|
data/lib/jekyll-bookshop.rb
CHANGED
@@ -14,6 +14,20 @@ module JekyllBookshop
|
|
14
14
|
def tag_includes_dirs(context)
|
15
15
|
Array(Pathname.new(context['site']['bookshop_path'] + '/components').cleanpath.to_s).freeze
|
16
16
|
end
|
17
|
+
|
18
|
+
def parse_params(context)
|
19
|
+
params = super
|
20
|
+
|
21
|
+
params.each do |key, value|
|
22
|
+
if key == 'bind'
|
23
|
+
valueHash = {}.merge(value)
|
24
|
+
params = valueHash.merge(params)
|
25
|
+
next
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
params
|
30
|
+
end
|
17
31
|
end
|
18
32
|
|
19
33
|
class Styles
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-bookshop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Liam Bigelow
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|