jekyll 3.4.4 → 3.4.5

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of jekyll might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b32105db9fb90ccd24cf4ee9e83328e0c4887a01
4
- data.tar.gz: 7f870828016176482be785803103e87b93dccf5b
3
+ metadata.gz: 007cff0a1a4dacb861f9f524753b03e1c1d4fce6
4
+ data.tar.gz: 6305426138e9a83b6d494a8276372f7e0b15223d
5
5
  SHA512:
6
- metadata.gz: d6d7ed187f2ba3471f376673cfe046005426d994f77655f7c978bbef23fcbd70061e7e07356f374dc55217f8bfa0de3d7b44a40e9ba16bc4d1945cd01fd6fbf5
7
- data.tar.gz: ada6843d03d64d31f8b5a032ad394115c37926bce8add0b703634da25d262b5dfe4267d7c5c1189d11b302ef56a171f354946c95529117036c3f079dbd00069f
6
+ metadata.gz: 69fd494dfb64377969bf53956593309e92c2a3f7ccfaa980c242219d96e8393352adf84622922b46bd5b82df778a2c7075fe0487ea22cbddd74a8c282ad364d2
7
+ data.tar.gz: d49b0d988f0223390b3a3f07697d6c73a369feda12e7065636fa83249e3e18297bb85cedbfde218d2b53c11285a554368e89e7268c66d48f1213615e0b024ad7
@@ -23,9 +23,9 @@ module Jekyll
23
23
  def relative_url(input)
24
24
  return if input.nil?
25
25
  site = @context.registers[:site]
26
- return ensure_leading_slash(input.to_s) if site.config["baseurl"].nil?
26
+ parts = [site.config["baseurl"], input]
27
27
  Addressable::URI.parse(
28
- ensure_leading_slash(site.config["baseurl"].to_s) + ensure_leading_slash(input.to_s)
28
+ parts.compact.map { |part| ensure_leading_slash(part.to_s) }.join
29
29
  ).normalize.to_s
30
30
  end
31
31
 
@@ -1,3 +1,3 @@
1
1
  module Jekyll
2
- VERSION = "3.4.4".freeze
2
+ VERSION = "3.4.5".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.4
4
+ version: 3.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Preston-Werner
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-06-18 00:00:00.000000000 Z
11
+ date: 2017-07-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable