jekyll-relative-links 0.5.2 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/jekyll-relative-links/generator.rb +1 -1
- data/lib/jekyll-relative-links/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 76726e81607582ad28cfc9f754031b52bd77fdb384605eb47a85b9d15dc199fc
|
|
4
|
+
data.tar.gz: ba1748034e9a65d36c42098226ea194b7d011bfa903aa2fa7faa8acbfb3ee853
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fcdc1d5f4dd5a4f70d747618a8fa0258204b268109c348d8bd6878121753a242c344cb96ff9af5f1d965350ce78ef9e59bfdb5af11d01653e1e1e9960e10ad2b
|
|
7
|
+
data.tar.gz: 606bf27188ebfb358abb26387b40ca896e198eb6d75fba1c2b19c36a07f21c442bd848e40b913ff03181f0857f747a018e1d90bc234b00f26cc0bc379374baa2
|
|
@@ -44,7 +44,7 @@ module JekyllRelativeLinks
|
|
|
44
44
|
url_base = File.dirname(document.relative_path)
|
|
45
45
|
return document if document.content.nil?
|
|
46
46
|
|
|
47
|
-
document.content.gsub
|
|
47
|
+
document.content = document.content.dup.gsub(LINK_REGEX) do |original|
|
|
48
48
|
link_type, link_text, relative_path, fragment = link_parts(Regexp.last_match)
|
|
49
49
|
next original if fragment?(relative_path) || absolute_url?(relative_path)
|
|
50
50
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-relative-links
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ben Balter
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-03-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
83
83
|
version: '0'
|
|
84
84
|
requirements: []
|
|
85
85
|
rubyforge_project:
|
|
86
|
-
rubygems_version: 2.6
|
|
86
|
+
rubygems_version: 2.7.6
|
|
87
87
|
signing_key:
|
|
88
88
|
specification_version: 4
|
|
89
89
|
summary: A Jekyll plugin to convert relative links to markdown files to their rendered
|