jekyll-relative-urls 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +22 -19
- data/jekyll-relative-urls.gemspec +2 -2
- data/lib/jekyll/url.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac5833b4aaacfe6d064772005b4f5d8fa1e98f02b96f7478499e44c5a35f523d
|
4
|
+
data.tar.gz: 550cd772531cf65e452e1b4fa4ffbc8fe168e5f9d345a10f01fac7da65a752b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fb7fcb2eee98ac9ca0ce3ec202c516da87a4ac6f03aa24cb19ccc3101e20a5e010ba8d41e1bed0e872bd9100b552a57709b6681e3b0ba9f941150cfdb11097f
|
7
|
+
data.tar.gz: d077d9818b80e5ce66c96441f89c7cce571e37f95f87a1cb706b62c1a40d3b85cfa923f045d1a767a316a306b68a13dafc11762588ae3298a0f8b9dd635f1bb6
|
data/Gemfile.lock
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
jekyll-relative-urls (0.0.
|
5
|
-
jekyll (
|
4
|
+
jekyll-relative-urls (0.0.4)
|
5
|
+
jekyll (>= 3.8, < 5)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
@@ -16,30 +16,34 @@ GEM
|
|
16
16
|
eventmachine (>= 0.12.9)
|
17
17
|
http_parser.rb (~> 0.6.0)
|
18
18
|
eventmachine (1.2.7)
|
19
|
-
ffi (1.
|
19
|
+
ffi (1.11.1)
|
20
20
|
forwardable-extended (2.6.0)
|
21
21
|
http_parser.rb (0.6.0)
|
22
|
-
i18n (
|
22
|
+
i18n (1.6.0)
|
23
23
|
concurrent-ruby (~> 1.0)
|
24
24
|
jaro_winkler (1.5.2)
|
25
|
-
jekyll (
|
25
|
+
jekyll (4.0.0)
|
26
26
|
addressable (~> 2.4)
|
27
27
|
colorator (~> 1.0)
|
28
28
|
em-websocket (~> 0.5)
|
29
|
-
i18n (
|
30
|
-
jekyll-sass-converter (~>
|
29
|
+
i18n (>= 0.9.5, < 2)
|
30
|
+
jekyll-sass-converter (~> 2.0)
|
31
31
|
jekyll-watch (~> 2.0)
|
32
|
-
kramdown (~> 1
|
32
|
+
kramdown (~> 2.1)
|
33
|
+
kramdown-parser-gfm (~> 1.0)
|
33
34
|
liquid (~> 4.0)
|
34
35
|
mercenary (~> 0.3.3)
|
35
36
|
pathutil (~> 0.9)
|
36
|
-
rouge (
|
37
|
+
rouge (~> 3.0)
|
37
38
|
safe_yaml (~> 1.0)
|
38
|
-
|
39
|
-
|
39
|
+
terminal-table (~> 1.8)
|
40
|
+
jekyll-sass-converter (2.0.0)
|
41
|
+
sassc (> 2.0.1, < 3.0)
|
40
42
|
jekyll-watch (2.2.1)
|
41
43
|
listen (~> 3.0)
|
42
|
-
kramdown (1.
|
44
|
+
kramdown (2.1.0)
|
45
|
+
kramdown-parser-gfm (1.1.0)
|
46
|
+
kramdown (~> 2.0)
|
43
47
|
liquid (4.0.3)
|
44
48
|
listen (3.1.5)
|
45
49
|
rb-fsevent (~> 0.9, >= 0.9.4)
|
@@ -51,12 +55,12 @@ GEM
|
|
51
55
|
ast (~> 2.4.0)
|
52
56
|
pathutil (0.16.2)
|
53
57
|
forwardable-extended (~> 2.6)
|
54
|
-
public_suffix (3.
|
58
|
+
public_suffix (3.1.1)
|
55
59
|
rainbow (3.0.0)
|
56
60
|
rb-fsevent (0.10.3)
|
57
61
|
rb-inotify (0.10.0)
|
58
62
|
ffi (~> 1.0)
|
59
|
-
rouge (3.
|
63
|
+
rouge (3.9.0)
|
60
64
|
rubocop (0.68.1)
|
61
65
|
jaro_winkler (~> 1.5.1)
|
62
66
|
parallel (~> 1.10)
|
@@ -69,11 +73,10 @@ GEM
|
|
69
73
|
ruby-progressbar (1.10.0)
|
70
74
|
ruby_dep (1.5.0)
|
71
75
|
safe_yaml (1.0.5)
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
rb-inotify (~> 0.9, >= 0.9.7)
|
76
|
+
sassc (2.2.0)
|
77
|
+
ffi (~> 1.9)
|
78
|
+
terminal-table (1.8.0)
|
79
|
+
unicode-display_width (~> 1.1, >= 1.1.1)
|
77
80
|
unicode-display_width (1.5.0)
|
78
81
|
|
79
82
|
PLATFORMS
|
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.name = 'jekyll-relative-urls'
|
6
|
-
gem.version = '0.0.
|
6
|
+
gem.version = '0.0.4'
|
7
7
|
gem.authors = ['Sutty']
|
8
8
|
gem.email = ['hi@sutty.nl']
|
9
9
|
gem.description = 'It allows you to generate sites that work without changes even if you put them on one or several levels of subdirectories, thus making them transportable :)'
|
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
17
17
|
gem.require_paths = ['lib']
|
18
18
|
|
19
|
-
|
19
|
+
gem.add_runtime_dependency 'jekyll', '>= 3.8', '< 5'
|
20
20
|
gem.add_development_dependency('rubocop', '~> 0.68')
|
21
21
|
gem.add_development_dependency('rubocop-performance', '~> 0')
|
22
22
|
end
|
data/lib/jekyll/url.rb
CHANGED
@@ -24,7 +24,7 @@ module Jekyll
|
|
24
24
|
class URL
|
25
25
|
# Eliminar la raíz de todas las URLs salvo en la raíz misma
|
26
26
|
def to_s
|
27
|
-
# Igual que en jekyll-
|
27
|
+
# Igual que en jekyll-4.0.0/lib/jekyll/url.rb
|
28
28
|
url = sanitize_url(generated_permalink || generated_url)
|
29
29
|
url.gsub!(%r{^/}, '') unless url.length == 1
|
30
30
|
|
metadata
CHANGED
@@ -1,35 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-relative-urls
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sutty
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '3.8'
|
20
|
-
- - "
|
20
|
+
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: '5'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - "
|
27
|
+
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
29
|
version: '3.8'
|
30
|
-
- - "
|
30
|
+
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: '5'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rubocop
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|