jekyll-netlify-redirects 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.ruby-version +1 -1
- data/CHANGELOG.md +9 -0
- data/CONTRIBUTING.md +2 -2
- data/README.md +6 -1
- data/jekyll-netlify-redirects.gemspec +5 -5
- data/lib/jekyll/netlify/redirects/version.rb +1 -1
- metadata +9 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ec1f4a07eddb031bb4cc9293c48ca418198afdb3
|
4
|
+
data.tar.gz: 0fe53fadf8d366467118eca42a1f6ef81916b027
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf55cffcd8df251782413edb2b679f5ffcdb9b235f7c0b0ca80c6942866384ffddd0a688335296205a81c6342142a7809657db39cafd1f2825e52f2962e6e1e0
|
7
|
+
data.tar.gz: 6932c0d51d692cb20f4282cfab071002fede4442f3cab447f493c8ada8e27955d30fc50cb70cda8dd9500960bdceba87f53c14a84ea3b9176319dbd9358b19d8
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.4.4
|
data/CHANGELOG.md
ADDED
data/CONTRIBUTING.md
CHANGED
@@ -11,9 +11,9 @@ I definitely appreciate your interest in (and help improving) jekyll-netlify-red
|
|
11
11
|
|
12
12
|
## Installation
|
13
13
|
|
14
|
-
jekyll-netlify-redirects is written in [Ruby](https://www.ruby-lang.org) (version 2.
|
14
|
+
jekyll-netlify-redirects is written in [Ruby](https://www.ruby-lang.org) (version 2.4.4) and development dependencies are managed using the [Bundler](https://bundler.io) gem.
|
15
15
|
|
16
|
-
I manage Ruby versions with [rbenv](https://github.com/rbenv/rbenv). I'd recommend you do the same or use a similar Ruby version manager ([chruby](https://github.com/postmodern/chruby) or [RVM](https://rvm.io) come to mind). Once you've installed Ruby 2.
|
16
|
+
I manage Ruby versions with [rbenv](https://github.com/rbenv/rbenv). I'd recommend you do the same or use a similar Ruby version manager ([chruby](https://github.com/postmodern/chruby) or [RVM](https://rvm.io) come to mind). Once you've installed Ruby 2.4.4 using your method of choice, install the project's gems by running:
|
17
17
|
|
18
18
|
```sh
|
19
19
|
bundle install
|
data/README.md
CHANGED
@@ -1,9 +1,14 @@
|
|
1
1
|
# jekyll-netlify-redirects
|
2
2
|
|
3
|
-
**A Ruby gem for generating a Netlify redirects configuration from a Jekyll configuration.**
|
3
|
+
**A Ruby gem for generating a [Netlify](https://www.netlify.com) redirects configuration from a [Jekyll](https://jekyllrb.com) configuration.**
|
4
4
|
|
5
5
|
[![Gem](https://img.shields.io/gem/v/jekyll-netlify-redirects.svg?style=for-the-badge)](https://rubygems.org/gems/jekyll-netlify-redirects)
|
6
6
|
[![Downloads](https://img.shields.io/gem/dt/jekyll-netlify-redirects.svg?style=for-the-badge)](https://rubygems.org/gems/jekyll-netlify-redirects)
|
7
|
+
[![Dependencies](https://img.shields.io/depfu/jgarber623/jekyll-netlify-redirects.svg?style=for-the-badge)](https://depfu.com/github/jgarber623/jekyll-netlify-redirects)
|
8
|
+
|
9
|
+
Netlify's URL redirection and rewriting rules are _quite_ powerful. Netlify provides two options for configuring your Netlify-deployed website's rules: either in [a `netlify.toml` file](https://www.netlify.com/docs/netlify-toml-reference/) or in [a `_redirects` file](https://www.netlify.com/docs/redirects/).
|
10
|
+
|
11
|
+
Both file formats are perfectly serviceable, but if you're anything like me, you prefer fewer configuration files cluttering up your project. jekyll-netlify-redirects allows you to configure your Netlify-deployed website's URL redirection and rewriting rules using your project's existing Jekyll configuration file.
|
7
12
|
|
8
13
|
## Getting Started
|
9
14
|
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'jekyll/netlify/redirects/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.required_ruby_version = ['>= 2.4
|
7
|
+
spec.required_ruby_version = ['>= 2.4', '< 2.6']
|
8
8
|
|
9
9
|
spec.name = 'jekyll-netlify-redirects'
|
10
10
|
spec.version = Jekyll::Netlify::Redirects::VERSION
|
@@ -20,9 +20,9 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.require_paths = ['lib']
|
22
22
|
|
23
|
-
spec.add_development_dependency 'bundler', '~> 1.
|
24
|
-
spec.add_development_dependency 'rake', '~> 12.3'
|
25
|
-
spec.add_development_dependency 'rubocop', '~> 0.
|
23
|
+
spec.add_development_dependency 'bundler', '~> 1.17'
|
24
|
+
spec.add_development_dependency 'rake', '~> 12.3'
|
25
|
+
spec.add_development_dependency 'rubocop', '~> 0.60.0'
|
26
26
|
|
27
|
-
spec.add_runtime_dependency 'jekyll', '~> 3.8'
|
27
|
+
spec.add_runtime_dependency 'jekyll', '~> 3.8'
|
28
28
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-netlify-redirects
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jason Garber
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-11-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,20 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
20
|
-
- - ">="
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 1.16.2
|
19
|
+
version: '1.17'
|
23
20
|
type: :development
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
26
23
|
requirements:
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: '1.
|
30
|
-
- - ">="
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 1.16.2
|
26
|
+
version: '1.17'
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: rake
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -37,9 +31,6 @@ dependencies:
|
|
37
31
|
- - "~>"
|
38
32
|
- !ruby/object:Gem::Version
|
39
33
|
version: '12.3'
|
40
|
-
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: 12.3.1
|
43
34
|
type: :development
|
44
35
|
prerelease: false
|
45
36
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -47,23 +38,20 @@ dependencies:
|
|
47
38
|
- - "~>"
|
48
39
|
- !ruby/object:Gem::Version
|
49
40
|
version: '12.3'
|
50
|
-
- - ">="
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: 12.3.1
|
53
41
|
- !ruby/object:Gem::Dependency
|
54
42
|
name: rubocop
|
55
43
|
requirement: !ruby/object:Gem::Requirement
|
56
44
|
requirements:
|
57
45
|
- - "~>"
|
58
46
|
- !ruby/object:Gem::Version
|
59
|
-
version: 0.
|
47
|
+
version: 0.60.0
|
60
48
|
type: :development
|
61
49
|
prerelease: false
|
62
50
|
version_requirements: !ruby/object:Gem::Requirement
|
63
51
|
requirements:
|
64
52
|
- - "~>"
|
65
53
|
- !ruby/object:Gem::Version
|
66
|
-
version: 0.
|
54
|
+
version: 0.60.0
|
67
55
|
- !ruby/object:Gem::Dependency
|
68
56
|
name: jekyll
|
69
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -71,9 +59,6 @@ dependencies:
|
|
71
59
|
- - "~>"
|
72
60
|
- !ruby/object:Gem::Version
|
73
61
|
version: '3.8'
|
74
|
-
- - ">="
|
75
|
-
- !ruby/object:Gem::Version
|
76
|
-
version: 3.8.3
|
77
62
|
type: :runtime
|
78
63
|
prerelease: false
|
79
64
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -81,9 +66,6 @@ dependencies:
|
|
81
66
|
- - "~>"
|
82
67
|
- !ruby/object:Gem::Version
|
83
68
|
version: '3.8'
|
84
|
-
- - ">="
|
85
|
-
- !ruby/object:Gem::Version
|
86
|
-
version: 3.8.3
|
87
69
|
description: Generate a Netlify redirects configuration from a Jekyll configuration.
|
88
70
|
email:
|
89
71
|
- jason@sixtwothree.org
|
@@ -96,6 +78,7 @@ files:
|
|
96
78
|
- ".rubocop"
|
97
79
|
- ".rubocop.yml"
|
98
80
|
- ".ruby-version"
|
81
|
+
- CHANGELOG.md
|
99
82
|
- CONTRIBUTING.md
|
100
83
|
- Gemfile
|
101
84
|
- LICENSE
|
@@ -117,7 +100,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
117
100
|
requirements:
|
118
101
|
- - ">="
|
119
102
|
- !ruby/object:Gem::Version
|
120
|
-
version: 2.4
|
103
|
+
version: '2.4'
|
121
104
|
- - "<"
|
122
105
|
- !ruby/object:Gem::Version
|
123
106
|
version: '2.6'
|
@@ -128,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
111
|
version: '0'
|
129
112
|
requirements: []
|
130
113
|
rubyforge_project:
|
131
|
-
rubygems_version: 2.
|
114
|
+
rubygems_version: 2.6.14.1
|
132
115
|
signing_key:
|
133
116
|
specification_version: 4
|
134
117
|
summary: Generate a Netlify redirects configuration from a Jekyll configuration.
|