jekyll-netlify-headers 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 +1 -0
- data/jekyll-netlify-headers.gemspec +5 -5
- data/lib/jekyll/netlify/headers/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: 7b629084799ab51d82073faf86e6a37caa238b68
|
4
|
+
data.tar.gz: dac1beef6b3a670262297398877cfadca785ea31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a798cdb5babcb442cb85ae49221e577aba1ae4839dcac54e3edbd4a8d3d17d46c127ee8bfd998e627ef9bbd61845898ea984b654c3bc1c0af2fec4f37fa80b7e
|
7
|
+
data.tar.gz: 2905c3af1ae92a643b48f35c15debf1252c1b0227b8a0f5dd2047f3fb2d314e2f098a658f30108a0b7c0cd8ee56ed5792cb2d1feb7846188d8a31d5b529ba405
|
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-hea
|
|
11
11
|
|
12
12
|
## Installation
|
13
13
|
|
14
|
-
jekyll-netlify-headers is written in [Ruby](https://www.ruby-lang.org) (version 2.
|
14
|
+
jekyll-netlify-headers 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
@@ -4,6 +4,7 @@
|
|
4
4
|
|
5
5
|
[![Gem](https://img.shields.io/gem/v/jekyll-netlify-headers.svg?style=for-the-badge)](https://rubygems.org/gems/jekyll-netlify-headers)
|
6
6
|
[![Downloads](https://img.shields.io/gem/dt/jekyll-netlify-headers.svg?style=for-the-badge)](https://rubygems.org/gems/jekyll-netlify-headers)
|
7
|
+
[![Dependencies](https://img.shields.io/depfu/jgarber623/jekyll-netlify-headers.svg?style=for-the-badge)](https://depfu.com/github/jgarber623/jekyll-netlify-headers)
|
7
8
|
|
8
9
|
Netlify's HTTP headers configuration is _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 `_headers` file](https://www.netlify.com/docs/headers-and-basic-auth/).
|
9
10
|
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'jekyll/netlify/headers/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-headers'
|
10
10
|
spec.version = Jekyll::Netlify::Headers::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-headers
|
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 HTTP headers 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 HTTP headers configuration from a Jekyll configuration.
|