jekyll-bookshop 1.1.8 → 1.1.10
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 +3 -2
- data/lib/jekyll-bookshop/version.rb +3 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 651a1f61d8d1f760073e0575aa607cf5ea14bfc2fb32adfc2a9644424dbcb704
|
4
|
+
data.tar.gz: 4563c66b5438da4d9d02aba4d2fd84340b54616dd1f0279e381007aabf9491fc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a37fa18b049134dd25b41bd409890eafaa8593181bc42e942090fd8f539f8409466fabe64504b368502a4e90c94bd022396cdf2901b31dd3d92254832d6b438f
|
7
|
+
data.tar.gz: 0ee2cc741ec67ade5198f7dde105d25cf585615bfef53034f83a48745c3cb8492eaccbfffde18869c2b689c866ab960d9f3b68e796c4baf03131d4b0ed97c18d
|
data/lib/jekyll-bookshop.rb
CHANGED
@@ -4,9 +4,10 @@ require 'pathname'
|
|
4
4
|
module JekyllBookshop
|
5
5
|
class Tag < Jekyll::Tags::IncludeTag
|
6
6
|
def initialize(tag_name, markup, tokens)
|
7
|
-
|
7
|
+
cpath = markup.strip.partition(" ").first
|
8
|
+
cname = cpath.strip.split("/").last
|
8
9
|
tag = markup.strip.partition(" ").last
|
9
|
-
markup = "#{cname}.jekyll.html #{tag}"
|
10
|
+
markup = "#{cpath}/#{cname}.jekyll.html #{tag}"
|
10
11
|
super
|
11
12
|
end
|
12
13
|
|
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.1.
|
4
|
+
version: 1.1.10
|
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-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -38,6 +38,7 @@ extensions: []
|
|
38
38
|
extra_rdoc_files: []
|
39
39
|
files:
|
40
40
|
- lib/jekyll-bookshop.rb
|
41
|
+
- lib/jekyll-bookshop/version.rb
|
41
42
|
homepage: https://github.com/cloudcannon/bookshop
|
42
43
|
licenses:
|
43
44
|
- MIT
|