jekyll-sitemap 1.1.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.rubocop.yml +1 -1
- data/.travis.yml +11 -5
- data/Gemfile +2 -0
- data/History.markdown +24 -0
- data/LICENSE.md +1 -1
- data/README.md +19 -6
- data/Rakefile +2 -0
- data/jekyll-sitemap.gemspec +9 -5
- data/lib/jekyll-sitemap.rb +2 -0
- data/lib/jekyll-sitemap/version.rb +7 -0
- data/lib/jekyll/jekyll-sitemap.rb +6 -4
- data/lib/jekyll/page_without_a_file.rb +2 -0
- data/lib/sitemap.xml +2 -2
- data/script/bootstrap +1 -0
- data/script/cibuild +2 -5
- data/script/console +7 -7
- data/script/fmt +10 -0
- data/script/test +5 -0
- data/spec/fixtures/_config.yml +10 -0
- data/spec/fixtures/some-subfolder/index.html +1 -0
- data/spec/fixtures/static_files/excluded.pdf +0 -0
- data/spec/fixtures/static_files/html_file.html +0 -0
- data/spec/jekyll-sitemap_spec.rb +31 -12
- data/spec/spec_helper.rb +7 -5
- data/spec/test_jekyll-last-modified-at.rb +6 -4
- metadata +29 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6d72f608d750c33e415a1310cc27cb168eb85f8c44bba7d5cc8b57cd30e1bcf7
|
4
|
+
data.tar.gz: 1b6e319eefec2756983e9d583b086e42992d79f27afc96d42974ca5ea299cf0f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 689ff7481d8d20f46ea345acf86aa76ce486b23ace38f9f063e726dd1b5b1a9e4228ba7e2c23d34c4988505ed8c23f5ee93b9f9363a990c8beadaa966be9fd05
|
7
|
+
data.tar.gz: 968839d0875ec17ee5d0cfd5b22cd43d95229a204321211aace6849bb0d6b5df2839024ecd256018facc778cf1ac3ebdad8d25e75909c40edfc86a4036cfd5ba
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
@@ -2,23 +2,28 @@ sudo: false
|
|
2
2
|
language: ruby
|
3
3
|
cache: bundler
|
4
4
|
rvm:
|
5
|
-
- 2.0
|
6
|
-
- 2.1
|
7
5
|
- 2.2
|
6
|
+
- 2.3
|
7
|
+
- 2.4
|
8
|
+
- 2.5
|
8
9
|
matrix:
|
9
10
|
include:
|
10
11
|
# GitHub Pages
|
11
|
-
- rvm: 2.
|
12
|
-
env:
|
12
|
+
- rvm: 2.4.0
|
13
|
+
env:
|
14
|
+
- JEKYLL_VERSION=3.6.2
|
15
|
+
- GITHUB_PAGES=1 # Only set on one build in matrix
|
13
16
|
env:
|
14
17
|
matrix:
|
15
|
-
- JEKYLL_VERSION=3.
|
18
|
+
- JEKYLL_VERSION=3.6
|
16
19
|
branches:
|
17
20
|
only:
|
18
21
|
- master
|
19
22
|
- /^v\d+\.\d+\.\d+/
|
20
23
|
git:
|
21
24
|
depth: 1000
|
25
|
+
before_install:
|
26
|
+
- gem update --system
|
22
27
|
install:
|
23
28
|
- travis_retry script/bootstrap
|
24
29
|
script: script/cibuild
|
@@ -41,3 +46,4 @@ deploy:
|
|
41
46
|
on:
|
42
47
|
tags: true
|
43
48
|
repo: jekyll/jekyll-sitemap
|
49
|
+
condition: "$GITHUB_PAGES == 1"
|
data/Gemfile
CHANGED
data/History.markdown
CHANGED
@@ -1,3 +1,27 @@
|
|
1
|
+
## 1.2.0 / 2018-01-25
|
2
|
+
|
3
|
+
### Minor Enhancements
|
4
|
+
|
5
|
+
* Remove excluded static files from the sitemap (#166)
|
6
|
+
* filter/replace static index.html paths to permalink (#170)
|
7
|
+
|
8
|
+
### Development Fixes
|
9
|
+
|
10
|
+
* Condition the static file tests on Jekyll 3.4.2 and above (#167)
|
11
|
+
* Update versions for Travis (#174)
|
12
|
+
* Fix Travis Deploy (#173)
|
13
|
+
* Test against Jekyll 3.4.x *and* latest 3.x (#177)
|
14
|
+
* Define path with __dir__ (#186)
|
15
|
+
* Style: Rubocop auto-correct (#195)
|
16
|
+
* Test against Ruby 2.5 (#201)
|
17
|
+
|
18
|
+
### Documentation
|
19
|
+
|
20
|
+
* Add note about use with Github Pages gem (#179)
|
21
|
+
* Fix a couple of typos (#184)
|
22
|
+
* Use plugins instead of gems in README config (#185)
|
23
|
+
* Docs: set site.url in config (#172)
|
24
|
+
|
1
25
|
## 1.1.1 / 2017-04-11
|
2
26
|
|
3
27
|
* Cut a new version to alleviate sha256 checksum issue on RubyGems.org (#165)
|
data/LICENSE.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright (c) 2014-
|
3
|
+
Copyright (c) 2014-present, GitHub, inc. and the jekyll-sitemap contributors
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
@@ -10,10 +10,13 @@
|
|
10
10
|
2. Add the following to your site's `_config.yml`:
|
11
11
|
|
12
12
|
```yml
|
13
|
-
|
13
|
+
url: "http://example.com" # the base hostname & protocol for your site
|
14
|
+
plugins:
|
14
15
|
- jekyll-sitemap
|
15
16
|
```
|
16
17
|
|
18
|
+
💡 If you are using a Jekyll version less than 3.5.0, use the `gems` key instead of `plugins`.
|
19
|
+
|
17
20
|
If all gem plugins have the same `priority`, they will be executed in the
|
18
21
|
order they are required, generally. Thus, if you have other plugins which
|
19
22
|
generate content and store that content in `site.pages`, `site.posts`, or
|
@@ -26,12 +29,19 @@ Because the sitemap is added to `site.pages`, you may have to modify any
|
|
26
29
|
templates that iterate through all pages (for example, to build a menu of
|
27
30
|
all of the site's content).
|
28
31
|
|
32
|
+
## Note on Use with Github Pages Gem
|
33
|
+
The Github Pages gem ignores all plugins included in the Gemfile. If you only include `jekyll-sitemap` in the Gemfile without also including it in the `_config.yml` *the plugin will not work*. This can be confusing because the official Jekyll docs state that plugins can be included in either the Gemfile or `_config.yml`.
|
34
|
+
|
35
|
+
When building a site that uses the Github Pages gem, follow the instructions above and ensure that `jekyll-sitemap` is listed in the `plugins` array in `_config.yml`.
|
36
|
+
|
37
|
+
:warning: If you are using Jekyll < 3.5.0 use the `gems` key instead of `plugins`.
|
38
|
+
|
29
39
|
## `<lastmod>` tag
|
30
40
|
The `<lastmod>` tag in the `sitemap.xml` will reflect by priority:
|
31
41
|
|
32
42
|
1. The modified date of the file as reported by the filesystem if you have `jekyll-last-modified-at` plugin installed (not compatible with Github Pages auto building)
|
33
|
-
2. A
|
34
|
-
3. The creation date of your post (
|
43
|
+
2. A personalised date if you add the variable `last_modified_at:` with a date in the Front Matter
|
44
|
+
3. The creation date of your post (corresponding to the `post.date` variable)
|
35
45
|
|
36
46
|
## Exclusions
|
37
47
|
|
@@ -42,11 +52,14 @@ sitemap flag to `false` in the front matter for the page/post.
|
|
42
52
|
sitemap: false
|
43
53
|
```
|
44
54
|
|
45
|
-
##
|
55
|
+
## Override default development settings
|
56
|
+
|
57
|
+
[Follow these instructions on Jekyll's documentation](https://jekyllrb.com/docs/usage/#override-default-development-settings).
|
46
58
|
|
47
|
-
|
59
|
+
## Developing locally
|
48
60
|
|
49
|
-
Use `script/
|
61
|
+
* Use `script/bootstrap` to bootstrap your local development environment.
|
62
|
+
* Use `script/console` to load a local IRB console with the Gem.
|
50
63
|
|
51
64
|
## Testing
|
52
65
|
|
data/Rakefile
CHANGED
data/jekyll-sitemap.gemspec
CHANGED
@@ -1,9 +1,13 @@
|
|
1
|
-
#
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
lib = File.expand_path("lib", __dir__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require "jekyll-sitemap/version"
|
2
6
|
|
3
7
|
Gem::Specification.new do |spec|
|
4
8
|
spec.name = "jekyll-sitemap"
|
5
9
|
spec.summary = "Automatically generate a sitemap.xml for your Jekyll site."
|
6
|
-
spec.version =
|
10
|
+
spec.version = Jekyll::Sitemap::VERSION
|
7
11
|
spec.authors = ["GitHub, Inc."]
|
8
12
|
spec.email = "support@github.com"
|
9
13
|
spec.homepage = "https://github.com/jekyll/jekyll-sitemap"
|
@@ -16,9 +20,9 @@ Gem::Specification.new do |spec|
|
|
16
20
|
|
17
21
|
spec.add_dependency "jekyll", "~> 3.3"
|
18
22
|
|
23
|
+
spec.add_development_dependency "bundler", "~> 1.16"
|
19
24
|
spec.add_development_dependency "jekyll-last-modified-at", "0.3.4"
|
20
|
-
spec.add_development_dependency "rspec", "~> 3.0"
|
21
25
|
spec.add_development_dependency "rake"
|
22
|
-
spec.add_development_dependency "
|
23
|
-
spec.add_development_dependency "rubocop"
|
26
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
27
|
+
spec.add_development_dependency "rubocop", "0.51"
|
24
28
|
end
|
data/lib/jekyll-sitemap.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require "fileutils"
|
2
4
|
|
3
5
|
module Jekyll
|
@@ -14,7 +16,7 @@ module Jekyll
|
|
14
16
|
|
15
17
|
private
|
16
18
|
|
17
|
-
INCLUDED_EXTENSIONS = %
|
19
|
+
INCLUDED_EXTENSIONS = %w(
|
18
20
|
.htm
|
19
21
|
.html
|
20
22
|
.xhtml
|
@@ -34,7 +36,7 @@ module Jekyll
|
|
34
36
|
|
35
37
|
# Path to sitemap.xml template file
|
36
38
|
def source_path(file = "sitemap.xml")
|
37
|
-
File.expand_path "../#{file}",
|
39
|
+
File.expand_path "../#{file}", __dir__
|
38
40
|
end
|
39
41
|
|
40
42
|
# Destination for sitemap.xml file within the site source directory
|
@@ -43,7 +45,7 @@ module Jekyll
|
|
43
45
|
end
|
44
46
|
|
45
47
|
def sitemap
|
46
|
-
site_map = PageWithoutAFile.new(@site,
|
48
|
+
site_map = PageWithoutAFile.new(@site, __dir__, "", "sitemap.xml")
|
47
49
|
site_map.content = File.read(source_path).gsub(MINIFY_REGEX, "")
|
48
50
|
site_map.data["layout"] = nil
|
49
51
|
site_map.data["static_files"] = static_files.map(&:to_liquid)
|
@@ -52,7 +54,7 @@ module Jekyll
|
|
52
54
|
end
|
53
55
|
|
54
56
|
def robots
|
55
|
-
robots = PageWithoutAFile.new(@site,
|
57
|
+
robots = PageWithoutAFile.new(@site, __dir__, "", "robots.txt")
|
56
58
|
robots.content = File.read(source_path("robots.txt"))
|
57
59
|
robots.data["layout"] = nil
|
58
60
|
robots
|
data/lib/sitemap.xml
CHANGED
@@ -26,10 +26,10 @@
|
|
26
26
|
</url>
|
27
27
|
{% endfor %}
|
28
28
|
|
29
|
-
{% assign static_files = page.static_files | where_exp:'page','page.name != "404.html"' %}
|
29
|
+
{% assign static_files = page.static_files | where_exp:'page','page.sitemap != false' | where_exp:'page','page.name != "404.html"' %}
|
30
30
|
{% for file in static_files %}
|
31
31
|
<url>
|
32
|
-
<loc>{{ file.path | absolute_url | xml_escape }}</loc>
|
32
|
+
<loc>{{ file.path | replace:'/index.html','/' | absolute_url | xml_escape }}</loc>
|
33
33
|
<lastmod>{{ file.modified_time | date_to_xmlschema }}</lastmod>
|
34
34
|
</url>
|
35
35
|
{% endfor %}
|
data/script/bootstrap
CHANGED
data/script/cibuild
CHANGED
data/script/console
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
#! /usr/bin/env ruby
|
2
2
|
|
3
3
|
def relative_to_root(path)
|
4
|
-
File.expand_path(path, File.dirname(
|
4
|
+
File.expand_path(path, File.dirname(__dir__))
|
5
5
|
end
|
6
6
|
|
7
|
-
require
|
8
|
-
require relative_to_root(
|
9
|
-
require
|
7
|
+
require "jekyll"
|
8
|
+
require relative_to_root("lib/jekyll-sitemap.rb")
|
9
|
+
require "pry-debugger"
|
10
10
|
|
11
|
-
SOURCE_DIR = relative_to_root(
|
12
|
-
DEST_DIR = relative_to_root(
|
11
|
+
SOURCE_DIR = relative_to_root("spec/fixtures")
|
12
|
+
DEST_DIR = relative_to_root("spec/dest")
|
13
13
|
|
14
14
|
def source_dir(*files)
|
15
15
|
File.join(SOURCE_DIR, *files)
|
@@ -23,7 +23,7 @@ def config(overrides = {})
|
|
23
23
|
Jekyll.configuration({
|
24
24
|
"source" => source_dir,
|
25
25
|
"destination" => dest_dir,
|
26
|
-
"url" => "http://example.org"
|
26
|
+
"url" => "http://example.org",
|
27
27
|
}).merge(overrides)
|
28
28
|
end
|
29
29
|
|
data/script/fmt
ADDED
data/script/test
ADDED
data/spec/fixtures/_config.yml
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
static subfolder index.html file that should be indexed as permalink
|
File without changes
|
File without changes
|
data/spec/jekyll-sitemap_spec.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
#
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require
|
3
|
+
require "spec_helper"
|
4
4
|
|
5
5
|
describe(Jekyll::JekyllSitemap) do
|
6
6
|
let(:overrides) do
|
@@ -10,8 +10,8 @@ describe(Jekyll::JekyllSitemap) do
|
|
10
10
|
"url" => "http://example.org",
|
11
11
|
"collections" => {
|
12
12
|
"my_collection" => { "output" => true },
|
13
|
-
"other_things" => { "output" => false }
|
14
|
-
}
|
13
|
+
"other_things" => { "output" => false },
|
14
|
+
},
|
15
15
|
}
|
16
16
|
end
|
17
17
|
let(:config) do
|
@@ -24,7 +24,7 @@ describe(Jekyll::JekyllSitemap) do
|
|
24
24
|
end
|
25
25
|
|
26
26
|
it "has no layout" do
|
27
|
-
expect(contents).not_to match(
|
27
|
+
expect(contents).not_to match(%r!\ATHIS IS MY LAYOUT!)
|
28
28
|
end
|
29
29
|
|
30
30
|
it "creates a sitemap.xml file" do
|
@@ -32,8 +32,8 @@ describe(Jekyll::JekyllSitemap) do
|
|
32
32
|
end
|
33
33
|
|
34
34
|
it "doesn't have multiple new lines or trailing whitespace" do
|
35
|
-
expect(contents).to_not match
|
36
|
-
expect(contents).to_not match
|
35
|
+
expect(contents).to_not match %r!\s+\n!
|
36
|
+
expect(contents).to_not match %r!\n{2,}!
|
37
37
|
end
|
38
38
|
|
39
39
|
it "puts all the pages in the sitemap.xml file" do
|
@@ -88,6 +88,10 @@ describe(Jekyll::JekyllSitemap) do
|
|
88
88
|
expect(contents).not_to match /<loc>http:\/\/example\.org\/feeds\/atom\.xml<\/loc>/
|
89
89
|
end
|
90
90
|
|
91
|
+
it "converts static index.html files to permalink version" do
|
92
|
+
expect(contents).to match /<loc>http:\/\/example\.org\/some-subfolder\/<\/loc>/
|
93
|
+
end
|
94
|
+
|
91
95
|
it "does include assets or any static files with .xhtml and .htm extensions" do
|
92
96
|
expect(contents).to match /\/some-subfolder\/xhtml\.xhtml/
|
93
97
|
expect(contents).to match /\/some-subfolder\/htm\.htm/
|
@@ -101,6 +105,16 @@ describe(Jekyll::JekyllSitemap) do
|
|
101
105
|
expect(contents).not_to match %r!/static_files/404.html!
|
102
106
|
end
|
103
107
|
|
108
|
+
if Gem::Version.new(Jekyll::VERSION) >= Gem::Version.new("3.4.2")
|
109
|
+
it "does not include any static files that have set 'sitemap: false'" do
|
110
|
+
expect(contents).not_to match %r!/static_files/excluded\.pdf!
|
111
|
+
end
|
112
|
+
|
113
|
+
it "does not include any static files that have set 'sitemap: false'" do
|
114
|
+
expect(contents).not_to match %r!/static_files/html_file\.html!
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
104
118
|
it "does not include posts that have set 'sitemap: false'" do
|
105
119
|
expect(contents).not_to match /\/exclude-this-post\.html<\/loc>/
|
106
120
|
end
|
@@ -118,12 +132,17 @@ describe(Jekyll::JekyllSitemap) do
|
|
118
132
|
end
|
119
133
|
|
120
134
|
it "includes the correct number of items" do
|
121
|
-
|
135
|
+
# static_files/excluded.pdf is excluded on Jekyll 3.4.2 and above
|
136
|
+
if Gem::Version.new(Jekyll::VERSION) >= Gem::Version.new("3.4.2")
|
137
|
+
expect(contents.scan(%r!(?=<url>)!).count).to eql 20
|
138
|
+
else
|
139
|
+
expect(contents.scan(%r!(?=<url>)!).count).to eql 21
|
140
|
+
end
|
122
141
|
end
|
123
142
|
|
124
143
|
context "with a baseurl" do
|
125
144
|
let(:config) do
|
126
|
-
Jekyll.configuration(Jekyll::Utils.deep_merge_hashes(overrides, {"baseurl" => "/bass"}))
|
145
|
+
Jekyll.configuration(Jekyll::Utils.deep_merge_hashes(overrides, { "baseurl" => "/bass" }))
|
127
146
|
end
|
128
147
|
|
129
148
|
it "correctly adds the baseurl to the static files" do
|
@@ -153,7 +172,7 @@ describe(Jekyll::JekyllSitemap) do
|
|
153
172
|
|
154
173
|
context "with urls that needs URI encoding" do
|
155
174
|
let(:config) do
|
156
|
-
Jekyll.configuration(Jekyll::Utils.deep_merge_hashes(overrides, {"url" => "http://ümlaut.example.org"}))
|
175
|
+
Jekyll.configuration(Jekyll::Utils.deep_merge_hashes(overrides, { "url" => "http://ümlaut.example.org" }))
|
157
176
|
end
|
158
177
|
|
159
178
|
it "performs URI encoding of site url" do
|
@@ -166,14 +185,14 @@ describe(Jekyll::JekyllSitemap) do
|
|
166
185
|
end
|
167
186
|
|
168
187
|
it "does not double-escape urls" do
|
169
|
-
expect(contents).to_not match
|
188
|
+
expect(contents).to_not match %r!%25!
|
170
189
|
end
|
171
190
|
|
172
191
|
context "readme" do
|
173
192
|
let(:contents) { File.read(dest_dir("robots.txt")) }
|
174
193
|
|
175
194
|
it "has no layout" do
|
176
|
-
expect(contents).not_to match(
|
195
|
+
expect(contents).not_to match(%r!\ATHIS IS MY LAYOUT!)
|
177
196
|
end
|
178
197
|
|
179
198
|
it "creates a sitemap.xml file" do
|
data/spec/spec_helper.rb
CHANGED
@@ -1,15 +1,17 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "jekyll"
|
4
|
+
require File.expand_path("../lib/jekyll-sitemap", __dir__)
|
3
5
|
|
4
6
|
Jekyll.logger.log_level = :error
|
5
7
|
|
6
8
|
RSpec.configure do |config|
|
7
9
|
config.run_all_when_everything_filtered = true
|
8
10
|
config.filter_run :focus
|
9
|
-
config.order =
|
11
|
+
config.order = "random"
|
10
12
|
|
11
|
-
SOURCE_DIR = File.expand_path("
|
12
|
-
DEST_DIR = File.expand_path("
|
13
|
+
SOURCE_DIR = File.expand_path("fixtures", __dir__)
|
14
|
+
DEST_DIR = File.expand_path("dest", __dir__)
|
13
15
|
|
14
16
|
def source_dir(*files)
|
15
17
|
File.join(SOURCE_DIR, *files)
|
@@ -1,5 +1,7 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "spec_helper"
|
4
|
+
require "jekyll-last-modified-at"
|
3
5
|
|
4
6
|
describe(Jekyll::JekyllSitemap) do
|
5
7
|
let(:overrides) do
|
@@ -9,8 +11,8 @@ describe(Jekyll::JekyllSitemap) do
|
|
9
11
|
"url" => "http://example.org",
|
10
12
|
"collections" => {
|
11
13
|
"my_collection" => { "output" => true },
|
12
|
-
"other_things" => { "output" => false }
|
13
|
-
}
|
14
|
+
"other_things" => { "output" => false },
|
15
|
+
},
|
14
16
|
}
|
15
17
|
end
|
16
18
|
let(:config) do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-sitemap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -25,33 +25,33 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '3.3'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: '1.16'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: '1.16'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: jekyll-last-modified-at
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 0.3.4
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 0.3.4
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,33 +67,33 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: rspec
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '3.0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '3.0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rubocop
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - '='
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '0'
|
89
|
+
version: '0.51'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - '='
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
96
|
+
version: '0.51'
|
97
97
|
description:
|
98
98
|
email: support@github.com
|
99
99
|
executables: []
|
@@ -111,6 +111,7 @@ files:
|
|
111
111
|
- Rakefile
|
112
112
|
- jekyll-sitemap.gemspec
|
113
113
|
- lib/jekyll-sitemap.rb
|
114
|
+
- lib/jekyll-sitemap/version.rb
|
114
115
|
- lib/jekyll/jekyll-sitemap.rb
|
115
116
|
- lib/jekyll/page_without_a_file.rb
|
116
117
|
- lib/robots.txt
|
@@ -118,7 +119,9 @@ files:
|
|
118
119
|
- script/bootstrap
|
119
120
|
- script/cibuild
|
120
121
|
- script/console
|
122
|
+
- script/fmt
|
121
123
|
- script/release
|
124
|
+
- script/test
|
122
125
|
- spec/fixtures/404.md
|
123
126
|
- spec/fixtures/_config.yml
|
124
127
|
- spec/fixtures/_layouts/some_default.html
|
@@ -141,11 +144,14 @@ files:
|
|
141
144
|
- spec/fixtures/jekyll-last-modified-at/page.html
|
142
145
|
- spec/fixtures/some-subfolder/exclude-this-page.html
|
143
146
|
- spec/fixtures/some-subfolder/htm.htm
|
147
|
+
- spec/fixtures/some-subfolder/index.html
|
144
148
|
- spec/fixtures/some-subfolder/test_index.html
|
145
149
|
- spec/fixtures/some-subfolder/this-is-a-subfile.html
|
146
150
|
- spec/fixtures/some-subfolder/this-is-a-subpage.html
|
147
151
|
- spec/fixtures/some-subfolder/xhtml.xhtml
|
148
152
|
- spec/fixtures/static_files/404.html
|
153
|
+
- spec/fixtures/static_files/excluded.pdf
|
154
|
+
- spec/fixtures/static_files/html_file.html
|
149
155
|
- spec/fixtures/static_files/test.pdf
|
150
156
|
- spec/jekyll-sitemap_spec.rb
|
151
157
|
- spec/spec_helper.rb
|
@@ -170,7 +176,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
176
|
version: '0'
|
171
177
|
requirements: []
|
172
178
|
rubyforge_project:
|
173
|
-
rubygems_version: 2.
|
179
|
+
rubygems_version: 2.7.4
|
174
180
|
signing_key:
|
175
181
|
specification_version: 4
|
176
182
|
summary: Automatically generate a sitemap.xml for your Jekyll site.
|
@@ -197,11 +203,14 @@ test_files:
|
|
197
203
|
- spec/fixtures/jekyll-last-modified-at/page.html
|
198
204
|
- spec/fixtures/some-subfolder/exclude-this-page.html
|
199
205
|
- spec/fixtures/some-subfolder/htm.htm
|
206
|
+
- spec/fixtures/some-subfolder/index.html
|
200
207
|
- spec/fixtures/some-subfolder/test_index.html
|
201
208
|
- spec/fixtures/some-subfolder/this-is-a-subfile.html
|
202
209
|
- spec/fixtures/some-subfolder/this-is-a-subpage.html
|
203
210
|
- spec/fixtures/some-subfolder/xhtml.xhtml
|
204
211
|
- spec/fixtures/static_files/404.html
|
212
|
+
- spec/fixtures/static_files/excluded.pdf
|
213
|
+
- spec/fixtures/static_files/html_file.html
|
205
214
|
- spec/fixtures/static_files/test.pdf
|
206
215
|
- spec/jekyll-sitemap_spec.rb
|
207
216
|
- spec/spec_helper.rb
|