nanoc 4.11.6 → 4.11.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/NEWS.md +6 -0
- data/lib/nanoc/extra/link_collector.rb +8 -3
- data/lib/nanoc/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1947e66583dba093b70cfaa53da66db62190c2bd2cf1ff7868a9d7183ad40eab
|
4
|
+
data.tar.gz: e4aa5e8c250ca5c1ae9bb262038927620090ac00361436641abaf383eed3dce5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18649adb453cbe026f6f816fe3776eeffbb3d95dea2fafeb0b90553293f050de96f7392fd2a350f60b33f951af6ba4e5b2b432df6a7e5096e1bab8970f25064a
|
7
|
+
data.tar.gz: 65c4c29ceabe0d457561fe5376b2ff7da618db4d48cae4811ff242ec37867fa34223ab948e2e66686bb8f981ccbb88a34e8a1e46a3eb42e03eb008d98dca7f8e
|
data/NEWS.md
CHANGED
@@ -113,10 +113,15 @@ module ::Nanoc::Extra
|
|
113
113
|
|
114
114
|
# Resolve paths relative to the filename, return invalid URIs as-is
|
115
115
|
uris.map! do |uri|
|
116
|
-
|
117
|
-
|
118
|
-
rescue
|
116
|
+
if uri.start_with?('//')
|
117
|
+
# Don’t modify protocol-relative URLs. They’re absolute!
|
119
118
|
uri
|
119
|
+
else
|
120
|
+
begin
|
121
|
+
URI.join(base_uri, uri).to_s
|
122
|
+
rescue
|
123
|
+
uri
|
124
|
+
end
|
120
125
|
end
|
121
126
|
end
|
122
127
|
|
data/lib/nanoc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nanoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.11.
|
4
|
+
version: 4.11.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis Defreyne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07-
|
11
|
+
date: 2019-07-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: addressable
|
@@ -58,14 +58,14 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - '='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 4.11.
|
61
|
+
version: 4.11.7
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - '='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 4.11.
|
68
|
+
version: 4.11.7
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: parallel
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|