jekyll-scholar 5.5.0 → 5.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/jekyll/scholar/utilities.rb +4 -4
- data/lib/jekyll/scholar/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c51e61d287ce06cc1ec0f5dc0f3d3ab55fbc006
|
4
|
+
data.tar.gz: a6a92a2e9247e31ba3497b6f49de675f6b84f853
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 673e986fcafae6405c8856f1ba8fb37033f07b5bcc8c74f7a9e1036311244ff8ef70dacbfb3ca776a88e971f077603ff7b7288a01d29e2085a27678f81ec677d
|
7
|
+
data.tar.gz: 94605701fbc7fb37920f3518dbc893b5f8c60edaa058dd3e8e16fa5db7b75bed09316ba85b4cbda38b193031f9cda6607221392d3101331353f8d3457df59b34
|
data/.gitignore
CHANGED
@@ -55,15 +55,15 @@ module Jekyll
|
|
55
55
|
|
56
56
|
opts.on('-q', '--query QUERY') do |query|
|
57
57
|
@query = query
|
58
|
-
end
|
58
|
+
end
|
59
59
|
|
60
60
|
opts.on('-p', '--prefix PREFIX') do |prefix|
|
61
61
|
@prefix = prefix
|
62
62
|
end
|
63
63
|
|
64
64
|
opts.on('-r', '--relative RELATIVE') do |relative|
|
65
|
-
@relative = relative
|
66
|
-
end
|
65
|
+
@relative = relative.to_s.strip
|
66
|
+
end
|
67
67
|
|
68
68
|
opts.on('-t', '--text TEXT') do |text|
|
69
69
|
@text = text
|
@@ -575,7 +575,7 @@ module Jekyll
|
|
575
575
|
end
|
576
576
|
|
577
577
|
def link_target_for key
|
578
|
-
"#{relative}##{[prefix, key].compact.join('-')}"
|
578
|
+
"#{base_url}#{relative}##{[prefix, key].compact.join('-')}"
|
579
579
|
end
|
580
580
|
|
581
581
|
def cite(keys)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-scholar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.5.
|
4
|
+
version: 5.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvester Keil
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|