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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e87d0e6fcb91e60fdbd782fda327d0c6be06eae
4
- data.tar.gz: 812005cac2d21455d371b1bb1674abc825aa6a60
3
+ metadata.gz: 4c51e61d287ce06cc1ec0f5dc0f3d3ab55fbc006
4
+ data.tar.gz: a6a92a2e9247e31ba3497b6f49de675f6b84f853
5
5
  SHA512:
6
- metadata.gz: 2050f5a46c83b8ef0321f5113ce343b56167bdd4bc2a1b765f401bcc23da5095e1e83ef57bf189d77d3dcb54148c69762907d01bfdd174475850b79189b6d503
7
- data.tar.gz: a40c832f357c6489c83f74da9dfbf0bc9b1b4986a04c1cce612695021aa4435d3d11ef047a19eb09c4f7a8d74f9159f1ddf0e8fefac7187dc512402554a2e220
6
+ metadata.gz: 673e986fcafae6405c8856f1ba8fb37033f07b5bcc8c74f7a9e1036311244ff8ef70dacbfb3ca776a88e971f077603ff7b7288a01d29e2085a27678f81ec677d
7
+ data.tar.gz: 94605701fbc7fb37920f3518dbc893b5f8c60edaa058dd3e8e16fa5db7b75bed09316ba85b4cbda38b193031f9cda6607221392d3101331353f8d3457df59b34
data/.gitignore CHANGED
@@ -4,3 +4,4 @@ demo
4
4
  .bundle
5
5
  coverage
6
6
  .ruby-version
7
+ .DS_Store
@@ -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)
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  class Scholar
3
- VERSION = '5.5.0'.freeze
3
+ VERSION = '5.5.1'.freeze
4
4
  end
5
5
  end
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.0
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-21 00:00:00.000000000 Z
11
+ date: 2016-01-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll